diff --git a/packages/google-cloud-dataproc/README.md b/packages/google-cloud-dataproc/README.md index 5f8a2f70240c..f03edb07a90c 100644 --- a/packages/google-cloud-dataproc/README.md +++ b/packages/google-cloud-dataproc/README.md @@ -4,7 +4,10 @@ # [Cloud Dataproc API: Nodejs Client][homepage] -[//]: # "releaseLevel" +This library is considered to be **stable**. The code surface will not change in backwards-incompatible ways +unless absolutely necessary (e.g. because of critical security issues) or with +an extensive deprecation period. Issues and requests against **stable** libraries +are addressed with the highest priority [![npm version](https://img.shields.io/npm/v/@google-cloud/dataproc.svg)](https://www.npmjs.org/package/@google-cloud/dataproc) @@ -53,7 +56,54 @@ npm install @google-cloud/dataproc Samples are in the [`samples/`][homepage_samples] directory. Each sample's `README.md` has instructions for running its sample. -[//]: # "samples" +| Sample | Source Code | +| --------------------------- | --------------------------------- | +| create autoscaling policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/autoscaling_policy_service.create_autoscaling_policy.js) | +| delete autoscaling policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/autoscaling_policy_service.delete_autoscaling_policy.js) | +| get autoscaling policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/autoscaling_policy_service.get_autoscaling_policy.js) | +| list autoscaling policies | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/autoscaling_policy_service.list_autoscaling_policies.js) | +| update autoscaling policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/autoscaling_policy_service.update_autoscaling_policy.js) | +| create batch | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/batch_controller.create_batch.js) | +| delete batch | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/batch_controller.delete_batch.js) | +| get batch | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/batch_controller.get_batch.js) | +| list batches | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/batch_controller.list_batches.js) | +| create cluster | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/cluster_controller.create_cluster.js) | +| delete cluster | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/cluster_controller.delete_cluster.js) | +| diagnose cluster | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/cluster_controller.diagnose_cluster.js) | +| get cluster | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/cluster_controller.get_cluster.js) | +| list clusters | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/cluster_controller.list_clusters.js) | +| start cluster | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/cluster_controller.start_cluster.js) | +| stop cluster | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/cluster_controller.stop_cluster.js) | +| update cluster | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/cluster_controller.update_cluster.js) | +| cancel job | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/job_controller.cancel_job.js) | +| delete job | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/job_controller.delete_job.js) | +| get job | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/job_controller.get_job.js) | +| list jobs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/job_controller.list_jobs.js) | +| submit job | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/job_controller.submit_job.js) | +| submit job as operation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/job_controller.submit_job_as_operation.js) | +| update job | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/job_controller.update_job.js) | +| create node group | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/node_group_controller.create_node_group.js) | +| get node group | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/node_group_controller.get_node_group.js) | +| resize node group | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/node_group_controller.resize_node_group.js) | +| create session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/session_controller.create_session.js) | +| delete session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/session_controller.delete_session.js) | +| get session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/session_controller.get_session.js) | +| list sessions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/session_controller.list_sessions.js) | +| terminate session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/session_controller.terminate_session.js) | +| create session template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/session_template_controller.create_session_template.js) | +| delete session template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/session_template_controller.delete_session_template.js) | +| get session template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/session_template_controller.get_session_template.js) | +| list session templates | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/session_template_controller.list_session_templates.js) | +| update session template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/session_template_controller.update_session_template.js) | +| cloud | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/snippet_metadata_google.cloud.dataproc.v1.json) | +| create workflow template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/workflow_template_service.create_workflow_template.js) | +| delete workflow template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/workflow_template_service.delete_workflow_template.js) | +| get workflow template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/workflow_template_service.get_workflow_template.js) | +| instantiate inline workflow template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/workflow_template_service.instantiate_inline_workflow_template.js) | +| instantiate workflow template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/workflow_template_service.instantiate_workflow_template.js) | +| list workflow templates | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/workflow_template_service.list_workflow_templates.js) | +| update workflow template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataproc/samples/generated/v1/workflow_template_service.update_workflow_template.js) | + ## Supported Node.js Versions diff --git a/packages/google-cloud-dataproc/src/index.ts b/packages/google-cloud-dataproc/src/index.ts index 2e95eb0718ed..49417fe6517c 100644 --- a/packages/google-cloud-dataproc/src/index.ts +++ b/packages/google-cloud-dataproc/src/index.ts @@ -12,11 +12,12 @@ // See the License for the specific language governing permissions and // limitations under the License. // -// ** This file is automatically generated by gapic-generator-typescript. ** -// ** https://github.com/googleapis/gapic-generator-typescript ** +// ** This file is automatically generated by synthtool. ** +// ** https://github.com/googleapis/synthtool ** // ** All changes to this file may be overwritten. ** import * as v1 from './v1'; + const AutoscalingPolicyServiceClient = v1.AutoscalingPolicyServiceClient; type AutoscalingPolicyServiceClient = v1.AutoscalingPolicyServiceClient; const BatchControllerClient = v1.BatchControllerClient; @@ -33,7 +34,8 @@ const SessionTemplateControllerClient = v1.SessionTemplateControllerClient; type SessionTemplateControllerClient = v1.SessionTemplateControllerClient; const WorkflowTemplateServiceClient = v1.WorkflowTemplateServiceClient; type WorkflowTemplateServiceClient = v1.WorkflowTemplateServiceClient; + export {v1, AutoscalingPolicyServiceClient, BatchControllerClient, ClusterControllerClient, JobControllerClient, NodeGroupControllerClient, SessionControllerClient, SessionTemplateControllerClient, WorkflowTemplateServiceClient}; export default {v1, AutoscalingPolicyServiceClient, BatchControllerClient, ClusterControllerClient, JobControllerClient, NodeGroupControllerClient, SessionControllerClient, SessionTemplateControllerClient, WorkflowTemplateServiceClient}; import * as protos from '../protos/protos'; -export {protos} +export {protos}; diff --git a/packages/google-cloud-dataqna/.OwlBot.yaml b/packages/google-cloud-dataqna/.OwlBot.yaml index 374f5858a0d5..6be0b8088188 100644 --- a/packages/google-cloud-dataqna/.OwlBot.yaml +++ b/packages/google-cloud-dataqna/.OwlBot.yaml @@ -1,10 +1,10 @@ -# Copyright 2021 Google LLC +# Copyright 2025 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -12,10 +12,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -deep-remove-regex: - - /owl-bot-staging deep-copy-regex: - - source: /google/cloud/dataqna/google-cloud-dataqna-nodejs - dest: /owl-bot-staging/google-cloud-dataqna -begin-after-commit-hash: fb91803ccef5d7c695139b22788b309e2197856b -api-name: dataqna + - source: /google/cloud/dataqna/google-cloud-dataqna-nodejs + dest: /owl-bot-staging/google-cloud-dataqna + +api-name: dataqna \ No newline at end of file diff --git a/packages/google-cloud-dataqna/.eslintignore b/packages/google-cloud-dataqna/.eslintignore index ea5b04aebe68..cfc348ec4d11 100644 --- a/packages/google-cloud-dataqna/.eslintignore +++ b/packages/google-cloud-dataqna/.eslintignore @@ -1,7 +1,7 @@ **/node_modules -**/coverage -test/fixtures +**/.coverage build/ docs/ protos/ +system-test/ samples/generated/ diff --git a/packages/google-cloud-dataqna/.mocharc.js b/packages/google-cloud-dataqna/.mocharc.js index eef6173ab449..24e9d15257f9 100644 --- a/packages/google-cloud-dataqna/.mocharc.js +++ b/packages/google-cloud-dataqna/.mocharc.js @@ -4,18 +4,22 @@ // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // -// http://www.apache.org/licenses/LICENSE-2.0 +// https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// ** This file is automatically generated by gapic-generator-typescript. ** +// ** https://github.com/googleapis/gapic-generator-typescript ** +// ** All changes to this file may be overwritten. ** + const config = { "enable-source-maps": true, "throw-deprecation": true, - "timeout": 10000, - "recursive": true + "timeout": 10000 } if (process.env.MOCHA_THROW_DEPRECATION === 'false') { delete config['throw-deprecation']; diff --git a/packages/google-cloud-dataqna/.nycrc b/packages/google-cloud-dataqna/.nycrc index b18d5472b62b..81a95fc94b00 100644 --- a/packages/google-cloud-dataqna/.nycrc +++ b/packages/google-cloud-dataqna/.nycrc @@ -21,4 +21,4 @@ ], "exclude-after-remap": false, "all": true -} +} \ No newline at end of file diff --git a/packages/google-cloud-dataqna/.prettierrc.js b/packages/google-cloud-dataqna/.prettierrc.js index b189724933b2..d89a632f90b0 100644 --- a/packages/google-cloud-dataqna/.prettierrc.js +++ b/packages/google-cloud-dataqna/.prettierrc.js @@ -4,13 +4,18 @@ // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // -// https://www.apache.org/licenses/LICENSE-2.0 +// https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// ** This file is automatically generated by gapic-generator-typescript. ** +// ** https://github.com/googleapis/gapic-generator-typescript ** +// ** All changes to this file may be overwritten. ** + module.exports = { ...require('gts/.prettierrc.json') diff --git a/packages/google-cloud-dataqna/CONTRIBUTING.md b/packages/google-cloud-dataqna/CONTRIBUTING.md index 24c74f9161eb..995b169d275e 100644 --- a/packages/google-cloud-dataqna/CONTRIBUTING.md +++ b/packages/google-cloud-dataqna/CONTRIBUTING.md @@ -40,8 +40,8 @@ accept your pull requests. ### Before you begin 1. [Select or create a Cloud Platform project][projects]. -1. [Enable billing for your project][billing]. -1. [Enable the Data QnA API][enable_api]. +1. [Enable billing for your project][billing]. +1. [Enable the Dataqna API][enable_api]. 1. [Set up authentication with a service account][auth] so you can access the API from your local workstation. diff --git a/packages/google-cloud-dataqna/README.md b/packages/google-cloud-dataqna/README.md index f0813737d7fc..f520be5f4663 100644 --- a/packages/google-cloud-dataqna/README.md +++ b/packages/google-cloud-dataqna/README.md @@ -1,24 +1,24 @@ [//]: # "This README.md file is auto-generated, all changes to this file will be lost." -[//]: # "To regenerate it, use `python -m synthtool`." +[//]: # "The comments you see below are used to generate those parts of the template in later states." Google Cloud Platform logo -# [Data QnA: Node.js Client](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-dataqna) - -[![release level](https://img.shields.io/badge/release%20level-preview-yellow.svg?style=flat)](https://cloud.google.com/terms/launch-stages) -[![npm version](https://img.shields.io/npm/v/@google-cloud/data-qna.svg)](https://www.npmjs.org/package/@google-cloud/data-qna) - +# [Data QnA API: Nodejs Client][homepage] +This library is considered to be in **preview**. This means it is still a +work-in-progress and under active development. Any release is subject to +backwards-incompatible changes at any time. +[![npm version](https://img.shields.io/npm/v/@google-cloud/data-qna.svg)](https://www.npmjs.org/package/@google-cloud/data-qna) -Dataqna client for Node.js +Data QnA API client for Node.js +[//]: # "partials.introduction" A comprehensive list of changes in each version may be found in -[the CHANGELOG](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-dataqna/CHANGELOG.md). +[the CHANGELOG][homepage_changelog]. + +* [Data QnA API Nodejs Client API Reference](https://cloud.google.com/nodejs/docs/reference/dataqna/latest) -* [Data QnA Node.js Client API Reference][client-docs] -* [Data QnA Documentation][product-docs] -* [github.com/googleapis/google-cloud-node/packages/google-cloud-dataqna](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-dataqna) Read more about the client libraries for Cloud APIs, including the older Google APIs Client Libraries, in [Client Libraries Explained][explained]. @@ -27,54 +27,45 @@ Google APIs Client Libraries, in [Client Libraries Explained][explained]. **Table of contents:** - * [Quickstart](#quickstart) * [Before you begin](#before-you-begin) * [Installing the client library](#installing-the-client-library) -* [Samples](#samples) * [Versioning](#versioning) * [Contributing](#contributing) * [License](#license) ## Quickstart - ### Before you begin 1. [Select or create a Cloud Platform project][projects]. 1. [Enable billing for your project][billing]. -1. [Enable the Data QnA API][enable_api]. +1. [Enable the Data QnA API API][enable_api]. 1. [Set up authentication][auth] so you can access the API from your local workstation. - ### Installing the client library ```bash npm install @google-cloud/data-qna ``` - - +[//]: # "partials.body" ## Samples -Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-dataqna/samples) directory. Each sample's `README.md` has instructions for running its sample. - -| Sample | Source Code | Try it | -| --------------------------- | --------------------------------- | ------ | -| Auto_suggestion_service.suggest_queries | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataqna/samples/generated/v1alpha/auto_suggestion_service.suggest_queries.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dataqna/samples/generated/v1alpha/auto_suggestion_service.suggest_queries.js,packages/google-cloud-dataqna/samples/README.md) | -| Question_service.create_question | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataqna/samples/generated/v1alpha/question_service.create_question.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dataqna/samples/generated/v1alpha/question_service.create_question.js,packages/google-cloud-dataqna/samples/README.md) | -| Question_service.execute_question | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataqna/samples/generated/v1alpha/question_service.execute_question.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dataqna/samples/generated/v1alpha/question_service.execute_question.js,packages/google-cloud-dataqna/samples/README.md) | -| Question_service.get_question | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataqna/samples/generated/v1alpha/question_service.get_question.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dataqna/samples/generated/v1alpha/question_service.get_question.js,packages/google-cloud-dataqna/samples/README.md) | -| Question_service.get_user_feedback | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataqna/samples/generated/v1alpha/question_service.get_user_feedback.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dataqna/samples/generated/v1alpha/question_service.get_user_feedback.js,packages/google-cloud-dataqna/samples/README.md) | -| Question_service.update_user_feedback | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataqna/samples/generated/v1alpha/question_service.update_user_feedback.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dataqna/samples/generated/v1alpha/question_service.update_user_feedback.js,packages/google-cloud-dataqna/samples/README.md) | -| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataqna/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dataqna/samples/quickstart.js,packages/google-cloud-dataqna/samples/README.md) | +Samples are in the [`samples/`][homepage_samples] directory. Each sample's `README.md` has instructions for running its sample. +| Sample | Source Code | +| --------------------------- | --------------------------------- | +| suggest queries | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataqna/samples/generated/v1alpha/auto_suggestion_service.suggest_queries.js) | +| create question | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataqna/samples/generated/v1alpha/question_service.create_question.js) | +| execute question | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataqna/samples/generated/v1alpha/question_service.execute_question.js) | +| get question | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataqna/samples/generated/v1alpha/question_service.get_question.js) | +| get user feedback | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataqna/samples/generated/v1alpha/question_service.get_user_feedback.js) | +| update user feedback | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataqna/samples/generated/v1alpha/question_service.update_user_feedback.js) | +| cloud | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataqna/samples/generated/v1alpha/snippet_metadata_google.cloud.dataqna.v1alpha.json) | -The [Data QnA Node.js Client API Reference][client-docs] documentation -also contains samples. - ## Supported Node.js Versions Our client libraries follow the [Node.js release schedule](https://github.com/nodejs/release#release-schedule). @@ -100,44 +91,29 @@ for versions compatible with Node.js 8. This library follows [Semantic Versioning](http://semver.org/). - - - - - - -This library is considered to be in **preview**. This means it is still a -work-in-progress and under active development. Any release is subject to -backwards-incompatible changes at any time. - - More Information: [Google Cloud Platform Launch Stages][launch_stages] [launch_stages]: https://cloud.google.com/terms/launch-stages ## Contributing -Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/google-cloud-node/blob/main/CONTRIBUTING.md). +Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataqna/CONTRIBUTING.md). -Please note that this `README.md`, the `samples/README.md`, +Please note that this `README.md` and a variety of configuration files in this repository (including `.nycrc` and `tsconfig.json`) -are generated from a central template. To edit one of these files, make an edit -to its templates in -[directory](https://github.com/googleapis/synthtool). +are generated from a central template. ## License Apache Version 2.0 -See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/LICENSE) +See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataqna/LICENSE) -[client-docs]: https://cloud.google.com/nodejs/docs/reference/data-qna/latest -[product-docs]: https://cloud.google.com/bigquery/docs [shell_img]: https://gstatic.com/cloudssh/images/open-btn.png [projects]: https://console.cloud.google.com/project [billing]: https://support.google.com/cloud/answer/6293499#enable-billing [enable_api]: https://console.cloud.google.com/flows/enableapi?apiid=dataqna.googleapis.com [auth]: https://cloud.google.com/docs/authentication/external/set-up-adc-local - - -[//]: # "partials.introduction" \ No newline at end of file +[homepage_samples]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataqna/samples +[homepage_changelog]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataqna/CHANGELOG.md +[homepage]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dataqna diff --git a/packages/google-cloud-dataqna/protos/protos.d.ts b/packages/google-cloud-dataqna/protos/protos.d.ts index f2f946b3437c..fd2691427db7 100644 --- a/packages/google-cloud-dataqna/protos/protos.d.ts +++ b/packages/google-cloud-dataqna/protos/protos.d.ts @@ -3872,9 +3872,6 @@ export namespace google { /** CommonLanguageSettings destinations */ destinations?: (google.api.ClientLibraryDestination[]|null); - - /** CommonLanguageSettings selectiveGapicGeneration */ - selectiveGapicGeneration?: (google.api.ISelectiveGapicGeneration|null); } /** Represents a CommonLanguageSettings. */ @@ -3892,9 +3889,6 @@ export namespace google { /** CommonLanguageSettings destinations. */ public destinations: google.api.ClientLibraryDestination[]; - /** CommonLanguageSettings selectiveGapicGeneration. */ - public selectiveGapicGeneration?: (google.api.ISelectiveGapicGeneration|null); - /** * Creates a new CommonLanguageSettings instance using the specified properties. * @param [properties] Properties to set @@ -4595,9 +4589,6 @@ export namespace google { /** PythonSettings common */ common?: (google.api.ICommonLanguageSettings|null); - - /** PythonSettings experimentalFeatures */ - experimentalFeatures?: (google.api.PythonSettings.IExperimentalFeatures|null); } /** Represents a PythonSettings. */ @@ -4612,9 +4603,6 @@ export namespace google { /** PythonSettings common. */ public common?: (google.api.ICommonLanguageSettings|null); - /** PythonSettings experimentalFeatures. */ - public experimentalFeatures?: (google.api.PythonSettings.IExperimentalFeatures|null); - /** * Creates a new PythonSettings instance using the specified properties. * @param [properties] Properties to set @@ -4693,118 +4681,6 @@ export namespace google { public static getTypeUrl(typeUrlPrefix?: string): string; } - namespace PythonSettings { - - /** Properties of an ExperimentalFeatures. */ - interface IExperimentalFeatures { - - /** ExperimentalFeatures restAsyncIoEnabled */ - restAsyncIoEnabled?: (boolean|null); - - /** ExperimentalFeatures protobufPythonicTypesEnabled */ - protobufPythonicTypesEnabled?: (boolean|null); - - /** ExperimentalFeatures unversionedPackageDisabled */ - unversionedPackageDisabled?: (boolean|null); - } - - /** Represents an ExperimentalFeatures. */ - class ExperimentalFeatures implements IExperimentalFeatures { - - /** - * Constructs a new ExperimentalFeatures. - * @param [properties] Properties to set - */ - constructor(properties?: google.api.PythonSettings.IExperimentalFeatures); - - /** ExperimentalFeatures restAsyncIoEnabled. */ - public restAsyncIoEnabled: boolean; - - /** ExperimentalFeatures protobufPythonicTypesEnabled. */ - public protobufPythonicTypesEnabled: boolean; - - /** ExperimentalFeatures unversionedPackageDisabled. */ - public unversionedPackageDisabled: boolean; - - /** - * Creates a new ExperimentalFeatures instance using the specified properties. - * @param [properties] Properties to set - * @returns ExperimentalFeatures instance - */ - public static create(properties?: google.api.PythonSettings.IExperimentalFeatures): google.api.PythonSettings.ExperimentalFeatures; - - /** - * Encodes the specified ExperimentalFeatures message. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @param message ExperimentalFeatures message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.api.PythonSettings.IExperimentalFeatures, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ExperimentalFeatures message, length delimited. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @param message ExperimentalFeatures message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.api.PythonSettings.IExperimentalFeatures, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.PythonSettings.ExperimentalFeatures; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.PythonSettings.ExperimentalFeatures; - - /** - * Verifies an ExperimentalFeatures message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an ExperimentalFeatures message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ExperimentalFeatures - */ - public static fromObject(object: { [k: string]: any }): google.api.PythonSettings.ExperimentalFeatures; - - /** - * Creates a plain object from an ExperimentalFeatures message. Also converts values to other types if specified. - * @param message ExperimentalFeatures - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.api.PythonSettings.ExperimentalFeatures, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ExperimentalFeatures to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ExperimentalFeatures - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - } - /** Properties of a NodeSettings. */ interface INodeSettings { @@ -5131,9 +5007,6 @@ export namespace google { /** GoSettings common */ common?: (google.api.ICommonLanguageSettings|null); - - /** GoSettings renamedServices */ - renamedServices?: ({ [k: string]: string }|null); } /** Represents a GoSettings. */ @@ -5148,9 +5021,6 @@ export namespace google { /** GoSettings common. */ public common?: (google.api.ICommonLanguageSettings|null); - /** GoSettings renamedServices. */ - public renamedServices: { [k: string]: string }; - /** * Creates a new GoSettings instance using the specified properties. * @param [properties] Properties to set @@ -5475,109 +5345,6 @@ export namespace google { PACKAGE_MANAGER = 20 } - /** Properties of a SelectiveGapicGeneration. */ - interface ISelectiveGapicGeneration { - - /** SelectiveGapicGeneration methods */ - methods?: (string[]|null); - - /** SelectiveGapicGeneration generateOmittedAsInternal */ - generateOmittedAsInternal?: (boolean|null); - } - - /** Represents a SelectiveGapicGeneration. */ - class SelectiveGapicGeneration implements ISelectiveGapicGeneration { - - /** - * Constructs a new SelectiveGapicGeneration. - * @param [properties] Properties to set - */ - constructor(properties?: google.api.ISelectiveGapicGeneration); - - /** SelectiveGapicGeneration methods. */ - public methods: string[]; - - /** SelectiveGapicGeneration generateOmittedAsInternal. */ - public generateOmittedAsInternal: boolean; - - /** - * Creates a new SelectiveGapicGeneration instance using the specified properties. - * @param [properties] Properties to set - * @returns SelectiveGapicGeneration instance - */ - public static create(properties?: google.api.ISelectiveGapicGeneration): google.api.SelectiveGapicGeneration; - - /** - * Encodes the specified SelectiveGapicGeneration message. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @param message SelectiveGapicGeneration message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.api.ISelectiveGapicGeneration, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified SelectiveGapicGeneration message, length delimited. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @param message SelectiveGapicGeneration message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.api.ISelectiveGapicGeneration, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.SelectiveGapicGeneration; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.SelectiveGapicGeneration; - - /** - * Verifies a SelectiveGapicGeneration message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a SelectiveGapicGeneration message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns SelectiveGapicGeneration - */ - public static fromObject(object: { [k: string]: any }): google.api.SelectiveGapicGeneration; - - /** - * Creates a plain object from a SelectiveGapicGeneration message. Also converts values to other types if specified. - * @param message SelectiveGapicGeneration - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.api.SelectiveGapicGeneration, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this SelectiveGapicGeneration to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for SelectiveGapicGeneration - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - /** LaunchStage enum. */ enum LaunchStage { LAUNCH_STAGE_UNSPECIFIED = 0, @@ -5694,7 +5461,6 @@ export namespace google { /** Edition enum. */ enum Edition { EDITION_UNKNOWN = 0, - EDITION_LEGACY = 900, EDITION_PROTO2 = 998, EDITION_PROTO3 = 999, EDITION_2023 = 1000, @@ -5725,9 +5491,6 @@ export namespace google { /** FileDescriptorProto weakDependency */ weakDependency?: (number[]|null); - /** FileDescriptorProto optionDependency */ - optionDependency?: (string[]|null); - /** FileDescriptorProto messageType */ messageType?: (google.protobuf.IDescriptorProto[]|null); @@ -5777,9 +5540,6 @@ export namespace google { /** FileDescriptorProto weakDependency. */ public weakDependency: number[]; - /** FileDescriptorProto optionDependency. */ - public optionDependency: string[]; - /** FileDescriptorProto messageType. */ public messageType: google.protobuf.IDescriptorProto[]; @@ -5914,9 +5674,6 @@ export namespace google { /** DescriptorProto reservedName */ reservedName?: (string[]|null); - - /** DescriptorProto visibility */ - visibility?: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility|null); } /** Represents a DescriptorProto. */ @@ -5958,9 +5715,6 @@ export namespace google { /** DescriptorProto reservedName. */ public reservedName: string[]; - /** DescriptorProto visibility. */ - public visibility: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility); - /** * Creates a new DescriptorProto instance using the specified properties. * @param [properties] Properties to set @@ -6808,9 +6562,6 @@ export namespace google { /** EnumDescriptorProto reservedName */ reservedName?: (string[]|null); - - /** EnumDescriptorProto visibility */ - visibility?: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility|null); } /** Represents an EnumDescriptorProto. */ @@ -6837,9 +6588,6 @@ export namespace google { /** EnumDescriptorProto reservedName. */ public reservedName: string[]; - /** EnumDescriptorProto visibility. */ - public visibility: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility); - /** * Creates a new EnumDescriptorProto instance using the specified properties. * @param [properties] Properties to set @@ -7774,9 +7522,6 @@ export namespace google { /** FieldOptions features */ features?: (google.protobuf.IFeatureSet|null); - /** FieldOptions featureSupport */ - featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** FieldOptions uninterpretedOption */ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); @@ -7832,9 +7577,6 @@ export namespace google { /** FieldOptions features. */ public features?: (google.protobuf.IFeatureSet|null); - /** FieldOptions featureSupport. */ - public featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** FieldOptions uninterpretedOption. */ public uninterpretedOption: google.protobuf.IUninterpretedOption[]; @@ -8055,121 +7797,6 @@ export namespace google { */ public static getTypeUrl(typeUrlPrefix?: string): string; } - - /** Properties of a FeatureSupport. */ - interface IFeatureSupport { - - /** FeatureSupport editionIntroduced */ - editionIntroduced?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - - /** FeatureSupport editionDeprecated */ - editionDeprecated?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - - /** FeatureSupport deprecationWarning */ - deprecationWarning?: (string|null); - - /** FeatureSupport editionRemoved */ - editionRemoved?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - } - - /** Represents a FeatureSupport. */ - class FeatureSupport implements IFeatureSupport { - - /** - * Constructs a new FeatureSupport. - * @param [properties] Properties to set - */ - constructor(properties?: google.protobuf.FieldOptions.IFeatureSupport); - - /** FeatureSupport editionIntroduced. */ - public editionIntroduced: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - - /** FeatureSupport editionDeprecated. */ - public editionDeprecated: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - - /** FeatureSupport deprecationWarning. */ - public deprecationWarning: string; - - /** FeatureSupport editionRemoved. */ - public editionRemoved: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - - /** - * Creates a new FeatureSupport instance using the specified properties. - * @param [properties] Properties to set - * @returns FeatureSupport instance - */ - public static create(properties?: google.protobuf.FieldOptions.IFeatureSupport): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Encodes the specified FeatureSupport message. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. - * @param message FeatureSupport message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.protobuf.FieldOptions.IFeatureSupport, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified FeatureSupport message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. - * @param message FeatureSupport message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.protobuf.FieldOptions.IFeatureSupport, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a FeatureSupport message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns FeatureSupport - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Decodes a FeatureSupport message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns FeatureSupport - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Verifies a FeatureSupport message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a FeatureSupport message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns FeatureSupport - */ - public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Creates a plain object from a FeatureSupport message. Also converts values to other types if specified. - * @param message FeatureSupport - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.protobuf.FieldOptions.FeatureSupport, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this FeatureSupport to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for FeatureSupport - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } } /** Properties of an OneofOptions. */ @@ -8408,9 +8035,6 @@ export namespace google { /** EnumValueOptions debugRedact */ debugRedact?: (boolean|null); - /** EnumValueOptions featureSupport */ - featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** EnumValueOptions uninterpretedOption */ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); } @@ -8433,9 +8057,6 @@ export namespace google { /** EnumValueOptions debugRedact. */ public debugRedact: boolean; - /** EnumValueOptions featureSupport. */ - public featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** EnumValueOptions uninterpretedOption. */ public uninterpretedOption: google.protobuf.IUninterpretedOption[]; @@ -9025,12 +8646,6 @@ export namespace google { /** FeatureSet jsonFormat */ jsonFormat?: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat|null); - - /** FeatureSet enforceNamingStyle */ - enforceNamingStyle?: (google.protobuf.FeatureSet.EnforceNamingStyle|keyof typeof google.protobuf.FeatureSet.EnforceNamingStyle|null); - - /** FeatureSet defaultSymbolVisibility */ - defaultSymbolVisibility?: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|keyof typeof google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|null); } /** Represents a FeatureSet. */ @@ -9060,12 +8675,6 @@ export namespace google { /** FeatureSet jsonFormat. */ public jsonFormat: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat); - /** FeatureSet enforceNamingStyle. */ - public enforceNamingStyle: (google.protobuf.FeatureSet.EnforceNamingStyle|keyof typeof google.protobuf.FeatureSet.EnforceNamingStyle); - - /** FeatureSet defaultSymbolVisibility. */ - public defaultSymbolVisibility: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|keyof typeof google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility); - /** * Creates a new FeatureSet instance using the specified properties. * @param [properties] Properties to set @@ -9188,116 +8797,6 @@ export namespace google { ALLOW = 1, LEGACY_BEST_EFFORT = 2 } - - /** EnforceNamingStyle enum. */ - enum EnforceNamingStyle { - ENFORCE_NAMING_STYLE_UNKNOWN = 0, - STYLE2024 = 1, - STYLE_LEGACY = 2 - } - - /** Properties of a VisibilityFeature. */ - interface IVisibilityFeature { - } - - /** Represents a VisibilityFeature. */ - class VisibilityFeature implements IVisibilityFeature { - - /** - * Constructs a new VisibilityFeature. - * @param [properties] Properties to set - */ - constructor(properties?: google.protobuf.FeatureSet.IVisibilityFeature); - - /** - * Creates a new VisibilityFeature instance using the specified properties. - * @param [properties] Properties to set - * @returns VisibilityFeature instance - */ - public static create(properties?: google.protobuf.FeatureSet.IVisibilityFeature): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Encodes the specified VisibilityFeature message. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @param message VisibilityFeature message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.protobuf.FeatureSet.IVisibilityFeature, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified VisibilityFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @param message VisibilityFeature message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.protobuf.FeatureSet.IVisibilityFeature, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Verifies a VisibilityFeature message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a VisibilityFeature message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns VisibilityFeature - */ - public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Creates a plain object from a VisibilityFeature message. Also converts values to other types if specified. - * @param message VisibilityFeature - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.protobuf.FeatureSet.VisibilityFeature, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this VisibilityFeature to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for VisibilityFeature - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - namespace VisibilityFeature { - - /** DefaultSymbolVisibility enum. */ - enum DefaultSymbolVisibility { - DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0, - EXPORT_ALL = 1, - EXPORT_TOP_LEVEL = 2, - LOCAL_ALL = 3, - STRICT = 4 - } - } } /** Properties of a FeatureSetDefaults. */ @@ -9417,11 +8916,8 @@ export namespace google { /** FeatureSetEditionDefault edition */ edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - /** FeatureSetEditionDefault overridableFeatures */ - overridableFeatures?: (google.protobuf.IFeatureSet|null); - - /** FeatureSetEditionDefault fixedFeatures */ - fixedFeatures?: (google.protobuf.IFeatureSet|null); + /** FeatureSetEditionDefault features */ + features?: (google.protobuf.IFeatureSet|null); } /** Represents a FeatureSetEditionDefault. */ @@ -9436,11 +8932,8 @@ export namespace google { /** FeatureSetEditionDefault edition. */ public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - /** FeatureSetEditionDefault overridableFeatures. */ - public overridableFeatures?: (google.protobuf.IFeatureSet|null); - - /** FeatureSetEditionDefault fixedFeatures. */ - public fixedFeatures?: (google.protobuf.IFeatureSet|null); + /** FeatureSetEditionDefault features. */ + public features?: (google.protobuf.IFeatureSet|null); /** * Creates a new FeatureSetEditionDefault instance using the specified properties. @@ -9973,13 +9466,6 @@ export namespace google { } } - /** SymbolVisibility enum. */ - enum SymbolVisibility { - VISIBILITY_UNSET = 0, - VISIBILITY_LOCAL = 1, - VISIBILITY_EXPORT = 2 - } - /** Properties of a Duration. */ interface IDuration { diff --git a/packages/google-cloud-dataqna/protos/protos.js b/packages/google-cloud-dataqna/protos/protos.js index adcb067a23f7..dae451293735 100644 --- a/packages/google-cloud-dataqna/protos/protos.js +++ b/packages/google-cloud-dataqna/protos/protos.js @@ -9710,7 +9710,6 @@ * @interface ICommonLanguageSettings * @property {string|null} [referenceDocsUri] CommonLanguageSettings referenceDocsUri * @property {Array.|null} [destinations] CommonLanguageSettings destinations - * @property {google.api.ISelectiveGapicGeneration|null} [selectiveGapicGeneration] CommonLanguageSettings selectiveGapicGeneration */ /** @@ -9745,14 +9744,6 @@ */ CommonLanguageSettings.prototype.destinations = $util.emptyArray; - /** - * CommonLanguageSettings selectiveGapicGeneration. - * @member {google.api.ISelectiveGapicGeneration|null|undefined} selectiveGapicGeneration - * @memberof google.api.CommonLanguageSettings - * @instance - */ - CommonLanguageSettings.prototype.selectiveGapicGeneration = null; - /** * Creates a new CommonLanguageSettings instance using the specified properties. * @function create @@ -9785,8 +9776,6 @@ writer.int32(message.destinations[i]); writer.ldelim(); } - if (message.selectiveGapicGeneration != null && Object.hasOwnProperty.call(message, "selectiveGapicGeneration")) - $root.google.api.SelectiveGapicGeneration.encode(message.selectiveGapicGeneration, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; @@ -9838,10 +9827,6 @@ message.destinations.push(reader.int32()); break; } - case 3: { - message.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.decode(reader, reader.uint32()); - break; - } default: reader.skipType(tag & 7); break; @@ -9893,11 +9878,6 @@ break; } } - if (message.selectiveGapicGeneration != null && message.hasOwnProperty("selectiveGapicGeneration")) { - var error = $root.google.api.SelectiveGapicGeneration.verify(message.selectiveGapicGeneration); - if (error) - return "selectiveGapicGeneration." + error; - } return null; }; @@ -9940,11 +9920,6 @@ break; } } - if (object.selectiveGapicGeneration != null) { - if (typeof object.selectiveGapicGeneration !== "object") - throw TypeError(".google.api.CommonLanguageSettings.selectiveGapicGeneration: object expected"); - message.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.fromObject(object.selectiveGapicGeneration); - } return message; }; @@ -9963,10 +9938,8 @@ var object = {}; if (options.arrays || options.defaults) object.destinations = []; - if (options.defaults) { + if (options.defaults) object.referenceDocsUri = ""; - object.selectiveGapicGeneration = null; - } if (message.referenceDocsUri != null && message.hasOwnProperty("referenceDocsUri")) object.referenceDocsUri = message.referenceDocsUri; if (message.destinations && message.destinations.length) { @@ -9974,8 +9947,6 @@ for (var j = 0; j < message.destinations.length; ++j) object.destinations[j] = options.enums === String ? $root.google.api.ClientLibraryDestination[message.destinations[j]] === undefined ? message.destinations[j] : $root.google.api.ClientLibraryDestination[message.destinations[j]] : message.destinations[j]; } - if (message.selectiveGapicGeneration != null && message.hasOwnProperty("selectiveGapicGeneration")) - object.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.toObject(message.selectiveGapicGeneration, options); return object; }; @@ -11798,7 +11769,6 @@ * @memberof google.api * @interface IPythonSettings * @property {google.api.ICommonLanguageSettings|null} [common] PythonSettings common - * @property {google.api.PythonSettings.IExperimentalFeatures|null} [experimentalFeatures] PythonSettings experimentalFeatures */ /** @@ -11824,14 +11794,6 @@ */ PythonSettings.prototype.common = null; - /** - * PythonSettings experimentalFeatures. - * @member {google.api.PythonSettings.IExperimentalFeatures|null|undefined} experimentalFeatures - * @memberof google.api.PythonSettings - * @instance - */ - PythonSettings.prototype.experimentalFeatures = null; - /** * Creates a new PythonSettings instance using the specified properties. * @function create @@ -11858,8 +11820,6 @@ writer = $Writer.create(); if (message.common != null && Object.hasOwnProperty.call(message, "common")) $root.google.api.CommonLanguageSettings.encode(message.common, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.experimentalFeatures != null && Object.hasOwnProperty.call(message, "experimentalFeatures")) - $root.google.api.PythonSettings.ExperimentalFeatures.encode(message.experimentalFeatures, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; @@ -11900,10 +11860,6 @@ message.common = $root.google.api.CommonLanguageSettings.decode(reader, reader.uint32()); break; } - case 2: { - message.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.decode(reader, reader.uint32()); - break; - } default: reader.skipType(tag & 7); break; @@ -11944,11 +11900,6 @@ if (error) return "common." + error; } - if (message.experimentalFeatures != null && message.hasOwnProperty("experimentalFeatures")) { - var error = $root.google.api.PythonSettings.ExperimentalFeatures.verify(message.experimentalFeatures); - if (error) - return "experimentalFeatures." + error; - } return null; }; @@ -11969,11 +11920,6 @@ throw TypeError(".google.api.PythonSettings.common: object expected"); message.common = $root.google.api.CommonLanguageSettings.fromObject(object.common); } - if (object.experimentalFeatures != null) { - if (typeof object.experimentalFeatures !== "object") - throw TypeError(".google.api.PythonSettings.experimentalFeatures: object expected"); - message.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.fromObject(object.experimentalFeatures); - } return message; }; @@ -11990,14 +11936,10 @@ if (!options) options = {}; var object = {}; - if (options.defaults) { + if (options.defaults) object.common = null; - object.experimentalFeatures = null; - } if (message.common != null && message.hasOwnProperty("common")) object.common = $root.google.api.CommonLanguageSettings.toObject(message.common, options); - if (message.experimentalFeatures != null && message.hasOwnProperty("experimentalFeatures")) - object.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.toObject(message.experimentalFeatures, options); return object; }; @@ -12027,258 +11969,6 @@ return typeUrlPrefix + "/google.api.PythonSettings"; }; - PythonSettings.ExperimentalFeatures = (function() { - - /** - * Properties of an ExperimentalFeatures. - * @memberof google.api.PythonSettings - * @interface IExperimentalFeatures - * @property {boolean|null} [restAsyncIoEnabled] ExperimentalFeatures restAsyncIoEnabled - * @property {boolean|null} [protobufPythonicTypesEnabled] ExperimentalFeatures protobufPythonicTypesEnabled - * @property {boolean|null} [unversionedPackageDisabled] ExperimentalFeatures unversionedPackageDisabled - */ - - /** - * Constructs a new ExperimentalFeatures. - * @memberof google.api.PythonSettings - * @classdesc Represents an ExperimentalFeatures. - * @implements IExperimentalFeatures - * @constructor - * @param {google.api.PythonSettings.IExperimentalFeatures=} [properties] Properties to set - */ - function ExperimentalFeatures(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ExperimentalFeatures restAsyncIoEnabled. - * @member {boolean} restAsyncIoEnabled - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - */ - ExperimentalFeatures.prototype.restAsyncIoEnabled = false; - - /** - * ExperimentalFeatures protobufPythonicTypesEnabled. - * @member {boolean} protobufPythonicTypesEnabled - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - */ - ExperimentalFeatures.prototype.protobufPythonicTypesEnabled = false; - - /** - * ExperimentalFeatures unversionedPackageDisabled. - * @member {boolean} unversionedPackageDisabled - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - */ - ExperimentalFeatures.prototype.unversionedPackageDisabled = false; - - /** - * Creates a new ExperimentalFeatures instance using the specified properties. - * @function create - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.IExperimentalFeatures=} [properties] Properties to set - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures instance - */ - ExperimentalFeatures.create = function create(properties) { - return new ExperimentalFeatures(properties); - }; - - /** - * Encodes the specified ExperimentalFeatures message. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @function encode - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.IExperimentalFeatures} message ExperimentalFeatures message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ExperimentalFeatures.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.restAsyncIoEnabled != null && Object.hasOwnProperty.call(message, "restAsyncIoEnabled")) - writer.uint32(/* id 1, wireType 0 =*/8).bool(message.restAsyncIoEnabled); - if (message.protobufPythonicTypesEnabled != null && Object.hasOwnProperty.call(message, "protobufPythonicTypesEnabled")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.protobufPythonicTypesEnabled); - if (message.unversionedPackageDisabled != null && Object.hasOwnProperty.call(message, "unversionedPackageDisabled")) - writer.uint32(/* id 3, wireType 0 =*/24).bool(message.unversionedPackageDisabled); - return writer; - }; - - /** - * Encodes the specified ExperimentalFeatures message, length delimited. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @function encodeDelimited - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.IExperimentalFeatures} message ExperimentalFeatures message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ExperimentalFeatures.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer. - * @function decode - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ExperimentalFeatures.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.PythonSettings.ExperimentalFeatures(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.restAsyncIoEnabled = reader.bool(); - break; - } - case 2: { - message.protobufPythonicTypesEnabled = reader.bool(); - break; - } - case 3: { - message.unversionedPackageDisabled = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ExperimentalFeatures.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an ExperimentalFeatures message. - * @function verify - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - ExperimentalFeatures.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.restAsyncIoEnabled != null && message.hasOwnProperty("restAsyncIoEnabled")) - if (typeof message.restAsyncIoEnabled !== "boolean") - return "restAsyncIoEnabled: boolean expected"; - if (message.protobufPythonicTypesEnabled != null && message.hasOwnProperty("protobufPythonicTypesEnabled")) - if (typeof message.protobufPythonicTypesEnabled !== "boolean") - return "protobufPythonicTypesEnabled: boolean expected"; - if (message.unversionedPackageDisabled != null && message.hasOwnProperty("unversionedPackageDisabled")) - if (typeof message.unversionedPackageDisabled !== "boolean") - return "unversionedPackageDisabled: boolean expected"; - return null; - }; - - /** - * Creates an ExperimentalFeatures message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {Object.} object Plain object - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures - */ - ExperimentalFeatures.fromObject = function fromObject(object) { - if (object instanceof $root.google.api.PythonSettings.ExperimentalFeatures) - return object; - var message = new $root.google.api.PythonSettings.ExperimentalFeatures(); - if (object.restAsyncIoEnabled != null) - message.restAsyncIoEnabled = Boolean(object.restAsyncIoEnabled); - if (object.protobufPythonicTypesEnabled != null) - message.protobufPythonicTypesEnabled = Boolean(object.protobufPythonicTypesEnabled); - if (object.unversionedPackageDisabled != null) - message.unversionedPackageDisabled = Boolean(object.unversionedPackageDisabled); - return message; - }; - - /** - * Creates a plain object from an ExperimentalFeatures message. Also converts values to other types if specified. - * @function toObject - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.ExperimentalFeatures} message ExperimentalFeatures - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ExperimentalFeatures.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.restAsyncIoEnabled = false; - object.protobufPythonicTypesEnabled = false; - object.unversionedPackageDisabled = false; - } - if (message.restAsyncIoEnabled != null && message.hasOwnProperty("restAsyncIoEnabled")) - object.restAsyncIoEnabled = message.restAsyncIoEnabled; - if (message.protobufPythonicTypesEnabled != null && message.hasOwnProperty("protobufPythonicTypesEnabled")) - object.protobufPythonicTypesEnabled = message.protobufPythonicTypesEnabled; - if (message.unversionedPackageDisabled != null && message.hasOwnProperty("unversionedPackageDisabled")) - object.unversionedPackageDisabled = message.unversionedPackageDisabled; - return object; - }; - - /** - * Converts this ExperimentalFeatures to JSON. - * @function toJSON - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - * @returns {Object.} JSON object - */ - ExperimentalFeatures.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ExperimentalFeatures - * @function getTypeUrl - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ExperimentalFeatures.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.api.PythonSettings.ExperimentalFeatures"; - }; - - return ExperimentalFeatures; - })(); - return PythonSettings; })(); @@ -13155,7 +12845,6 @@ * @memberof google.api * @interface IGoSettings * @property {google.api.ICommonLanguageSettings|null} [common] GoSettings common - * @property {Object.|null} [renamedServices] GoSettings renamedServices */ /** @@ -13167,7 +12856,6 @@ * @param {google.api.IGoSettings=} [properties] Properties to set */ function GoSettings(properties) { - this.renamedServices = {}; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -13182,14 +12870,6 @@ */ GoSettings.prototype.common = null; - /** - * GoSettings renamedServices. - * @member {Object.} renamedServices - * @memberof google.api.GoSettings - * @instance - */ - GoSettings.prototype.renamedServices = $util.emptyObject; - /** * Creates a new GoSettings instance using the specified properties. * @function create @@ -13216,9 +12896,6 @@ writer = $Writer.create(); if (message.common != null && Object.hasOwnProperty.call(message, "common")) $root.google.api.CommonLanguageSettings.encode(message.common, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.renamedServices != null && Object.hasOwnProperty.call(message, "renamedServices")) - for (var keys = Object.keys(message.renamedServices), i = 0; i < keys.length; ++i) - writer.uint32(/* id 2, wireType 2 =*/18).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.renamedServices[keys[i]]).ldelim(); return writer; }; @@ -13249,7 +12926,7 @@ GoSettings.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.GoSettings(), key, value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.GoSettings(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) @@ -13259,29 +12936,6 @@ message.common = $root.google.api.CommonLanguageSettings.decode(reader, reader.uint32()); break; } - case 2: { - if (message.renamedServices === $util.emptyObject) - message.renamedServices = {}; - var end2 = reader.uint32() + reader.pos; - key = ""; - value = ""; - while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { - case 1: - key = reader.string(); - break; - case 2: - value = reader.string(); - break; - default: - reader.skipType(tag2 & 7); - break; - } - } - message.renamedServices[key] = value; - break; - } default: reader.skipType(tag & 7); break; @@ -13322,14 +12976,6 @@ if (error) return "common." + error; } - if (message.renamedServices != null && message.hasOwnProperty("renamedServices")) { - if (!$util.isObject(message.renamedServices)) - return "renamedServices: object expected"; - var key = Object.keys(message.renamedServices); - for (var i = 0; i < key.length; ++i) - if (!$util.isString(message.renamedServices[key[i]])) - return "renamedServices: string{k:string} expected"; - } return null; }; @@ -13350,13 +12996,6 @@ throw TypeError(".google.api.GoSettings.common: object expected"); message.common = $root.google.api.CommonLanguageSettings.fromObject(object.common); } - if (object.renamedServices) { - if (typeof object.renamedServices !== "object") - throw TypeError(".google.api.GoSettings.renamedServices: object expected"); - message.renamedServices = {}; - for (var keys = Object.keys(object.renamedServices), i = 0; i < keys.length; ++i) - message.renamedServices[keys[i]] = String(object.renamedServices[keys[i]]); - } return message; }; @@ -13373,18 +13012,10 @@ if (!options) options = {}; var object = {}; - if (options.objects || options.defaults) - object.renamedServices = {}; if (options.defaults) object.common = null; if (message.common != null && message.hasOwnProperty("common")) object.common = $root.google.api.CommonLanguageSettings.toObject(message.common, options); - var keys2; - if (message.renamedServices && (keys2 = Object.keys(message.renamedServices)).length) { - object.renamedServices = {}; - for (var j = 0; j < keys2.length; ++j) - object.renamedServices[keys2[j]] = message.renamedServices[keys2[j]]; - } return object; }; @@ -14023,251 +13654,6 @@ return values; })(); - api.SelectiveGapicGeneration = (function() { - - /** - * Properties of a SelectiveGapicGeneration. - * @memberof google.api - * @interface ISelectiveGapicGeneration - * @property {Array.|null} [methods] SelectiveGapicGeneration methods - * @property {boolean|null} [generateOmittedAsInternal] SelectiveGapicGeneration generateOmittedAsInternal - */ - - /** - * Constructs a new SelectiveGapicGeneration. - * @memberof google.api - * @classdesc Represents a SelectiveGapicGeneration. - * @implements ISelectiveGapicGeneration - * @constructor - * @param {google.api.ISelectiveGapicGeneration=} [properties] Properties to set - */ - function SelectiveGapicGeneration(properties) { - this.methods = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * SelectiveGapicGeneration methods. - * @member {Array.} methods - * @memberof google.api.SelectiveGapicGeneration - * @instance - */ - SelectiveGapicGeneration.prototype.methods = $util.emptyArray; - - /** - * SelectiveGapicGeneration generateOmittedAsInternal. - * @member {boolean} generateOmittedAsInternal - * @memberof google.api.SelectiveGapicGeneration - * @instance - */ - SelectiveGapicGeneration.prototype.generateOmittedAsInternal = false; - - /** - * Creates a new SelectiveGapicGeneration instance using the specified properties. - * @function create - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.ISelectiveGapicGeneration=} [properties] Properties to set - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration instance - */ - SelectiveGapicGeneration.create = function create(properties) { - return new SelectiveGapicGeneration(properties); - }; - - /** - * Encodes the specified SelectiveGapicGeneration message. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @function encode - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.ISelectiveGapicGeneration} message SelectiveGapicGeneration message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - SelectiveGapicGeneration.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.methods != null && message.methods.length) - for (var i = 0; i < message.methods.length; ++i) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.methods[i]); - if (message.generateOmittedAsInternal != null && Object.hasOwnProperty.call(message, "generateOmittedAsInternal")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.generateOmittedAsInternal); - return writer; - }; - - /** - * Encodes the specified SelectiveGapicGeneration message, length delimited. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @function encodeDelimited - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.ISelectiveGapicGeneration} message SelectiveGapicGeneration message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - SelectiveGapicGeneration.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer. - * @function decode - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - SelectiveGapicGeneration.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.SelectiveGapicGeneration(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - if (!(message.methods && message.methods.length)) - message.methods = []; - message.methods.push(reader.string()); - break; - } - case 2: { - message.generateOmittedAsInternal = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - SelectiveGapicGeneration.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a SelectiveGapicGeneration message. - * @function verify - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - SelectiveGapicGeneration.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.methods != null && message.hasOwnProperty("methods")) { - if (!Array.isArray(message.methods)) - return "methods: array expected"; - for (var i = 0; i < message.methods.length; ++i) - if (!$util.isString(message.methods[i])) - return "methods: string[] expected"; - } - if (message.generateOmittedAsInternal != null && message.hasOwnProperty("generateOmittedAsInternal")) - if (typeof message.generateOmittedAsInternal !== "boolean") - return "generateOmittedAsInternal: boolean expected"; - return null; - }; - - /** - * Creates a SelectiveGapicGeneration message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {Object.} object Plain object - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration - */ - SelectiveGapicGeneration.fromObject = function fromObject(object) { - if (object instanceof $root.google.api.SelectiveGapicGeneration) - return object; - var message = new $root.google.api.SelectiveGapicGeneration(); - if (object.methods) { - if (!Array.isArray(object.methods)) - throw TypeError(".google.api.SelectiveGapicGeneration.methods: array expected"); - message.methods = []; - for (var i = 0; i < object.methods.length; ++i) - message.methods[i] = String(object.methods[i]); - } - if (object.generateOmittedAsInternal != null) - message.generateOmittedAsInternal = Boolean(object.generateOmittedAsInternal); - return message; - }; - - /** - * Creates a plain object from a SelectiveGapicGeneration message. Also converts values to other types if specified. - * @function toObject - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.SelectiveGapicGeneration} message SelectiveGapicGeneration - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - SelectiveGapicGeneration.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.methods = []; - if (options.defaults) - object.generateOmittedAsInternal = false; - if (message.methods && message.methods.length) { - object.methods = []; - for (var j = 0; j < message.methods.length; ++j) - object.methods[j] = message.methods[j]; - } - if (message.generateOmittedAsInternal != null && message.hasOwnProperty("generateOmittedAsInternal")) - object.generateOmittedAsInternal = message.generateOmittedAsInternal; - return object; - }; - - /** - * Converts this SelectiveGapicGeneration to JSON. - * @function toJSON - * @memberof google.api.SelectiveGapicGeneration - * @instance - * @returns {Object.} JSON object - */ - SelectiveGapicGeneration.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for SelectiveGapicGeneration - * @function getTypeUrl - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - SelectiveGapicGeneration.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.api.SelectiveGapicGeneration"; - }; - - return SelectiveGapicGeneration; - })(); - /** * LaunchStage enum. * @name google.api.LaunchStage @@ -14537,7 +13923,6 @@ * @name google.protobuf.Edition * @enum {number} * @property {number} EDITION_UNKNOWN=0 EDITION_UNKNOWN value - * @property {number} EDITION_LEGACY=900 EDITION_LEGACY value * @property {number} EDITION_PROTO2=998 EDITION_PROTO2 value * @property {number} EDITION_PROTO3=999 EDITION_PROTO3 value * @property {number} EDITION_2023=1000 EDITION_2023 value @@ -14552,7 +13937,6 @@ protobuf.Edition = (function() { var valuesById = {}, values = Object.create(valuesById); values[valuesById[0] = "EDITION_UNKNOWN"] = 0; - values[valuesById[900] = "EDITION_LEGACY"] = 900; values[valuesById[998] = "EDITION_PROTO2"] = 998; values[valuesById[999] = "EDITION_PROTO3"] = 999; values[valuesById[1000] = "EDITION_2023"] = 1000; @@ -14577,7 +13961,6 @@ * @property {Array.|null} [dependency] FileDescriptorProto dependency * @property {Array.|null} [publicDependency] FileDescriptorProto publicDependency * @property {Array.|null} [weakDependency] FileDescriptorProto weakDependency - * @property {Array.|null} [optionDependency] FileDescriptorProto optionDependency * @property {Array.|null} [messageType] FileDescriptorProto messageType * @property {Array.|null} [enumType] FileDescriptorProto enumType * @property {Array.|null} [service] FileDescriptorProto service @@ -14600,7 +13983,6 @@ this.dependency = []; this.publicDependency = []; this.weakDependency = []; - this.optionDependency = []; this.messageType = []; this.enumType = []; this.service = []; @@ -14651,14 +14033,6 @@ */ FileDescriptorProto.prototype.weakDependency = $util.emptyArray; - /** - * FileDescriptorProto optionDependency. - * @member {Array.} optionDependency - * @memberof google.protobuf.FileDescriptorProto - * @instance - */ - FileDescriptorProto.prototype.optionDependency = $util.emptyArray; - /** * FileDescriptorProto messageType. * @member {Array.} messageType @@ -14780,9 +14154,6 @@ writer.uint32(/* id 12, wireType 2 =*/98).string(message.syntax); if (message.edition != null && Object.hasOwnProperty.call(message, "edition")) writer.uint32(/* id 14, wireType 0 =*/112).int32(message.edition); - if (message.optionDependency != null && message.optionDependency.length) - for (var i = 0; i < message.optionDependency.length; ++i) - writer.uint32(/* id 15, wireType 2 =*/122).string(message.optionDependency[i]); return writer; }; @@ -14855,12 +14226,6 @@ message.weakDependency.push(reader.int32()); break; } - case 15: { - if (!(message.optionDependency && message.optionDependency.length)) - message.optionDependency = []; - message.optionDependency.push(reader.string()); - break; - } case 4: { if (!(message.messageType && message.messageType.length)) message.messageType = []; @@ -14963,13 +14328,6 @@ if (!$util.isInteger(message.weakDependency[i])) return "weakDependency: integer[] expected"; } - if (message.optionDependency != null && message.hasOwnProperty("optionDependency")) { - if (!Array.isArray(message.optionDependency)) - return "optionDependency: array expected"; - for (var i = 0; i < message.optionDependency.length; ++i) - if (!$util.isString(message.optionDependency[i])) - return "optionDependency: string[] expected"; - } if (message.messageType != null && message.hasOwnProperty("messageType")) { if (!Array.isArray(message.messageType)) return "messageType: array expected"; @@ -15024,7 +14382,6 @@ default: return "edition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -15077,13 +14434,6 @@ for (var i = 0; i < object.weakDependency.length; ++i) message.weakDependency[i] = object.weakDependency[i] | 0; } - if (object.optionDependency) { - if (!Array.isArray(object.optionDependency)) - throw TypeError(".google.protobuf.FileDescriptorProto.optionDependency: array expected"); - message.optionDependency = []; - for (var i = 0; i < object.optionDependency.length; ++i) - message.optionDependency[i] = String(object.optionDependency[i]); - } if (object.messageType) { if (!Array.isArray(object.messageType)) throw TypeError(".google.protobuf.FileDescriptorProto.messageType: array expected"); @@ -15147,10 +14497,6 @@ case 0: message.edition = 0; break; - case "EDITION_LEGACY": - case 900: - message.edition = 900; - break; case "EDITION_PROTO2": case 998: message.edition = 998; @@ -15216,7 +14562,6 @@ object.extension = []; object.publicDependency = []; object.weakDependency = []; - object.optionDependency = []; } if (options.defaults) { object.name = ""; @@ -15273,11 +14618,6 @@ object.syntax = message.syntax; if (message.edition != null && message.hasOwnProperty("edition")) object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; - if (message.optionDependency && message.optionDependency.length) { - object.optionDependency = []; - for (var j = 0; j < message.optionDependency.length; ++j) - object.optionDependency[j] = message.optionDependency[j]; - } return object; }; @@ -15326,7 +14666,6 @@ * @property {google.protobuf.IMessageOptions|null} [options] DescriptorProto options * @property {Array.|null} [reservedRange] DescriptorProto reservedRange * @property {Array.|null} [reservedName] DescriptorProto reservedName - * @property {google.protobuf.SymbolVisibility|null} [visibility] DescriptorProto visibility */ /** @@ -15432,14 +14771,6 @@ */ DescriptorProto.prototype.reservedName = $util.emptyArray; - /** - * DescriptorProto visibility. - * @member {google.protobuf.SymbolVisibility} visibility - * @memberof google.protobuf.DescriptorProto - * @instance - */ - DescriptorProto.prototype.visibility = 0; - /** * Creates a new DescriptorProto instance using the specified properties. * @function create @@ -15492,8 +14823,6 @@ if (message.reservedName != null && message.reservedName.length) for (var i = 0; i < message.reservedName.length; ++i) writer.uint32(/* id 10, wireType 2 =*/82).string(message.reservedName[i]); - if (message.visibility != null && Object.hasOwnProperty.call(message, "visibility")) - writer.uint32(/* id 11, wireType 0 =*/88).int32(message.visibility); return writer; }; @@ -15586,10 +14915,6 @@ message.reservedName.push(reader.string()); break; } - case 11: { - message.visibility = reader.int32(); - break; - } default: reader.skipType(tag & 7); break; @@ -15703,15 +15028,6 @@ if (!$util.isString(message.reservedName[i])) return "reservedName: string[] expected"; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - switch (message.visibility) { - default: - return "visibility: enum value expected"; - case 0: - case 1: - case 2: - break; - } return null; }; @@ -15811,26 +15127,6 @@ for (var i = 0; i < object.reservedName.length; ++i) message.reservedName[i] = String(object.reservedName[i]); } - switch (object.visibility) { - default: - if (typeof object.visibility === "number") { - message.visibility = object.visibility; - break; - } - break; - case "VISIBILITY_UNSET": - case 0: - message.visibility = 0; - break; - case "VISIBILITY_LOCAL": - case 1: - message.visibility = 1; - break; - case "VISIBILITY_EXPORT": - case 2: - message.visibility = 2; - break; - } return message; }; @@ -15860,7 +15156,6 @@ if (options.defaults) { object.name = ""; object.options = null; - object.visibility = options.enums === String ? "VISIBILITY_UNSET" : 0; } if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; @@ -15906,8 +15201,6 @@ for (var j = 0; j < message.reservedName.length; ++j) object.reservedName[j] = message.reservedName[j]; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - object.visibility = options.enums === String ? $root.google.protobuf.SymbolVisibility[message.visibility] === undefined ? message.visibility : $root.google.protobuf.SymbolVisibility[message.visibility] : message.visibility; return object; }; @@ -17952,7 +17245,6 @@ * @property {google.protobuf.IEnumOptions|null} [options] EnumDescriptorProto options * @property {Array.|null} [reservedRange] EnumDescriptorProto reservedRange * @property {Array.|null} [reservedName] EnumDescriptorProto reservedName - * @property {google.protobuf.SymbolVisibility|null} [visibility] EnumDescriptorProto visibility */ /** @@ -18013,14 +17305,6 @@ */ EnumDescriptorProto.prototype.reservedName = $util.emptyArray; - /** - * EnumDescriptorProto visibility. - * @member {google.protobuf.SymbolVisibility} visibility - * @memberof google.protobuf.EnumDescriptorProto - * @instance - */ - EnumDescriptorProto.prototype.visibility = 0; - /** * Creates a new EnumDescriptorProto instance using the specified properties. * @function create @@ -18058,8 +17342,6 @@ if (message.reservedName != null && message.reservedName.length) for (var i = 0; i < message.reservedName.length; ++i) writer.uint32(/* id 5, wireType 2 =*/42).string(message.reservedName[i]); - if (message.visibility != null && Object.hasOwnProperty.call(message, "visibility")) - writer.uint32(/* id 6, wireType 0 =*/48).int32(message.visibility); return writer; }; @@ -18122,10 +17404,6 @@ message.reservedName.push(reader.string()); break; } - case 6: { - message.visibility = reader.int32(); - break; - } default: reader.skipType(tag & 7); break; @@ -18194,15 +17472,6 @@ if (!$util.isString(message.reservedName[i])) return "reservedName: string[] expected"; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - switch (message.visibility) { - default: - return "visibility: enum value expected"; - case 0: - case 1: - case 2: - break; - } return null; }; @@ -18252,26 +17521,6 @@ for (var i = 0; i < object.reservedName.length; ++i) message.reservedName[i] = String(object.reservedName[i]); } - switch (object.visibility) { - default: - if (typeof object.visibility === "number") { - message.visibility = object.visibility; - break; - } - break; - case "VISIBILITY_UNSET": - case 0: - message.visibility = 0; - break; - case "VISIBILITY_LOCAL": - case 1: - message.visibility = 1; - break; - case "VISIBILITY_EXPORT": - case 2: - message.visibility = 2; - break; - } return message; }; @@ -18296,7 +17545,6 @@ if (options.defaults) { object.name = ""; object.options = null; - object.visibility = options.enums === String ? "VISIBILITY_UNSET" : 0; } if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; @@ -18317,8 +17565,6 @@ for (var j = 0; j < message.reservedName.length; ++j) object.reservedName[j] = message.reservedName[j]; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - object.visibility = options.enums === String ? $root.google.protobuf.SymbolVisibility[message.visibility] === undefined ? message.visibility : $root.google.protobuf.SymbolVisibility[message.visibility] : message.visibility; return object; }; @@ -20637,7 +19883,6 @@ * @property {Array.|null} [targets] FieldOptions targets * @property {Array.|null} [editionDefaults] FieldOptions editionDefaults * @property {google.protobuf.IFeatureSet|null} [features] FieldOptions features - * @property {google.protobuf.FieldOptions.IFeatureSupport|null} [featureSupport] FieldOptions featureSupport * @property {Array.|null} [uninterpretedOption] FieldOptions uninterpretedOption * @property {Array.|null} [".google.api.fieldBehavior"] FieldOptions .google.api.fieldBehavior * @property {google.api.IResourceReference|null} [".google.api.resourceReference"] FieldOptions .google.api.resourceReference @@ -20758,14 +20003,6 @@ */ FieldOptions.prototype.features = null; - /** - * FieldOptions featureSupport. - * @member {google.protobuf.FieldOptions.IFeatureSupport|null|undefined} featureSupport - * @memberof google.protobuf.FieldOptions - * @instance - */ - FieldOptions.prototype.featureSupport = null; - /** * FieldOptions uninterpretedOption. * @member {Array.} uninterpretedOption @@ -20840,8 +20077,6 @@ $root.google.protobuf.FieldOptions.EditionDefault.encode(message.editionDefaults[i], writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim(); if (message.features != null && Object.hasOwnProperty.call(message, "features")) $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim(); - if (message.featureSupport != null && Object.hasOwnProperty.call(message, "featureSupport")) - $root.google.protobuf.FieldOptions.FeatureSupport.encode(message.featureSupport, writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim(); if (message.uninterpretedOption != null && message.uninterpretedOption.length) for (var i = 0; i < message.uninterpretedOption.length; ++i) $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim(); @@ -20943,10 +20178,6 @@ message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); break; } - case 22: { - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.decode(reader, reader.uint32()); - break; - } case 999: { if (!(message.uninterpretedOption && message.uninterpretedOption.length)) message.uninterpretedOption = []; @@ -21082,11 +20313,6 @@ if (error) return "features." + error; } - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) { - var error = $root.google.protobuf.FieldOptions.FeatureSupport.verify(message.featureSupport); - if (error) - return "featureSupport." + error; - } if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) { if (!Array.isArray(message.uninterpretedOption)) return "uninterpretedOption: array expected"; @@ -21275,11 +20501,6 @@ throw TypeError(".google.protobuf.FieldOptions.features: object expected"); message.features = $root.google.protobuf.FeatureSet.fromObject(object.features); } - if (object.featureSupport != null) { - if (typeof object.featureSupport !== "object") - throw TypeError(".google.protobuf.FieldOptions.featureSupport: object expected"); - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.fromObject(object.featureSupport); - } if (object.uninterpretedOption) { if (!Array.isArray(object.uninterpretedOption)) throw TypeError(".google.protobuf.FieldOptions.uninterpretedOption: array expected"); @@ -21377,7 +20598,6 @@ object.debugRedact = false; object.retention = options.enums === String ? "RETENTION_UNKNOWN" : 0; object.features = null; - object.featureSupport = null; object[".google.api.resourceReference"] = null; } if (message.ctype != null && message.hasOwnProperty("ctype")) @@ -21410,8 +20630,6 @@ } if (message.features != null && message.hasOwnProperty("features")) object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options); - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) - object.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.toObject(message.featureSupport, options); if (message.uninterpretedOption && message.uninterpretedOption.length) { object.uninterpretedOption = []; for (var j = 0; j < message.uninterpretedOption.length; ++j) @@ -21684,7 +20902,6 @@ default: return "edition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -21726,589 +20943,103 @@ case 0: message.edition = 0; break; - case "EDITION_LEGACY": - case 900: - message.edition = 900; - break; - case "EDITION_PROTO2": - case 998: - message.edition = 998; - break; - case "EDITION_PROTO3": - case 999: - message.edition = 999; - break; - case "EDITION_2023": - case 1000: - message.edition = 1000; - break; - case "EDITION_2024": - case 1001: - message.edition = 1001; - break; - case "EDITION_1_TEST_ONLY": - case 1: - message.edition = 1; - break; - case "EDITION_2_TEST_ONLY": - case 2: - message.edition = 2; - break; - case "EDITION_99997_TEST_ONLY": - case 99997: - message.edition = 99997; - break; - case "EDITION_99998_TEST_ONLY": - case 99998: - message.edition = 99998; - break; - case "EDITION_99999_TEST_ONLY": - case 99999: - message.edition = 99999; - break; - case "EDITION_MAX": - case 2147483647: - message.edition = 2147483647; - break; - } - if (object.value != null) - message.value = String(object.value); - return message; - }; - - /** - * Creates a plain object from an EditionDefault message. Also converts values to other types if specified. - * @function toObject - * @memberof google.protobuf.FieldOptions.EditionDefault - * @static - * @param {google.protobuf.FieldOptions.EditionDefault} message EditionDefault - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - EditionDefault.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.value = ""; - object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0; - } - if (message.value != null && message.hasOwnProperty("value")) - object.value = message.value; - if (message.edition != null && message.hasOwnProperty("edition")) - object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; - return object; - }; - - /** - * Converts this EditionDefault to JSON. - * @function toJSON - * @memberof google.protobuf.FieldOptions.EditionDefault - * @instance - * @returns {Object.} JSON object - */ - EditionDefault.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for EditionDefault - * @function getTypeUrl - * @memberof google.protobuf.FieldOptions.EditionDefault - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - EditionDefault.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.FieldOptions.EditionDefault"; - }; - - return EditionDefault; - })(); - - FieldOptions.FeatureSupport = (function() { - - /** - * Properties of a FeatureSupport. - * @memberof google.protobuf.FieldOptions - * @interface IFeatureSupport - * @property {google.protobuf.Edition|null} [editionIntroduced] FeatureSupport editionIntroduced - * @property {google.protobuf.Edition|null} [editionDeprecated] FeatureSupport editionDeprecated - * @property {string|null} [deprecationWarning] FeatureSupport deprecationWarning - * @property {google.protobuf.Edition|null} [editionRemoved] FeatureSupport editionRemoved - */ - - /** - * Constructs a new FeatureSupport. - * @memberof google.protobuf.FieldOptions - * @classdesc Represents a FeatureSupport. - * @implements IFeatureSupport - * @constructor - * @param {google.protobuf.FieldOptions.IFeatureSupport=} [properties] Properties to set - */ - function FeatureSupport(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * FeatureSupport editionIntroduced. - * @member {google.protobuf.Edition} editionIntroduced - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @instance - */ - FeatureSupport.prototype.editionIntroduced = 0; - - /** - * FeatureSupport editionDeprecated. - * @member {google.protobuf.Edition} editionDeprecated - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @instance - */ - FeatureSupport.prototype.editionDeprecated = 0; - - /** - * FeatureSupport deprecationWarning. - * @member {string} deprecationWarning - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @instance - */ - FeatureSupport.prototype.deprecationWarning = ""; - - /** - * FeatureSupport editionRemoved. - * @member {google.protobuf.Edition} editionRemoved - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @instance - */ - FeatureSupport.prototype.editionRemoved = 0; - - /** - * Creates a new FeatureSupport instance using the specified properties. - * @function create - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {google.protobuf.FieldOptions.IFeatureSupport=} [properties] Properties to set - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport instance - */ - FeatureSupport.create = function create(properties) { - return new FeatureSupport(properties); - }; - - /** - * Encodes the specified FeatureSupport message. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. - * @function encode - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {google.protobuf.FieldOptions.IFeatureSupport} message FeatureSupport message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - FeatureSupport.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.editionIntroduced != null && Object.hasOwnProperty.call(message, "editionIntroduced")) - writer.uint32(/* id 1, wireType 0 =*/8).int32(message.editionIntroduced); - if (message.editionDeprecated != null && Object.hasOwnProperty.call(message, "editionDeprecated")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.editionDeprecated); - if (message.deprecationWarning != null && Object.hasOwnProperty.call(message, "deprecationWarning")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.deprecationWarning); - if (message.editionRemoved != null && Object.hasOwnProperty.call(message, "editionRemoved")) - writer.uint32(/* id 4, wireType 0 =*/32).int32(message.editionRemoved); - return writer; - }; - - /** - * Encodes the specified FeatureSupport message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. - * @function encodeDelimited - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {google.protobuf.FieldOptions.IFeatureSupport} message FeatureSupport message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - FeatureSupport.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a FeatureSupport message from the specified reader or buffer. - * @function decode - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - FeatureSupport.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FieldOptions.FeatureSupport(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.editionIntroduced = reader.int32(); - break; - } - case 2: { - message.editionDeprecated = reader.int32(); - break; - } - case 3: { - message.deprecationWarning = reader.string(); - break; - } - case 4: { - message.editionRemoved = reader.int32(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a FeatureSupport message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - FeatureSupport.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a FeatureSupport message. - * @function verify - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - FeatureSupport.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.editionIntroduced != null && message.hasOwnProperty("editionIntroduced")) - switch (message.editionIntroduced) { - default: - return "editionIntroduced: enum value expected"; - case 0: - case 900: - case 998: - case 999: - case 1000: - case 1001: - case 1: - case 2: - case 99997: - case 99998: - case 99999: - case 2147483647: - break; - } - if (message.editionDeprecated != null && message.hasOwnProperty("editionDeprecated")) - switch (message.editionDeprecated) { - default: - return "editionDeprecated: enum value expected"; - case 0: - case 900: - case 998: - case 999: - case 1000: - case 1001: - case 1: - case 2: - case 99997: - case 99998: - case 99999: - case 2147483647: - break; - } - if (message.deprecationWarning != null && message.hasOwnProperty("deprecationWarning")) - if (!$util.isString(message.deprecationWarning)) - return "deprecationWarning: string expected"; - if (message.editionRemoved != null && message.hasOwnProperty("editionRemoved")) - switch (message.editionRemoved) { - default: - return "editionRemoved: enum value expected"; - case 0: - case 900: - case 998: - case 999: - case 1000: - case 1001: - case 1: - case 2: - case 99997: - case 99998: - case 99999: - case 2147483647: - break; - } - return null; - }; - - /** - * Creates a FeatureSupport message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {Object.} object Plain object - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport - */ - FeatureSupport.fromObject = function fromObject(object) { - if (object instanceof $root.google.protobuf.FieldOptions.FeatureSupport) - return object; - var message = new $root.google.protobuf.FieldOptions.FeatureSupport(); - switch (object.editionIntroduced) { - default: - if (typeof object.editionIntroduced === "number") { - message.editionIntroduced = object.editionIntroduced; - break; - } - break; - case "EDITION_UNKNOWN": - case 0: - message.editionIntroduced = 0; - break; - case "EDITION_LEGACY": - case 900: - message.editionIntroduced = 900; - break; - case "EDITION_PROTO2": - case 998: - message.editionIntroduced = 998; - break; - case "EDITION_PROTO3": - case 999: - message.editionIntroduced = 999; - break; - case "EDITION_2023": - case 1000: - message.editionIntroduced = 1000; - break; - case "EDITION_2024": - case 1001: - message.editionIntroduced = 1001; - break; - case "EDITION_1_TEST_ONLY": - case 1: - message.editionIntroduced = 1; - break; - case "EDITION_2_TEST_ONLY": - case 2: - message.editionIntroduced = 2; - break; - case "EDITION_99997_TEST_ONLY": - case 99997: - message.editionIntroduced = 99997; - break; - case "EDITION_99998_TEST_ONLY": - case 99998: - message.editionIntroduced = 99998; - break; - case "EDITION_99999_TEST_ONLY": - case 99999: - message.editionIntroduced = 99999; - break; - case "EDITION_MAX": - case 2147483647: - message.editionIntroduced = 2147483647; - break; - } - switch (object.editionDeprecated) { - default: - if (typeof object.editionDeprecated === "number") { - message.editionDeprecated = object.editionDeprecated; - break; - } - break; - case "EDITION_UNKNOWN": - case 0: - message.editionDeprecated = 0; - break; - case "EDITION_LEGACY": - case 900: - message.editionDeprecated = 900; - break; - case "EDITION_PROTO2": - case 998: - message.editionDeprecated = 998; - break; - case "EDITION_PROTO3": - case 999: - message.editionDeprecated = 999; - break; - case "EDITION_2023": - case 1000: - message.editionDeprecated = 1000; - break; - case "EDITION_2024": - case 1001: - message.editionDeprecated = 1001; - break; - case "EDITION_1_TEST_ONLY": - case 1: - message.editionDeprecated = 1; - break; - case "EDITION_2_TEST_ONLY": - case 2: - message.editionDeprecated = 2; - break; - case "EDITION_99997_TEST_ONLY": - case 99997: - message.editionDeprecated = 99997; - break; - case "EDITION_99998_TEST_ONLY": - case 99998: - message.editionDeprecated = 99998; - break; - case "EDITION_99999_TEST_ONLY": - case 99999: - message.editionDeprecated = 99999; - break; - case "EDITION_MAX": - case 2147483647: - message.editionDeprecated = 2147483647; - break; - } - if (object.deprecationWarning != null) - message.deprecationWarning = String(object.deprecationWarning); - switch (object.editionRemoved) { - default: - if (typeof object.editionRemoved === "number") { - message.editionRemoved = object.editionRemoved; - break; - } - break; - case "EDITION_UNKNOWN": - case 0: - message.editionRemoved = 0; - break; - case "EDITION_LEGACY": - case 900: - message.editionRemoved = 900; - break; case "EDITION_PROTO2": case 998: - message.editionRemoved = 998; + message.edition = 998; break; case "EDITION_PROTO3": case 999: - message.editionRemoved = 999; + message.edition = 999; break; case "EDITION_2023": case 1000: - message.editionRemoved = 1000; + message.edition = 1000; break; case "EDITION_2024": case 1001: - message.editionRemoved = 1001; + message.edition = 1001; break; case "EDITION_1_TEST_ONLY": case 1: - message.editionRemoved = 1; + message.edition = 1; break; case "EDITION_2_TEST_ONLY": case 2: - message.editionRemoved = 2; + message.edition = 2; break; case "EDITION_99997_TEST_ONLY": case 99997: - message.editionRemoved = 99997; + message.edition = 99997; break; case "EDITION_99998_TEST_ONLY": case 99998: - message.editionRemoved = 99998; + message.edition = 99998; break; case "EDITION_99999_TEST_ONLY": case 99999: - message.editionRemoved = 99999; + message.edition = 99999; break; case "EDITION_MAX": case 2147483647: - message.editionRemoved = 2147483647; + message.edition = 2147483647; break; } + if (object.value != null) + message.value = String(object.value); return message; }; /** - * Creates a plain object from a FeatureSupport message. Also converts values to other types if specified. + * Creates a plain object from an EditionDefault message. Also converts values to other types if specified. * @function toObject - * @memberof google.protobuf.FieldOptions.FeatureSupport + * @memberof google.protobuf.FieldOptions.EditionDefault * @static - * @param {google.protobuf.FieldOptions.FeatureSupport} message FeatureSupport + * @param {google.protobuf.FieldOptions.EditionDefault} message EditionDefault * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - FeatureSupport.toObject = function toObject(message, options) { + EditionDefault.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; if (options.defaults) { - object.editionIntroduced = options.enums === String ? "EDITION_UNKNOWN" : 0; - object.editionDeprecated = options.enums === String ? "EDITION_UNKNOWN" : 0; - object.deprecationWarning = ""; - object.editionRemoved = options.enums === String ? "EDITION_UNKNOWN" : 0; + object.value = ""; + object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0; } - if (message.editionIntroduced != null && message.hasOwnProperty("editionIntroduced")) - object.editionIntroduced = options.enums === String ? $root.google.protobuf.Edition[message.editionIntroduced] === undefined ? message.editionIntroduced : $root.google.protobuf.Edition[message.editionIntroduced] : message.editionIntroduced; - if (message.editionDeprecated != null && message.hasOwnProperty("editionDeprecated")) - object.editionDeprecated = options.enums === String ? $root.google.protobuf.Edition[message.editionDeprecated] === undefined ? message.editionDeprecated : $root.google.protobuf.Edition[message.editionDeprecated] : message.editionDeprecated; - if (message.deprecationWarning != null && message.hasOwnProperty("deprecationWarning")) - object.deprecationWarning = message.deprecationWarning; - if (message.editionRemoved != null && message.hasOwnProperty("editionRemoved")) - object.editionRemoved = options.enums === String ? $root.google.protobuf.Edition[message.editionRemoved] === undefined ? message.editionRemoved : $root.google.protobuf.Edition[message.editionRemoved] : message.editionRemoved; + if (message.value != null && message.hasOwnProperty("value")) + object.value = message.value; + if (message.edition != null && message.hasOwnProperty("edition")) + object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; return object; }; /** - * Converts this FeatureSupport to JSON. + * Converts this EditionDefault to JSON. * @function toJSON - * @memberof google.protobuf.FieldOptions.FeatureSupport + * @memberof google.protobuf.FieldOptions.EditionDefault * @instance * @returns {Object.} JSON object */ - FeatureSupport.prototype.toJSON = function toJSON() { + EditionDefault.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for FeatureSupport + * Gets the default type url for EditionDefault * @function getTypeUrl - * @memberof google.protobuf.FieldOptions.FeatureSupport + * @memberof google.protobuf.FieldOptions.EditionDefault * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - FeatureSupport.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + EditionDefault.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.protobuf.FieldOptions.FeatureSupport"; + return typeUrlPrefix + "/google.protobuf.FieldOptions.EditionDefault"; }; - return FeatureSupport; + return EditionDefault; })(); return FieldOptions; @@ -22903,7 +21634,6 @@ * @property {boolean|null} [deprecated] EnumValueOptions deprecated * @property {google.protobuf.IFeatureSet|null} [features] EnumValueOptions features * @property {boolean|null} [debugRedact] EnumValueOptions debugRedact - * @property {google.protobuf.FieldOptions.IFeatureSupport|null} [featureSupport] EnumValueOptions featureSupport * @property {Array.|null} [uninterpretedOption] EnumValueOptions uninterpretedOption */ @@ -22947,14 +21677,6 @@ */ EnumValueOptions.prototype.debugRedact = false; - /** - * EnumValueOptions featureSupport. - * @member {google.protobuf.FieldOptions.IFeatureSupport|null|undefined} featureSupport - * @memberof google.protobuf.EnumValueOptions - * @instance - */ - EnumValueOptions.prototype.featureSupport = null; - /** * EnumValueOptions uninterpretedOption. * @member {Array.} uninterpretedOption @@ -22993,8 +21715,6 @@ $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); if (message.debugRedact != null && Object.hasOwnProperty.call(message, "debugRedact")) writer.uint32(/* id 3, wireType 0 =*/24).bool(message.debugRedact); - if (message.featureSupport != null && Object.hasOwnProperty.call(message, "featureSupport")) - $root.google.protobuf.FieldOptions.FeatureSupport.encode(message.featureSupport, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); if (message.uninterpretedOption != null && message.uninterpretedOption.length) for (var i = 0; i < message.uninterpretedOption.length; ++i) $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim(); @@ -23046,10 +21766,6 @@ message.debugRedact = reader.bool(); break; } - case 4: { - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.decode(reader, reader.uint32()); - break; - } case 999: { if (!(message.uninterpretedOption && message.uninterpretedOption.length)) message.uninterpretedOption = []; @@ -23102,11 +21818,6 @@ if (message.debugRedact != null && message.hasOwnProperty("debugRedact")) if (typeof message.debugRedact !== "boolean") return "debugRedact: boolean expected"; - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) { - var error = $root.google.protobuf.FieldOptions.FeatureSupport.verify(message.featureSupport); - if (error) - return "featureSupport." + error; - } if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) { if (!Array.isArray(message.uninterpretedOption)) return "uninterpretedOption: array expected"; @@ -23140,11 +21851,6 @@ } if (object.debugRedact != null) message.debugRedact = Boolean(object.debugRedact); - if (object.featureSupport != null) { - if (typeof object.featureSupport !== "object") - throw TypeError(".google.protobuf.EnumValueOptions.featureSupport: object expected"); - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.fromObject(object.featureSupport); - } if (object.uninterpretedOption) { if (!Array.isArray(object.uninterpretedOption)) throw TypeError(".google.protobuf.EnumValueOptions.uninterpretedOption: array expected"); @@ -23177,7 +21883,6 @@ object.deprecated = false; object.features = null; object.debugRedact = false; - object.featureSupport = null; } if (message.deprecated != null && message.hasOwnProperty("deprecated")) object.deprecated = message.deprecated; @@ -23185,8 +21890,6 @@ object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options); if (message.debugRedact != null && message.hasOwnProperty("debugRedact")) object.debugRedact = message.debugRedact; - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) - object.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.toObject(message.featureSupport, options); if (message.uninterpretedOption && message.uninterpretedOption.length) { object.uninterpretedOption = []; for (var j = 0; j < message.uninterpretedOption.length; ++j) @@ -24626,8 +23329,6 @@ * @property {google.protobuf.FeatureSet.Utf8Validation|null} [utf8Validation] FeatureSet utf8Validation * @property {google.protobuf.FeatureSet.MessageEncoding|null} [messageEncoding] FeatureSet messageEncoding * @property {google.protobuf.FeatureSet.JsonFormat|null} [jsonFormat] FeatureSet jsonFormat - * @property {google.protobuf.FeatureSet.EnforceNamingStyle|null} [enforceNamingStyle] FeatureSet enforceNamingStyle - * @property {google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|null} [defaultSymbolVisibility] FeatureSet defaultSymbolVisibility */ /** @@ -24693,22 +23394,6 @@ */ FeatureSet.prototype.jsonFormat = 0; - /** - * FeatureSet enforceNamingStyle. - * @member {google.protobuf.FeatureSet.EnforceNamingStyle} enforceNamingStyle - * @memberof google.protobuf.FeatureSet - * @instance - */ - FeatureSet.prototype.enforceNamingStyle = 0; - - /** - * FeatureSet defaultSymbolVisibility. - * @member {google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility} defaultSymbolVisibility - * @memberof google.protobuf.FeatureSet - * @instance - */ - FeatureSet.prototype.defaultSymbolVisibility = 0; - /** * Creates a new FeatureSet instance using the specified properties. * @function create @@ -24745,10 +23430,6 @@ writer.uint32(/* id 5, wireType 0 =*/40).int32(message.messageEncoding); if (message.jsonFormat != null && Object.hasOwnProperty.call(message, "jsonFormat")) writer.uint32(/* id 6, wireType 0 =*/48).int32(message.jsonFormat); - if (message.enforceNamingStyle != null && Object.hasOwnProperty.call(message, "enforceNamingStyle")) - writer.uint32(/* id 7, wireType 0 =*/56).int32(message.enforceNamingStyle); - if (message.defaultSymbolVisibility != null && Object.hasOwnProperty.call(message, "defaultSymbolVisibility")) - writer.uint32(/* id 8, wireType 0 =*/64).int32(message.defaultSymbolVisibility); return writer; }; @@ -24809,14 +23490,6 @@ message.jsonFormat = reader.int32(); break; } - case 7: { - message.enforceNamingStyle = reader.int32(); - break; - } - case 8: { - message.defaultSymbolVisibility = reader.int32(); - break; - } default: reader.skipType(tag & 7); break; @@ -24907,26 +23580,6 @@ case 2: break; } - if (message.enforceNamingStyle != null && message.hasOwnProperty("enforceNamingStyle")) - switch (message.enforceNamingStyle) { - default: - return "enforceNamingStyle: enum value expected"; - case 0: - case 1: - case 2: - break; - } - if (message.defaultSymbolVisibility != null && message.hasOwnProperty("defaultSymbolVisibility")) - switch (message.defaultSymbolVisibility) { - default: - return "defaultSymbolVisibility: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } return null; }; @@ -25066,54 +23719,6 @@ message.jsonFormat = 2; break; } - switch (object.enforceNamingStyle) { - default: - if (typeof object.enforceNamingStyle === "number") { - message.enforceNamingStyle = object.enforceNamingStyle; - break; - } - break; - case "ENFORCE_NAMING_STYLE_UNKNOWN": - case 0: - message.enforceNamingStyle = 0; - break; - case "STYLE2024": - case 1: - message.enforceNamingStyle = 1; - break; - case "STYLE_LEGACY": - case 2: - message.enforceNamingStyle = 2; - break; - } - switch (object.defaultSymbolVisibility) { - default: - if (typeof object.defaultSymbolVisibility === "number") { - message.defaultSymbolVisibility = object.defaultSymbolVisibility; - break; - } - break; - case "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN": - case 0: - message.defaultSymbolVisibility = 0; - break; - case "EXPORT_ALL": - case 1: - message.defaultSymbolVisibility = 1; - break; - case "EXPORT_TOP_LEVEL": - case 2: - message.defaultSymbolVisibility = 2; - break; - case "LOCAL_ALL": - case 3: - message.defaultSymbolVisibility = 3; - break; - case "STRICT": - case 4: - message.defaultSymbolVisibility = 4; - break; - } return message; }; @@ -25137,8 +23742,6 @@ object.utf8Validation = options.enums === String ? "UTF8_VALIDATION_UNKNOWN" : 0; object.messageEncoding = options.enums === String ? "MESSAGE_ENCODING_UNKNOWN" : 0; object.jsonFormat = options.enums === String ? "JSON_FORMAT_UNKNOWN" : 0; - object.enforceNamingStyle = options.enums === String ? "ENFORCE_NAMING_STYLE_UNKNOWN" : 0; - object.defaultSymbolVisibility = options.enums === String ? "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN" : 0; } if (message.fieldPresence != null && message.hasOwnProperty("fieldPresence")) object.fieldPresence = options.enums === String ? $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] === undefined ? message.fieldPresence : $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] : message.fieldPresence; @@ -25152,10 +23755,6 @@ object.messageEncoding = options.enums === String ? $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] === undefined ? message.messageEncoding : $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] : message.messageEncoding; if (message.jsonFormat != null && message.hasOwnProperty("jsonFormat")) object.jsonFormat = options.enums === String ? $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] === undefined ? message.jsonFormat : $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] : message.jsonFormat; - if (message.enforceNamingStyle != null && message.hasOwnProperty("enforceNamingStyle")) - object.enforceNamingStyle = options.enums === String ? $root.google.protobuf.FeatureSet.EnforceNamingStyle[message.enforceNamingStyle] === undefined ? message.enforceNamingStyle : $root.google.protobuf.FeatureSet.EnforceNamingStyle[message.enforceNamingStyle] : message.enforceNamingStyle; - if (message.defaultSymbolVisibility != null && message.hasOwnProperty("defaultSymbolVisibility")) - object.defaultSymbolVisibility = options.enums === String ? $root.google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility[message.defaultSymbolVisibility] === undefined ? message.defaultSymbolVisibility : $root.google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility[message.defaultSymbolVisibility] : message.defaultSymbolVisibility; return object; }; @@ -25283,219 +23882,6 @@ return values; })(); - /** - * EnforceNamingStyle enum. - * @name google.protobuf.FeatureSet.EnforceNamingStyle - * @enum {number} - * @property {number} ENFORCE_NAMING_STYLE_UNKNOWN=0 ENFORCE_NAMING_STYLE_UNKNOWN value - * @property {number} STYLE2024=1 STYLE2024 value - * @property {number} STYLE_LEGACY=2 STYLE_LEGACY value - */ - FeatureSet.EnforceNamingStyle = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "ENFORCE_NAMING_STYLE_UNKNOWN"] = 0; - values[valuesById[1] = "STYLE2024"] = 1; - values[valuesById[2] = "STYLE_LEGACY"] = 2; - return values; - })(); - - FeatureSet.VisibilityFeature = (function() { - - /** - * Properties of a VisibilityFeature. - * @memberof google.protobuf.FeatureSet - * @interface IVisibilityFeature - */ - - /** - * Constructs a new VisibilityFeature. - * @memberof google.protobuf.FeatureSet - * @classdesc Represents a VisibilityFeature. - * @implements IVisibilityFeature - * @constructor - * @param {google.protobuf.FeatureSet.IVisibilityFeature=} [properties] Properties to set - */ - function VisibilityFeature(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Creates a new VisibilityFeature instance using the specified properties. - * @function create - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.IVisibilityFeature=} [properties] Properties to set - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature instance - */ - VisibilityFeature.create = function create(properties) { - return new VisibilityFeature(properties); - }; - - /** - * Encodes the specified VisibilityFeature message. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @function encode - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.IVisibilityFeature} message VisibilityFeature message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - VisibilityFeature.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - return writer; - }; - - /** - * Encodes the specified VisibilityFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @function encodeDelimited - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.IVisibilityFeature} message VisibilityFeature message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - VisibilityFeature.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer. - * @function decode - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - VisibilityFeature.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FeatureSet.VisibilityFeature(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - VisibilityFeature.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a VisibilityFeature message. - * @function verify - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - VisibilityFeature.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - return null; - }; - - /** - * Creates a VisibilityFeature message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {Object.} object Plain object - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature - */ - VisibilityFeature.fromObject = function fromObject(object) { - if (object instanceof $root.google.protobuf.FeatureSet.VisibilityFeature) - return object; - return new $root.google.protobuf.FeatureSet.VisibilityFeature(); - }; - - /** - * Creates a plain object from a VisibilityFeature message. Also converts values to other types if specified. - * @function toObject - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.VisibilityFeature} message VisibilityFeature - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - VisibilityFeature.toObject = function toObject() { - return {}; - }; - - /** - * Converts this VisibilityFeature to JSON. - * @function toJSON - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @instance - * @returns {Object.} JSON object - */ - VisibilityFeature.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for VisibilityFeature - * @function getTypeUrl - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - VisibilityFeature.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.FeatureSet.VisibilityFeature"; - }; - - /** - * DefaultSymbolVisibility enum. - * @name google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility - * @enum {number} - * @property {number} DEFAULT_SYMBOL_VISIBILITY_UNKNOWN=0 DEFAULT_SYMBOL_VISIBILITY_UNKNOWN value - * @property {number} EXPORT_ALL=1 EXPORT_ALL value - * @property {number} EXPORT_TOP_LEVEL=2 EXPORT_TOP_LEVEL value - * @property {number} LOCAL_ALL=3 LOCAL_ALL value - * @property {number} STRICT=4 STRICT value - */ - VisibilityFeature.DefaultSymbolVisibility = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN"] = 0; - values[valuesById[1] = "EXPORT_ALL"] = 1; - values[valuesById[2] = "EXPORT_TOP_LEVEL"] = 2; - values[valuesById[3] = "LOCAL_ALL"] = 3; - values[valuesById[4] = "STRICT"] = 4; - return values; - })(); - - return VisibilityFeature; - })(); - return FeatureSet; })(); @@ -25680,7 +24066,6 @@ default: return "minimumEdition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -25698,7 +24083,6 @@ default: return "maximumEdition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -25747,10 +24131,6 @@ case 0: message.minimumEdition = 0; break; - case "EDITION_LEGACY": - case 900: - message.minimumEdition = 900; - break; case "EDITION_PROTO2": case 998: message.minimumEdition = 998; @@ -25803,10 +24183,6 @@ case 0: message.maximumEdition = 0; break; - case "EDITION_LEGACY": - case 900: - message.maximumEdition = 900; - break; case "EDITION_PROTO2": case 998: message.maximumEdition = 998; @@ -25915,8 +24291,7 @@ * @memberof google.protobuf.FeatureSetDefaults * @interface IFeatureSetEditionDefault * @property {google.protobuf.Edition|null} [edition] FeatureSetEditionDefault edition - * @property {google.protobuf.IFeatureSet|null} [overridableFeatures] FeatureSetEditionDefault overridableFeatures - * @property {google.protobuf.IFeatureSet|null} [fixedFeatures] FeatureSetEditionDefault fixedFeatures + * @property {google.protobuf.IFeatureSet|null} [features] FeatureSetEditionDefault features */ /** @@ -25943,20 +24318,12 @@ FeatureSetEditionDefault.prototype.edition = 0; /** - * FeatureSetEditionDefault overridableFeatures. - * @member {google.protobuf.IFeatureSet|null|undefined} overridableFeatures - * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault - * @instance - */ - FeatureSetEditionDefault.prototype.overridableFeatures = null; - - /** - * FeatureSetEditionDefault fixedFeatures. - * @member {google.protobuf.IFeatureSet|null|undefined} fixedFeatures + * FeatureSetEditionDefault features. + * @member {google.protobuf.IFeatureSet|null|undefined} features * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault * @instance */ - FeatureSetEditionDefault.prototype.fixedFeatures = null; + FeatureSetEditionDefault.prototype.features = null; /** * Creates a new FeatureSetEditionDefault instance using the specified properties. @@ -25982,12 +24349,10 @@ FeatureSetEditionDefault.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); + if (message.features != null && Object.hasOwnProperty.call(message, "features")) + $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); if (message.edition != null && Object.hasOwnProperty.call(message, "edition")) writer.uint32(/* id 3, wireType 0 =*/24).int32(message.edition); - if (message.overridableFeatures != null && Object.hasOwnProperty.call(message, "overridableFeatures")) - $root.google.protobuf.FeatureSet.encode(message.overridableFeatures, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.fixedFeatures != null && Object.hasOwnProperty.call(message, "fixedFeatures")) - $root.google.protobuf.FeatureSet.encode(message.fixedFeatures, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); return writer; }; @@ -26028,12 +24393,8 @@ message.edition = reader.int32(); break; } - case 4: { - message.overridableFeatures = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); - break; - } - case 5: { - message.fixedFeatures = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); + case 2: { + message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); break; } default: @@ -26076,7 +24437,6 @@ default: return "edition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -26089,15 +24449,10 @@ case 2147483647: break; } - if (message.overridableFeatures != null && message.hasOwnProperty("overridableFeatures")) { - var error = $root.google.protobuf.FeatureSet.verify(message.overridableFeatures); - if (error) - return "overridableFeatures." + error; - } - if (message.fixedFeatures != null && message.hasOwnProperty("fixedFeatures")) { - var error = $root.google.protobuf.FeatureSet.verify(message.fixedFeatures); + if (message.features != null && message.hasOwnProperty("features")) { + var error = $root.google.protobuf.FeatureSet.verify(message.features); if (error) - return "fixedFeatures." + error; + return "features." + error; } return null; }; @@ -26125,10 +24480,6 @@ case 0: message.edition = 0; break; - case "EDITION_LEGACY": - case 900: - message.edition = 900; - break; case "EDITION_PROTO2": case 998: message.edition = 998; @@ -26170,15 +24521,10 @@ message.edition = 2147483647; break; } - if (object.overridableFeatures != null) { - if (typeof object.overridableFeatures !== "object") - throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.overridableFeatures: object expected"); - message.overridableFeatures = $root.google.protobuf.FeatureSet.fromObject(object.overridableFeatures); - } - if (object.fixedFeatures != null) { - if (typeof object.fixedFeatures !== "object") - throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.fixedFeatures: object expected"); - message.fixedFeatures = $root.google.protobuf.FeatureSet.fromObject(object.fixedFeatures); + if (object.features != null) { + if (typeof object.features !== "object") + throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.features: object expected"); + message.features = $root.google.protobuf.FeatureSet.fromObject(object.features); } return message; }; @@ -26197,16 +24543,13 @@ options = {}; var object = {}; if (options.defaults) { + object.features = null; object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0; - object.overridableFeatures = null; - object.fixedFeatures = null; } + if (message.features != null && message.hasOwnProperty("features")) + object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options); if (message.edition != null && message.hasOwnProperty("edition")) object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; - if (message.overridableFeatures != null && message.hasOwnProperty("overridableFeatures")) - object.overridableFeatures = $root.google.protobuf.FeatureSet.toObject(message.overridableFeatures, options); - if (message.fixedFeatures != null && message.hasOwnProperty("fixedFeatures")) - object.fixedFeatures = $root.google.protobuf.FeatureSet.toObject(message.fixedFeatures, options); return object; }; @@ -27421,22 +25764,6 @@ return GeneratedCodeInfo; })(); - /** - * SymbolVisibility enum. - * @name google.protobuf.SymbolVisibility - * @enum {number} - * @property {number} VISIBILITY_UNSET=0 VISIBILITY_UNSET value - * @property {number} VISIBILITY_LOCAL=1 VISIBILITY_LOCAL value - * @property {number} VISIBILITY_EXPORT=2 VISIBILITY_EXPORT value - */ - protobuf.SymbolVisibility = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "VISIBILITY_UNSET"] = 0; - values[valuesById[1] = "VISIBILITY_LOCAL"] = 1; - values[valuesById[2] = "VISIBILITY_EXPORT"] = 2; - return values; - })(); - protobuf.Duration = (function() { /** diff --git a/packages/google-cloud-dataqna/protos/protos.json b/packages/google-cloud-dataqna/protos/protos.json index 375c44e9100a..0b2f50284492 100644 --- a/packages/google-cloud-dataqna/protos/protos.json +++ b/packages/google-cloud-dataqna/protos/protos.json @@ -739,7 +739,8 @@ "java_multiple_files": true, "java_outer_classname": "LaunchStageProto", "java_package": "com.google.api", - "objc_class_prefix": "GAPI" + "objc_class_prefix": "GAPI", + "cc_enable_arenas": true }, "nested": { "http": { @@ -962,10 +963,6 @@ "rule": "repeated", "type": "ClientLibraryDestination", "id": 2 - }, - "selectiveGapicGeneration": { - "type": "SelectiveGapicGeneration", - "id": 3 } } }, @@ -1106,28 +1103,6 @@ "common": { "type": "CommonLanguageSettings", "id": 1 - }, - "experimentalFeatures": { - "type": "ExperimentalFeatures", - "id": 2 - } - }, - "nested": { - "ExperimentalFeatures": { - "fields": { - "restAsyncIoEnabled": { - "type": "bool", - "id": 1 - }, - "protobufPythonicTypesEnabled": { - "type": "bool", - "id": 2 - }, - "unversionedPackageDisabled": { - "type": "bool", - "id": 3 - } - } } } }, @@ -1185,11 +1160,6 @@ "common": { "type": "CommonLanguageSettings", "id": 1 - }, - "renamedServices": { - "keyType": "string", - "type": "string", - "id": 2 } } }, @@ -1251,19 +1221,6 @@ "PACKAGE_MANAGER": 20 } }, - "SelectiveGapicGeneration": { - "fields": { - "methods": { - "rule": "repeated", - "type": "string", - "id": 1 - }, - "generateOmittedAsInternal": { - "type": "bool", - "id": 2 - } - } - }, "LaunchStage": { "values": { "LAUNCH_STAGE_UNSPECIFIED": 0, @@ -1297,19 +1254,12 @@ "type": "FileDescriptorProto", "id": 1 } - }, - "extensions": [ - [ - 536000000, - 536000000 - ] - ] + } }, "Edition": { "edition": "proto2", "values": { "EDITION_UNKNOWN": 0, - "EDITION_LEGACY": 900, "EDITION_PROTO2": 998, "EDITION_PROTO3": 999, "EDITION_2023": 1000, @@ -1348,11 +1298,6 @@ "type": "int32", "id": 11 }, - "optionDependency": { - "rule": "repeated", - "type": "string", - "id": 15 - }, "messageType": { "rule": "repeated", "type": "DescriptorProto", @@ -1441,10 +1386,6 @@ "rule": "repeated", "type": "string", "id": 10 - }, - "visibility": { - "type": "SymbolVisibility", - "id": 11 } }, "nested": { @@ -1670,10 +1611,6 @@ "rule": "repeated", "type": "string", "id": 5 - }, - "visibility": { - "type": "SymbolVisibility", - "id": 6 } }, "nested": { @@ -1888,7 +1825,6 @@ 42, 42 ], - "php_generic_services", [ 38, 38 @@ -2024,8 +1960,7 @@ "type": "bool", "id": 10, "options": { - "default": false, - "deprecated": true + "default": false } }, "debugRedact": { @@ -2053,10 +1988,6 @@ "type": "FeatureSet", "id": 21 }, - "featureSupport": { - "type": "FeatureSupport", - "id": 22 - }, "uninterpretedOption": { "rule": "repeated", "type": "UninterpretedOption", @@ -2126,26 +2057,6 @@ "id": 2 } } - }, - "FeatureSupport": { - "fields": { - "editionIntroduced": { - "type": "Edition", - "id": 1 - }, - "editionDeprecated": { - "type": "Edition", - "id": 2 - }, - "deprecationWarning": { - "type": "string", - "id": 3 - }, - "editionRemoved": { - "type": "Edition", - "id": 4 - } - } } } }, @@ -2234,10 +2145,6 @@ "default": false } }, - "featureSupport": { - "type": "FieldOptions.FeatureSupport", - "id": 4 - }, "uninterpretedOption": { "rule": "repeated", "type": "UninterpretedOption", @@ -2380,7 +2287,6 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_2023", "edition_defaults.value": "EXPLICIT" } @@ -2391,7 +2297,6 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_PROTO3", "edition_defaults.value": "OPEN" } @@ -2402,7 +2307,6 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_PROTO3", "edition_defaults.value": "PACKED" } @@ -2413,7 +2317,6 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_PROTO3", "edition_defaults.value": "VERIFY" } @@ -2424,8 +2327,7 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", - "edition_defaults.edition": "EDITION_LEGACY", + "edition_defaults.edition": "EDITION_PROTO2", "edition_defaults.value": "LENGTH_PREFIXED" } }, @@ -2435,38 +2337,27 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_PROTO3", "edition_defaults.value": "ALLOW" } - }, - "enforceNamingStyle": { - "type": "EnforceNamingStyle", - "id": 7, - "options": { - "retention": "RETENTION_SOURCE", - "targets": "TARGET_TYPE_METHOD", - "feature_support.edition_introduced": "EDITION_2024", - "edition_defaults.edition": "EDITION_2024", - "edition_defaults.value": "STYLE2024" - } - }, - "defaultSymbolVisibility": { - "type": "VisibilityFeature.DefaultSymbolVisibility", - "id": 8, - "options": { - "retention": "RETENTION_SOURCE", - "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2024", - "edition_defaults.edition": "EDITION_2024", - "edition_defaults.value": "EXPORT_TOP_LEVEL" - } } }, "extensions": [ [ 1000, - 9994 + 1000 + ], + [ + 1001, + 1001 + ], + [ + 1002, + 1002 + ], + [ + 9990, + 9990 ], [ 9995, @@ -2511,13 +2402,7 @@ "UTF8_VALIDATION_UNKNOWN": 0, "VERIFY": 2, "NONE": 3 - }, - "reserved": [ - [ - 1, - 1 - ] - ] + } }, "MessageEncoding": { "values": { @@ -2532,33 +2417,6 @@ "ALLOW": 1, "LEGACY_BEST_EFFORT": 2 } - }, - "EnforceNamingStyle": { - "values": { - "ENFORCE_NAMING_STYLE_UNKNOWN": 0, - "STYLE2024": 1, - "STYLE_LEGACY": 2 - } - }, - "VisibilityFeature": { - "fields": {}, - "reserved": [ - [ - 1, - 536870911 - ] - ], - "nested": { - "DefaultSymbolVisibility": { - "values": { - "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN": 0, - "EXPORT_ALL": 1, - "EXPORT_TOP_LEVEL": 2, - "LOCAL_ALL": 3, - "STRICT": 4 - } - } - } } } }, @@ -2586,26 +2444,11 @@ "type": "Edition", "id": 3 }, - "overridableFeatures": { + "features": { "type": "FeatureSet", - "id": 4 - }, - "fixedFeatures": { - "type": "FeatureSet", - "id": 5 + "id": 2 } - }, - "reserved": [ - [ - 1, - 1 - ], - [ - 2, - 2 - ], - "features" - ] + } } } }, @@ -2618,12 +2461,6 @@ "id": 1 } }, - "extensions": [ - [ - 536000000, - 536000000 - ] - ], "nested": { "Location": { "fields": { @@ -2709,14 +2546,6 @@ } } }, - "SymbolVisibility": { - "edition": "proto2", - "values": { - "VISIBILITY_UNSET": 0, - "VISIBILITY_LOCAL": 1, - "VISIBILITY_EXPORT": 2 - } - }, "Duration": { "fields": { "seconds": { diff --git a/packages/google-cloud-dataqna/samples/generated/v1alpha/snippet_metadata_google.cloud.dataqna.v1alpha.json b/packages/google-cloud-dataqna/samples/generated/v1alpha/snippet_metadata_google.cloud.dataqna.v1alpha.json index b810c0076dd9..406246961f27 100644 --- a/packages/google-cloud-dataqna/samples/generated/v1alpha/snippet_metadata_google.cloud.dataqna.v1alpha.json +++ b/packages/google-cloud-dataqna/samples/generated/v1alpha/snippet_metadata_google.cloud.dataqna.v1alpha.json @@ -1,283 +1,283 @@ { - "clientLibrary": { - "name": "nodejs-dataqna", - "version": "4.1.0", - "language": "TYPESCRIPT", - "apis": [ - { - "id": "google.cloud.dataqna.v1alpha", - "version": "v1alpha" - } - ] - }, - "snippets": [ + "clientLibrary": { + "name": "nodejs-dataqna", + "version": "0.1.0", + "language": "TYPESCRIPT", + "apis": [ + { + "id": "google.cloud.dataqna.v1alpha", + "version": "v1alpha" + } + ] + }, + "snippets": [ + { + "regionTag": "dataqna_v1alpha_generated_AutoSuggestionService_SuggestQueries_async", + "title": "AutoSuggestionService suggestQueries Sample", + "origin": "API_DEFINITION", + "description": " Gets a list of suggestions based on a prefix string. AutoSuggestion tolerance should be less than 1 second.", + "canonical": true, + "file": "auto_suggestion_service.suggest_queries.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dataqna_v1alpha_generated_AutoSuggestionService_SuggestQueries_async", - "title": "AutoSuggestionService suggestQueries Sample", - "origin": "API_DEFINITION", - "description": " Gets a list of suggestions based on a prefix string. AutoSuggestion tolerance should be less than 1 second.", - "canonical": true, - "file": "auto_suggestion_service.suggest_queries.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 75, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "SuggestQueries", - "fullName": "google.cloud.dataqna.v1alpha.AutoSuggestionService.SuggestQueries", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "scopes", - "type": "TYPE_STRING[]" - }, - { - "name": "query", - "type": "TYPE_STRING" - }, - { - "name": "suggestion_types", - "type": "TYPE_ENUM[]" - } - ], - "resultType": ".google.cloud.dataqna.v1alpha.SuggestQueriesResponse", - "client": { - "shortName": "AutoSuggestionServiceClient", - "fullName": "google.cloud.dataqna.v1alpha.AutoSuggestionServiceClient" - }, - "method": { - "shortName": "SuggestQueries", - "fullName": "google.cloud.dataqna.v1alpha.AutoSuggestionService.SuggestQueries", - "service": { - "shortName": "AutoSuggestionService", - "fullName": "google.cloud.dataqna.v1alpha.AutoSuggestionService" - } - } - } + "start": 25, + "end": 75, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "SuggestQueries", + "fullName": "google.cloud.dataqna.v1alpha.AutoSuggestionService.SuggestQueries", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "scopes", + "type": "TYPE_STRING[]" + }, + { + "name": "query", + "type": "TYPE_STRING" + }, + { + "name": "suggestion_types", + "type": "TYPE_ENUM[]" + } + ], + "resultType": ".google.cloud.dataqna.v1alpha.SuggestQueriesResponse", + "client": { + "shortName": "AutoSuggestionServiceClient", + "fullName": "google.cloud.dataqna.v1alpha.AutoSuggestionServiceClient" }, + "method": { + "shortName": "SuggestQueries", + "fullName": "google.cloud.dataqna.v1alpha.AutoSuggestionService.SuggestQueries", + "service": { + "shortName": "AutoSuggestionService", + "fullName": "google.cloud.dataqna.v1alpha.AutoSuggestionService" + } + } + } + }, + { + "regionTag": "dataqna_v1alpha_generated_QuestionService_GetQuestion_async", + "title": "AutoSuggestionService getQuestion Sample", + "origin": "API_DEFINITION", + "description": " Gets a previously created question.", + "canonical": true, + "file": "question_service.get_question.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dataqna_v1alpha_generated_QuestionService_GetQuestion_async", - "title": "AutoSuggestionService getQuestion Sample", - "origin": "API_DEFINITION", - "description": " Gets a previously created question.", - "canonical": true, - "file": "question_service.get_question.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 58, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetQuestion", - "fullName": "google.cloud.dataqna.v1alpha.QuestionService.GetQuestion", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "read_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dataqna.v1alpha.Question", - "client": { - "shortName": "QuestionServiceClient", - "fullName": "google.cloud.dataqna.v1alpha.QuestionServiceClient" - }, - "method": { - "shortName": "GetQuestion", - "fullName": "google.cloud.dataqna.v1alpha.QuestionService.GetQuestion", - "service": { - "shortName": "QuestionService", - "fullName": "google.cloud.dataqna.v1alpha.QuestionService" - } - } - } + "start": 25, + "end": 58, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetQuestion", + "fullName": "google.cloud.dataqna.v1alpha.QuestionService.GetQuestion", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "read_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dataqna.v1alpha.Question", + "client": { + "shortName": "QuestionServiceClient", + "fullName": "google.cloud.dataqna.v1alpha.QuestionServiceClient" }, + "method": { + "shortName": "GetQuestion", + "fullName": "google.cloud.dataqna.v1alpha.QuestionService.GetQuestion", + "service": { + "shortName": "QuestionService", + "fullName": "google.cloud.dataqna.v1alpha.QuestionService" + } + } + } + }, + { + "regionTag": "dataqna_v1alpha_generated_QuestionService_CreateQuestion_async", + "title": "AutoSuggestionService createQuestion Sample", + "origin": "API_DEFINITION", + "description": " Creates a question.", + "canonical": true, + "file": "question_service.create_question.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dataqna_v1alpha_generated_QuestionService_CreateQuestion_async", - "title": "AutoSuggestionService createQuestion Sample", - "origin": "API_DEFINITION", - "description": " Creates a question.", - "canonical": true, - "file": "question_service.create_question.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateQuestion", - "fullName": "google.cloud.dataqna.v1alpha.QuestionService.CreateQuestion", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "question", - "type": ".google.cloud.dataqna.v1alpha.Question" - } - ], - "resultType": ".google.cloud.dataqna.v1alpha.Question", - "client": { - "shortName": "QuestionServiceClient", - "fullName": "google.cloud.dataqna.v1alpha.QuestionServiceClient" - }, - "method": { - "shortName": "CreateQuestion", - "fullName": "google.cloud.dataqna.v1alpha.QuestionService.CreateQuestion", - "service": { - "shortName": "QuestionService", - "fullName": "google.cloud.dataqna.v1alpha.QuestionService" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateQuestion", + "fullName": "google.cloud.dataqna.v1alpha.QuestionService.CreateQuestion", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "question", + "type": ".google.cloud.dataqna.v1alpha.Question" + } + ], + "resultType": ".google.cloud.dataqna.v1alpha.Question", + "client": { + "shortName": "QuestionServiceClient", + "fullName": "google.cloud.dataqna.v1alpha.QuestionServiceClient" }, + "method": { + "shortName": "CreateQuestion", + "fullName": "google.cloud.dataqna.v1alpha.QuestionService.CreateQuestion", + "service": { + "shortName": "QuestionService", + "fullName": "google.cloud.dataqna.v1alpha.QuestionService" + } + } + } + }, + { + "regionTag": "dataqna_v1alpha_generated_QuestionService_ExecuteQuestion_async", + "title": "AutoSuggestionService executeQuestion Sample", + "origin": "API_DEFINITION", + "description": " Executes an interpretation.", + "canonical": true, + "file": "question_service.execute_question.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dataqna_v1alpha_generated_QuestionService_ExecuteQuestion_async", - "title": "AutoSuggestionService executeQuestion Sample", - "origin": "API_DEFINITION", - "description": " Executes an interpretation.", - "canonical": true, - "file": "question_service.execute_question.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ExecuteQuestion", - "fullName": "google.cloud.dataqna.v1alpha.QuestionService.ExecuteQuestion", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "interpretation_index", - "type": "TYPE_INT32" - } - ], - "resultType": ".google.cloud.dataqna.v1alpha.Question", - "client": { - "shortName": "QuestionServiceClient", - "fullName": "google.cloud.dataqna.v1alpha.QuestionServiceClient" - }, - "method": { - "shortName": "ExecuteQuestion", - "fullName": "google.cloud.dataqna.v1alpha.QuestionService.ExecuteQuestion", - "service": { - "shortName": "QuestionService", - "fullName": "google.cloud.dataqna.v1alpha.QuestionService" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ExecuteQuestion", + "fullName": "google.cloud.dataqna.v1alpha.QuestionService.ExecuteQuestion", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "interpretation_index", + "type": "TYPE_INT32" + } + ], + "resultType": ".google.cloud.dataqna.v1alpha.Question", + "client": { + "shortName": "QuestionServiceClient", + "fullName": "google.cloud.dataqna.v1alpha.QuestionServiceClient" }, + "method": { + "shortName": "ExecuteQuestion", + "fullName": "google.cloud.dataqna.v1alpha.QuestionService.ExecuteQuestion", + "service": { + "shortName": "QuestionService", + "fullName": "google.cloud.dataqna.v1alpha.QuestionService" + } + } + } + }, + { + "regionTag": "dataqna_v1alpha_generated_QuestionService_GetUserFeedback_async", + "title": "AutoSuggestionService getUserFeedback Sample", + "origin": "API_DEFINITION", + "description": " Gets previously created user feedback.", + "canonical": true, + "file": "question_service.get_user_feedback.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dataqna_v1alpha_generated_QuestionService_GetUserFeedback_async", - "title": "AutoSuggestionService getUserFeedback Sample", - "origin": "API_DEFINITION", - "description": " Gets previously created user feedback.", - "canonical": true, - "file": "question_service.get_user_feedback.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetUserFeedback", - "fullName": "google.cloud.dataqna.v1alpha.QuestionService.GetUserFeedback", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dataqna.v1alpha.UserFeedback", - "client": { - "shortName": "QuestionServiceClient", - "fullName": "google.cloud.dataqna.v1alpha.QuestionServiceClient" - }, - "method": { - "shortName": "GetUserFeedback", - "fullName": "google.cloud.dataqna.v1alpha.QuestionService.GetUserFeedback", - "service": { - "shortName": "QuestionService", - "fullName": "google.cloud.dataqna.v1alpha.QuestionService" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetUserFeedback", + "fullName": "google.cloud.dataqna.v1alpha.QuestionService.GetUserFeedback", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dataqna.v1alpha.UserFeedback", + "client": { + "shortName": "QuestionServiceClient", + "fullName": "google.cloud.dataqna.v1alpha.QuestionServiceClient" }, + "method": { + "shortName": "GetUserFeedback", + "fullName": "google.cloud.dataqna.v1alpha.QuestionService.GetUserFeedback", + "service": { + "shortName": "QuestionService", + "fullName": "google.cloud.dataqna.v1alpha.QuestionService" + } + } + } + }, + { + "regionTag": "dataqna_v1alpha_generated_QuestionService_UpdateUserFeedback_async", + "title": "AutoSuggestionService updateUserFeedback Sample", + "origin": "API_DEFINITION", + "description": " Updates user feedback. This creates user feedback if there was none before (upsert).", + "canonical": true, + "file": "question_service.update_user_feedback.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dataqna_v1alpha_generated_QuestionService_UpdateUserFeedback_async", - "title": "AutoSuggestionService updateUserFeedback Sample", - "origin": "API_DEFINITION", - "description": " Updates user feedback. This creates user feedback if there was none before (upsert).", - "canonical": true, - "file": "question_service.update_user_feedback.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 60, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateUserFeedback", - "fullName": "google.cloud.dataqna.v1alpha.QuestionService.UpdateUserFeedback", - "async": true, - "parameters": [ - { - "name": "user_feedback", - "type": ".google.cloud.dataqna.v1alpha.UserFeedback" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dataqna.v1alpha.UserFeedback", - "client": { - "shortName": "QuestionServiceClient", - "fullName": "google.cloud.dataqna.v1alpha.QuestionServiceClient" - }, - "method": { - "shortName": "UpdateUserFeedback", - "fullName": "google.cloud.dataqna.v1alpha.QuestionService.UpdateUserFeedback", - "service": { - "shortName": "QuestionService", - "fullName": "google.cloud.dataqna.v1alpha.QuestionService" - } - } - } + "start": 25, + "end": 60, + "type": "FULL" } - ] -} \ No newline at end of file + ], + "clientMethod": { + "shortName": "UpdateUserFeedback", + "fullName": "google.cloud.dataqna.v1alpha.QuestionService.UpdateUserFeedback", + "async": true, + "parameters": [ + { + "name": "user_feedback", + "type": ".google.cloud.dataqna.v1alpha.UserFeedback" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dataqna.v1alpha.UserFeedback", + "client": { + "shortName": "QuestionServiceClient", + "fullName": "google.cloud.dataqna.v1alpha.QuestionServiceClient" + }, + "method": { + "shortName": "UpdateUserFeedback", + "fullName": "google.cloud.dataqna.v1alpha.QuestionService.UpdateUserFeedback", + "service": { + "shortName": "QuestionService", + "fullName": "google.cloud.dataqna.v1alpha.QuestionService" + } + } + } + } + ] +} diff --git a/packages/google-cloud-datastream/.OwlBot.yaml b/packages/google-cloud-datastream/.OwlBot.yaml index c1a43512234f..f71192ab7edc 100644 --- a/packages/google-cloud-datastream/.OwlBot.yaml +++ b/packages/google-cloud-datastream/.OwlBot.yaml @@ -1,10 +1,10 @@ -# Copyright 2021 Google LLC +# Copyright 2025 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -12,9 +12,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -deep-remove-regex: - - /owl-bot-staging deep-copy-regex: - - source: /google/cloud/datastream/google-cloud-datastream-nodejs - dest: /owl-bot-staging/google-cloud-datastream -api-name: datastream + - source: /google/cloud/datastream/google-cloud-datastream-nodejs + dest: /owl-bot-staging/google-cloud-datastream + +api-name: datastream \ No newline at end of file diff --git a/packages/google-cloud-datastream/.eslintignore b/packages/google-cloud-datastream/.eslintignore index ea5b04aebe68..cfc348ec4d11 100644 --- a/packages/google-cloud-datastream/.eslintignore +++ b/packages/google-cloud-datastream/.eslintignore @@ -1,7 +1,7 @@ **/node_modules -**/coverage -test/fixtures +**/.coverage build/ docs/ protos/ +system-test/ samples/generated/ diff --git a/packages/google-cloud-datastream/.mocharc.js b/packages/google-cloud-datastream/.mocharc.js index eef6173ab449..24e9d15257f9 100644 --- a/packages/google-cloud-datastream/.mocharc.js +++ b/packages/google-cloud-datastream/.mocharc.js @@ -4,18 +4,22 @@ // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // -// http://www.apache.org/licenses/LICENSE-2.0 +// https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// ** This file is automatically generated by gapic-generator-typescript. ** +// ** https://github.com/googleapis/gapic-generator-typescript ** +// ** All changes to this file may be overwritten. ** + const config = { "enable-source-maps": true, "throw-deprecation": true, - "timeout": 10000, - "recursive": true + "timeout": 10000 } if (process.env.MOCHA_THROW_DEPRECATION === 'false') { delete config['throw-deprecation']; diff --git a/packages/google-cloud-datastream/.nycrc b/packages/google-cloud-datastream/.nycrc index b18d5472b62b..81a95fc94b00 100644 --- a/packages/google-cloud-datastream/.nycrc +++ b/packages/google-cloud-datastream/.nycrc @@ -21,4 +21,4 @@ ], "exclude-after-remap": false, "all": true -} +} \ No newline at end of file diff --git a/packages/google-cloud-datastream/.prettierrc.js b/packages/google-cloud-datastream/.prettierrc.js index b189724933b2..d89a632f90b0 100644 --- a/packages/google-cloud-datastream/.prettierrc.js +++ b/packages/google-cloud-datastream/.prettierrc.js @@ -4,13 +4,18 @@ // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // -// https://www.apache.org/licenses/LICENSE-2.0 +// https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// ** This file is automatically generated by gapic-generator-typescript. ** +// ** https://github.com/googleapis/gapic-generator-typescript ** +// ** All changes to this file may be overwritten. ** + module.exports = { ...require('gts/.prettierrc.json') diff --git a/packages/google-cloud-datastream/CONTRIBUTING.md b/packages/google-cloud-datastream/CONTRIBUTING.md index a9237e1fd509..3072ebba9154 100644 --- a/packages/google-cloud-datastream/CONTRIBUTING.md +++ b/packages/google-cloud-datastream/CONTRIBUTING.md @@ -40,8 +40,8 @@ accept your pull requests. ### Before you begin 1. [Select or create a Cloud Platform project][projects]. -1. [Enable billing for your project][billing]. -1. [Enable the Datastream API][enable_api]. +1. [Enable billing for your project][billing]. +1. [Enable the Datastream API][enable_api]. 1. [Set up authentication with a service account][auth] so you can access the API from your local workstation. diff --git a/packages/google-cloud-datastream/README.md b/packages/google-cloud-datastream/README.md index 9c0085f89d3b..e1950648a820 100644 --- a/packages/google-cloud-datastream/README.md +++ b/packages/google-cloud-datastream/README.md @@ -1,24 +1,25 @@ [//]: # "This README.md file is auto-generated, all changes to this file will be lost." -[//]: # "To regenerate it, use `python -m synthtool`." +[//]: # "The comments you see below are used to generate those parts of the template in later states." Google Cloud Platform logo -# [Datastream: Node.js Client](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-datastream) - -[![release level](https://img.shields.io/badge/release%20level-stable-brightgreen.svg?style=flat)](https://cloud.google.com/terms/launch-stages) -[![npm version](https://img.shields.io/npm/v/@google-cloud/datastream.svg)](https://www.npmjs.org/package/@google-cloud/datastream) - +# [Datastream API: Nodejs Client][homepage] +This library is considered to be **stable**. The code surface will not change in backwards-incompatible ways +unless absolutely necessary (e.g. because of critical security issues) or with +an extensive deprecation period. Issues and requests against **stable** libraries +are addressed with the highest priority +[![npm version](https://img.shields.io/npm/v/@google-cloud/datastream.svg)](https://www.npmjs.org/package/@google-cloud/datastream) -datastream client for Node.js +Datastream API client for Node.js +[//]: # "partials.introduction" A comprehensive list of changes in each version may be found in -[the CHANGELOG](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-datastream/CHANGELOG.md). +[the CHANGELOG][homepage_changelog]. + +* [Datastream API Nodejs Client API Reference](https://cloud.google.com/nodejs/docs/reference/datastream/latest) -* [Datastream Node.js Client API Reference][client-docs] -* [Datastream Documentation][product-docs] -* [github.com/googleapis/google-cloud-node/packages/google-cloud-datastream](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-datastream) Read more about the client libraries for Cloud APIs, including the older Google APIs Client Libraries, in [Client Libraries Explained][explained]. @@ -27,150 +28,86 @@ Google APIs Client Libraries, in [Client Libraries Explained][explained]. **Table of contents:** - * [Quickstart](#quickstart) * [Before you begin](#before-you-begin) * [Installing the client library](#installing-the-client-library) - * [Using the client library](#using-the-client-library) -* [Samples](#samples) + * [Versioning](#versioning) * [Contributing](#contributing) * [License](#license) ## Quickstart - ### Before you begin 1. [Select or create a Cloud Platform project][projects]. 1. [Enable billing for your project][billing]. -1. [Enable the Datastream API][enable_api]. +1. [Enable the Datastream API API][enable_api]. 1. [Set up authentication][auth] so you can access the API from your local workstation. - ### Installing the client library ```bash npm install @google-cloud/datastream ``` - -### Using the client library - -```javascript -/** - * TODO(developer): Uncomment these variables before running the sample. - */ -/** - * Required. The parent that owns the collection of connection profiles. - */ -// const parent = 'abc123' -/** - * Maximum number of connection profiles to return. - * If unspecified, at most 50 connection profiles will be returned. - * The maximum value is 1000; values above 1000 will be coerced to 1000. - */ -// const pageSize = 1234 -/** - * Page token received from a previous `ListConnectionProfiles` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to `ListConnectionProfiles` - * must match the call that provided the page token. - */ -// const pageToken = 'abc123' -/** - * Filter request. - */ -// const filter = 'abc123' -/** - * Order by fields for the result. - */ -// const orderBy = 'abc123' - -// Imports the Datastream library -const {DatastreamClient} = require('@google-cloud/datastream').v1; - -// Instantiates a client -const datastreamClient = new DatastreamClient(); - -async function listConnectionProfiles() { - // Construct request - const request = { - parent, - }; - - // Run request - const iterable = - await datastreamClient.listConnectionProfilesAsync(request); - for await (const response of iterable) { - console.log(response); - } -} - -listConnectionProfiles(); - -``` - - +[//]: # "partials.body" ## Samples -Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-datastream/samples) directory. Each sample's `README.md` has instructions for running its sample. - -| Sample | Source Code | Try it | -| --------------------------- | --------------------------------- | ------ | -| Datastream.create_connection_profile | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.create_connection_profile.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1/datastream.create_connection_profile.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.create_private_connection | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.create_private_connection.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1/datastream.create_private_connection.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.create_route | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.create_route.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1/datastream.create_route.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.create_stream | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.create_stream.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1/datastream.create_stream.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.delete_connection_profile | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.delete_connection_profile.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1/datastream.delete_connection_profile.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.delete_private_connection | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.delete_private_connection.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1/datastream.delete_private_connection.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.delete_route | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.delete_route.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1/datastream.delete_route.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.delete_stream | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.delete_stream.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1/datastream.delete_stream.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.discover_connection_profile | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.discover_connection_profile.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1/datastream.discover_connection_profile.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.fetch_static_ips | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.fetch_static_ips.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1/datastream.fetch_static_ips.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.get_connection_profile | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.get_connection_profile.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1/datastream.get_connection_profile.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.get_private_connection | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.get_private_connection.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1/datastream.get_private_connection.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.get_route | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.get_route.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1/datastream.get_route.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.get_stream | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.get_stream.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1/datastream.get_stream.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.get_stream_object | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.get_stream_object.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1/datastream.get_stream_object.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.list_connection_profiles | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.list_connection_profiles.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1/datastream.list_connection_profiles.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.list_private_connections | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.list_private_connections.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1/datastream.list_private_connections.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.list_routes | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.list_routes.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1/datastream.list_routes.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.list_stream_objects | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.list_stream_objects.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1/datastream.list_stream_objects.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.list_streams | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.list_streams.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1/datastream.list_streams.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.lookup_stream_object | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.lookup_stream_object.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1/datastream.lookup_stream_object.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.run_stream | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.run_stream.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1/datastream.run_stream.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.start_backfill_job | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.start_backfill_job.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1/datastream.start_backfill_job.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.stop_backfill_job | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.stop_backfill_job.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1/datastream.stop_backfill_job.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.update_connection_profile | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.update_connection_profile.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1/datastream.update_connection_profile.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.update_stream | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.update_stream.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1/datastream.update_stream.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.create_connection_profile | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.create_connection_profile.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.create_connection_profile.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.create_private_connection | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.create_private_connection.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.create_private_connection.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.create_route | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.create_route.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.create_route.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.create_stream | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.create_stream.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.create_stream.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.delete_connection_profile | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.delete_connection_profile.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.delete_connection_profile.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.delete_private_connection | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.delete_private_connection.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.delete_private_connection.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.delete_route | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.delete_route.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.delete_route.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.delete_stream | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.delete_stream.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.delete_stream.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.discover_connection_profile | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.discover_connection_profile.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.discover_connection_profile.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.fetch_errors | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.fetch_errors.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.fetch_errors.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.fetch_static_ips | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.fetch_static_ips.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.fetch_static_ips.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.get_connection_profile | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.get_connection_profile.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.get_connection_profile.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.get_private_connection | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.get_private_connection.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.get_private_connection.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.get_route | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.get_route.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.get_route.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.get_stream | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.get_stream.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.get_stream.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.list_connection_profiles | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.list_connection_profiles.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.list_connection_profiles.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.list_private_connections | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.list_private_connections.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.list_private_connections.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.list_routes | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.list_routes.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.list_routes.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.list_streams | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.list_streams.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.list_streams.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.update_connection_profile | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.update_connection_profile.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.update_connection_profile.js,packages/google-cloud-datastream/samples/README.md) | -| Datastream.update_stream | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.update_stream.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.update_stream.js,packages/google-cloud-datastream/samples/README.md) | -| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-datastream/samples/quickstart.js,packages/google-cloud-datastream/samples/README.md) | - - - -The [Datastream Node.js Client API Reference][client-docs] documentation -also contains samples. +Samples are in the [`samples/`][homepage_samples] directory. Each sample's `README.md` has instructions for running its sample. + +| Sample | Source Code | +| --------------------------- | --------------------------------- | +| create connection profile | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.create_connection_profile.js) | +| create private connection | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.create_private_connection.js) | +| create route | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.create_route.js) | +| create stream | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.create_stream.js) | +| delete connection profile | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.delete_connection_profile.js) | +| delete private connection | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.delete_private_connection.js) | +| delete route | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.delete_route.js) | +| delete stream | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.delete_stream.js) | +| discover connection profile | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.discover_connection_profile.js) | +| fetch static ips | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.fetch_static_ips.js) | +| get connection profile | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.get_connection_profile.js) | +| get private connection | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.get_private_connection.js) | +| get route | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.get_route.js) | +| get stream | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.get_stream.js) | +| get stream object | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.get_stream_object.js) | +| list connection profiles | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.list_connection_profiles.js) | +| list private connections | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.list_private_connections.js) | +| list routes | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.list_routes.js) | +| list stream objects | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.list_stream_objects.js) | +| list streams | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.list_streams.js) | +| lookup stream object | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.lookup_stream_object.js) | +| run stream | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.run_stream.js) | +| start backfill job | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.start_backfill_job.js) | +| stop backfill job | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.stop_backfill_job.js) | +| update connection profile | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.update_connection_profile.js) | +| update stream | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/datastream.update_stream.js) | +| cloud | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1/snippet_metadata_google.cloud.datastream.v1.json) | +| create connection profile | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.create_connection_profile.js) | +| create private connection | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.create_private_connection.js) | +| create route | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.create_route.js) | +| create stream | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.create_stream.js) | +| delete connection profile | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.delete_connection_profile.js) | +| delete private connection | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.delete_private_connection.js) | +| delete route | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.delete_route.js) | +| delete stream | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.delete_stream.js) | +| discover connection profile | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.discover_connection_profile.js) | +| fetch errors | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.fetch_errors.js) | +| fetch static ips | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.fetch_static_ips.js) | +| get connection profile | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.get_connection_profile.js) | +| get private connection | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.get_private_connection.js) | +| get route | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.get_route.js) | +| get stream | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.get_stream.js) | +| list connection profiles | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.list_connection_profiles.js) | +| list private connections | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.list_private_connections.js) | +| list routes | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.list_routes.js) | +| list streams | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.list_streams.js) | +| update connection profile | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.update_connection_profile.js) | +| update stream | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1alpha1/datastream.update_stream.js) | +| cloud | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples/generated/v1alpha1/snippet_metadata_google.cloud.datastream.v1alpha1.json) | + ## Supported Node.js Versions @@ -197,45 +134,29 @@ for versions compatible with Node.js 8. This library follows [Semantic Versioning](http://semver.org/). - - -This library is considered to be **stable**. The code surface will not change in backwards-incompatible ways -unless absolutely necessary (e.g. because of critical security issues) or with -an extensive deprecation period. Issues and requests against **stable** libraries -are addressed with the highest priority. - - - - - - More Information: [Google Cloud Platform Launch Stages][launch_stages] [launch_stages]: https://cloud.google.com/terms/launch-stages ## Contributing -Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/google-cloud-node/blob/main/CONTRIBUTING.md). +Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/CONTRIBUTING.md). -Please note that this `README.md`, the `samples/README.md`, +Please note that this `README.md` and a variety of configuration files in this repository (including `.nycrc` and `tsconfig.json`) -are generated from a central template. To edit one of these files, make an edit -to its templates in -[directory](https://github.com/googleapis/synthtool). +are generated from a central template. ## License Apache Version 2.0 -See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/LICENSE) +See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/LICENSE) -[client-docs]: https://cloud.google.com/nodejs/docs/reference/datastream/latest -[product-docs]: https://cloud.google.com/datastream/ [shell_img]: https://gstatic.com/cloudssh/images/open-btn.png [projects]: https://console.cloud.google.com/project [billing]: https://support.google.com/cloud/answer/6293499#enable-billing [enable_api]: https://console.cloud.google.com/flows/enableapi?apiid=datastream.googleapis.com [auth]: https://cloud.google.com/docs/authentication/external/set-up-adc-local - - -[//]: # "partials.introduction" \ No newline at end of file +[homepage_samples]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/samples +[homepage_changelog]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream/CHANGELOG.md +[homepage]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-datastream diff --git a/packages/google-cloud-datastream/protos/protos.d.ts b/packages/google-cloud-datastream/protos/protos.d.ts index 2adba18875b3..10733261c742 100644 --- a/packages/google-cloud-datastream/protos/protos.d.ts +++ b/packages/google-cloud-datastream/protos/protos.d.ts @@ -24221,9 +24221,6 @@ export namespace google { /** CommonLanguageSettings destinations */ destinations?: (google.api.ClientLibraryDestination[]|null); - - /** CommonLanguageSettings selectiveGapicGeneration */ - selectiveGapicGeneration?: (google.api.ISelectiveGapicGeneration|null); } /** Represents a CommonLanguageSettings. */ @@ -24241,9 +24238,6 @@ export namespace google { /** CommonLanguageSettings destinations. */ public destinations: google.api.ClientLibraryDestination[]; - /** CommonLanguageSettings selectiveGapicGeneration. */ - public selectiveGapicGeneration?: (google.api.ISelectiveGapicGeneration|null); - /** * Creates a new CommonLanguageSettings instance using the specified properties. * @param [properties] Properties to set @@ -24944,9 +24938,6 @@ export namespace google { /** PythonSettings common */ common?: (google.api.ICommonLanguageSettings|null); - - /** PythonSettings experimentalFeatures */ - experimentalFeatures?: (google.api.PythonSettings.IExperimentalFeatures|null); } /** Represents a PythonSettings. */ @@ -24961,9 +24952,6 @@ export namespace google { /** PythonSettings common. */ public common?: (google.api.ICommonLanguageSettings|null); - /** PythonSettings experimentalFeatures. */ - public experimentalFeatures?: (google.api.PythonSettings.IExperimentalFeatures|null); - /** * Creates a new PythonSettings instance using the specified properties. * @param [properties] Properties to set @@ -25042,118 +25030,6 @@ export namespace google { public static getTypeUrl(typeUrlPrefix?: string): string; } - namespace PythonSettings { - - /** Properties of an ExperimentalFeatures. */ - interface IExperimentalFeatures { - - /** ExperimentalFeatures restAsyncIoEnabled */ - restAsyncIoEnabled?: (boolean|null); - - /** ExperimentalFeatures protobufPythonicTypesEnabled */ - protobufPythonicTypesEnabled?: (boolean|null); - - /** ExperimentalFeatures unversionedPackageDisabled */ - unversionedPackageDisabled?: (boolean|null); - } - - /** Represents an ExperimentalFeatures. */ - class ExperimentalFeatures implements IExperimentalFeatures { - - /** - * Constructs a new ExperimentalFeatures. - * @param [properties] Properties to set - */ - constructor(properties?: google.api.PythonSettings.IExperimentalFeatures); - - /** ExperimentalFeatures restAsyncIoEnabled. */ - public restAsyncIoEnabled: boolean; - - /** ExperimentalFeatures protobufPythonicTypesEnabled. */ - public protobufPythonicTypesEnabled: boolean; - - /** ExperimentalFeatures unversionedPackageDisabled. */ - public unversionedPackageDisabled: boolean; - - /** - * Creates a new ExperimentalFeatures instance using the specified properties. - * @param [properties] Properties to set - * @returns ExperimentalFeatures instance - */ - public static create(properties?: google.api.PythonSettings.IExperimentalFeatures): google.api.PythonSettings.ExperimentalFeatures; - - /** - * Encodes the specified ExperimentalFeatures message. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @param message ExperimentalFeatures message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.api.PythonSettings.IExperimentalFeatures, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ExperimentalFeatures message, length delimited. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @param message ExperimentalFeatures message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.api.PythonSettings.IExperimentalFeatures, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.PythonSettings.ExperimentalFeatures; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.PythonSettings.ExperimentalFeatures; - - /** - * Verifies an ExperimentalFeatures message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an ExperimentalFeatures message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ExperimentalFeatures - */ - public static fromObject(object: { [k: string]: any }): google.api.PythonSettings.ExperimentalFeatures; - - /** - * Creates a plain object from an ExperimentalFeatures message. Also converts values to other types if specified. - * @param message ExperimentalFeatures - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.api.PythonSettings.ExperimentalFeatures, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ExperimentalFeatures to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ExperimentalFeatures - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - } - /** Properties of a NodeSettings. */ interface INodeSettings { @@ -25480,9 +25356,6 @@ export namespace google { /** GoSettings common */ common?: (google.api.ICommonLanguageSettings|null); - - /** GoSettings renamedServices */ - renamedServices?: ({ [k: string]: string }|null); } /** Represents a GoSettings. */ @@ -25497,9 +25370,6 @@ export namespace google { /** GoSettings common. */ public common?: (google.api.ICommonLanguageSettings|null); - /** GoSettings renamedServices. */ - public renamedServices: { [k: string]: string }; - /** * Creates a new GoSettings instance using the specified properties. * @param [properties] Properties to set @@ -25824,109 +25694,6 @@ export namespace google { PACKAGE_MANAGER = 20 } - /** Properties of a SelectiveGapicGeneration. */ - interface ISelectiveGapicGeneration { - - /** SelectiveGapicGeneration methods */ - methods?: (string[]|null); - - /** SelectiveGapicGeneration generateOmittedAsInternal */ - generateOmittedAsInternal?: (boolean|null); - } - - /** Represents a SelectiveGapicGeneration. */ - class SelectiveGapicGeneration implements ISelectiveGapicGeneration { - - /** - * Constructs a new SelectiveGapicGeneration. - * @param [properties] Properties to set - */ - constructor(properties?: google.api.ISelectiveGapicGeneration); - - /** SelectiveGapicGeneration methods. */ - public methods: string[]; - - /** SelectiveGapicGeneration generateOmittedAsInternal. */ - public generateOmittedAsInternal: boolean; - - /** - * Creates a new SelectiveGapicGeneration instance using the specified properties. - * @param [properties] Properties to set - * @returns SelectiveGapicGeneration instance - */ - public static create(properties?: google.api.ISelectiveGapicGeneration): google.api.SelectiveGapicGeneration; - - /** - * Encodes the specified SelectiveGapicGeneration message. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @param message SelectiveGapicGeneration message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.api.ISelectiveGapicGeneration, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified SelectiveGapicGeneration message, length delimited. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @param message SelectiveGapicGeneration message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.api.ISelectiveGapicGeneration, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.SelectiveGapicGeneration; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.SelectiveGapicGeneration; - - /** - * Verifies a SelectiveGapicGeneration message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a SelectiveGapicGeneration message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns SelectiveGapicGeneration - */ - public static fromObject(object: { [k: string]: any }): google.api.SelectiveGapicGeneration; - - /** - * Creates a plain object from a SelectiveGapicGeneration message. Also converts values to other types if specified. - * @param message SelectiveGapicGeneration - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.api.SelectiveGapicGeneration, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this SelectiveGapicGeneration to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for SelectiveGapicGeneration - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - /** LaunchStage enum. */ enum LaunchStage { LAUNCH_STAGE_UNSPECIFIED = 0, @@ -26308,7 +26075,6 @@ export namespace google { /** Edition enum. */ enum Edition { EDITION_UNKNOWN = 0, - EDITION_LEGACY = 900, EDITION_PROTO2 = 998, EDITION_PROTO3 = 999, EDITION_2023 = 1000, @@ -26339,9 +26105,6 @@ export namespace google { /** FileDescriptorProto weakDependency */ weakDependency?: (number[]|null); - /** FileDescriptorProto optionDependency */ - optionDependency?: (string[]|null); - /** FileDescriptorProto messageType */ messageType?: (google.protobuf.IDescriptorProto[]|null); @@ -26391,9 +26154,6 @@ export namespace google { /** FileDescriptorProto weakDependency. */ public weakDependency: number[]; - /** FileDescriptorProto optionDependency. */ - public optionDependency: string[]; - /** FileDescriptorProto messageType. */ public messageType: google.protobuf.IDescriptorProto[]; @@ -26528,9 +26288,6 @@ export namespace google { /** DescriptorProto reservedName */ reservedName?: (string[]|null); - - /** DescriptorProto visibility */ - visibility?: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility|null); } /** Represents a DescriptorProto. */ @@ -26572,9 +26329,6 @@ export namespace google { /** DescriptorProto reservedName. */ public reservedName: string[]; - /** DescriptorProto visibility. */ - public visibility: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility); - /** * Creates a new DescriptorProto instance using the specified properties. * @param [properties] Properties to set @@ -27422,9 +27176,6 @@ export namespace google { /** EnumDescriptorProto reservedName */ reservedName?: (string[]|null); - - /** EnumDescriptorProto visibility */ - visibility?: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility|null); } /** Represents an EnumDescriptorProto. */ @@ -27451,9 +27202,6 @@ export namespace google { /** EnumDescriptorProto reservedName. */ public reservedName: string[]; - /** EnumDescriptorProto visibility. */ - public visibility: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility); - /** * Creates a new EnumDescriptorProto instance using the specified properties. * @param [properties] Properties to set @@ -28388,9 +28136,6 @@ export namespace google { /** FieldOptions features */ features?: (google.protobuf.IFeatureSet|null); - /** FieldOptions featureSupport */ - featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** FieldOptions uninterpretedOption */ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); @@ -28446,9 +28191,6 @@ export namespace google { /** FieldOptions features. */ public features?: (google.protobuf.IFeatureSet|null); - /** FieldOptions featureSupport. */ - public featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** FieldOptions uninterpretedOption. */ public uninterpretedOption: google.protobuf.IUninterpretedOption[]; @@ -28669,121 +28411,6 @@ export namespace google { */ public static getTypeUrl(typeUrlPrefix?: string): string; } - - /** Properties of a FeatureSupport. */ - interface IFeatureSupport { - - /** FeatureSupport editionIntroduced */ - editionIntroduced?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - - /** FeatureSupport editionDeprecated */ - editionDeprecated?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - - /** FeatureSupport deprecationWarning */ - deprecationWarning?: (string|null); - - /** FeatureSupport editionRemoved */ - editionRemoved?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - } - - /** Represents a FeatureSupport. */ - class FeatureSupport implements IFeatureSupport { - - /** - * Constructs a new FeatureSupport. - * @param [properties] Properties to set - */ - constructor(properties?: google.protobuf.FieldOptions.IFeatureSupport); - - /** FeatureSupport editionIntroduced. */ - public editionIntroduced: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - - /** FeatureSupport editionDeprecated. */ - public editionDeprecated: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - - /** FeatureSupport deprecationWarning. */ - public deprecationWarning: string; - - /** FeatureSupport editionRemoved. */ - public editionRemoved: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - - /** - * Creates a new FeatureSupport instance using the specified properties. - * @param [properties] Properties to set - * @returns FeatureSupport instance - */ - public static create(properties?: google.protobuf.FieldOptions.IFeatureSupport): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Encodes the specified FeatureSupport message. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. - * @param message FeatureSupport message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.protobuf.FieldOptions.IFeatureSupport, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified FeatureSupport message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. - * @param message FeatureSupport message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.protobuf.FieldOptions.IFeatureSupport, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a FeatureSupport message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns FeatureSupport - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Decodes a FeatureSupport message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns FeatureSupport - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Verifies a FeatureSupport message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a FeatureSupport message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns FeatureSupport - */ - public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Creates a plain object from a FeatureSupport message. Also converts values to other types if specified. - * @param message FeatureSupport - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.protobuf.FieldOptions.FeatureSupport, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this FeatureSupport to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for FeatureSupport - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } } /** Properties of an OneofOptions. */ @@ -29022,9 +28649,6 @@ export namespace google { /** EnumValueOptions debugRedact */ debugRedact?: (boolean|null); - /** EnumValueOptions featureSupport */ - featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** EnumValueOptions uninterpretedOption */ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); } @@ -29047,9 +28671,6 @@ export namespace google { /** EnumValueOptions debugRedact. */ public debugRedact: boolean; - /** EnumValueOptions featureSupport. */ - public featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** EnumValueOptions uninterpretedOption. */ public uninterpretedOption: google.protobuf.IUninterpretedOption[]; @@ -29642,12 +29263,6 @@ export namespace google { /** FeatureSet jsonFormat */ jsonFormat?: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat|null); - - /** FeatureSet enforceNamingStyle */ - enforceNamingStyle?: (google.protobuf.FeatureSet.EnforceNamingStyle|keyof typeof google.protobuf.FeatureSet.EnforceNamingStyle|null); - - /** FeatureSet defaultSymbolVisibility */ - defaultSymbolVisibility?: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|keyof typeof google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|null); } /** Represents a FeatureSet. */ @@ -29677,12 +29292,6 @@ export namespace google { /** FeatureSet jsonFormat. */ public jsonFormat: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat); - /** FeatureSet enforceNamingStyle. */ - public enforceNamingStyle: (google.protobuf.FeatureSet.EnforceNamingStyle|keyof typeof google.protobuf.FeatureSet.EnforceNamingStyle); - - /** FeatureSet defaultSymbolVisibility. */ - public defaultSymbolVisibility: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|keyof typeof google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility); - /** * Creates a new FeatureSet instance using the specified properties. * @param [properties] Properties to set @@ -29805,116 +29414,6 @@ export namespace google { ALLOW = 1, LEGACY_BEST_EFFORT = 2 } - - /** EnforceNamingStyle enum. */ - enum EnforceNamingStyle { - ENFORCE_NAMING_STYLE_UNKNOWN = 0, - STYLE2024 = 1, - STYLE_LEGACY = 2 - } - - /** Properties of a VisibilityFeature. */ - interface IVisibilityFeature { - } - - /** Represents a VisibilityFeature. */ - class VisibilityFeature implements IVisibilityFeature { - - /** - * Constructs a new VisibilityFeature. - * @param [properties] Properties to set - */ - constructor(properties?: google.protobuf.FeatureSet.IVisibilityFeature); - - /** - * Creates a new VisibilityFeature instance using the specified properties. - * @param [properties] Properties to set - * @returns VisibilityFeature instance - */ - public static create(properties?: google.protobuf.FeatureSet.IVisibilityFeature): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Encodes the specified VisibilityFeature message. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @param message VisibilityFeature message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.protobuf.FeatureSet.IVisibilityFeature, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified VisibilityFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @param message VisibilityFeature message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.protobuf.FeatureSet.IVisibilityFeature, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Verifies a VisibilityFeature message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a VisibilityFeature message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns VisibilityFeature - */ - public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Creates a plain object from a VisibilityFeature message. Also converts values to other types if specified. - * @param message VisibilityFeature - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.protobuf.FeatureSet.VisibilityFeature, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this VisibilityFeature to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for VisibilityFeature - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - namespace VisibilityFeature { - - /** DefaultSymbolVisibility enum. */ - enum DefaultSymbolVisibility { - DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0, - EXPORT_ALL = 1, - EXPORT_TOP_LEVEL = 2, - LOCAL_ALL = 3, - STRICT = 4 - } - } } /** Properties of a FeatureSetDefaults. */ @@ -30034,11 +29533,8 @@ export namespace google { /** FeatureSetEditionDefault edition */ edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - /** FeatureSetEditionDefault overridableFeatures */ - overridableFeatures?: (google.protobuf.IFeatureSet|null); - - /** FeatureSetEditionDefault fixedFeatures */ - fixedFeatures?: (google.protobuf.IFeatureSet|null); + /** FeatureSetEditionDefault features */ + features?: (google.protobuf.IFeatureSet|null); } /** Represents a FeatureSetEditionDefault. */ @@ -30053,11 +29549,8 @@ export namespace google { /** FeatureSetEditionDefault edition. */ public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - /** FeatureSetEditionDefault overridableFeatures. */ - public overridableFeatures?: (google.protobuf.IFeatureSet|null); - - /** FeatureSetEditionDefault fixedFeatures. */ - public fixedFeatures?: (google.protobuf.IFeatureSet|null); + /** FeatureSetEditionDefault features. */ + public features?: (google.protobuf.IFeatureSet|null); /** * Creates a new FeatureSetEditionDefault instance using the specified properties. @@ -30590,13 +30083,6 @@ export namespace google { } } - /** SymbolVisibility enum. */ - enum SymbolVisibility { - VISIBILITY_UNSET = 0, - VISIBILITY_LOCAL = 1, - VISIBILITY_EXPORT = 2 - } - /** Properties of a Duration. */ interface IDuration { diff --git a/packages/google-cloud-datastream/protos/protos.js b/packages/google-cloud-datastream/protos/protos.js index 09dca5127d38..acc2b094e792 100644 --- a/packages/google-cloud-datastream/protos/protos.js +++ b/packages/google-cloud-datastream/protos/protos.js @@ -59781,7 +59781,6 @@ * @interface ICommonLanguageSettings * @property {string|null} [referenceDocsUri] CommonLanguageSettings referenceDocsUri * @property {Array.|null} [destinations] CommonLanguageSettings destinations - * @property {google.api.ISelectiveGapicGeneration|null} [selectiveGapicGeneration] CommonLanguageSettings selectiveGapicGeneration */ /** @@ -59816,14 +59815,6 @@ */ CommonLanguageSettings.prototype.destinations = $util.emptyArray; - /** - * CommonLanguageSettings selectiveGapicGeneration. - * @member {google.api.ISelectiveGapicGeneration|null|undefined} selectiveGapicGeneration - * @memberof google.api.CommonLanguageSettings - * @instance - */ - CommonLanguageSettings.prototype.selectiveGapicGeneration = null; - /** * Creates a new CommonLanguageSettings instance using the specified properties. * @function create @@ -59856,8 +59847,6 @@ writer.int32(message.destinations[i]); writer.ldelim(); } - if (message.selectiveGapicGeneration != null && Object.hasOwnProperty.call(message, "selectiveGapicGeneration")) - $root.google.api.SelectiveGapicGeneration.encode(message.selectiveGapicGeneration, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; @@ -59909,10 +59898,6 @@ message.destinations.push(reader.int32()); break; } - case 3: { - message.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.decode(reader, reader.uint32()); - break; - } default: reader.skipType(tag & 7); break; @@ -59964,11 +59949,6 @@ break; } } - if (message.selectiveGapicGeneration != null && message.hasOwnProperty("selectiveGapicGeneration")) { - var error = $root.google.api.SelectiveGapicGeneration.verify(message.selectiveGapicGeneration); - if (error) - return "selectiveGapicGeneration." + error; - } return null; }; @@ -60011,11 +59991,6 @@ break; } } - if (object.selectiveGapicGeneration != null) { - if (typeof object.selectiveGapicGeneration !== "object") - throw TypeError(".google.api.CommonLanguageSettings.selectiveGapicGeneration: object expected"); - message.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.fromObject(object.selectiveGapicGeneration); - } return message; }; @@ -60034,10 +60009,8 @@ var object = {}; if (options.arrays || options.defaults) object.destinations = []; - if (options.defaults) { + if (options.defaults) object.referenceDocsUri = ""; - object.selectiveGapicGeneration = null; - } if (message.referenceDocsUri != null && message.hasOwnProperty("referenceDocsUri")) object.referenceDocsUri = message.referenceDocsUri; if (message.destinations && message.destinations.length) { @@ -60045,8 +60018,6 @@ for (var j = 0; j < message.destinations.length; ++j) object.destinations[j] = options.enums === String ? $root.google.api.ClientLibraryDestination[message.destinations[j]] === undefined ? message.destinations[j] : $root.google.api.ClientLibraryDestination[message.destinations[j]] : message.destinations[j]; } - if (message.selectiveGapicGeneration != null && message.hasOwnProperty("selectiveGapicGeneration")) - object.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.toObject(message.selectiveGapicGeneration, options); return object; }; @@ -61869,7 +61840,6 @@ * @memberof google.api * @interface IPythonSettings * @property {google.api.ICommonLanguageSettings|null} [common] PythonSettings common - * @property {google.api.PythonSettings.IExperimentalFeatures|null} [experimentalFeatures] PythonSettings experimentalFeatures */ /** @@ -61895,14 +61865,6 @@ */ PythonSettings.prototype.common = null; - /** - * PythonSettings experimentalFeatures. - * @member {google.api.PythonSettings.IExperimentalFeatures|null|undefined} experimentalFeatures - * @memberof google.api.PythonSettings - * @instance - */ - PythonSettings.prototype.experimentalFeatures = null; - /** * Creates a new PythonSettings instance using the specified properties. * @function create @@ -61929,8 +61891,6 @@ writer = $Writer.create(); if (message.common != null && Object.hasOwnProperty.call(message, "common")) $root.google.api.CommonLanguageSettings.encode(message.common, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.experimentalFeatures != null && Object.hasOwnProperty.call(message, "experimentalFeatures")) - $root.google.api.PythonSettings.ExperimentalFeatures.encode(message.experimentalFeatures, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; @@ -61971,10 +61931,6 @@ message.common = $root.google.api.CommonLanguageSettings.decode(reader, reader.uint32()); break; } - case 2: { - message.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.decode(reader, reader.uint32()); - break; - } default: reader.skipType(tag & 7); break; @@ -62015,11 +61971,6 @@ if (error) return "common." + error; } - if (message.experimentalFeatures != null && message.hasOwnProperty("experimentalFeatures")) { - var error = $root.google.api.PythonSettings.ExperimentalFeatures.verify(message.experimentalFeatures); - if (error) - return "experimentalFeatures." + error; - } return null; }; @@ -62040,11 +61991,6 @@ throw TypeError(".google.api.PythonSettings.common: object expected"); message.common = $root.google.api.CommonLanguageSettings.fromObject(object.common); } - if (object.experimentalFeatures != null) { - if (typeof object.experimentalFeatures !== "object") - throw TypeError(".google.api.PythonSettings.experimentalFeatures: object expected"); - message.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.fromObject(object.experimentalFeatures); - } return message; }; @@ -62061,14 +62007,10 @@ if (!options) options = {}; var object = {}; - if (options.defaults) { + if (options.defaults) object.common = null; - object.experimentalFeatures = null; - } if (message.common != null && message.hasOwnProperty("common")) object.common = $root.google.api.CommonLanguageSettings.toObject(message.common, options); - if (message.experimentalFeatures != null && message.hasOwnProperty("experimentalFeatures")) - object.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.toObject(message.experimentalFeatures, options); return object; }; @@ -62098,258 +62040,6 @@ return typeUrlPrefix + "/google.api.PythonSettings"; }; - PythonSettings.ExperimentalFeatures = (function() { - - /** - * Properties of an ExperimentalFeatures. - * @memberof google.api.PythonSettings - * @interface IExperimentalFeatures - * @property {boolean|null} [restAsyncIoEnabled] ExperimentalFeatures restAsyncIoEnabled - * @property {boolean|null} [protobufPythonicTypesEnabled] ExperimentalFeatures protobufPythonicTypesEnabled - * @property {boolean|null} [unversionedPackageDisabled] ExperimentalFeatures unversionedPackageDisabled - */ - - /** - * Constructs a new ExperimentalFeatures. - * @memberof google.api.PythonSettings - * @classdesc Represents an ExperimentalFeatures. - * @implements IExperimentalFeatures - * @constructor - * @param {google.api.PythonSettings.IExperimentalFeatures=} [properties] Properties to set - */ - function ExperimentalFeatures(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ExperimentalFeatures restAsyncIoEnabled. - * @member {boolean} restAsyncIoEnabled - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - */ - ExperimentalFeatures.prototype.restAsyncIoEnabled = false; - - /** - * ExperimentalFeatures protobufPythonicTypesEnabled. - * @member {boolean} protobufPythonicTypesEnabled - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - */ - ExperimentalFeatures.prototype.protobufPythonicTypesEnabled = false; - - /** - * ExperimentalFeatures unversionedPackageDisabled. - * @member {boolean} unversionedPackageDisabled - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - */ - ExperimentalFeatures.prototype.unversionedPackageDisabled = false; - - /** - * Creates a new ExperimentalFeatures instance using the specified properties. - * @function create - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.IExperimentalFeatures=} [properties] Properties to set - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures instance - */ - ExperimentalFeatures.create = function create(properties) { - return new ExperimentalFeatures(properties); - }; - - /** - * Encodes the specified ExperimentalFeatures message. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @function encode - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.IExperimentalFeatures} message ExperimentalFeatures message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ExperimentalFeatures.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.restAsyncIoEnabled != null && Object.hasOwnProperty.call(message, "restAsyncIoEnabled")) - writer.uint32(/* id 1, wireType 0 =*/8).bool(message.restAsyncIoEnabled); - if (message.protobufPythonicTypesEnabled != null && Object.hasOwnProperty.call(message, "protobufPythonicTypesEnabled")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.protobufPythonicTypesEnabled); - if (message.unversionedPackageDisabled != null && Object.hasOwnProperty.call(message, "unversionedPackageDisabled")) - writer.uint32(/* id 3, wireType 0 =*/24).bool(message.unversionedPackageDisabled); - return writer; - }; - - /** - * Encodes the specified ExperimentalFeatures message, length delimited. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @function encodeDelimited - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.IExperimentalFeatures} message ExperimentalFeatures message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ExperimentalFeatures.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer. - * @function decode - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ExperimentalFeatures.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.PythonSettings.ExperimentalFeatures(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.restAsyncIoEnabled = reader.bool(); - break; - } - case 2: { - message.protobufPythonicTypesEnabled = reader.bool(); - break; - } - case 3: { - message.unversionedPackageDisabled = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ExperimentalFeatures.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an ExperimentalFeatures message. - * @function verify - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - ExperimentalFeatures.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.restAsyncIoEnabled != null && message.hasOwnProperty("restAsyncIoEnabled")) - if (typeof message.restAsyncIoEnabled !== "boolean") - return "restAsyncIoEnabled: boolean expected"; - if (message.protobufPythonicTypesEnabled != null && message.hasOwnProperty("protobufPythonicTypesEnabled")) - if (typeof message.protobufPythonicTypesEnabled !== "boolean") - return "protobufPythonicTypesEnabled: boolean expected"; - if (message.unversionedPackageDisabled != null && message.hasOwnProperty("unversionedPackageDisabled")) - if (typeof message.unversionedPackageDisabled !== "boolean") - return "unversionedPackageDisabled: boolean expected"; - return null; - }; - - /** - * Creates an ExperimentalFeatures message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {Object.} object Plain object - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures - */ - ExperimentalFeatures.fromObject = function fromObject(object) { - if (object instanceof $root.google.api.PythonSettings.ExperimentalFeatures) - return object; - var message = new $root.google.api.PythonSettings.ExperimentalFeatures(); - if (object.restAsyncIoEnabled != null) - message.restAsyncIoEnabled = Boolean(object.restAsyncIoEnabled); - if (object.protobufPythonicTypesEnabled != null) - message.protobufPythonicTypesEnabled = Boolean(object.protobufPythonicTypesEnabled); - if (object.unversionedPackageDisabled != null) - message.unversionedPackageDisabled = Boolean(object.unversionedPackageDisabled); - return message; - }; - - /** - * Creates a plain object from an ExperimentalFeatures message. Also converts values to other types if specified. - * @function toObject - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.ExperimentalFeatures} message ExperimentalFeatures - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ExperimentalFeatures.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.restAsyncIoEnabled = false; - object.protobufPythonicTypesEnabled = false; - object.unversionedPackageDisabled = false; - } - if (message.restAsyncIoEnabled != null && message.hasOwnProperty("restAsyncIoEnabled")) - object.restAsyncIoEnabled = message.restAsyncIoEnabled; - if (message.protobufPythonicTypesEnabled != null && message.hasOwnProperty("protobufPythonicTypesEnabled")) - object.protobufPythonicTypesEnabled = message.protobufPythonicTypesEnabled; - if (message.unversionedPackageDisabled != null && message.hasOwnProperty("unversionedPackageDisabled")) - object.unversionedPackageDisabled = message.unversionedPackageDisabled; - return object; - }; - - /** - * Converts this ExperimentalFeatures to JSON. - * @function toJSON - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - * @returns {Object.} JSON object - */ - ExperimentalFeatures.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ExperimentalFeatures - * @function getTypeUrl - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ExperimentalFeatures.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.api.PythonSettings.ExperimentalFeatures"; - }; - - return ExperimentalFeatures; - })(); - return PythonSettings; })(); @@ -63226,7 +62916,6 @@ * @memberof google.api * @interface IGoSettings * @property {google.api.ICommonLanguageSettings|null} [common] GoSettings common - * @property {Object.|null} [renamedServices] GoSettings renamedServices */ /** @@ -63238,7 +62927,6 @@ * @param {google.api.IGoSettings=} [properties] Properties to set */ function GoSettings(properties) { - this.renamedServices = {}; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -63253,14 +62941,6 @@ */ GoSettings.prototype.common = null; - /** - * GoSettings renamedServices. - * @member {Object.} renamedServices - * @memberof google.api.GoSettings - * @instance - */ - GoSettings.prototype.renamedServices = $util.emptyObject; - /** * Creates a new GoSettings instance using the specified properties. * @function create @@ -63287,9 +62967,6 @@ writer = $Writer.create(); if (message.common != null && Object.hasOwnProperty.call(message, "common")) $root.google.api.CommonLanguageSettings.encode(message.common, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.renamedServices != null && Object.hasOwnProperty.call(message, "renamedServices")) - for (var keys = Object.keys(message.renamedServices), i = 0; i < keys.length; ++i) - writer.uint32(/* id 2, wireType 2 =*/18).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.renamedServices[keys[i]]).ldelim(); return writer; }; @@ -63320,7 +62997,7 @@ GoSettings.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.GoSettings(), key, value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.GoSettings(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) @@ -63330,29 +63007,6 @@ message.common = $root.google.api.CommonLanguageSettings.decode(reader, reader.uint32()); break; } - case 2: { - if (message.renamedServices === $util.emptyObject) - message.renamedServices = {}; - var end2 = reader.uint32() + reader.pos; - key = ""; - value = ""; - while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { - case 1: - key = reader.string(); - break; - case 2: - value = reader.string(); - break; - default: - reader.skipType(tag2 & 7); - break; - } - } - message.renamedServices[key] = value; - break; - } default: reader.skipType(tag & 7); break; @@ -63393,14 +63047,6 @@ if (error) return "common." + error; } - if (message.renamedServices != null && message.hasOwnProperty("renamedServices")) { - if (!$util.isObject(message.renamedServices)) - return "renamedServices: object expected"; - var key = Object.keys(message.renamedServices); - for (var i = 0; i < key.length; ++i) - if (!$util.isString(message.renamedServices[key[i]])) - return "renamedServices: string{k:string} expected"; - } return null; }; @@ -63421,13 +63067,6 @@ throw TypeError(".google.api.GoSettings.common: object expected"); message.common = $root.google.api.CommonLanguageSettings.fromObject(object.common); } - if (object.renamedServices) { - if (typeof object.renamedServices !== "object") - throw TypeError(".google.api.GoSettings.renamedServices: object expected"); - message.renamedServices = {}; - for (var keys = Object.keys(object.renamedServices), i = 0; i < keys.length; ++i) - message.renamedServices[keys[i]] = String(object.renamedServices[keys[i]]); - } return message; }; @@ -63444,18 +63083,10 @@ if (!options) options = {}; var object = {}; - if (options.objects || options.defaults) - object.renamedServices = {}; if (options.defaults) object.common = null; if (message.common != null && message.hasOwnProperty("common")) object.common = $root.google.api.CommonLanguageSettings.toObject(message.common, options); - var keys2; - if (message.renamedServices && (keys2 = Object.keys(message.renamedServices)).length) { - object.renamedServices = {}; - for (var j = 0; j < keys2.length; ++j) - object.renamedServices[keys2[j]] = message.renamedServices[keys2[j]]; - } return object; }; @@ -64094,251 +63725,6 @@ return values; })(); - api.SelectiveGapicGeneration = (function() { - - /** - * Properties of a SelectiveGapicGeneration. - * @memberof google.api - * @interface ISelectiveGapicGeneration - * @property {Array.|null} [methods] SelectiveGapicGeneration methods - * @property {boolean|null} [generateOmittedAsInternal] SelectiveGapicGeneration generateOmittedAsInternal - */ - - /** - * Constructs a new SelectiveGapicGeneration. - * @memberof google.api - * @classdesc Represents a SelectiveGapicGeneration. - * @implements ISelectiveGapicGeneration - * @constructor - * @param {google.api.ISelectiveGapicGeneration=} [properties] Properties to set - */ - function SelectiveGapicGeneration(properties) { - this.methods = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * SelectiveGapicGeneration methods. - * @member {Array.} methods - * @memberof google.api.SelectiveGapicGeneration - * @instance - */ - SelectiveGapicGeneration.prototype.methods = $util.emptyArray; - - /** - * SelectiveGapicGeneration generateOmittedAsInternal. - * @member {boolean} generateOmittedAsInternal - * @memberof google.api.SelectiveGapicGeneration - * @instance - */ - SelectiveGapicGeneration.prototype.generateOmittedAsInternal = false; - - /** - * Creates a new SelectiveGapicGeneration instance using the specified properties. - * @function create - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.ISelectiveGapicGeneration=} [properties] Properties to set - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration instance - */ - SelectiveGapicGeneration.create = function create(properties) { - return new SelectiveGapicGeneration(properties); - }; - - /** - * Encodes the specified SelectiveGapicGeneration message. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @function encode - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.ISelectiveGapicGeneration} message SelectiveGapicGeneration message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - SelectiveGapicGeneration.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.methods != null && message.methods.length) - for (var i = 0; i < message.methods.length; ++i) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.methods[i]); - if (message.generateOmittedAsInternal != null && Object.hasOwnProperty.call(message, "generateOmittedAsInternal")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.generateOmittedAsInternal); - return writer; - }; - - /** - * Encodes the specified SelectiveGapicGeneration message, length delimited. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @function encodeDelimited - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.ISelectiveGapicGeneration} message SelectiveGapicGeneration message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - SelectiveGapicGeneration.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer. - * @function decode - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - SelectiveGapicGeneration.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.SelectiveGapicGeneration(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - if (!(message.methods && message.methods.length)) - message.methods = []; - message.methods.push(reader.string()); - break; - } - case 2: { - message.generateOmittedAsInternal = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - SelectiveGapicGeneration.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a SelectiveGapicGeneration message. - * @function verify - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - SelectiveGapicGeneration.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.methods != null && message.hasOwnProperty("methods")) { - if (!Array.isArray(message.methods)) - return "methods: array expected"; - for (var i = 0; i < message.methods.length; ++i) - if (!$util.isString(message.methods[i])) - return "methods: string[] expected"; - } - if (message.generateOmittedAsInternal != null && message.hasOwnProperty("generateOmittedAsInternal")) - if (typeof message.generateOmittedAsInternal !== "boolean") - return "generateOmittedAsInternal: boolean expected"; - return null; - }; - - /** - * Creates a SelectiveGapicGeneration message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {Object.} object Plain object - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration - */ - SelectiveGapicGeneration.fromObject = function fromObject(object) { - if (object instanceof $root.google.api.SelectiveGapicGeneration) - return object; - var message = new $root.google.api.SelectiveGapicGeneration(); - if (object.methods) { - if (!Array.isArray(object.methods)) - throw TypeError(".google.api.SelectiveGapicGeneration.methods: array expected"); - message.methods = []; - for (var i = 0; i < object.methods.length; ++i) - message.methods[i] = String(object.methods[i]); - } - if (object.generateOmittedAsInternal != null) - message.generateOmittedAsInternal = Boolean(object.generateOmittedAsInternal); - return message; - }; - - /** - * Creates a plain object from a SelectiveGapicGeneration message. Also converts values to other types if specified. - * @function toObject - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.SelectiveGapicGeneration} message SelectiveGapicGeneration - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - SelectiveGapicGeneration.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.methods = []; - if (options.defaults) - object.generateOmittedAsInternal = false; - if (message.methods && message.methods.length) { - object.methods = []; - for (var j = 0; j < message.methods.length; ++j) - object.methods[j] = message.methods[j]; - } - if (message.generateOmittedAsInternal != null && message.hasOwnProperty("generateOmittedAsInternal")) - object.generateOmittedAsInternal = message.generateOmittedAsInternal; - return object; - }; - - /** - * Converts this SelectiveGapicGeneration to JSON. - * @function toJSON - * @memberof google.api.SelectiveGapicGeneration - * @instance - * @returns {Object.} JSON object - */ - SelectiveGapicGeneration.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for SelectiveGapicGeneration - * @function getTypeUrl - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - SelectiveGapicGeneration.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.api.SelectiveGapicGeneration"; - }; - - return SelectiveGapicGeneration; - })(); - /** * LaunchStage enum. * @name google.api.LaunchStage @@ -65324,7 +64710,6 @@ * @name google.protobuf.Edition * @enum {number} * @property {number} EDITION_UNKNOWN=0 EDITION_UNKNOWN value - * @property {number} EDITION_LEGACY=900 EDITION_LEGACY value * @property {number} EDITION_PROTO2=998 EDITION_PROTO2 value * @property {number} EDITION_PROTO3=999 EDITION_PROTO3 value * @property {number} EDITION_2023=1000 EDITION_2023 value @@ -65339,7 +64724,6 @@ protobuf.Edition = (function() { var valuesById = {}, values = Object.create(valuesById); values[valuesById[0] = "EDITION_UNKNOWN"] = 0; - values[valuesById[900] = "EDITION_LEGACY"] = 900; values[valuesById[998] = "EDITION_PROTO2"] = 998; values[valuesById[999] = "EDITION_PROTO3"] = 999; values[valuesById[1000] = "EDITION_2023"] = 1000; @@ -65364,7 +64748,6 @@ * @property {Array.|null} [dependency] FileDescriptorProto dependency * @property {Array.|null} [publicDependency] FileDescriptorProto publicDependency * @property {Array.|null} [weakDependency] FileDescriptorProto weakDependency - * @property {Array.|null} [optionDependency] FileDescriptorProto optionDependency * @property {Array.|null} [messageType] FileDescriptorProto messageType * @property {Array.|null} [enumType] FileDescriptorProto enumType * @property {Array.|null} [service] FileDescriptorProto service @@ -65387,7 +64770,6 @@ this.dependency = []; this.publicDependency = []; this.weakDependency = []; - this.optionDependency = []; this.messageType = []; this.enumType = []; this.service = []; @@ -65438,14 +64820,6 @@ */ FileDescriptorProto.prototype.weakDependency = $util.emptyArray; - /** - * FileDescriptorProto optionDependency. - * @member {Array.} optionDependency - * @memberof google.protobuf.FileDescriptorProto - * @instance - */ - FileDescriptorProto.prototype.optionDependency = $util.emptyArray; - /** * FileDescriptorProto messageType. * @member {Array.} messageType @@ -65567,9 +64941,6 @@ writer.uint32(/* id 12, wireType 2 =*/98).string(message.syntax); if (message.edition != null && Object.hasOwnProperty.call(message, "edition")) writer.uint32(/* id 14, wireType 0 =*/112).int32(message.edition); - if (message.optionDependency != null && message.optionDependency.length) - for (var i = 0; i < message.optionDependency.length; ++i) - writer.uint32(/* id 15, wireType 2 =*/122).string(message.optionDependency[i]); return writer; }; @@ -65642,12 +65013,6 @@ message.weakDependency.push(reader.int32()); break; } - case 15: { - if (!(message.optionDependency && message.optionDependency.length)) - message.optionDependency = []; - message.optionDependency.push(reader.string()); - break; - } case 4: { if (!(message.messageType && message.messageType.length)) message.messageType = []; @@ -65750,13 +65115,6 @@ if (!$util.isInteger(message.weakDependency[i])) return "weakDependency: integer[] expected"; } - if (message.optionDependency != null && message.hasOwnProperty("optionDependency")) { - if (!Array.isArray(message.optionDependency)) - return "optionDependency: array expected"; - for (var i = 0; i < message.optionDependency.length; ++i) - if (!$util.isString(message.optionDependency[i])) - return "optionDependency: string[] expected"; - } if (message.messageType != null && message.hasOwnProperty("messageType")) { if (!Array.isArray(message.messageType)) return "messageType: array expected"; @@ -65811,7 +65169,6 @@ default: return "edition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -65864,13 +65221,6 @@ for (var i = 0; i < object.weakDependency.length; ++i) message.weakDependency[i] = object.weakDependency[i] | 0; } - if (object.optionDependency) { - if (!Array.isArray(object.optionDependency)) - throw TypeError(".google.protobuf.FileDescriptorProto.optionDependency: array expected"); - message.optionDependency = []; - for (var i = 0; i < object.optionDependency.length; ++i) - message.optionDependency[i] = String(object.optionDependency[i]); - } if (object.messageType) { if (!Array.isArray(object.messageType)) throw TypeError(".google.protobuf.FileDescriptorProto.messageType: array expected"); @@ -65934,10 +65284,6 @@ case 0: message.edition = 0; break; - case "EDITION_LEGACY": - case 900: - message.edition = 900; - break; case "EDITION_PROTO2": case 998: message.edition = 998; @@ -66003,7 +65349,6 @@ object.extension = []; object.publicDependency = []; object.weakDependency = []; - object.optionDependency = []; } if (options.defaults) { object.name = ""; @@ -66060,11 +65405,6 @@ object.syntax = message.syntax; if (message.edition != null && message.hasOwnProperty("edition")) object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; - if (message.optionDependency && message.optionDependency.length) { - object.optionDependency = []; - for (var j = 0; j < message.optionDependency.length; ++j) - object.optionDependency[j] = message.optionDependency[j]; - } return object; }; @@ -66113,7 +65453,6 @@ * @property {google.protobuf.IMessageOptions|null} [options] DescriptorProto options * @property {Array.|null} [reservedRange] DescriptorProto reservedRange * @property {Array.|null} [reservedName] DescriptorProto reservedName - * @property {google.protobuf.SymbolVisibility|null} [visibility] DescriptorProto visibility */ /** @@ -66219,14 +65558,6 @@ */ DescriptorProto.prototype.reservedName = $util.emptyArray; - /** - * DescriptorProto visibility. - * @member {google.protobuf.SymbolVisibility} visibility - * @memberof google.protobuf.DescriptorProto - * @instance - */ - DescriptorProto.prototype.visibility = 0; - /** * Creates a new DescriptorProto instance using the specified properties. * @function create @@ -66279,8 +65610,6 @@ if (message.reservedName != null && message.reservedName.length) for (var i = 0; i < message.reservedName.length; ++i) writer.uint32(/* id 10, wireType 2 =*/82).string(message.reservedName[i]); - if (message.visibility != null && Object.hasOwnProperty.call(message, "visibility")) - writer.uint32(/* id 11, wireType 0 =*/88).int32(message.visibility); return writer; }; @@ -66373,10 +65702,6 @@ message.reservedName.push(reader.string()); break; } - case 11: { - message.visibility = reader.int32(); - break; - } default: reader.skipType(tag & 7); break; @@ -66490,15 +65815,6 @@ if (!$util.isString(message.reservedName[i])) return "reservedName: string[] expected"; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - switch (message.visibility) { - default: - return "visibility: enum value expected"; - case 0: - case 1: - case 2: - break; - } return null; }; @@ -66598,26 +65914,6 @@ for (var i = 0; i < object.reservedName.length; ++i) message.reservedName[i] = String(object.reservedName[i]); } - switch (object.visibility) { - default: - if (typeof object.visibility === "number") { - message.visibility = object.visibility; - break; - } - break; - case "VISIBILITY_UNSET": - case 0: - message.visibility = 0; - break; - case "VISIBILITY_LOCAL": - case 1: - message.visibility = 1; - break; - case "VISIBILITY_EXPORT": - case 2: - message.visibility = 2; - break; - } return message; }; @@ -66647,7 +65943,6 @@ if (options.defaults) { object.name = ""; object.options = null; - object.visibility = options.enums === String ? "VISIBILITY_UNSET" : 0; } if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; @@ -66693,8 +65988,6 @@ for (var j = 0; j < message.reservedName.length; ++j) object.reservedName[j] = message.reservedName[j]; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - object.visibility = options.enums === String ? $root.google.protobuf.SymbolVisibility[message.visibility] === undefined ? message.visibility : $root.google.protobuf.SymbolVisibility[message.visibility] : message.visibility; return object; }; @@ -68739,7 +68032,6 @@ * @property {google.protobuf.IEnumOptions|null} [options] EnumDescriptorProto options * @property {Array.|null} [reservedRange] EnumDescriptorProto reservedRange * @property {Array.|null} [reservedName] EnumDescriptorProto reservedName - * @property {google.protobuf.SymbolVisibility|null} [visibility] EnumDescriptorProto visibility */ /** @@ -68800,14 +68092,6 @@ */ EnumDescriptorProto.prototype.reservedName = $util.emptyArray; - /** - * EnumDescriptorProto visibility. - * @member {google.protobuf.SymbolVisibility} visibility - * @memberof google.protobuf.EnumDescriptorProto - * @instance - */ - EnumDescriptorProto.prototype.visibility = 0; - /** * Creates a new EnumDescriptorProto instance using the specified properties. * @function create @@ -68845,8 +68129,6 @@ if (message.reservedName != null && message.reservedName.length) for (var i = 0; i < message.reservedName.length; ++i) writer.uint32(/* id 5, wireType 2 =*/42).string(message.reservedName[i]); - if (message.visibility != null && Object.hasOwnProperty.call(message, "visibility")) - writer.uint32(/* id 6, wireType 0 =*/48).int32(message.visibility); return writer; }; @@ -68909,10 +68191,6 @@ message.reservedName.push(reader.string()); break; } - case 6: { - message.visibility = reader.int32(); - break; - } default: reader.skipType(tag & 7); break; @@ -68981,15 +68259,6 @@ if (!$util.isString(message.reservedName[i])) return "reservedName: string[] expected"; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - switch (message.visibility) { - default: - return "visibility: enum value expected"; - case 0: - case 1: - case 2: - break; - } return null; }; @@ -69039,26 +68308,6 @@ for (var i = 0; i < object.reservedName.length; ++i) message.reservedName[i] = String(object.reservedName[i]); } - switch (object.visibility) { - default: - if (typeof object.visibility === "number") { - message.visibility = object.visibility; - break; - } - break; - case "VISIBILITY_UNSET": - case 0: - message.visibility = 0; - break; - case "VISIBILITY_LOCAL": - case 1: - message.visibility = 1; - break; - case "VISIBILITY_EXPORT": - case 2: - message.visibility = 2; - break; - } return message; }; @@ -69083,7 +68332,6 @@ if (options.defaults) { object.name = ""; object.options = null; - object.visibility = options.enums === String ? "VISIBILITY_UNSET" : 0; } if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; @@ -69104,8 +68352,6 @@ for (var j = 0; j < message.reservedName.length; ++j) object.reservedName[j] = message.reservedName[j]; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - object.visibility = options.enums === String ? $root.google.protobuf.SymbolVisibility[message.visibility] === undefined ? message.visibility : $root.google.protobuf.SymbolVisibility[message.visibility] : message.visibility; return object; }; @@ -71424,7 +70670,6 @@ * @property {Array.|null} [targets] FieldOptions targets * @property {Array.|null} [editionDefaults] FieldOptions editionDefaults * @property {google.protobuf.IFeatureSet|null} [features] FieldOptions features - * @property {google.protobuf.FieldOptions.IFeatureSupport|null} [featureSupport] FieldOptions featureSupport * @property {Array.|null} [uninterpretedOption] FieldOptions uninterpretedOption * @property {Array.|null} [".google.api.fieldBehavior"] FieldOptions .google.api.fieldBehavior * @property {google.api.IResourceReference|null} [".google.api.resourceReference"] FieldOptions .google.api.resourceReference @@ -71545,14 +70790,6 @@ */ FieldOptions.prototype.features = null; - /** - * FieldOptions featureSupport. - * @member {google.protobuf.FieldOptions.IFeatureSupport|null|undefined} featureSupport - * @memberof google.protobuf.FieldOptions - * @instance - */ - FieldOptions.prototype.featureSupport = null; - /** * FieldOptions uninterpretedOption. * @member {Array.} uninterpretedOption @@ -71627,8 +70864,6 @@ $root.google.protobuf.FieldOptions.EditionDefault.encode(message.editionDefaults[i], writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim(); if (message.features != null && Object.hasOwnProperty.call(message, "features")) $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim(); - if (message.featureSupport != null && Object.hasOwnProperty.call(message, "featureSupport")) - $root.google.protobuf.FieldOptions.FeatureSupport.encode(message.featureSupport, writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim(); if (message.uninterpretedOption != null && message.uninterpretedOption.length) for (var i = 0; i < message.uninterpretedOption.length; ++i) $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim(); @@ -71730,10 +70965,6 @@ message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); break; } - case 22: { - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.decode(reader, reader.uint32()); - break; - } case 999: { if (!(message.uninterpretedOption && message.uninterpretedOption.length)) message.uninterpretedOption = []; @@ -71869,11 +71100,6 @@ if (error) return "features." + error; } - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) { - var error = $root.google.protobuf.FieldOptions.FeatureSupport.verify(message.featureSupport); - if (error) - return "featureSupport." + error; - } if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) { if (!Array.isArray(message.uninterpretedOption)) return "uninterpretedOption: array expected"; @@ -72062,11 +71288,6 @@ throw TypeError(".google.protobuf.FieldOptions.features: object expected"); message.features = $root.google.protobuf.FeatureSet.fromObject(object.features); } - if (object.featureSupport != null) { - if (typeof object.featureSupport !== "object") - throw TypeError(".google.protobuf.FieldOptions.featureSupport: object expected"); - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.fromObject(object.featureSupport); - } if (object.uninterpretedOption) { if (!Array.isArray(object.uninterpretedOption)) throw TypeError(".google.protobuf.FieldOptions.uninterpretedOption: array expected"); @@ -72164,7 +71385,6 @@ object.debugRedact = false; object.retention = options.enums === String ? "RETENTION_UNKNOWN" : 0; object.features = null; - object.featureSupport = null; object[".google.api.resourceReference"] = null; } if (message.ctype != null && message.hasOwnProperty("ctype")) @@ -72197,8 +71417,6 @@ } if (message.features != null && message.hasOwnProperty("features")) object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options); - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) - object.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.toObject(message.featureSupport, options); if (message.uninterpretedOption && message.uninterpretedOption.length) { object.uninterpretedOption = []; for (var j = 0; j < message.uninterpretedOption.length; ++j) @@ -72471,7 +71689,6 @@ default: return "edition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -72513,589 +71730,103 @@ case 0: message.edition = 0; break; - case "EDITION_LEGACY": - case 900: - message.edition = 900; - break; - case "EDITION_PROTO2": - case 998: - message.edition = 998; - break; - case "EDITION_PROTO3": - case 999: - message.edition = 999; - break; - case "EDITION_2023": - case 1000: - message.edition = 1000; - break; - case "EDITION_2024": - case 1001: - message.edition = 1001; - break; - case "EDITION_1_TEST_ONLY": - case 1: - message.edition = 1; - break; - case "EDITION_2_TEST_ONLY": - case 2: - message.edition = 2; - break; - case "EDITION_99997_TEST_ONLY": - case 99997: - message.edition = 99997; - break; - case "EDITION_99998_TEST_ONLY": - case 99998: - message.edition = 99998; - break; - case "EDITION_99999_TEST_ONLY": - case 99999: - message.edition = 99999; - break; - case "EDITION_MAX": - case 2147483647: - message.edition = 2147483647; - break; - } - if (object.value != null) - message.value = String(object.value); - return message; - }; - - /** - * Creates a plain object from an EditionDefault message. Also converts values to other types if specified. - * @function toObject - * @memberof google.protobuf.FieldOptions.EditionDefault - * @static - * @param {google.protobuf.FieldOptions.EditionDefault} message EditionDefault - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - EditionDefault.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.value = ""; - object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0; - } - if (message.value != null && message.hasOwnProperty("value")) - object.value = message.value; - if (message.edition != null && message.hasOwnProperty("edition")) - object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; - return object; - }; - - /** - * Converts this EditionDefault to JSON. - * @function toJSON - * @memberof google.protobuf.FieldOptions.EditionDefault - * @instance - * @returns {Object.} JSON object - */ - EditionDefault.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for EditionDefault - * @function getTypeUrl - * @memberof google.protobuf.FieldOptions.EditionDefault - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - EditionDefault.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.FieldOptions.EditionDefault"; - }; - - return EditionDefault; - })(); - - FieldOptions.FeatureSupport = (function() { - - /** - * Properties of a FeatureSupport. - * @memberof google.protobuf.FieldOptions - * @interface IFeatureSupport - * @property {google.protobuf.Edition|null} [editionIntroduced] FeatureSupport editionIntroduced - * @property {google.protobuf.Edition|null} [editionDeprecated] FeatureSupport editionDeprecated - * @property {string|null} [deprecationWarning] FeatureSupport deprecationWarning - * @property {google.protobuf.Edition|null} [editionRemoved] FeatureSupport editionRemoved - */ - - /** - * Constructs a new FeatureSupport. - * @memberof google.protobuf.FieldOptions - * @classdesc Represents a FeatureSupport. - * @implements IFeatureSupport - * @constructor - * @param {google.protobuf.FieldOptions.IFeatureSupport=} [properties] Properties to set - */ - function FeatureSupport(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * FeatureSupport editionIntroduced. - * @member {google.protobuf.Edition} editionIntroduced - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @instance - */ - FeatureSupport.prototype.editionIntroduced = 0; - - /** - * FeatureSupport editionDeprecated. - * @member {google.protobuf.Edition} editionDeprecated - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @instance - */ - FeatureSupport.prototype.editionDeprecated = 0; - - /** - * FeatureSupport deprecationWarning. - * @member {string} deprecationWarning - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @instance - */ - FeatureSupport.prototype.deprecationWarning = ""; - - /** - * FeatureSupport editionRemoved. - * @member {google.protobuf.Edition} editionRemoved - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @instance - */ - FeatureSupport.prototype.editionRemoved = 0; - - /** - * Creates a new FeatureSupport instance using the specified properties. - * @function create - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {google.protobuf.FieldOptions.IFeatureSupport=} [properties] Properties to set - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport instance - */ - FeatureSupport.create = function create(properties) { - return new FeatureSupport(properties); - }; - - /** - * Encodes the specified FeatureSupport message. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. - * @function encode - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {google.protobuf.FieldOptions.IFeatureSupport} message FeatureSupport message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - FeatureSupport.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.editionIntroduced != null && Object.hasOwnProperty.call(message, "editionIntroduced")) - writer.uint32(/* id 1, wireType 0 =*/8).int32(message.editionIntroduced); - if (message.editionDeprecated != null && Object.hasOwnProperty.call(message, "editionDeprecated")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.editionDeprecated); - if (message.deprecationWarning != null && Object.hasOwnProperty.call(message, "deprecationWarning")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.deprecationWarning); - if (message.editionRemoved != null && Object.hasOwnProperty.call(message, "editionRemoved")) - writer.uint32(/* id 4, wireType 0 =*/32).int32(message.editionRemoved); - return writer; - }; - - /** - * Encodes the specified FeatureSupport message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. - * @function encodeDelimited - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {google.protobuf.FieldOptions.IFeatureSupport} message FeatureSupport message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - FeatureSupport.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a FeatureSupport message from the specified reader or buffer. - * @function decode - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - FeatureSupport.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FieldOptions.FeatureSupport(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.editionIntroduced = reader.int32(); - break; - } - case 2: { - message.editionDeprecated = reader.int32(); - break; - } - case 3: { - message.deprecationWarning = reader.string(); - break; - } - case 4: { - message.editionRemoved = reader.int32(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a FeatureSupport message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - FeatureSupport.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a FeatureSupport message. - * @function verify - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - FeatureSupport.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.editionIntroduced != null && message.hasOwnProperty("editionIntroduced")) - switch (message.editionIntroduced) { - default: - return "editionIntroduced: enum value expected"; - case 0: - case 900: - case 998: - case 999: - case 1000: - case 1001: - case 1: - case 2: - case 99997: - case 99998: - case 99999: - case 2147483647: - break; - } - if (message.editionDeprecated != null && message.hasOwnProperty("editionDeprecated")) - switch (message.editionDeprecated) { - default: - return "editionDeprecated: enum value expected"; - case 0: - case 900: - case 998: - case 999: - case 1000: - case 1001: - case 1: - case 2: - case 99997: - case 99998: - case 99999: - case 2147483647: - break; - } - if (message.deprecationWarning != null && message.hasOwnProperty("deprecationWarning")) - if (!$util.isString(message.deprecationWarning)) - return "deprecationWarning: string expected"; - if (message.editionRemoved != null && message.hasOwnProperty("editionRemoved")) - switch (message.editionRemoved) { - default: - return "editionRemoved: enum value expected"; - case 0: - case 900: - case 998: - case 999: - case 1000: - case 1001: - case 1: - case 2: - case 99997: - case 99998: - case 99999: - case 2147483647: - break; - } - return null; - }; - - /** - * Creates a FeatureSupport message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {Object.} object Plain object - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport - */ - FeatureSupport.fromObject = function fromObject(object) { - if (object instanceof $root.google.protobuf.FieldOptions.FeatureSupport) - return object; - var message = new $root.google.protobuf.FieldOptions.FeatureSupport(); - switch (object.editionIntroduced) { - default: - if (typeof object.editionIntroduced === "number") { - message.editionIntroduced = object.editionIntroduced; - break; - } - break; - case "EDITION_UNKNOWN": - case 0: - message.editionIntroduced = 0; - break; - case "EDITION_LEGACY": - case 900: - message.editionIntroduced = 900; - break; - case "EDITION_PROTO2": - case 998: - message.editionIntroduced = 998; - break; - case "EDITION_PROTO3": - case 999: - message.editionIntroduced = 999; - break; - case "EDITION_2023": - case 1000: - message.editionIntroduced = 1000; - break; - case "EDITION_2024": - case 1001: - message.editionIntroduced = 1001; - break; - case "EDITION_1_TEST_ONLY": - case 1: - message.editionIntroduced = 1; - break; - case "EDITION_2_TEST_ONLY": - case 2: - message.editionIntroduced = 2; - break; - case "EDITION_99997_TEST_ONLY": - case 99997: - message.editionIntroduced = 99997; - break; - case "EDITION_99998_TEST_ONLY": - case 99998: - message.editionIntroduced = 99998; - break; - case "EDITION_99999_TEST_ONLY": - case 99999: - message.editionIntroduced = 99999; - break; - case "EDITION_MAX": - case 2147483647: - message.editionIntroduced = 2147483647; - break; - } - switch (object.editionDeprecated) { - default: - if (typeof object.editionDeprecated === "number") { - message.editionDeprecated = object.editionDeprecated; - break; - } - break; - case "EDITION_UNKNOWN": - case 0: - message.editionDeprecated = 0; - break; - case "EDITION_LEGACY": - case 900: - message.editionDeprecated = 900; - break; - case "EDITION_PROTO2": - case 998: - message.editionDeprecated = 998; - break; - case "EDITION_PROTO3": - case 999: - message.editionDeprecated = 999; - break; - case "EDITION_2023": - case 1000: - message.editionDeprecated = 1000; - break; - case "EDITION_2024": - case 1001: - message.editionDeprecated = 1001; - break; - case "EDITION_1_TEST_ONLY": - case 1: - message.editionDeprecated = 1; - break; - case "EDITION_2_TEST_ONLY": - case 2: - message.editionDeprecated = 2; - break; - case "EDITION_99997_TEST_ONLY": - case 99997: - message.editionDeprecated = 99997; - break; - case "EDITION_99998_TEST_ONLY": - case 99998: - message.editionDeprecated = 99998; - break; - case "EDITION_99999_TEST_ONLY": - case 99999: - message.editionDeprecated = 99999; - break; - case "EDITION_MAX": - case 2147483647: - message.editionDeprecated = 2147483647; - break; - } - if (object.deprecationWarning != null) - message.deprecationWarning = String(object.deprecationWarning); - switch (object.editionRemoved) { - default: - if (typeof object.editionRemoved === "number") { - message.editionRemoved = object.editionRemoved; - break; - } - break; - case "EDITION_UNKNOWN": - case 0: - message.editionRemoved = 0; - break; - case "EDITION_LEGACY": - case 900: - message.editionRemoved = 900; - break; case "EDITION_PROTO2": case 998: - message.editionRemoved = 998; + message.edition = 998; break; case "EDITION_PROTO3": case 999: - message.editionRemoved = 999; + message.edition = 999; break; case "EDITION_2023": case 1000: - message.editionRemoved = 1000; + message.edition = 1000; break; case "EDITION_2024": case 1001: - message.editionRemoved = 1001; + message.edition = 1001; break; case "EDITION_1_TEST_ONLY": case 1: - message.editionRemoved = 1; + message.edition = 1; break; case "EDITION_2_TEST_ONLY": case 2: - message.editionRemoved = 2; + message.edition = 2; break; case "EDITION_99997_TEST_ONLY": case 99997: - message.editionRemoved = 99997; + message.edition = 99997; break; case "EDITION_99998_TEST_ONLY": case 99998: - message.editionRemoved = 99998; + message.edition = 99998; break; case "EDITION_99999_TEST_ONLY": case 99999: - message.editionRemoved = 99999; + message.edition = 99999; break; case "EDITION_MAX": case 2147483647: - message.editionRemoved = 2147483647; + message.edition = 2147483647; break; } + if (object.value != null) + message.value = String(object.value); return message; }; /** - * Creates a plain object from a FeatureSupport message. Also converts values to other types if specified. + * Creates a plain object from an EditionDefault message. Also converts values to other types if specified. * @function toObject - * @memberof google.protobuf.FieldOptions.FeatureSupport + * @memberof google.protobuf.FieldOptions.EditionDefault * @static - * @param {google.protobuf.FieldOptions.FeatureSupport} message FeatureSupport + * @param {google.protobuf.FieldOptions.EditionDefault} message EditionDefault * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - FeatureSupport.toObject = function toObject(message, options) { + EditionDefault.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; if (options.defaults) { - object.editionIntroduced = options.enums === String ? "EDITION_UNKNOWN" : 0; - object.editionDeprecated = options.enums === String ? "EDITION_UNKNOWN" : 0; - object.deprecationWarning = ""; - object.editionRemoved = options.enums === String ? "EDITION_UNKNOWN" : 0; + object.value = ""; + object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0; } - if (message.editionIntroduced != null && message.hasOwnProperty("editionIntroduced")) - object.editionIntroduced = options.enums === String ? $root.google.protobuf.Edition[message.editionIntroduced] === undefined ? message.editionIntroduced : $root.google.protobuf.Edition[message.editionIntroduced] : message.editionIntroduced; - if (message.editionDeprecated != null && message.hasOwnProperty("editionDeprecated")) - object.editionDeprecated = options.enums === String ? $root.google.protobuf.Edition[message.editionDeprecated] === undefined ? message.editionDeprecated : $root.google.protobuf.Edition[message.editionDeprecated] : message.editionDeprecated; - if (message.deprecationWarning != null && message.hasOwnProperty("deprecationWarning")) - object.deprecationWarning = message.deprecationWarning; - if (message.editionRemoved != null && message.hasOwnProperty("editionRemoved")) - object.editionRemoved = options.enums === String ? $root.google.protobuf.Edition[message.editionRemoved] === undefined ? message.editionRemoved : $root.google.protobuf.Edition[message.editionRemoved] : message.editionRemoved; + if (message.value != null && message.hasOwnProperty("value")) + object.value = message.value; + if (message.edition != null && message.hasOwnProperty("edition")) + object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; return object; }; /** - * Converts this FeatureSupport to JSON. + * Converts this EditionDefault to JSON. * @function toJSON - * @memberof google.protobuf.FieldOptions.FeatureSupport + * @memberof google.protobuf.FieldOptions.EditionDefault * @instance * @returns {Object.} JSON object */ - FeatureSupport.prototype.toJSON = function toJSON() { + EditionDefault.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for FeatureSupport + * Gets the default type url for EditionDefault * @function getTypeUrl - * @memberof google.protobuf.FieldOptions.FeatureSupport + * @memberof google.protobuf.FieldOptions.EditionDefault * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - FeatureSupport.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + EditionDefault.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.protobuf.FieldOptions.FeatureSupport"; + return typeUrlPrefix + "/google.protobuf.FieldOptions.EditionDefault"; }; - return FeatureSupport; + return EditionDefault; })(); return FieldOptions; @@ -73690,7 +72421,6 @@ * @property {boolean|null} [deprecated] EnumValueOptions deprecated * @property {google.protobuf.IFeatureSet|null} [features] EnumValueOptions features * @property {boolean|null} [debugRedact] EnumValueOptions debugRedact - * @property {google.protobuf.FieldOptions.IFeatureSupport|null} [featureSupport] EnumValueOptions featureSupport * @property {Array.|null} [uninterpretedOption] EnumValueOptions uninterpretedOption */ @@ -73734,14 +72464,6 @@ */ EnumValueOptions.prototype.debugRedact = false; - /** - * EnumValueOptions featureSupport. - * @member {google.protobuf.FieldOptions.IFeatureSupport|null|undefined} featureSupport - * @memberof google.protobuf.EnumValueOptions - * @instance - */ - EnumValueOptions.prototype.featureSupport = null; - /** * EnumValueOptions uninterpretedOption. * @member {Array.} uninterpretedOption @@ -73780,8 +72502,6 @@ $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); if (message.debugRedact != null && Object.hasOwnProperty.call(message, "debugRedact")) writer.uint32(/* id 3, wireType 0 =*/24).bool(message.debugRedact); - if (message.featureSupport != null && Object.hasOwnProperty.call(message, "featureSupport")) - $root.google.protobuf.FieldOptions.FeatureSupport.encode(message.featureSupport, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); if (message.uninterpretedOption != null && message.uninterpretedOption.length) for (var i = 0; i < message.uninterpretedOption.length; ++i) $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim(); @@ -73833,10 +72553,6 @@ message.debugRedact = reader.bool(); break; } - case 4: { - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.decode(reader, reader.uint32()); - break; - } case 999: { if (!(message.uninterpretedOption && message.uninterpretedOption.length)) message.uninterpretedOption = []; @@ -73889,11 +72605,6 @@ if (message.debugRedact != null && message.hasOwnProperty("debugRedact")) if (typeof message.debugRedact !== "boolean") return "debugRedact: boolean expected"; - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) { - var error = $root.google.protobuf.FieldOptions.FeatureSupport.verify(message.featureSupport); - if (error) - return "featureSupport." + error; - } if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) { if (!Array.isArray(message.uninterpretedOption)) return "uninterpretedOption: array expected"; @@ -73927,11 +72638,6 @@ } if (object.debugRedact != null) message.debugRedact = Boolean(object.debugRedact); - if (object.featureSupport != null) { - if (typeof object.featureSupport !== "object") - throw TypeError(".google.protobuf.EnumValueOptions.featureSupport: object expected"); - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.fromObject(object.featureSupport); - } if (object.uninterpretedOption) { if (!Array.isArray(object.uninterpretedOption)) throw TypeError(".google.protobuf.EnumValueOptions.uninterpretedOption: array expected"); @@ -73964,7 +72670,6 @@ object.deprecated = false; object.features = null; object.debugRedact = false; - object.featureSupport = null; } if (message.deprecated != null && message.hasOwnProperty("deprecated")) object.deprecated = message.deprecated; @@ -73972,8 +72677,6 @@ object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options); if (message.debugRedact != null && message.hasOwnProperty("debugRedact")) object.debugRedact = message.debugRedact; - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) - object.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.toObject(message.featureSupport, options); if (message.uninterpretedOption && message.uninterpretedOption.length) { object.uninterpretedOption = []; for (var j = 0; j < message.uninterpretedOption.length; ++j) @@ -75441,8 +74144,6 @@ * @property {google.protobuf.FeatureSet.Utf8Validation|null} [utf8Validation] FeatureSet utf8Validation * @property {google.protobuf.FeatureSet.MessageEncoding|null} [messageEncoding] FeatureSet messageEncoding * @property {google.protobuf.FeatureSet.JsonFormat|null} [jsonFormat] FeatureSet jsonFormat - * @property {google.protobuf.FeatureSet.EnforceNamingStyle|null} [enforceNamingStyle] FeatureSet enforceNamingStyle - * @property {google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|null} [defaultSymbolVisibility] FeatureSet defaultSymbolVisibility */ /** @@ -75508,22 +74209,6 @@ */ FeatureSet.prototype.jsonFormat = 0; - /** - * FeatureSet enforceNamingStyle. - * @member {google.protobuf.FeatureSet.EnforceNamingStyle} enforceNamingStyle - * @memberof google.protobuf.FeatureSet - * @instance - */ - FeatureSet.prototype.enforceNamingStyle = 0; - - /** - * FeatureSet defaultSymbolVisibility. - * @member {google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility} defaultSymbolVisibility - * @memberof google.protobuf.FeatureSet - * @instance - */ - FeatureSet.prototype.defaultSymbolVisibility = 0; - /** * Creates a new FeatureSet instance using the specified properties. * @function create @@ -75560,10 +74245,6 @@ writer.uint32(/* id 5, wireType 0 =*/40).int32(message.messageEncoding); if (message.jsonFormat != null && Object.hasOwnProperty.call(message, "jsonFormat")) writer.uint32(/* id 6, wireType 0 =*/48).int32(message.jsonFormat); - if (message.enforceNamingStyle != null && Object.hasOwnProperty.call(message, "enforceNamingStyle")) - writer.uint32(/* id 7, wireType 0 =*/56).int32(message.enforceNamingStyle); - if (message.defaultSymbolVisibility != null && Object.hasOwnProperty.call(message, "defaultSymbolVisibility")) - writer.uint32(/* id 8, wireType 0 =*/64).int32(message.defaultSymbolVisibility); return writer; }; @@ -75624,14 +74305,6 @@ message.jsonFormat = reader.int32(); break; } - case 7: { - message.enforceNamingStyle = reader.int32(); - break; - } - case 8: { - message.defaultSymbolVisibility = reader.int32(); - break; - } default: reader.skipType(tag & 7); break; @@ -75722,26 +74395,6 @@ case 2: break; } - if (message.enforceNamingStyle != null && message.hasOwnProperty("enforceNamingStyle")) - switch (message.enforceNamingStyle) { - default: - return "enforceNamingStyle: enum value expected"; - case 0: - case 1: - case 2: - break; - } - if (message.defaultSymbolVisibility != null && message.hasOwnProperty("defaultSymbolVisibility")) - switch (message.defaultSymbolVisibility) { - default: - return "defaultSymbolVisibility: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } return null; }; @@ -75881,54 +74534,6 @@ message.jsonFormat = 2; break; } - switch (object.enforceNamingStyle) { - default: - if (typeof object.enforceNamingStyle === "number") { - message.enforceNamingStyle = object.enforceNamingStyle; - break; - } - break; - case "ENFORCE_NAMING_STYLE_UNKNOWN": - case 0: - message.enforceNamingStyle = 0; - break; - case "STYLE2024": - case 1: - message.enforceNamingStyle = 1; - break; - case "STYLE_LEGACY": - case 2: - message.enforceNamingStyle = 2; - break; - } - switch (object.defaultSymbolVisibility) { - default: - if (typeof object.defaultSymbolVisibility === "number") { - message.defaultSymbolVisibility = object.defaultSymbolVisibility; - break; - } - break; - case "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN": - case 0: - message.defaultSymbolVisibility = 0; - break; - case "EXPORT_ALL": - case 1: - message.defaultSymbolVisibility = 1; - break; - case "EXPORT_TOP_LEVEL": - case 2: - message.defaultSymbolVisibility = 2; - break; - case "LOCAL_ALL": - case 3: - message.defaultSymbolVisibility = 3; - break; - case "STRICT": - case 4: - message.defaultSymbolVisibility = 4; - break; - } return message; }; @@ -75952,8 +74557,6 @@ object.utf8Validation = options.enums === String ? "UTF8_VALIDATION_UNKNOWN" : 0; object.messageEncoding = options.enums === String ? "MESSAGE_ENCODING_UNKNOWN" : 0; object.jsonFormat = options.enums === String ? "JSON_FORMAT_UNKNOWN" : 0; - object.enforceNamingStyle = options.enums === String ? "ENFORCE_NAMING_STYLE_UNKNOWN" : 0; - object.defaultSymbolVisibility = options.enums === String ? "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN" : 0; } if (message.fieldPresence != null && message.hasOwnProperty("fieldPresence")) object.fieldPresence = options.enums === String ? $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] === undefined ? message.fieldPresence : $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] : message.fieldPresence; @@ -75967,10 +74570,6 @@ object.messageEncoding = options.enums === String ? $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] === undefined ? message.messageEncoding : $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] : message.messageEncoding; if (message.jsonFormat != null && message.hasOwnProperty("jsonFormat")) object.jsonFormat = options.enums === String ? $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] === undefined ? message.jsonFormat : $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] : message.jsonFormat; - if (message.enforceNamingStyle != null && message.hasOwnProperty("enforceNamingStyle")) - object.enforceNamingStyle = options.enums === String ? $root.google.protobuf.FeatureSet.EnforceNamingStyle[message.enforceNamingStyle] === undefined ? message.enforceNamingStyle : $root.google.protobuf.FeatureSet.EnforceNamingStyle[message.enforceNamingStyle] : message.enforceNamingStyle; - if (message.defaultSymbolVisibility != null && message.hasOwnProperty("defaultSymbolVisibility")) - object.defaultSymbolVisibility = options.enums === String ? $root.google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility[message.defaultSymbolVisibility] === undefined ? message.defaultSymbolVisibility : $root.google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility[message.defaultSymbolVisibility] : message.defaultSymbolVisibility; return object; }; @@ -76098,219 +74697,6 @@ return values; })(); - /** - * EnforceNamingStyle enum. - * @name google.protobuf.FeatureSet.EnforceNamingStyle - * @enum {number} - * @property {number} ENFORCE_NAMING_STYLE_UNKNOWN=0 ENFORCE_NAMING_STYLE_UNKNOWN value - * @property {number} STYLE2024=1 STYLE2024 value - * @property {number} STYLE_LEGACY=2 STYLE_LEGACY value - */ - FeatureSet.EnforceNamingStyle = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "ENFORCE_NAMING_STYLE_UNKNOWN"] = 0; - values[valuesById[1] = "STYLE2024"] = 1; - values[valuesById[2] = "STYLE_LEGACY"] = 2; - return values; - })(); - - FeatureSet.VisibilityFeature = (function() { - - /** - * Properties of a VisibilityFeature. - * @memberof google.protobuf.FeatureSet - * @interface IVisibilityFeature - */ - - /** - * Constructs a new VisibilityFeature. - * @memberof google.protobuf.FeatureSet - * @classdesc Represents a VisibilityFeature. - * @implements IVisibilityFeature - * @constructor - * @param {google.protobuf.FeatureSet.IVisibilityFeature=} [properties] Properties to set - */ - function VisibilityFeature(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Creates a new VisibilityFeature instance using the specified properties. - * @function create - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.IVisibilityFeature=} [properties] Properties to set - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature instance - */ - VisibilityFeature.create = function create(properties) { - return new VisibilityFeature(properties); - }; - - /** - * Encodes the specified VisibilityFeature message. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @function encode - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.IVisibilityFeature} message VisibilityFeature message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - VisibilityFeature.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - return writer; - }; - - /** - * Encodes the specified VisibilityFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @function encodeDelimited - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.IVisibilityFeature} message VisibilityFeature message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - VisibilityFeature.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer. - * @function decode - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - VisibilityFeature.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FeatureSet.VisibilityFeature(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - VisibilityFeature.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a VisibilityFeature message. - * @function verify - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - VisibilityFeature.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - return null; - }; - - /** - * Creates a VisibilityFeature message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {Object.} object Plain object - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature - */ - VisibilityFeature.fromObject = function fromObject(object) { - if (object instanceof $root.google.protobuf.FeatureSet.VisibilityFeature) - return object; - return new $root.google.protobuf.FeatureSet.VisibilityFeature(); - }; - - /** - * Creates a plain object from a VisibilityFeature message. Also converts values to other types if specified. - * @function toObject - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.VisibilityFeature} message VisibilityFeature - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - VisibilityFeature.toObject = function toObject() { - return {}; - }; - - /** - * Converts this VisibilityFeature to JSON. - * @function toJSON - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @instance - * @returns {Object.} JSON object - */ - VisibilityFeature.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for VisibilityFeature - * @function getTypeUrl - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - VisibilityFeature.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.FeatureSet.VisibilityFeature"; - }; - - /** - * DefaultSymbolVisibility enum. - * @name google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility - * @enum {number} - * @property {number} DEFAULT_SYMBOL_VISIBILITY_UNKNOWN=0 DEFAULT_SYMBOL_VISIBILITY_UNKNOWN value - * @property {number} EXPORT_ALL=1 EXPORT_ALL value - * @property {number} EXPORT_TOP_LEVEL=2 EXPORT_TOP_LEVEL value - * @property {number} LOCAL_ALL=3 LOCAL_ALL value - * @property {number} STRICT=4 STRICT value - */ - VisibilityFeature.DefaultSymbolVisibility = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN"] = 0; - values[valuesById[1] = "EXPORT_ALL"] = 1; - values[valuesById[2] = "EXPORT_TOP_LEVEL"] = 2; - values[valuesById[3] = "LOCAL_ALL"] = 3; - values[valuesById[4] = "STRICT"] = 4; - return values; - })(); - - return VisibilityFeature; - })(); - return FeatureSet; })(); @@ -76495,7 +74881,6 @@ default: return "minimumEdition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -76513,7 +74898,6 @@ default: return "maximumEdition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -76562,10 +74946,6 @@ case 0: message.minimumEdition = 0; break; - case "EDITION_LEGACY": - case 900: - message.minimumEdition = 900; - break; case "EDITION_PROTO2": case 998: message.minimumEdition = 998; @@ -76618,10 +74998,6 @@ case 0: message.maximumEdition = 0; break; - case "EDITION_LEGACY": - case 900: - message.maximumEdition = 900; - break; case "EDITION_PROTO2": case 998: message.maximumEdition = 998; @@ -76730,8 +75106,7 @@ * @memberof google.protobuf.FeatureSetDefaults * @interface IFeatureSetEditionDefault * @property {google.protobuf.Edition|null} [edition] FeatureSetEditionDefault edition - * @property {google.protobuf.IFeatureSet|null} [overridableFeatures] FeatureSetEditionDefault overridableFeatures - * @property {google.protobuf.IFeatureSet|null} [fixedFeatures] FeatureSetEditionDefault fixedFeatures + * @property {google.protobuf.IFeatureSet|null} [features] FeatureSetEditionDefault features */ /** @@ -76758,20 +75133,12 @@ FeatureSetEditionDefault.prototype.edition = 0; /** - * FeatureSetEditionDefault overridableFeatures. - * @member {google.protobuf.IFeatureSet|null|undefined} overridableFeatures - * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault - * @instance - */ - FeatureSetEditionDefault.prototype.overridableFeatures = null; - - /** - * FeatureSetEditionDefault fixedFeatures. - * @member {google.protobuf.IFeatureSet|null|undefined} fixedFeatures + * FeatureSetEditionDefault features. + * @member {google.protobuf.IFeatureSet|null|undefined} features * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault * @instance */ - FeatureSetEditionDefault.prototype.fixedFeatures = null; + FeatureSetEditionDefault.prototype.features = null; /** * Creates a new FeatureSetEditionDefault instance using the specified properties. @@ -76797,12 +75164,10 @@ FeatureSetEditionDefault.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); + if (message.features != null && Object.hasOwnProperty.call(message, "features")) + $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); if (message.edition != null && Object.hasOwnProperty.call(message, "edition")) writer.uint32(/* id 3, wireType 0 =*/24).int32(message.edition); - if (message.overridableFeatures != null && Object.hasOwnProperty.call(message, "overridableFeatures")) - $root.google.protobuf.FeatureSet.encode(message.overridableFeatures, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.fixedFeatures != null && Object.hasOwnProperty.call(message, "fixedFeatures")) - $root.google.protobuf.FeatureSet.encode(message.fixedFeatures, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); return writer; }; @@ -76843,12 +75208,8 @@ message.edition = reader.int32(); break; } - case 4: { - message.overridableFeatures = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); - break; - } - case 5: { - message.fixedFeatures = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); + case 2: { + message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); break; } default: @@ -76891,7 +75252,6 @@ default: return "edition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -76904,15 +75264,10 @@ case 2147483647: break; } - if (message.overridableFeatures != null && message.hasOwnProperty("overridableFeatures")) { - var error = $root.google.protobuf.FeatureSet.verify(message.overridableFeatures); - if (error) - return "overridableFeatures." + error; - } - if (message.fixedFeatures != null && message.hasOwnProperty("fixedFeatures")) { - var error = $root.google.protobuf.FeatureSet.verify(message.fixedFeatures); + if (message.features != null && message.hasOwnProperty("features")) { + var error = $root.google.protobuf.FeatureSet.verify(message.features); if (error) - return "fixedFeatures." + error; + return "features." + error; } return null; }; @@ -76940,10 +75295,6 @@ case 0: message.edition = 0; break; - case "EDITION_LEGACY": - case 900: - message.edition = 900; - break; case "EDITION_PROTO2": case 998: message.edition = 998; @@ -76985,15 +75336,10 @@ message.edition = 2147483647; break; } - if (object.overridableFeatures != null) { - if (typeof object.overridableFeatures !== "object") - throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.overridableFeatures: object expected"); - message.overridableFeatures = $root.google.protobuf.FeatureSet.fromObject(object.overridableFeatures); - } - if (object.fixedFeatures != null) { - if (typeof object.fixedFeatures !== "object") - throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.fixedFeatures: object expected"); - message.fixedFeatures = $root.google.protobuf.FeatureSet.fromObject(object.fixedFeatures); + if (object.features != null) { + if (typeof object.features !== "object") + throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.features: object expected"); + message.features = $root.google.protobuf.FeatureSet.fromObject(object.features); } return message; }; @@ -77012,16 +75358,13 @@ options = {}; var object = {}; if (options.defaults) { + object.features = null; object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0; - object.overridableFeatures = null; - object.fixedFeatures = null; } + if (message.features != null && message.hasOwnProperty("features")) + object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options); if (message.edition != null && message.hasOwnProperty("edition")) object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; - if (message.overridableFeatures != null && message.hasOwnProperty("overridableFeatures")) - object.overridableFeatures = $root.google.protobuf.FeatureSet.toObject(message.overridableFeatures, options); - if (message.fixedFeatures != null && message.hasOwnProperty("fixedFeatures")) - object.fixedFeatures = $root.google.protobuf.FeatureSet.toObject(message.fixedFeatures, options); return object; }; @@ -78236,22 +76579,6 @@ return GeneratedCodeInfo; })(); - /** - * SymbolVisibility enum. - * @name google.protobuf.SymbolVisibility - * @enum {number} - * @property {number} VISIBILITY_UNSET=0 VISIBILITY_UNSET value - * @property {number} VISIBILITY_LOCAL=1 VISIBILITY_LOCAL value - * @property {number} VISIBILITY_EXPORT=2 VISIBILITY_EXPORT value - */ - protobuf.SymbolVisibility = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "VISIBILITY_UNSET"] = 0; - values[valuesById[1] = "VISIBILITY_LOCAL"] = 1; - values[valuesById[2] = "VISIBILITY_EXPORT"] = 2; - return values; - })(); - protobuf.Duration = (function() { /** diff --git a/packages/google-cloud-datastream/protos/protos.json b/packages/google-cloud-datastream/protos/protos.json index 2f1d1d4010c9..4a3b60f84cca 100644 --- a/packages/google-cloud-datastream/protos/protos.json +++ b/packages/google-cloud-datastream/protos/protos.json @@ -6281,7 +6281,8 @@ "java_multiple_files": true, "java_outer_classname": "ResourceProto", "java_package": "com.google.api", - "objc_class_prefix": "GAPI" + "objc_class_prefix": "GAPI", + "cc_enable_arenas": true }, "nested": { "http": { @@ -6405,10 +6406,6 @@ "rule": "repeated", "type": "ClientLibraryDestination", "id": 2 - }, - "selectiveGapicGeneration": { - "type": "SelectiveGapicGeneration", - "id": 3 } } }, @@ -6549,28 +6546,6 @@ "common": { "type": "CommonLanguageSettings", "id": 1 - }, - "experimentalFeatures": { - "type": "ExperimentalFeatures", - "id": 2 - } - }, - "nested": { - "ExperimentalFeatures": { - "fields": { - "restAsyncIoEnabled": { - "type": "bool", - "id": 1 - }, - "protobufPythonicTypesEnabled": { - "type": "bool", - "id": 2 - }, - "unversionedPackageDisabled": { - "type": "bool", - "id": 3 - } - } } } }, @@ -6628,11 +6603,6 @@ "common": { "type": "CommonLanguageSettings", "id": 1 - }, - "renamedServices": { - "keyType": "string", - "type": "string", - "id": 2 } } }, @@ -6694,19 +6664,6 @@ "PACKAGE_MANAGER": 20 } }, - "SelectiveGapicGeneration": { - "fields": { - "methods": { - "rule": "repeated", - "type": "string", - "id": 1 - }, - "generateOmittedAsInternal": { - "type": "bool", - "id": 2 - } - } - }, "LaunchStage": { "values": { "LAUNCH_STAGE_UNSPECIFIED": 0, @@ -6839,19 +6796,12 @@ "type": "FileDescriptorProto", "id": 1 } - }, - "extensions": [ - [ - 536000000, - 536000000 - ] - ] + } }, "Edition": { "edition": "proto2", "values": { "EDITION_UNKNOWN": 0, - "EDITION_LEGACY": 900, "EDITION_PROTO2": 998, "EDITION_PROTO3": 999, "EDITION_2023": 1000, @@ -6890,11 +6840,6 @@ "type": "int32", "id": 11 }, - "optionDependency": { - "rule": "repeated", - "type": "string", - "id": 15 - }, "messageType": { "rule": "repeated", "type": "DescriptorProto", @@ -6983,10 +6928,6 @@ "rule": "repeated", "type": "string", "id": 10 - }, - "visibility": { - "type": "SymbolVisibility", - "id": 11 } }, "nested": { @@ -7212,10 +7153,6 @@ "rule": "repeated", "type": "string", "id": 5 - }, - "visibility": { - "type": "SymbolVisibility", - "id": 6 } }, "nested": { @@ -7430,7 +7367,6 @@ 42, 42 ], - "php_generic_services", [ 38, 38 @@ -7566,8 +7502,7 @@ "type": "bool", "id": 10, "options": { - "default": false, - "deprecated": true + "default": false } }, "debugRedact": { @@ -7595,10 +7530,6 @@ "type": "FeatureSet", "id": 21 }, - "featureSupport": { - "type": "FeatureSupport", - "id": 22 - }, "uninterpretedOption": { "rule": "repeated", "type": "UninterpretedOption", @@ -7668,26 +7599,6 @@ "id": 2 } } - }, - "FeatureSupport": { - "fields": { - "editionIntroduced": { - "type": "Edition", - "id": 1 - }, - "editionDeprecated": { - "type": "Edition", - "id": 2 - }, - "deprecationWarning": { - "type": "string", - "id": 3 - }, - "editionRemoved": { - "type": "Edition", - "id": 4 - } - } } } }, @@ -7776,10 +7687,6 @@ "default": false } }, - "featureSupport": { - "type": "FieldOptions.FeatureSupport", - "id": 4 - }, "uninterpretedOption": { "rule": "repeated", "type": "UninterpretedOption", @@ -7922,7 +7829,6 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_2023", "edition_defaults.value": "EXPLICIT" } @@ -7933,7 +7839,6 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_PROTO3", "edition_defaults.value": "OPEN" } @@ -7944,7 +7849,6 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_PROTO3", "edition_defaults.value": "PACKED" } @@ -7955,7 +7859,6 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_PROTO3", "edition_defaults.value": "VERIFY" } @@ -7966,8 +7869,7 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", - "edition_defaults.edition": "EDITION_LEGACY", + "edition_defaults.edition": "EDITION_PROTO2", "edition_defaults.value": "LENGTH_PREFIXED" } }, @@ -7977,38 +7879,27 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_PROTO3", "edition_defaults.value": "ALLOW" } - }, - "enforceNamingStyle": { - "type": "EnforceNamingStyle", - "id": 7, - "options": { - "retention": "RETENTION_SOURCE", - "targets": "TARGET_TYPE_METHOD", - "feature_support.edition_introduced": "EDITION_2024", - "edition_defaults.edition": "EDITION_2024", - "edition_defaults.value": "STYLE2024" - } - }, - "defaultSymbolVisibility": { - "type": "VisibilityFeature.DefaultSymbolVisibility", - "id": 8, - "options": { - "retention": "RETENTION_SOURCE", - "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2024", - "edition_defaults.edition": "EDITION_2024", - "edition_defaults.value": "EXPORT_TOP_LEVEL" - } } }, "extensions": [ [ 1000, - 9994 + 1000 + ], + [ + 1001, + 1001 + ], + [ + 1002, + 1002 + ], + [ + 9990, + 9990 ], [ 9995, @@ -8053,13 +7944,7 @@ "UTF8_VALIDATION_UNKNOWN": 0, "VERIFY": 2, "NONE": 3 - }, - "reserved": [ - [ - 1, - 1 - ] - ] + } }, "MessageEncoding": { "values": { @@ -8074,33 +7959,6 @@ "ALLOW": 1, "LEGACY_BEST_EFFORT": 2 } - }, - "EnforceNamingStyle": { - "values": { - "ENFORCE_NAMING_STYLE_UNKNOWN": 0, - "STYLE2024": 1, - "STYLE_LEGACY": 2 - } - }, - "VisibilityFeature": { - "fields": {}, - "reserved": [ - [ - 1, - 536870911 - ] - ], - "nested": { - "DefaultSymbolVisibility": { - "values": { - "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN": 0, - "EXPORT_ALL": 1, - "EXPORT_TOP_LEVEL": 2, - "LOCAL_ALL": 3, - "STRICT": 4 - } - } - } } } }, @@ -8128,26 +7986,11 @@ "type": "Edition", "id": 3 }, - "overridableFeatures": { + "features": { "type": "FeatureSet", - "id": 4 - }, - "fixedFeatures": { - "type": "FeatureSet", - "id": 5 + "id": 2 } - }, - "reserved": [ - [ - 1, - 1 - ], - [ - 2, - 2 - ], - "features" - ] + } } } }, @@ -8160,12 +8003,6 @@ "id": 1 } }, - "extensions": [ - [ - 536000000, - 536000000 - ] - ], "nested": { "Location": { "fields": { @@ -8251,14 +8088,6 @@ } } }, - "SymbolVisibility": { - "edition": "proto2", - "values": { - "VISIBILITY_UNSET": 0, - "VISIBILITY_LOCAL": 1, - "VISIBILITY_EXPORT": 2 - } - }, "Duration": { "fields": { "seconds": { @@ -8317,7 +8146,6 @@ "java_multiple_files": true, "java_outer_classname": "OperationsProto", "java_package": "com.google.longrunning", - "objc_class_prefix": "GLRUN", "php_namespace": "Google\\LongRunning" }, "nested": { diff --git a/packages/google-cloud-datastream/samples/generated/v1/snippet_metadata_google.cloud.datastream.v1.json b/packages/google-cloud-datastream/samples/generated/v1/snippet_metadata_google.cloud.datastream.v1.json index edce070f678e..6d53eb6c9ec7 100644 --- a/packages/google-cloud-datastream/samples/generated/v1/snippet_metadata_google.cloud.datastream.v1.json +++ b/packages/google-cloud-datastream/samples/generated/v1/snippet_metadata_google.cloud.datastream.v1.json @@ -1,1311 +1,1311 @@ { - "clientLibrary": { - "name": "nodejs-datastream", - "version": "4.3.0", - "language": "TYPESCRIPT", - "apis": [ - { - "id": "google.cloud.datastream.v1", - "version": "v1" - } - ] - }, - "snippets": [ + "clientLibrary": { + "name": "nodejs-datastream", + "version": "0.1.0", + "language": "TYPESCRIPT", + "apis": [ + { + "id": "google.cloud.datastream.v1", + "version": "v1" + } + ] + }, + "snippets": [ + { + "regionTag": "datastream_v1_generated_Datastream_ListConnectionProfiles_async", + "title": "Datastream listConnectionProfiles Sample", + "origin": "API_DEFINITION", + "description": " Use this method to list connection profiles created in a project and location.", + "canonical": true, + "file": "datastream.list_connection_profiles.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1_generated_Datastream_ListConnectionProfiles_async", - "title": "Datastream listConnectionProfiles Sample", - "origin": "API_DEFINITION", - "description": " Use this method to list connection profiles created in a project and location.", - "canonical": true, - "file": "datastream.list_connection_profiles.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 76, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListConnectionProfiles", - "fullName": "google.cloud.datastream.v1.Datastream.ListConnectionProfiles", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.datastream.v1.ListConnectionProfilesResponse", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1.DatastreamClient" - }, - "method": { - "shortName": "ListConnectionProfiles", - "fullName": "google.cloud.datastream.v1.Datastream.ListConnectionProfiles", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } - } + "start": 25, + "end": 76, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListConnectionProfiles", + "fullName": "google.cloud.datastream.v1.Datastream.ListConnectionProfiles", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.datastream.v1.ListConnectionProfilesResponse", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1.DatastreamClient" }, + "method": { + "shortName": "ListConnectionProfiles", + "fullName": "google.cloud.datastream.v1.Datastream.ListConnectionProfiles", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1_generated_Datastream_GetConnectionProfile_async", + "title": "Datastream getConnectionProfile Sample", + "origin": "API_DEFINITION", + "description": " Use this method to get details about a connection profile.", + "canonical": true, + "file": "datastream.get_connection_profile.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1_generated_Datastream_GetConnectionProfile_async", - "title": "Datastream getConnectionProfile Sample", - "origin": "API_DEFINITION", - "description": " Use this method to get details about a connection profile.", - "canonical": true, - "file": "datastream.get_connection_profile.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 53, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetConnectionProfile", - "fullName": "google.cloud.datastream.v1.Datastream.GetConnectionProfile", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.datastream.v1.ConnectionProfile", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1.DatastreamClient" - }, - "method": { - "shortName": "GetConnectionProfile", - "fullName": "google.cloud.datastream.v1.Datastream.GetConnectionProfile", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } - } + "start": 25, + "end": 53, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetConnectionProfile", + "fullName": "google.cloud.datastream.v1.Datastream.GetConnectionProfile", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.datastream.v1.ConnectionProfile", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1.DatastreamClient" }, + "method": { + "shortName": "GetConnectionProfile", + "fullName": "google.cloud.datastream.v1.Datastream.GetConnectionProfile", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1_generated_Datastream_CreateConnectionProfile_async", + "title": "Datastream createConnectionProfile Sample", + "origin": "API_DEFINITION", + "description": " Use this method to create a connection profile in a project and location.", + "canonical": true, + "file": "datastream.create_connection_profile.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1_generated_Datastream_CreateConnectionProfile_async", - "title": "Datastream createConnectionProfile Sample", - "origin": "API_DEFINITION", - "description": " Use this method to create a connection profile in a project and location.", - "canonical": true, - "file": "datastream.create_connection_profile.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 87, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateConnectionProfile", - "fullName": "google.cloud.datastream.v1.Datastream.CreateConnectionProfile", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "connection_profile_id", - "type": "TYPE_STRING" - }, - { - "name": "connection_profile", - "type": ".google.cloud.datastream.v1.ConnectionProfile" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - }, - { - "name": "validate_only", - "type": "TYPE_BOOL" - }, - { - "name": "force", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1.DatastreamClient" - }, - "method": { - "shortName": "CreateConnectionProfile", - "fullName": "google.cloud.datastream.v1.Datastream.CreateConnectionProfile", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } - } + "start": 25, + "end": 87, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateConnectionProfile", + "fullName": "google.cloud.datastream.v1.Datastream.CreateConnectionProfile", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "connection_profile_id", + "type": "TYPE_STRING" + }, + { + "name": "connection_profile", + "type": ".google.cloud.datastream.v1.ConnectionProfile" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + }, + { + "name": "validate_only", + "type": "TYPE_BOOL" + }, + { + "name": "force", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1.DatastreamClient" }, + "method": { + "shortName": "CreateConnectionProfile", + "fullName": "google.cloud.datastream.v1.Datastream.CreateConnectionProfile", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1_generated_Datastream_UpdateConnectionProfile_async", + "title": "Datastream updateConnectionProfile Sample", + "origin": "API_DEFINITION", + "description": " Use this method to update the parameters of a connection profile.", + "canonical": true, + "file": "datastream.update_connection_profile.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1_generated_Datastream_UpdateConnectionProfile_async", - "title": "Datastream updateConnectionProfile Sample", - "origin": "API_DEFINITION", - "description": " Use this method to update the parameters of a connection profile.", - "canonical": true, - "file": "datastream.update_connection_profile.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 85, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateConnectionProfile", - "fullName": "google.cloud.datastream.v1.Datastream.UpdateConnectionProfile", - "async": true, - "parameters": [ - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - }, - { - "name": "connection_profile", - "type": ".google.cloud.datastream.v1.ConnectionProfile" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - }, - { - "name": "validate_only", - "type": "TYPE_BOOL" - }, - { - "name": "force", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1.DatastreamClient" - }, - "method": { - "shortName": "UpdateConnectionProfile", - "fullName": "google.cloud.datastream.v1.Datastream.UpdateConnectionProfile", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } - } + "start": 25, + "end": 85, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateConnectionProfile", + "fullName": "google.cloud.datastream.v1.Datastream.UpdateConnectionProfile", + "async": true, + "parameters": [ + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + }, + { + "name": "connection_profile", + "type": ".google.cloud.datastream.v1.ConnectionProfile" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + }, + { + "name": "validate_only", + "type": "TYPE_BOOL" + }, + { + "name": "force", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1.DatastreamClient" }, + "method": { + "shortName": "UpdateConnectionProfile", + "fullName": "google.cloud.datastream.v1.Datastream.UpdateConnectionProfile", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1_generated_Datastream_DeleteConnectionProfile_async", + "title": "Datastream deleteConnectionProfile Sample", + "origin": "API_DEFINITION", + "description": " Use this method to delete a connection profile.", + "canonical": true, + "file": "datastream.delete_connection_profile.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1_generated_Datastream_DeleteConnectionProfile_async", - "title": "Datastream deleteConnectionProfile Sample", - "origin": "API_DEFINITION", - "description": " Use this method to delete a connection profile.", - "canonical": true, - "file": "datastream.delete_connection_profile.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 68, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteConnectionProfile", - "fullName": "google.cloud.datastream.v1.Datastream.DeleteConnectionProfile", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1.DatastreamClient" - }, - "method": { - "shortName": "DeleteConnectionProfile", - "fullName": "google.cloud.datastream.v1.Datastream.DeleteConnectionProfile", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } - } + "start": 25, + "end": 68, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteConnectionProfile", + "fullName": "google.cloud.datastream.v1.Datastream.DeleteConnectionProfile", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1.DatastreamClient" }, + "method": { + "shortName": "DeleteConnectionProfile", + "fullName": "google.cloud.datastream.v1.Datastream.DeleteConnectionProfile", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1_generated_Datastream_DiscoverConnectionProfile_async", + "title": "Datastream discoverConnectionProfile Sample", + "origin": "API_DEFINITION", + "description": " Use this method to discover a connection profile. The discover API call exposes the data objects and metadata belonging to the profile. Typically, a request returns children data objects of a parent data object that's optionally supplied in the request.", + "canonical": true, + "file": "datastream.discover_connection_profile.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1_generated_Datastream_DiscoverConnectionProfile_async", - "title": "Datastream discoverConnectionProfile Sample", - "origin": "API_DEFINITION", - "description": " Use this method to discover a connection profile. The discover API call exposes the data objects and metadata belonging to the profile. Typically, a request returns children data objects of a parent data object that's optionally supplied in the request.", - "canonical": true, - "file": "datastream.discover_connection_profile.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 95, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DiscoverConnectionProfile", - "fullName": "google.cloud.datastream.v1.Datastream.DiscoverConnectionProfile", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "connection_profile", - "type": ".google.cloud.datastream.v1.ConnectionProfile" - }, - { - "name": "connection_profile_name", - "type": "TYPE_STRING" - }, - { - "name": "full_hierarchy", - "type": "TYPE_BOOL" - }, - { - "name": "hierarchy_depth", - "type": "TYPE_INT32" - }, - { - "name": "oracle_rdbms", - "type": ".google.cloud.datastream.v1.OracleRdbms" - }, - { - "name": "mysql_rdbms", - "type": ".google.cloud.datastream.v1.MysqlRdbms" - }, - { - "name": "postgresql_rdbms", - "type": ".google.cloud.datastream.v1.PostgresqlRdbms" - }, - { - "name": "sql_server_rdbms", - "type": ".google.cloud.datastream.v1.SqlServerRdbms" - }, - { - "name": "salesforce_org", - "type": ".google.cloud.datastream.v1.SalesforceOrg" - }, - { - "name": "mongodb_cluster", - "type": ".google.cloud.datastream.v1.MongodbCluster" - } - ], - "resultType": ".google.cloud.datastream.v1.DiscoverConnectionProfileResponse", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1.DatastreamClient" - }, - "method": { - "shortName": "DiscoverConnectionProfile", - "fullName": "google.cloud.datastream.v1.Datastream.DiscoverConnectionProfile", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } - } + "start": 25, + "end": 95, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DiscoverConnectionProfile", + "fullName": "google.cloud.datastream.v1.Datastream.DiscoverConnectionProfile", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "connection_profile", + "type": ".google.cloud.datastream.v1.ConnectionProfile" + }, + { + "name": "connection_profile_name", + "type": "TYPE_STRING" + }, + { + "name": "full_hierarchy", + "type": "TYPE_BOOL" + }, + { + "name": "hierarchy_depth", + "type": "TYPE_INT32" + }, + { + "name": "oracle_rdbms", + "type": ".google.cloud.datastream.v1.OracleRdbms" + }, + { + "name": "mysql_rdbms", + "type": ".google.cloud.datastream.v1.MysqlRdbms" + }, + { + "name": "postgresql_rdbms", + "type": ".google.cloud.datastream.v1.PostgresqlRdbms" + }, + { + "name": "sql_server_rdbms", + "type": ".google.cloud.datastream.v1.SqlServerRdbms" + }, + { + "name": "salesforce_org", + "type": ".google.cloud.datastream.v1.SalesforceOrg" + }, + { + "name": "mongodb_cluster", + "type": ".google.cloud.datastream.v1.MongodbCluster" + } + ], + "resultType": ".google.cloud.datastream.v1.DiscoverConnectionProfileResponse", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1.DatastreamClient" }, + "method": { + "shortName": "DiscoverConnectionProfile", + "fullName": "google.cloud.datastream.v1.Datastream.DiscoverConnectionProfile", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1_generated_Datastream_ListStreams_async", + "title": "Datastream listStreams Sample", + "origin": "API_DEFINITION", + "description": " Use this method to list streams in a project and location.", + "canonical": true, + "file": "datastream.list_streams.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1_generated_Datastream_ListStreams_async", - "title": "Datastream listStreams Sample", - "origin": "API_DEFINITION", - "description": " Use this method to list streams in a project and location.", - "canonical": true, - "file": "datastream.list_streams.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 76, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListStreams", - "fullName": "google.cloud.datastream.v1.Datastream.ListStreams", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.datastream.v1.ListStreamsResponse", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1.DatastreamClient" - }, - "method": { - "shortName": "ListStreams", - "fullName": "google.cloud.datastream.v1.Datastream.ListStreams", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } - } + "start": 25, + "end": 76, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListStreams", + "fullName": "google.cloud.datastream.v1.Datastream.ListStreams", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.datastream.v1.ListStreamsResponse", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1.DatastreamClient" }, + "method": { + "shortName": "ListStreams", + "fullName": "google.cloud.datastream.v1.Datastream.ListStreams", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1_generated_Datastream_GetStream_async", + "title": "Datastream getStream Sample", + "origin": "API_DEFINITION", + "description": " Use this method to get details about a stream.", + "canonical": true, + "file": "datastream.get_stream.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1_generated_Datastream_GetStream_async", - "title": "Datastream getStream Sample", - "origin": "API_DEFINITION", - "description": " Use this method to get details about a stream.", - "canonical": true, - "file": "datastream.get_stream.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 53, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetStream", - "fullName": "google.cloud.datastream.v1.Datastream.GetStream", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.datastream.v1.Stream", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1.DatastreamClient" - }, - "method": { - "shortName": "GetStream", - "fullName": "google.cloud.datastream.v1.Datastream.GetStream", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } - } + "start": 25, + "end": 53, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetStream", + "fullName": "google.cloud.datastream.v1.Datastream.GetStream", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.datastream.v1.Stream", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1.DatastreamClient" }, + "method": { + "shortName": "GetStream", + "fullName": "google.cloud.datastream.v1.Datastream.GetStream", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1_generated_Datastream_CreateStream_async", + "title": "Datastream createStream Sample", + "origin": "API_DEFINITION", + "description": " Use this method to create a stream.", + "canonical": true, + "file": "datastream.create_stream.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1_generated_Datastream_CreateStream_async", - "title": "Datastream createStream Sample", - "origin": "API_DEFINITION", - "description": " Use this method to create a stream.", - "canonical": true, - "file": "datastream.create_stream.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 87, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateStream", - "fullName": "google.cloud.datastream.v1.Datastream.CreateStream", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "stream_id", - "type": "TYPE_STRING" - }, - { - "name": "stream", - "type": ".google.cloud.datastream.v1.Stream" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - }, - { - "name": "validate_only", - "type": "TYPE_BOOL" - }, - { - "name": "force", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1.DatastreamClient" - }, - "method": { - "shortName": "CreateStream", - "fullName": "google.cloud.datastream.v1.Datastream.CreateStream", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } - } + "start": 25, + "end": 87, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateStream", + "fullName": "google.cloud.datastream.v1.Datastream.CreateStream", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "stream_id", + "type": "TYPE_STRING" + }, + { + "name": "stream", + "type": ".google.cloud.datastream.v1.Stream" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + }, + { + "name": "validate_only", + "type": "TYPE_BOOL" + }, + { + "name": "force", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1.DatastreamClient" }, + "method": { + "shortName": "CreateStream", + "fullName": "google.cloud.datastream.v1.Datastream.CreateStream", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1_generated_Datastream_UpdateStream_async", + "title": "Datastream updateStream Sample", + "origin": "API_DEFINITION", + "description": " Use this method to update the configuration of a stream.", + "canonical": true, + "file": "datastream.update_stream.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1_generated_Datastream_UpdateStream_async", - "title": "Datastream updateStream Sample", - "origin": "API_DEFINITION", - "description": " Use this method to update the configuration of a stream.", - "canonical": true, - "file": "datastream.update_stream.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 85, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateStream", - "fullName": "google.cloud.datastream.v1.Datastream.UpdateStream", - "async": true, - "parameters": [ - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - }, - { - "name": "stream", - "type": ".google.cloud.datastream.v1.Stream" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - }, - { - "name": "validate_only", - "type": "TYPE_BOOL" - }, - { - "name": "force", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1.DatastreamClient" - }, - "method": { - "shortName": "UpdateStream", - "fullName": "google.cloud.datastream.v1.Datastream.UpdateStream", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } - } + "start": 25, + "end": 85, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateStream", + "fullName": "google.cloud.datastream.v1.Datastream.UpdateStream", + "async": true, + "parameters": [ + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + }, + { + "name": "stream", + "type": ".google.cloud.datastream.v1.Stream" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + }, + { + "name": "validate_only", + "type": "TYPE_BOOL" + }, + { + "name": "force", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1.DatastreamClient" }, + "method": { + "shortName": "UpdateStream", + "fullName": "google.cloud.datastream.v1.Datastream.UpdateStream", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1_generated_Datastream_DeleteStream_async", + "title": "Datastream deleteStream Sample", + "origin": "API_DEFINITION", + "description": " Use this method to delete a stream.", + "canonical": true, + "file": "datastream.delete_stream.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1_generated_Datastream_DeleteStream_async", - "title": "Datastream deleteStream Sample", - "origin": "API_DEFINITION", - "description": " Use this method to delete a stream.", - "canonical": true, - "file": "datastream.delete_stream.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 68, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteStream", - "fullName": "google.cloud.datastream.v1.Datastream.DeleteStream", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1.DatastreamClient" - }, - "method": { - "shortName": "DeleteStream", - "fullName": "google.cloud.datastream.v1.Datastream.DeleteStream", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } - } + "start": 25, + "end": 68, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteStream", + "fullName": "google.cloud.datastream.v1.Datastream.DeleteStream", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1.DatastreamClient" }, + "method": { + "shortName": "DeleteStream", + "fullName": "google.cloud.datastream.v1.Datastream.DeleteStream", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1_generated_Datastream_RunStream_async", + "title": "Datastream runStream Sample", + "origin": "API_DEFINITION", + "description": " Use this method to start, resume or recover a stream with a non default CDC strategy.", + "canonical": true, + "file": "datastream.run_stream.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1_generated_Datastream_RunStream_async", - "title": "Datastream runStream Sample", - "origin": "API_DEFINITION", - "description": " Use this method to start, resume or recover a stream with a non default CDC strategy.", - "canonical": true, - "file": "datastream.run_stream.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 64, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "RunStream", - "fullName": "google.cloud.datastream.v1.Datastream.RunStream", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "cdc_strategy", - "type": ".google.cloud.datastream.v1.CdcStrategy" - }, - { - "name": "force", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1.DatastreamClient" - }, - "method": { - "shortName": "RunStream", - "fullName": "google.cloud.datastream.v1.Datastream.RunStream", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } - } + "start": 25, + "end": 64, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "RunStream", + "fullName": "google.cloud.datastream.v1.Datastream.RunStream", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "cdc_strategy", + "type": ".google.cloud.datastream.v1.CdcStrategy" + }, + { + "name": "force", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1.DatastreamClient" }, + "method": { + "shortName": "RunStream", + "fullName": "google.cloud.datastream.v1.Datastream.RunStream", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1_generated_Datastream_GetStreamObject_async", + "title": "Datastream getStreamObject Sample", + "origin": "API_DEFINITION", + "description": " Use this method to get details about a stream object.", + "canonical": true, + "file": "datastream.get_stream_object.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1_generated_Datastream_GetStreamObject_async", - "title": "Datastream getStreamObject Sample", - "origin": "API_DEFINITION", - "description": " Use this method to get details about a stream object.", - "canonical": true, - "file": "datastream.get_stream_object.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 53, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetStreamObject", - "fullName": "google.cloud.datastream.v1.Datastream.GetStreamObject", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.datastream.v1.StreamObject", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1.DatastreamClient" - }, - "method": { - "shortName": "GetStreamObject", - "fullName": "google.cloud.datastream.v1.Datastream.GetStreamObject", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } - } + "start": 25, + "end": 53, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetStreamObject", + "fullName": "google.cloud.datastream.v1.Datastream.GetStreamObject", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.datastream.v1.StreamObject", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1.DatastreamClient" }, + "method": { + "shortName": "GetStreamObject", + "fullName": "google.cloud.datastream.v1.Datastream.GetStreamObject", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1_generated_Datastream_LookupStreamObject_async", + "title": "Datastream lookupStreamObject Sample", + "origin": "API_DEFINITION", + "description": " Use this method to look up a stream object by its source object identifier.", + "canonical": true, + "file": "datastream.lookup_stream_object.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1_generated_Datastream_LookupStreamObject_async", - "title": "Datastream lookupStreamObject Sample", - "origin": "API_DEFINITION", - "description": " Use this method to look up a stream object by its source object identifier.", - "canonical": true, - "file": "datastream.lookup_stream_object.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 58, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "LookupStreamObject", - "fullName": "google.cloud.datastream.v1.Datastream.LookupStreamObject", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "source_object_identifier", - "type": ".google.cloud.datastream.v1.SourceObjectIdentifier" - } - ], - "resultType": ".google.cloud.datastream.v1.StreamObject", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1.DatastreamClient" - }, - "method": { - "shortName": "LookupStreamObject", - "fullName": "google.cloud.datastream.v1.Datastream.LookupStreamObject", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } - } + "start": 25, + "end": 58, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "LookupStreamObject", + "fullName": "google.cloud.datastream.v1.Datastream.LookupStreamObject", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "source_object_identifier", + "type": ".google.cloud.datastream.v1.SourceObjectIdentifier" + } + ], + "resultType": ".google.cloud.datastream.v1.StreamObject", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1.DatastreamClient" }, + "method": { + "shortName": "LookupStreamObject", + "fullName": "google.cloud.datastream.v1.Datastream.LookupStreamObject", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1_generated_Datastream_ListStreamObjects_async", + "title": "Datastream listStreamObjects Sample", + "origin": "API_DEFINITION", + "description": " Use this method to list the objects of a specific stream.", + "canonical": true, + "file": "datastream.list_stream_objects.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1_generated_Datastream_ListStreamObjects_async", - "title": "Datastream listStreamObjects Sample", - "origin": "API_DEFINITION", - "description": " Use this method to list the objects of a specific stream.", - "canonical": true, - "file": "datastream.list_stream_objects.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 68, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListStreamObjects", - "fullName": "google.cloud.datastream.v1.Datastream.ListStreamObjects", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.datastream.v1.ListStreamObjectsResponse", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1.DatastreamClient" - }, - "method": { - "shortName": "ListStreamObjects", - "fullName": "google.cloud.datastream.v1.Datastream.ListStreamObjects", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } - } + "start": 25, + "end": 68, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListStreamObjects", + "fullName": "google.cloud.datastream.v1.Datastream.ListStreamObjects", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.datastream.v1.ListStreamObjectsResponse", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1.DatastreamClient" }, + "method": { + "shortName": "ListStreamObjects", + "fullName": "google.cloud.datastream.v1.Datastream.ListStreamObjects", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1_generated_Datastream_StartBackfillJob_async", + "title": "Datastream startBackfillJob Sample", + "origin": "API_DEFINITION", + "description": " Use this method to start a backfill job for the specified stream object.", + "canonical": true, + "file": "datastream.start_backfill_job.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1_generated_Datastream_StartBackfillJob_async", - "title": "Datastream startBackfillJob Sample", - "origin": "API_DEFINITION", - "description": " Use this method to start a backfill job for the specified stream object.", - "canonical": true, - "file": "datastream.start_backfill_job.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "StartBackfillJob", - "fullName": "google.cloud.datastream.v1.Datastream.StartBackfillJob", - "async": true, - "parameters": [ - { - "name": "object", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.datastream.v1.StartBackfillJobResponse", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1.DatastreamClient" - }, - "method": { - "shortName": "StartBackfillJob", - "fullName": "google.cloud.datastream.v1.Datastream.StartBackfillJob", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "StartBackfillJob", + "fullName": "google.cloud.datastream.v1.Datastream.StartBackfillJob", + "async": true, + "parameters": [ + { + "name": "object", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.datastream.v1.StartBackfillJobResponse", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1.DatastreamClient" }, + "method": { + "shortName": "StartBackfillJob", + "fullName": "google.cloud.datastream.v1.Datastream.StartBackfillJob", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1_generated_Datastream_StopBackfillJob_async", + "title": "Datastream stopBackfillJob Sample", + "origin": "API_DEFINITION", + "description": " Use this method to stop a backfill job for the specified stream object.", + "canonical": true, + "file": "datastream.stop_backfill_job.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1_generated_Datastream_StopBackfillJob_async", - "title": "Datastream stopBackfillJob Sample", - "origin": "API_DEFINITION", - "description": " Use this method to stop a backfill job for the specified stream object.", - "canonical": true, - "file": "datastream.stop_backfill_job.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "StopBackfillJob", - "fullName": "google.cloud.datastream.v1.Datastream.StopBackfillJob", - "async": true, - "parameters": [ - { - "name": "object", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.datastream.v1.StopBackfillJobResponse", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1.DatastreamClient" - }, - "method": { - "shortName": "StopBackfillJob", - "fullName": "google.cloud.datastream.v1.Datastream.StopBackfillJob", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "StopBackfillJob", + "fullName": "google.cloud.datastream.v1.Datastream.StopBackfillJob", + "async": true, + "parameters": [ + { + "name": "object", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.datastream.v1.StopBackfillJobResponse", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1.DatastreamClient" }, + "method": { + "shortName": "StopBackfillJob", + "fullName": "google.cloud.datastream.v1.Datastream.StopBackfillJob", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1_generated_Datastream_FetchStaticIps_async", + "title": "Datastream fetchStaticIps Sample", + "origin": "API_DEFINITION", + "description": " The FetchStaticIps API call exposes the static IP addresses used by Datastream.", + "canonical": true, + "file": "datastream.fetch_static_ips.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1_generated_Datastream_FetchStaticIps_async", - "title": "Datastream fetchStaticIps Sample", - "origin": "API_DEFINITION", - "description": " The FetchStaticIps API call exposes the static IP addresses used by Datastream.", - "canonical": true, - "file": "datastream.fetch_static_ips.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 65, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "FetchStaticIps", - "fullName": "google.cloud.datastream.v1.Datastream.FetchStaticIps", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.datastream.v1.FetchStaticIpsResponse", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1.DatastreamClient" - }, - "method": { - "shortName": "FetchStaticIps", - "fullName": "google.cloud.datastream.v1.Datastream.FetchStaticIps", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } - } + "start": 25, + "end": 65, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "FetchStaticIps", + "fullName": "google.cloud.datastream.v1.Datastream.FetchStaticIps", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.datastream.v1.FetchStaticIpsResponse", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1.DatastreamClient" }, + "method": { + "shortName": "FetchStaticIps", + "fullName": "google.cloud.datastream.v1.Datastream.FetchStaticIps", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1_generated_Datastream_CreatePrivateConnection_async", + "title": "Datastream createPrivateConnection Sample", + "origin": "API_DEFINITION", + "description": " Use this method to create a private connectivity configuration.", + "canonical": true, + "file": "datastream.create_private_connection.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1_generated_Datastream_CreatePrivateConnection_async", - "title": "Datastream createPrivateConnection Sample", - "origin": "API_DEFINITION", - "description": " Use this method to create a private connectivity configuration.", - "canonical": true, - "file": "datastream.create_private_connection.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 88, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreatePrivateConnection", - "fullName": "google.cloud.datastream.v1.Datastream.CreatePrivateConnection", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "private_connection_id", - "type": "TYPE_STRING" - }, - { - "name": "private_connection", - "type": ".google.cloud.datastream.v1.PrivateConnection" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - }, - { - "name": "force", - "type": "TYPE_BOOL" - }, - { - "name": "validate_only", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1.DatastreamClient" - }, - "method": { - "shortName": "CreatePrivateConnection", - "fullName": "google.cloud.datastream.v1.Datastream.CreatePrivateConnection", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } - } + "start": 25, + "end": 88, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreatePrivateConnection", + "fullName": "google.cloud.datastream.v1.Datastream.CreatePrivateConnection", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "private_connection_id", + "type": "TYPE_STRING" + }, + { + "name": "private_connection", + "type": ".google.cloud.datastream.v1.PrivateConnection" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + }, + { + "name": "force", + "type": "TYPE_BOOL" + }, + { + "name": "validate_only", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1.DatastreamClient" }, + "method": { + "shortName": "CreatePrivateConnection", + "fullName": "google.cloud.datastream.v1.Datastream.CreatePrivateConnection", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1_generated_Datastream_GetPrivateConnection_async", + "title": "Datastream getPrivateConnection Sample", + "origin": "API_DEFINITION", + "description": " Use this method to get details about a private connectivity configuration.", + "canonical": true, + "file": "datastream.get_private_connection.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1_generated_Datastream_GetPrivateConnection_async", - "title": "Datastream getPrivateConnection Sample", - "origin": "API_DEFINITION", - "description": " Use this method to get details about a private connectivity configuration.", - "canonical": true, - "file": "datastream.get_private_connection.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 53, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetPrivateConnection", - "fullName": "google.cloud.datastream.v1.Datastream.GetPrivateConnection", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.datastream.v1.PrivateConnection", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1.DatastreamClient" - }, - "method": { - "shortName": "GetPrivateConnection", - "fullName": "google.cloud.datastream.v1.Datastream.GetPrivateConnection", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } - } + "start": 25, + "end": 53, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetPrivateConnection", + "fullName": "google.cloud.datastream.v1.Datastream.GetPrivateConnection", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.datastream.v1.PrivateConnection", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1.DatastreamClient" }, + "method": { + "shortName": "GetPrivateConnection", + "fullName": "google.cloud.datastream.v1.Datastream.GetPrivateConnection", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1_generated_Datastream_ListPrivateConnections_async", + "title": "Datastream listPrivateConnections Sample", + "origin": "API_DEFINITION", + "description": " Use this method to list private connectivity configurations in a project and location.", + "canonical": true, + "file": "datastream.list_private_connections.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1_generated_Datastream_ListPrivateConnections_async", - "title": "Datastream listPrivateConnections Sample", - "origin": "API_DEFINITION", - "description": " Use this method to list private connectivity configurations in a project and location.", - "canonical": true, - "file": "datastream.list_private_connections.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 79, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListPrivateConnections", - "fullName": "google.cloud.datastream.v1.Datastream.ListPrivateConnections", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.datastream.v1.ListPrivateConnectionsResponse", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1.DatastreamClient" - }, - "method": { - "shortName": "ListPrivateConnections", - "fullName": "google.cloud.datastream.v1.Datastream.ListPrivateConnections", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } - } + "start": 25, + "end": 79, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListPrivateConnections", + "fullName": "google.cloud.datastream.v1.Datastream.ListPrivateConnections", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.datastream.v1.ListPrivateConnectionsResponse", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1.DatastreamClient" }, + "method": { + "shortName": "ListPrivateConnections", + "fullName": "google.cloud.datastream.v1.Datastream.ListPrivateConnections", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1_generated_Datastream_DeletePrivateConnection_async", + "title": "Datastream deletePrivateConnection Sample", + "origin": "API_DEFINITION", + "description": " Use this method to delete a private connectivity configuration.", + "canonical": true, + "file": "datastream.delete_private_connection.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1_generated_Datastream_DeletePrivateConnection_async", - "title": "Datastream deletePrivateConnection Sample", - "origin": "API_DEFINITION", - "description": " Use this method to delete a private connectivity configuration.", - "canonical": true, - "file": "datastream.delete_private_connection.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 73, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeletePrivateConnection", - "fullName": "google.cloud.datastream.v1.Datastream.DeletePrivateConnection", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - }, - { - "name": "force", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1.DatastreamClient" - }, - "method": { - "shortName": "DeletePrivateConnection", - "fullName": "google.cloud.datastream.v1.Datastream.DeletePrivateConnection", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } - } + "start": 25, + "end": 73, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeletePrivateConnection", + "fullName": "google.cloud.datastream.v1.Datastream.DeletePrivateConnection", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + }, + { + "name": "force", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1.DatastreamClient" }, + "method": { + "shortName": "DeletePrivateConnection", + "fullName": "google.cloud.datastream.v1.Datastream.DeletePrivateConnection", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1_generated_Datastream_CreateRoute_async", + "title": "Datastream createRoute Sample", + "origin": "API_DEFINITION", + "description": " Use this method to create a route for a private connectivity configuration in a project and location.", + "canonical": true, + "file": "datastream.create_route.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1_generated_Datastream_CreateRoute_async", - "title": "Datastream createRoute Sample", - "origin": "API_DEFINITION", - "description": " Use this method to create a route for a private connectivity configuration in a project and location.", - "canonical": true, - "file": "datastream.create_route.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 78, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateRoute", - "fullName": "google.cloud.datastream.v1.Datastream.CreateRoute", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "route_id", - "type": "TYPE_STRING" - }, - { - "name": "route", - "type": ".google.cloud.datastream.v1.Route" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1.DatastreamClient" - }, - "method": { - "shortName": "CreateRoute", - "fullName": "google.cloud.datastream.v1.Datastream.CreateRoute", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } - } + "start": 25, + "end": 78, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateRoute", + "fullName": "google.cloud.datastream.v1.Datastream.CreateRoute", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "route_id", + "type": "TYPE_STRING" + }, + { + "name": "route", + "type": ".google.cloud.datastream.v1.Route" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1.DatastreamClient" }, + "method": { + "shortName": "CreateRoute", + "fullName": "google.cloud.datastream.v1.Datastream.CreateRoute", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1_generated_Datastream_GetRoute_async", + "title": "Datastream getRoute Sample", + "origin": "API_DEFINITION", + "description": " Use this method to get details about a route.", + "canonical": true, + "file": "datastream.get_route.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1_generated_Datastream_GetRoute_async", - "title": "Datastream getRoute Sample", - "origin": "API_DEFINITION", - "description": " Use this method to get details about a route.", - "canonical": true, - "file": "datastream.get_route.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 53, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetRoute", - "fullName": "google.cloud.datastream.v1.Datastream.GetRoute", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.datastream.v1.Route", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1.DatastreamClient" - }, - "method": { - "shortName": "GetRoute", - "fullName": "google.cloud.datastream.v1.Datastream.GetRoute", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } - } + "start": 25, + "end": 53, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetRoute", + "fullName": "google.cloud.datastream.v1.Datastream.GetRoute", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.datastream.v1.Route", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1.DatastreamClient" }, + "method": { + "shortName": "GetRoute", + "fullName": "google.cloud.datastream.v1.Datastream.GetRoute", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1_generated_Datastream_ListRoutes_async", + "title": "Datastream listRoutes Sample", + "origin": "API_DEFINITION", + "description": " Use this method to list routes created for a private connectivity configuration in a project and location.", + "canonical": true, + "file": "datastream.list_routes.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1_generated_Datastream_ListRoutes_async", - "title": "Datastream listRoutes Sample", - "origin": "API_DEFINITION", - "description": " Use this method to list routes created for a private connectivity configuration in a project and location.", - "canonical": true, - "file": "datastream.list_routes.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 78, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListRoutes", - "fullName": "google.cloud.datastream.v1.Datastream.ListRoutes", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.datastream.v1.ListRoutesResponse", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1.DatastreamClient" - }, - "method": { - "shortName": "ListRoutes", - "fullName": "google.cloud.datastream.v1.Datastream.ListRoutes", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } - } + "start": 25, + "end": 78, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListRoutes", + "fullName": "google.cloud.datastream.v1.Datastream.ListRoutes", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.datastream.v1.ListRoutesResponse", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1.DatastreamClient" }, + "method": { + "shortName": "ListRoutes", + "fullName": "google.cloud.datastream.v1.Datastream.ListRoutes", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1_generated_Datastream_DeleteRoute_async", + "title": "Datastream deleteRoute Sample", + "origin": "API_DEFINITION", + "description": " Use this method to delete a route.", + "canonical": true, + "file": "datastream.delete_route.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1_generated_Datastream_DeleteRoute_async", - "title": "Datastream deleteRoute Sample", - "origin": "API_DEFINITION", - "description": " Use this method to delete a route.", - "canonical": true, - "file": "datastream.delete_route.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 68, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteRoute", - "fullName": "google.cloud.datastream.v1.Datastream.DeleteRoute", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1.DatastreamClient" - }, - "method": { - "shortName": "DeleteRoute", - "fullName": "google.cloud.datastream.v1.Datastream.DeleteRoute", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1.Datastream" - } - } - } + "start": 25, + "end": 68, + "type": "FULL" } - ] -} \ No newline at end of file + ], + "clientMethod": { + "shortName": "DeleteRoute", + "fullName": "google.cloud.datastream.v1.Datastream.DeleteRoute", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1.DatastreamClient" + }, + "method": { + "shortName": "DeleteRoute", + "fullName": "google.cloud.datastream.v1.Datastream.DeleteRoute", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1.Datastream" + } + } + } + } + ] +} diff --git a/packages/google-cloud-datastream/samples/generated/v1alpha1/snippet_metadata_google.cloud.datastream.v1alpha1.json b/packages/google-cloud-datastream/samples/generated/v1alpha1/snippet_metadata_google.cloud.datastream.v1alpha1.json index aa481ea8e5ed..60024d25853a 100644 --- a/packages/google-cloud-datastream/samples/generated/v1alpha1/snippet_metadata_google.cloud.datastream.v1alpha1.json +++ b/packages/google-cloud-datastream/samples/generated/v1alpha1/snippet_metadata_google.cloud.datastream.v1alpha1.json @@ -1,1051 +1,1051 @@ { - "clientLibrary": { - "name": "nodejs-datastream", - "version": "4.3.0", - "language": "TYPESCRIPT", - "apis": [ - { - "id": "google.cloud.datastream.v1alpha1", - "version": "v1alpha1" - } - ] - }, - "snippets": [ + "clientLibrary": { + "name": "nodejs-datastream", + "version": "0.1.0", + "language": "TYPESCRIPT", + "apis": [ + { + "id": "google.cloud.datastream.v1alpha1", + "version": "v1alpha1" + } + ] + }, + "snippets": [ + { + "regionTag": "datastream_v1alpha1_generated_Datastream_ListConnectionProfiles_async", + "title": "Datastream listConnectionProfiles Sample", + "origin": "API_DEFINITION", + "description": " Use this method to list connection profiles created in a project and location.", + "canonical": true, + "file": "datastream.list_connection_profiles.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1alpha1_generated_Datastream_ListConnectionProfiles_async", - "title": "Datastream listConnectionProfiles Sample", - "origin": "API_DEFINITION", - "description": " Use this method to list connection profiles created in a project and location.", - "canonical": true, - "file": "datastream.list_connection_profiles.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 76, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListConnectionProfiles", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.ListConnectionProfiles", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1alpha1.DatastreamClient" - }, - "method": { - "shortName": "ListConnectionProfiles", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.ListConnectionProfiles", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream" - } - } - } + "start": 25, + "end": 76, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListConnectionProfiles", + "fullName": "google.cloud.datastream.v1alpha1.Datastream.ListConnectionProfiles", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.datastream.v1alpha1.ListConnectionProfilesResponse", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1alpha1.DatastreamClient" }, + "method": { + "shortName": "ListConnectionProfiles", + "fullName": "google.cloud.datastream.v1alpha1.Datastream.ListConnectionProfiles", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1alpha1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1alpha1_generated_Datastream_GetConnectionProfile_async", + "title": "Datastream getConnectionProfile Sample", + "origin": "API_DEFINITION", + "description": " Use this method to get details about a connection profile.", + "canonical": true, + "file": "datastream.get_connection_profile.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1alpha1_generated_Datastream_GetConnectionProfile_async", - "title": "Datastream getConnectionProfile Sample", - "origin": "API_DEFINITION", - "description": " Use this method to get details about a connection profile.", - "canonical": true, - "file": "datastream.get_connection_profile.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 53, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetConnectionProfile", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.GetConnectionProfile", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.datastream.v1alpha1.ConnectionProfile", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1alpha1.DatastreamClient" - }, - "method": { - "shortName": "GetConnectionProfile", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.GetConnectionProfile", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream" - } - } - } + "start": 25, + "end": 53, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetConnectionProfile", + "fullName": "google.cloud.datastream.v1alpha1.Datastream.GetConnectionProfile", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.datastream.v1alpha1.ConnectionProfile", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1alpha1.DatastreamClient" }, + "method": { + "shortName": "GetConnectionProfile", + "fullName": "google.cloud.datastream.v1alpha1.Datastream.GetConnectionProfile", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1alpha1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1alpha1_generated_Datastream_CreateConnectionProfile_async", + "title": "Datastream createConnectionProfile Sample", + "origin": "API_DEFINITION", + "description": " Use this method to create a connection profile in a project and location.", + "canonical": true, + "file": "datastream.create_connection_profile.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1alpha1_generated_Datastream_CreateConnectionProfile_async", - "title": "Datastream createConnectionProfile Sample", - "origin": "API_DEFINITION", - "description": " Use this method to create a connection profile in a project and location.", - "canonical": true, - "file": "datastream.create_connection_profile.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 78, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateConnectionProfile", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.CreateConnectionProfile", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "connection_profile_id", - "type": "TYPE_STRING" - }, - { - "name": "connection_profile", - "type": ".google.cloud.datastream.v1alpha1.ConnectionProfile" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1alpha1.DatastreamClient" - }, - "method": { - "shortName": "CreateConnectionProfile", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.CreateConnectionProfile", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream" - } - } - } + "start": 25, + "end": 78, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateConnectionProfile", + "fullName": "google.cloud.datastream.v1alpha1.Datastream.CreateConnectionProfile", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "connection_profile_id", + "type": "TYPE_STRING" + }, + { + "name": "connection_profile", + "type": ".google.cloud.datastream.v1alpha1.ConnectionProfile" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1alpha1.DatastreamClient" }, + "method": { + "shortName": "CreateConnectionProfile", + "fullName": "google.cloud.datastream.v1alpha1.Datastream.CreateConnectionProfile", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1alpha1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1alpha1_generated_Datastream_UpdateConnectionProfile_async", + "title": "Datastream updateConnectionProfile Sample", + "origin": "API_DEFINITION", + "description": " Use this method to update the parameters of a connection profile.", + "canonical": true, + "file": "datastream.update_connection_profile.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1alpha1_generated_Datastream_UpdateConnectionProfile_async", - "title": "Datastream updateConnectionProfile Sample", - "origin": "API_DEFINITION", - "description": " Use this method to update the parameters of a connection profile.", - "canonical": true, - "file": "datastream.update_connection_profile.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 76, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateConnectionProfile", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.UpdateConnectionProfile", - "async": true, - "parameters": [ - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - }, - { - "name": "connection_profile", - "type": ".google.cloud.datastream.v1alpha1.ConnectionProfile" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1alpha1.DatastreamClient" - }, - "method": { - "shortName": "UpdateConnectionProfile", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.UpdateConnectionProfile", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream" - } - } - } + "start": 25, + "end": 76, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateConnectionProfile", + "fullName": "google.cloud.datastream.v1alpha1.Datastream.UpdateConnectionProfile", + "async": true, + "parameters": [ + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + }, + { + "name": "connection_profile", + "type": ".google.cloud.datastream.v1alpha1.ConnectionProfile" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1alpha1.DatastreamClient" }, + "method": { + "shortName": "UpdateConnectionProfile", + "fullName": "google.cloud.datastream.v1alpha1.Datastream.UpdateConnectionProfile", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1alpha1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1alpha1_generated_Datastream_DeleteConnectionProfile_async", + "title": "Datastream deleteConnectionProfile Sample", + "origin": "API_DEFINITION", + "description": " Use this method to delete a connection profile..", + "canonical": true, + "file": "datastream.delete_connection_profile.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1alpha1_generated_Datastream_DeleteConnectionProfile_async", - "title": "Datastream deleteConnectionProfile Sample", - "origin": "API_DEFINITION", - "description": " Use this method to delete a connection profile..", - "canonical": true, - "file": "datastream.delete_connection_profile.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 68, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteConnectionProfile", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.DeleteConnectionProfile", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1alpha1.DatastreamClient" - }, - "method": { - "shortName": "DeleteConnectionProfile", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.DeleteConnectionProfile", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream" - } - } - } + "start": 25, + "end": 68, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteConnectionProfile", + "fullName": "google.cloud.datastream.v1alpha1.Datastream.DeleteConnectionProfile", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1alpha1.DatastreamClient" }, + "method": { + "shortName": "DeleteConnectionProfile", + "fullName": "google.cloud.datastream.v1alpha1.Datastream.DeleteConnectionProfile", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1alpha1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1alpha1_generated_Datastream_DiscoverConnectionProfile_async", + "title": "Datastream discoverConnectionProfile Sample", + "origin": "API_DEFINITION", + "description": " Use this method to discover a connection profile. The discover API call exposes the data objects and metadata belonging to the profile. Typically, a request returns children data objects under a parent data object that's optionally supplied in the request.", + "canonical": true, + "file": "datastream.discover_connection_profile.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1alpha1_generated_Datastream_DiscoverConnectionProfile_async", - "title": "Datastream discoverConnectionProfile Sample", - "origin": "API_DEFINITION", - "description": " Use this method to discover a connection profile. The discover API call exposes the data objects and metadata belonging to the profile. Typically, a request returns children data objects under a parent data object that's optionally supplied in the request.", - "canonical": true, - "file": "datastream.discover_connection_profile.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 79, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DiscoverConnectionProfile", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.DiscoverConnectionProfile", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "connection_profile", - "type": ".google.cloud.datastream.v1alpha1.ConnectionProfile" - }, - { - "name": "connection_profile_name", - "type": "TYPE_STRING" - }, - { - "name": "recursive", - "type": "TYPE_BOOL" - }, - { - "name": "recursion_depth", - "type": "TYPE_INT32" - }, - { - "name": "oracle_rdbms", - "type": ".google.cloud.datastream.v1alpha1.OracleRdbms" - }, - { - "name": "mysql_rdbms", - "type": ".google.cloud.datastream.v1alpha1.MysqlRdbms" - } - ], - "resultType": ".google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1alpha1.DatastreamClient" - }, - "method": { - "shortName": "DiscoverConnectionProfile", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.DiscoverConnectionProfile", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream" - } - } - } + "start": 25, + "end": 79, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DiscoverConnectionProfile", + "fullName": "google.cloud.datastream.v1alpha1.Datastream.DiscoverConnectionProfile", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "connection_profile", + "type": ".google.cloud.datastream.v1alpha1.ConnectionProfile" + }, + { + "name": "connection_profile_name", + "type": "TYPE_STRING" + }, + { + "name": "recursive", + "type": "TYPE_BOOL" + }, + { + "name": "recursion_depth", + "type": "TYPE_INT32" + }, + { + "name": "oracle_rdbms", + "type": ".google.cloud.datastream.v1alpha1.OracleRdbms" + }, + { + "name": "mysql_rdbms", + "type": ".google.cloud.datastream.v1alpha1.MysqlRdbms" + } + ], + "resultType": ".google.cloud.datastream.v1alpha1.DiscoverConnectionProfileResponse", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1alpha1.DatastreamClient" }, + "method": { + "shortName": "DiscoverConnectionProfile", + "fullName": "google.cloud.datastream.v1alpha1.Datastream.DiscoverConnectionProfile", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1alpha1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1alpha1_generated_Datastream_ListStreams_async", + "title": "Datastream listStreams Sample", + "origin": "API_DEFINITION", + "description": " Use this method to list streams in a project and location.", + "canonical": true, + "file": "datastream.list_streams.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1alpha1_generated_Datastream_ListStreams_async", - "title": "Datastream listStreams Sample", - "origin": "API_DEFINITION", - "description": " Use this method to list streams in a project and location.", - "canonical": true, - "file": "datastream.list_streams.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 76, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListStreams", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.ListStreams", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.datastream.v1alpha1.ListStreamsResponse", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1alpha1.DatastreamClient" - }, - "method": { - "shortName": "ListStreams", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.ListStreams", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream" - } - } - } + "start": 25, + "end": 76, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListStreams", + "fullName": "google.cloud.datastream.v1alpha1.Datastream.ListStreams", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.datastream.v1alpha1.ListStreamsResponse", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1alpha1.DatastreamClient" }, + "method": { + "shortName": "ListStreams", + "fullName": "google.cloud.datastream.v1alpha1.Datastream.ListStreams", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1alpha1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1alpha1_generated_Datastream_GetStream_async", + "title": "Datastream getStream Sample", + "origin": "API_DEFINITION", + "description": " Use this method to get details about a stream.", + "canonical": true, + "file": "datastream.get_stream.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1alpha1_generated_Datastream_GetStream_async", - "title": "Datastream getStream Sample", - "origin": "API_DEFINITION", - "description": " Use this method to get details about a stream.", - "canonical": true, - "file": "datastream.get_stream.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 53, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetStream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.GetStream", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.datastream.v1alpha1.Stream", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1alpha1.DatastreamClient" - }, - "method": { - "shortName": "GetStream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.GetStream", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream" - } - } - } + "start": 25, + "end": 53, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetStream", + "fullName": "google.cloud.datastream.v1alpha1.Datastream.GetStream", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.datastream.v1alpha1.Stream", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1alpha1.DatastreamClient" }, + "method": { + "shortName": "GetStream", + "fullName": "google.cloud.datastream.v1alpha1.Datastream.GetStream", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1alpha1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1alpha1_generated_Datastream_CreateStream_async", + "title": "Datastream createStream Sample", + "origin": "API_DEFINITION", + "description": " Use this method to create a stream.", + "canonical": true, + "file": "datastream.create_stream.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1alpha1_generated_Datastream_CreateStream_async", - "title": "Datastream createStream Sample", - "origin": "API_DEFINITION", - "description": " Use this method to create a stream.", - "canonical": true, - "file": "datastream.create_stream.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 87, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateStream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.CreateStream", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "stream_id", - "type": "TYPE_STRING" - }, - { - "name": "stream", - "type": ".google.cloud.datastream.v1alpha1.Stream" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - }, - { - "name": "validate_only", - "type": "TYPE_BOOL" - }, - { - "name": "force", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1alpha1.DatastreamClient" - }, - "method": { - "shortName": "CreateStream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.CreateStream", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream" - } - } - } + "start": 25, + "end": 87, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateStream", + "fullName": "google.cloud.datastream.v1alpha1.Datastream.CreateStream", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "stream_id", + "type": "TYPE_STRING" + }, + { + "name": "stream", + "type": ".google.cloud.datastream.v1alpha1.Stream" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + }, + { + "name": "validate_only", + "type": "TYPE_BOOL" + }, + { + "name": "force", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1alpha1.DatastreamClient" }, + "method": { + "shortName": "CreateStream", + "fullName": "google.cloud.datastream.v1alpha1.Datastream.CreateStream", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1alpha1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1alpha1_generated_Datastream_UpdateStream_async", + "title": "Datastream updateStream Sample", + "origin": "API_DEFINITION", + "description": " Use this method to update the configuration of a stream.", + "canonical": true, + "file": "datastream.update_stream.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1alpha1_generated_Datastream_UpdateStream_async", - "title": "Datastream updateStream Sample", - "origin": "API_DEFINITION", - "description": " Use this method to update the configuration of a stream.", - "canonical": true, - "file": "datastream.update_stream.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 85, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateStream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.UpdateStream", - "async": true, - "parameters": [ - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - }, - { - "name": "stream", - "type": ".google.cloud.datastream.v1alpha1.Stream" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - }, - { - "name": "validate_only", - "type": "TYPE_BOOL" - }, - { - "name": "force", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1alpha1.DatastreamClient" - }, - "method": { - "shortName": "UpdateStream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.UpdateStream", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream" - } - } - } + "start": 25, + "end": 85, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateStream", + "fullName": "google.cloud.datastream.v1alpha1.Datastream.UpdateStream", + "async": true, + "parameters": [ + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + }, + { + "name": "stream", + "type": ".google.cloud.datastream.v1alpha1.Stream" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + }, + { + "name": "validate_only", + "type": "TYPE_BOOL" + }, + { + "name": "force", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1alpha1.DatastreamClient" }, + "method": { + "shortName": "UpdateStream", + "fullName": "google.cloud.datastream.v1alpha1.Datastream.UpdateStream", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1alpha1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1alpha1_generated_Datastream_DeleteStream_async", + "title": "Datastream deleteStream Sample", + "origin": "API_DEFINITION", + "description": " Use this method to delete a stream.", + "canonical": true, + "file": "datastream.delete_stream.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1alpha1_generated_Datastream_DeleteStream_async", - "title": "Datastream deleteStream Sample", - "origin": "API_DEFINITION", - "description": " Use this method to delete a stream.", - "canonical": true, - "file": "datastream.delete_stream.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 68, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteStream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.DeleteStream", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1alpha1.DatastreamClient" - }, - "method": { - "shortName": "DeleteStream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.DeleteStream", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream" - } - } - } + "start": 25, + "end": 68, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteStream", + "fullName": "google.cloud.datastream.v1alpha1.Datastream.DeleteStream", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1alpha1.DatastreamClient" }, + "method": { + "shortName": "DeleteStream", + "fullName": "google.cloud.datastream.v1alpha1.Datastream.DeleteStream", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1alpha1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1alpha1_generated_Datastream_FetchErrors_async", + "title": "Datastream fetchErrors Sample", + "origin": "API_DEFINITION", + "description": " Use this method to fetch any errors associated with a stream.", + "canonical": true, + "file": "datastream.fetch_errors.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1alpha1_generated_Datastream_FetchErrors_async", - "title": "Datastream fetchErrors Sample", - "origin": "API_DEFINITION", - "description": " Use this method to fetch any errors associated with a stream.", - "canonical": true, - "file": "datastream.fetch_errors.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 53, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "FetchErrors", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.FetchErrors", - "async": true, - "parameters": [ - { - "name": "stream", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1alpha1.DatastreamClient" - }, - "method": { - "shortName": "FetchErrors", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.FetchErrors", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream" - } - } - } + "start": 25, + "end": 53, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "FetchErrors", + "fullName": "google.cloud.datastream.v1alpha1.Datastream.FetchErrors", + "async": true, + "parameters": [ + { + "name": "stream", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1alpha1.DatastreamClient" }, + "method": { + "shortName": "FetchErrors", + "fullName": "google.cloud.datastream.v1alpha1.Datastream.FetchErrors", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1alpha1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1alpha1_generated_Datastream_FetchStaticIps_async", + "title": "Datastream fetchStaticIps Sample", + "origin": "API_DEFINITION", + "description": " The FetchStaticIps API call exposes the static ips used by Datastream. Typically, a request returns children data objects under a parent data object that's optionally supplied in the request.", + "canonical": true, + "file": "datastream.fetch_static_ips.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1alpha1_generated_Datastream_FetchStaticIps_async", - "title": "Datastream fetchStaticIps Sample", - "origin": "API_DEFINITION", - "description": " The FetchStaticIps API call exposes the static ips used by Datastream. Typically, a request returns children data objects under a parent data object that's optionally supplied in the request.", - "canonical": true, - "file": "datastream.fetch_static_ips.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 65, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "FetchStaticIps", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.FetchStaticIps", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.datastream.v1alpha1.FetchStaticIpsResponse", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1alpha1.DatastreamClient" - }, - "method": { - "shortName": "FetchStaticIps", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.FetchStaticIps", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream" - } - } - } + "start": 25, + "end": 65, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "FetchStaticIps", + "fullName": "google.cloud.datastream.v1alpha1.Datastream.FetchStaticIps", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.datastream.v1alpha1.FetchStaticIpsResponse", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1alpha1.DatastreamClient" }, + "method": { + "shortName": "FetchStaticIps", + "fullName": "google.cloud.datastream.v1alpha1.Datastream.FetchStaticIps", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1alpha1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1alpha1_generated_Datastream_CreatePrivateConnection_async", + "title": "Datastream createPrivateConnection Sample", + "origin": "API_DEFINITION", + "description": " Use this method to create a private connectivity configuration.", + "canonical": true, + "file": "datastream.create_private_connection.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1alpha1_generated_Datastream_CreatePrivateConnection_async", - "title": "Datastream createPrivateConnection Sample", - "origin": "API_DEFINITION", - "description": " Use this method to create a private connectivity configuration.", - "canonical": true, - "file": "datastream.create_private_connection.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 78, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreatePrivateConnection", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.CreatePrivateConnection", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "private_connection_id", - "type": "TYPE_STRING" - }, - { - "name": "private_connection", - "type": ".google.cloud.datastream.v1alpha1.PrivateConnection" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1alpha1.DatastreamClient" - }, - "method": { - "shortName": "CreatePrivateConnection", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.CreatePrivateConnection", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream" - } - } - } + "start": 25, + "end": 78, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreatePrivateConnection", + "fullName": "google.cloud.datastream.v1alpha1.Datastream.CreatePrivateConnection", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "private_connection_id", + "type": "TYPE_STRING" + }, + { + "name": "private_connection", + "type": ".google.cloud.datastream.v1alpha1.PrivateConnection" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1alpha1.DatastreamClient" }, + "method": { + "shortName": "CreatePrivateConnection", + "fullName": "google.cloud.datastream.v1alpha1.Datastream.CreatePrivateConnection", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1alpha1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1alpha1_generated_Datastream_GetPrivateConnection_async", + "title": "Datastream getPrivateConnection Sample", + "origin": "API_DEFINITION", + "description": " Use this method to get details about a private connectivity configuration.", + "canonical": true, + "file": "datastream.get_private_connection.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1alpha1_generated_Datastream_GetPrivateConnection_async", - "title": "Datastream getPrivateConnection Sample", - "origin": "API_DEFINITION", - "description": " Use this method to get details about a private connectivity configuration.", - "canonical": true, - "file": "datastream.get_private_connection.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 53, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetPrivateConnection", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.GetPrivateConnection", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.datastream.v1alpha1.PrivateConnection", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1alpha1.DatastreamClient" - }, - "method": { - "shortName": "GetPrivateConnection", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.GetPrivateConnection", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream" - } - } - } + "start": 25, + "end": 53, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetPrivateConnection", + "fullName": "google.cloud.datastream.v1alpha1.Datastream.GetPrivateConnection", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.datastream.v1alpha1.PrivateConnection", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1alpha1.DatastreamClient" }, + "method": { + "shortName": "GetPrivateConnection", + "fullName": "google.cloud.datastream.v1alpha1.Datastream.GetPrivateConnection", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1alpha1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1alpha1_generated_Datastream_ListPrivateConnections_async", + "title": "Datastream listPrivateConnections Sample", + "origin": "API_DEFINITION", + "description": " Use this method to list private connectivity configurations in a project and location.", + "canonical": true, + "file": "datastream.list_private_connections.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1alpha1_generated_Datastream_ListPrivateConnections_async", - "title": "Datastream listPrivateConnections Sample", - "origin": "API_DEFINITION", - "description": " Use this method to list private connectivity configurations in a project and location.", - "canonical": true, - "file": "datastream.list_private_connections.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 78, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListPrivateConnections", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.ListPrivateConnections", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1alpha1.DatastreamClient" - }, - "method": { - "shortName": "ListPrivateConnections", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.ListPrivateConnections", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream" - } - } - } + "start": 25, + "end": 78, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListPrivateConnections", + "fullName": "google.cloud.datastream.v1alpha1.Datastream.ListPrivateConnections", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.datastream.v1alpha1.ListPrivateConnectionsResponse", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1alpha1.DatastreamClient" }, + "method": { + "shortName": "ListPrivateConnections", + "fullName": "google.cloud.datastream.v1alpha1.Datastream.ListPrivateConnections", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1alpha1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1alpha1_generated_Datastream_DeletePrivateConnection_async", + "title": "Datastream deletePrivateConnection Sample", + "origin": "API_DEFINITION", + "description": " Use this method to delete a private connectivity configuration.", + "canonical": true, + "file": "datastream.delete_private_connection.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1alpha1_generated_Datastream_DeletePrivateConnection_async", - "title": "Datastream deletePrivateConnection Sample", - "origin": "API_DEFINITION", - "description": " Use this method to delete a private connectivity configuration.", - "canonical": true, - "file": "datastream.delete_private_connection.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 73, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeletePrivateConnection", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.DeletePrivateConnection", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - }, - { - "name": "force", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1alpha1.DatastreamClient" - }, - "method": { - "shortName": "DeletePrivateConnection", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.DeletePrivateConnection", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream" - } - } - } + "start": 25, + "end": 73, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeletePrivateConnection", + "fullName": "google.cloud.datastream.v1alpha1.Datastream.DeletePrivateConnection", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + }, + { + "name": "force", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1alpha1.DatastreamClient" }, + "method": { + "shortName": "DeletePrivateConnection", + "fullName": "google.cloud.datastream.v1alpha1.Datastream.DeletePrivateConnection", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1alpha1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1alpha1_generated_Datastream_CreateRoute_async", + "title": "Datastream createRoute Sample", + "origin": "API_DEFINITION", + "description": " Use this method to create a route for a private connectivity in a project and location.", + "canonical": true, + "file": "datastream.create_route.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1alpha1_generated_Datastream_CreateRoute_async", - "title": "Datastream createRoute Sample", - "origin": "API_DEFINITION", - "description": " Use this method to create a route for a private connectivity in a project and location.", - "canonical": true, - "file": "datastream.create_route.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 78, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateRoute", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.CreateRoute", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "route_id", - "type": "TYPE_STRING" - }, - { - "name": "route", - "type": ".google.cloud.datastream.v1alpha1.Route" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1alpha1.DatastreamClient" - }, - "method": { - "shortName": "CreateRoute", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.CreateRoute", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream" - } - } - } + "start": 25, + "end": 78, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateRoute", + "fullName": "google.cloud.datastream.v1alpha1.Datastream.CreateRoute", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "route_id", + "type": "TYPE_STRING" + }, + { + "name": "route", + "type": ".google.cloud.datastream.v1alpha1.Route" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1alpha1.DatastreamClient" }, + "method": { + "shortName": "CreateRoute", + "fullName": "google.cloud.datastream.v1alpha1.Datastream.CreateRoute", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1alpha1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1alpha1_generated_Datastream_GetRoute_async", + "title": "Datastream getRoute Sample", + "origin": "API_DEFINITION", + "description": " Use this method to get details about a route.", + "canonical": true, + "file": "datastream.get_route.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1alpha1_generated_Datastream_GetRoute_async", - "title": "Datastream getRoute Sample", - "origin": "API_DEFINITION", - "description": " Use this method to get details about a route.", - "canonical": true, - "file": "datastream.get_route.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 53, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetRoute", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.GetRoute", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.datastream.v1alpha1.Route", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1alpha1.DatastreamClient" - }, - "method": { - "shortName": "GetRoute", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.GetRoute", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream" - } - } - } + "start": 25, + "end": 53, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetRoute", + "fullName": "google.cloud.datastream.v1alpha1.Datastream.GetRoute", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.datastream.v1alpha1.Route", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1alpha1.DatastreamClient" }, + "method": { + "shortName": "GetRoute", + "fullName": "google.cloud.datastream.v1alpha1.Datastream.GetRoute", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1alpha1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1alpha1_generated_Datastream_ListRoutes_async", + "title": "Datastream listRoutes Sample", + "origin": "API_DEFINITION", + "description": " Use this method to list routes created for a private connectivity in a project and location.", + "canonical": true, + "file": "datastream.list_routes.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1alpha1_generated_Datastream_ListRoutes_async", - "title": "Datastream listRoutes Sample", - "origin": "API_DEFINITION", - "description": " Use this method to list routes created for a private connectivity in a project and location.", - "canonical": true, - "file": "datastream.list_routes.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 78, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListRoutes", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.ListRoutes", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.datastream.v1alpha1.ListRoutesResponse", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1alpha1.DatastreamClient" - }, - "method": { - "shortName": "ListRoutes", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.ListRoutes", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream" - } - } - } + "start": 25, + "end": 78, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListRoutes", + "fullName": "google.cloud.datastream.v1alpha1.Datastream.ListRoutes", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.datastream.v1alpha1.ListRoutesResponse", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1alpha1.DatastreamClient" }, + "method": { + "shortName": "ListRoutes", + "fullName": "google.cloud.datastream.v1alpha1.Datastream.ListRoutes", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1alpha1.Datastream" + } + } + } + }, + { + "regionTag": "datastream_v1alpha1_generated_Datastream_DeleteRoute_async", + "title": "Datastream deleteRoute Sample", + "origin": "API_DEFINITION", + "description": " Use this method to delete a route.", + "canonical": true, + "file": "datastream.delete_route.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "datastream_v1alpha1_generated_Datastream_DeleteRoute_async", - "title": "Datastream deleteRoute Sample", - "origin": "API_DEFINITION", - "description": " Use this method to delete a route.", - "canonical": true, - "file": "datastream.delete_route.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 68, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteRoute", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.DeleteRoute", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DatastreamClient", - "fullName": "google.cloud.datastream.v1alpha1.DatastreamClient" - }, - "method": { - "shortName": "DeleteRoute", - "fullName": "google.cloud.datastream.v1alpha1.Datastream.DeleteRoute", - "service": { - "shortName": "Datastream", - "fullName": "google.cloud.datastream.v1alpha1.Datastream" - } - } - } + "start": 25, + "end": 68, + "type": "FULL" } - ] -} \ No newline at end of file + ], + "clientMethod": { + "shortName": "DeleteRoute", + "fullName": "google.cloud.datastream.v1alpha1.Datastream.DeleteRoute", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DatastreamClient", + "fullName": "google.cloud.datastream.v1alpha1.DatastreamClient" + }, + "method": { + "shortName": "DeleteRoute", + "fullName": "google.cloud.datastream.v1alpha1.Datastream.DeleteRoute", + "service": { + "shortName": "Datastream", + "fullName": "google.cloud.datastream.v1alpha1.Datastream" + } + } + } + } + ] +} diff --git a/packages/google-cloud-deploy/.eslintignore b/packages/google-cloud-deploy/.eslintignore index ea5b04aebe68..cfc348ec4d11 100644 --- a/packages/google-cloud-deploy/.eslintignore +++ b/packages/google-cloud-deploy/.eslintignore @@ -1,7 +1,7 @@ **/node_modules -**/coverage -test/fixtures +**/.coverage build/ docs/ protos/ +system-test/ samples/generated/ diff --git a/packages/google-cloud-deploy/.mocharc.js b/packages/google-cloud-deploy/.mocharc.js index eef6173ab449..24e9d15257f9 100644 --- a/packages/google-cloud-deploy/.mocharc.js +++ b/packages/google-cloud-deploy/.mocharc.js @@ -4,18 +4,22 @@ // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // -// http://www.apache.org/licenses/LICENSE-2.0 +// https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// ** This file is automatically generated by gapic-generator-typescript. ** +// ** https://github.com/googleapis/gapic-generator-typescript ** +// ** All changes to this file may be overwritten. ** + const config = { "enable-source-maps": true, "throw-deprecation": true, - "timeout": 10000, - "recursive": true + "timeout": 10000 } if (process.env.MOCHA_THROW_DEPRECATION === 'false') { delete config['throw-deprecation']; diff --git a/packages/google-cloud-deploy/.nycrc b/packages/google-cloud-deploy/.nycrc index b18d5472b62b..81a95fc94b00 100644 --- a/packages/google-cloud-deploy/.nycrc +++ b/packages/google-cloud-deploy/.nycrc @@ -21,4 +21,4 @@ ], "exclude-after-remap": false, "all": true -} +} \ No newline at end of file diff --git a/packages/google-cloud-deploy/.prettierrc.js b/packages/google-cloud-deploy/.prettierrc.js index b189724933b2..d89a632f90b0 100644 --- a/packages/google-cloud-deploy/.prettierrc.js +++ b/packages/google-cloud-deploy/.prettierrc.js @@ -4,13 +4,18 @@ // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // -// https://www.apache.org/licenses/LICENSE-2.0 +// https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// ** This file is automatically generated by gapic-generator-typescript. ** +// ** https://github.com/googleapis/gapic-generator-typescript ** +// ** All changes to this file may be overwritten. ** + module.exports = { ...require('gts/.prettierrc.json') diff --git a/packages/google-cloud-deploy/CONTRIBUTING.md b/packages/google-cloud-deploy/CONTRIBUTING.md index 94de8fe2a329..bb683650e328 100644 --- a/packages/google-cloud-deploy/CONTRIBUTING.md +++ b/packages/google-cloud-deploy/CONTRIBUTING.md @@ -40,8 +40,8 @@ accept your pull requests. ### Before you begin 1. [Select or create a Cloud Platform project][projects]. -1. [Enable billing for your project][billing]. -1. [Enable the Google Cloud Deploy API][enable_api]. +1. [Enable billing for your project][billing]. +1. [Enable the Deploy API][enable_api]. 1. [Set up authentication with a service account][auth] so you can access the API from your local workstation. diff --git a/packages/google-cloud-deploy/README.md b/packages/google-cloud-deploy/README.md index 331da95c8381..c4805ea4d4b9 100644 --- a/packages/google-cloud-deploy/README.md +++ b/packages/google-cloud-deploy/README.md @@ -1,24 +1,25 @@ [//]: # "This README.md file is auto-generated, all changes to this file will be lost." -[//]: # "To regenerate it, use `python -m synthtool`." +[//]: # "The comments you see below are used to generate those parts of the template in later states." Google Cloud Platform logo -# [Google Cloud Deploy: Node.js Client](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-deploy) - -[![release level](https://img.shields.io/badge/release%20level-stable-brightgreen.svg?style=flat)](https://cloud.google.com/terms/launch-stages) -[![npm version](https://img.shields.io/npm/v/@google-cloud/deploy.svg)](https://www.npmjs.org/package/@google-cloud/deploy) - +# [Cloud Deploy API: Nodejs Client][homepage] +This library is considered to be **stable**. The code surface will not change in backwards-incompatible ways +unless absolutely necessary (e.g. because of critical security issues) or with +an extensive deprecation period. Issues and requests against **stable** libraries +are addressed with the highest priority +[![npm version](https://img.shields.io/npm/v/@google-cloud/deploy.svg)](https://www.npmjs.org/package/@google-cloud/deploy) -clouddeploy client for Node.js +Cloud Deploy API client for Node.js +[//]: # "partials.introduction" A comprehensive list of changes in each version may be found in -[the CHANGELOG](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-deploy/CHANGELOG.md). +[the CHANGELOG][homepage_changelog]. + +* [Cloud Deploy API Nodejs Client API Reference](https://cloud.google.com/nodejs/docs/reference/deploy/latest) -* [Google Cloud Deploy Node.js Client API Reference][client-docs] -* [Google Cloud Deploy Documentation][product-docs] -* [github.com/googleapis/google-cloud-node/packages/google-cloud-deploy](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-deploy) Read more about the client libraries for Cloud APIs, including the older Google APIs Client Libraries, in [Client Libraries Explained][explained]. @@ -27,150 +28,83 @@ Google APIs Client Libraries, in [Client Libraries Explained][explained]. **Table of contents:** - * [Quickstart](#quickstart) * [Before you begin](#before-you-begin) * [Installing the client library](#installing-the-client-library) - * [Using the client library](#using-the-client-library) -* [Samples](#samples) + * [Versioning](#versioning) * [Contributing](#contributing) * [License](#license) ## Quickstart - ### Before you begin 1. [Select or create a Cloud Platform project][projects]. 1. [Enable billing for your project][billing]. -1. [Enable the Google Cloud Deploy API][enable_api]. +1. [Enable the Cloud Deploy API API][enable_api]. 1. [Set up authentication][auth] so you can access the API from your local workstation. - ### Installing the client library ```bash npm install @google-cloud/deploy ``` - -### Using the client library - -```javascript -/** - * TODO(developer): Uncomment these variables before running the sample. - */ -/** - * Required. The parent, which owns this collection of pipelines. Format must be - * projects/{project_id}/locations/{location_name}. - */ -// const parent = 'abc123' -/** - * The maximum number of pipelines to return. The service may return - * fewer than this value. If unspecified, at most 50 pipelines will - * be returned. The maximum value is 1000; values above 1000 will be set - * to 1000. - */ -// const pageSize = 1234 -/** - * A page token, received from a previous `ListDeliveryPipelines` call. - * Provide this to retrieve the subsequent page. - * When paginating, all other provided parameters match - * the call that provided the page token. - */ -// const pageToken = 'abc123' -/** - * Filter builds to be returned. See https://google.aip.dev/160 for more - * details. - */ -// const filter = 'abc123' -/** - * Field to sort by. See https://google.aip.dev/132#ordering for more details. - */ -// const orderBy = 'abc123' - -// Imports the Deploy library -const {CloudDeployClient} = require('@google-cloud/deploy').v1; - -// Instantiates a client -const deployClient = new CloudDeployClient(); - -async function listDeliveryPipelines() { - // Construct request - const request = { - parent, - }; - - // Run request - const iterable = await deployClient.listDeliveryPipelinesAsync(request); - for await (const response of iterable) { - console.log(response); - } -} - -listDeliveryPipelines(); - -``` - - +[//]: # "partials.body" ## Samples -Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-deploy/samples) directory. Each sample's `README.md` has instructions for running its sample. - -| Sample | Source Code | Try it | -| --------------------------- | --------------------------------- | ------ | -| Cloud_deploy.abandon_release | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.abandon_release.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.abandon_release.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.advance_rollout | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.advance_rollout.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.advance_rollout.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.approve_rollout | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.approve_rollout.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.approve_rollout.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.cancel_automation_run | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.cancel_automation_run.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.cancel_automation_run.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.cancel_rollout | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.cancel_rollout.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.cancel_rollout.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.create_automation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.create_automation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.create_automation.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.create_custom_target_type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.create_custom_target_type.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.create_custom_target_type.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.create_delivery_pipeline | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.create_delivery_pipeline.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.create_delivery_pipeline.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.create_deploy_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.create_deploy_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.create_deploy_policy.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.create_release | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.create_release.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.create_release.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.create_rollout | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.create_rollout.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.create_rollout.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.create_target | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.create_target.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.create_target.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.delete_automation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.delete_automation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.delete_automation.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.delete_custom_target_type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.delete_custom_target_type.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.delete_custom_target_type.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.delete_delivery_pipeline | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.delete_delivery_pipeline.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.delete_delivery_pipeline.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.delete_deploy_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.delete_deploy_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.delete_deploy_policy.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.delete_target | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.delete_target.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.delete_target.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.get_automation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.get_automation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.get_automation.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.get_automation_run | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.get_automation_run.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.get_automation_run.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.get_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.get_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.get_config.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.get_custom_target_type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.get_custom_target_type.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.get_custom_target_type.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.get_delivery_pipeline | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.get_delivery_pipeline.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.get_delivery_pipeline.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.get_deploy_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.get_deploy_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.get_deploy_policy.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.get_job_run | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.get_job_run.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.get_job_run.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.get_release | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.get_release.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.get_release.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.get_rollout | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.get_rollout.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.get_rollout.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.get_target | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.get_target.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.get_target.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.ignore_job | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.ignore_job.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.ignore_job.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.list_automation_runs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.list_automation_runs.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.list_automation_runs.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.list_automations | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.list_automations.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.list_automations.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.list_custom_target_types | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.list_custom_target_types.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.list_custom_target_types.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.list_delivery_pipelines | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.list_delivery_pipelines.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.list_delivery_pipelines.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.list_deploy_policies | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.list_deploy_policies.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.list_deploy_policies.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.list_job_runs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.list_job_runs.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.list_job_runs.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.list_releases | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.list_releases.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.list_releases.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.list_rollouts | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.list_rollouts.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.list_rollouts.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.list_targets | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.list_targets.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.list_targets.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.retry_job | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.retry_job.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.retry_job.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.rollback_target | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.rollback_target.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.rollback_target.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.terminate_job_run | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.terminate_job_run.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.terminate_job_run.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.update_automation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.update_automation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.update_automation.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.update_custom_target_type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.update_custom_target_type.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.update_custom_target_type.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.update_delivery_pipeline | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.update_delivery_pipeline.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.update_delivery_pipeline.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.update_deploy_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.update_deploy_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.update_deploy_policy.js,packages/google-cloud-deploy/samples/README.md) | -| Cloud_deploy.update_target | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.update_target.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.update_target.js,packages/google-cloud-deploy/samples/README.md) | -| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-deploy/samples/quickstart.js,packages/google-cloud-deploy/samples/README.md) | - - - -The [Google Cloud Deploy Node.js Client API Reference][client-docs] documentation -also contains samples. +Samples are in the [`samples/`][homepage_samples] directory. Each sample's `README.md` has instructions for running its sample. + +| Sample | Source Code | +| --------------------------- | --------------------------------- | +| abandon release | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.abandon_release.js) | +| advance rollout | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.advance_rollout.js) | +| approve rollout | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.approve_rollout.js) | +| cancel automation run | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.cancel_automation_run.js) | +| cancel rollout | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.cancel_rollout.js) | +| create automation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.create_automation.js) | +| create custom target type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.create_custom_target_type.js) | +| create delivery pipeline | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.create_delivery_pipeline.js) | +| create deploy policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.create_deploy_policy.js) | +| create release | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.create_release.js) | +| create rollout | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.create_rollout.js) | +| create target | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.create_target.js) | +| delete automation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.delete_automation.js) | +| delete custom target type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.delete_custom_target_type.js) | +| delete delivery pipeline | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.delete_delivery_pipeline.js) | +| delete deploy policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.delete_deploy_policy.js) | +| delete target | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.delete_target.js) | +| get automation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.get_automation.js) | +| get automation run | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.get_automation_run.js) | +| get config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.get_config.js) | +| get custom target type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.get_custom_target_type.js) | +| get delivery pipeline | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.get_delivery_pipeline.js) | +| get deploy policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.get_deploy_policy.js) | +| get job run | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.get_job_run.js) | +| get release | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.get_release.js) | +| get rollout | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.get_rollout.js) | +| get target | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.get_target.js) | +| ignore job | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.ignore_job.js) | +| list automation runs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.list_automation_runs.js) | +| list automations | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.list_automations.js) | +| list custom target types | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.list_custom_target_types.js) | +| list delivery pipelines | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.list_delivery_pipelines.js) | +| list deploy policies | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.list_deploy_policies.js) | +| list job runs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.list_job_runs.js) | +| list releases | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.list_releases.js) | +| list rollouts | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.list_rollouts.js) | +| list targets | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.list_targets.js) | +| retry job | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.retry_job.js) | +| rollback target | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.rollback_target.js) | +| terminate job run | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.terminate_job_run.js) | +| update automation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.update_automation.js) | +| update custom target type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.update_custom_target_type.js) | +| update delivery pipeline | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.update_delivery_pipeline.js) | +| update deploy policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.update_deploy_policy.js) | +| update target | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/cloud_deploy.update_target.js) | +| cloud | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples/generated/v1/snippet_metadata_google.cloud.deploy.v1.json) | + ## Supported Node.js Versions @@ -197,45 +131,29 @@ for versions compatible with Node.js 8. This library follows [Semantic Versioning](http://semver.org/). - - -This library is considered to be **stable**. The code surface will not change in backwards-incompatible ways -unless absolutely necessary (e.g. because of critical security issues) or with -an extensive deprecation period. Issues and requests against **stable** libraries -are addressed with the highest priority. - - - - - - More Information: [Google Cloud Platform Launch Stages][launch_stages] [launch_stages]: https://cloud.google.com/terms/launch-stages ## Contributing -Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/google-cloud-node/blob/main/CONTRIBUTING.md). +Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/CONTRIBUTING.md). -Please note that this `README.md`, the `samples/README.md`, +Please note that this `README.md` and a variety of configuration files in this repository (including `.nycrc` and `tsconfig.json`) -are generated from a central template. To edit one of these files, make an edit -to its templates in -[directory](https://github.com/googleapis/synthtool). +are generated from a central template. ## License Apache Version 2.0 -See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/LICENSE) +See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/LICENSE) -[client-docs]: https://cloud.google.com/nodejs/docs/reference/deploy/latest -[product-docs]: https://cloud.google.com/deploy/ [shell_img]: https://gstatic.com/cloudssh/images/open-btn.png [projects]: https://console.cloud.google.com/project [billing]: https://support.google.com/cloud/answer/6293499#enable-billing [enable_api]: https://console.cloud.google.com/flows/enableapi?apiid=clouddeploy.googleapis.com [auth]: https://cloud.google.com/docs/authentication/external/set-up-adc-local - - -[//]: # "partials.introduction" \ No newline at end of file +[homepage_samples]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/samples +[homepage_changelog]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy/CHANGELOG.md +[homepage]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-deploy diff --git a/packages/google-cloud-deploy/protos/protos.d.ts b/packages/google-cloud-deploy/protos/protos.d.ts index d33d970a7d78..eb7a8a6b5040 100644 --- a/packages/google-cloud-deploy/protos/protos.d.ts +++ b/packages/google-cloud-deploy/protos/protos.d.ts @@ -22801,9 +22801,6 @@ export namespace google { /** CommonLanguageSettings destinations */ destinations?: (google.api.ClientLibraryDestination[]|null); - - /** CommonLanguageSettings selectiveGapicGeneration */ - selectiveGapicGeneration?: (google.api.ISelectiveGapicGeneration|null); } /** Represents a CommonLanguageSettings. */ @@ -22821,9 +22818,6 @@ export namespace google { /** CommonLanguageSettings destinations. */ public destinations: google.api.ClientLibraryDestination[]; - /** CommonLanguageSettings selectiveGapicGeneration. */ - public selectiveGapicGeneration?: (google.api.ISelectiveGapicGeneration|null); - /** * Creates a new CommonLanguageSettings instance using the specified properties. * @param [properties] Properties to set @@ -23524,9 +23518,6 @@ export namespace google { /** PythonSettings common */ common?: (google.api.ICommonLanguageSettings|null); - - /** PythonSettings experimentalFeatures */ - experimentalFeatures?: (google.api.PythonSettings.IExperimentalFeatures|null); } /** Represents a PythonSettings. */ @@ -23541,9 +23532,6 @@ export namespace google { /** PythonSettings common. */ public common?: (google.api.ICommonLanguageSettings|null); - /** PythonSettings experimentalFeatures. */ - public experimentalFeatures?: (google.api.PythonSettings.IExperimentalFeatures|null); - /** * Creates a new PythonSettings instance using the specified properties. * @param [properties] Properties to set @@ -23622,118 +23610,6 @@ export namespace google { public static getTypeUrl(typeUrlPrefix?: string): string; } - namespace PythonSettings { - - /** Properties of an ExperimentalFeatures. */ - interface IExperimentalFeatures { - - /** ExperimentalFeatures restAsyncIoEnabled */ - restAsyncIoEnabled?: (boolean|null); - - /** ExperimentalFeatures protobufPythonicTypesEnabled */ - protobufPythonicTypesEnabled?: (boolean|null); - - /** ExperimentalFeatures unversionedPackageDisabled */ - unversionedPackageDisabled?: (boolean|null); - } - - /** Represents an ExperimentalFeatures. */ - class ExperimentalFeatures implements IExperimentalFeatures { - - /** - * Constructs a new ExperimentalFeatures. - * @param [properties] Properties to set - */ - constructor(properties?: google.api.PythonSettings.IExperimentalFeatures); - - /** ExperimentalFeatures restAsyncIoEnabled. */ - public restAsyncIoEnabled: boolean; - - /** ExperimentalFeatures protobufPythonicTypesEnabled. */ - public protobufPythonicTypesEnabled: boolean; - - /** ExperimentalFeatures unversionedPackageDisabled. */ - public unversionedPackageDisabled: boolean; - - /** - * Creates a new ExperimentalFeatures instance using the specified properties. - * @param [properties] Properties to set - * @returns ExperimentalFeatures instance - */ - public static create(properties?: google.api.PythonSettings.IExperimentalFeatures): google.api.PythonSettings.ExperimentalFeatures; - - /** - * Encodes the specified ExperimentalFeatures message. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @param message ExperimentalFeatures message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.api.PythonSettings.IExperimentalFeatures, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ExperimentalFeatures message, length delimited. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @param message ExperimentalFeatures message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.api.PythonSettings.IExperimentalFeatures, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.PythonSettings.ExperimentalFeatures; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.PythonSettings.ExperimentalFeatures; - - /** - * Verifies an ExperimentalFeatures message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an ExperimentalFeatures message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ExperimentalFeatures - */ - public static fromObject(object: { [k: string]: any }): google.api.PythonSettings.ExperimentalFeatures; - - /** - * Creates a plain object from an ExperimentalFeatures message. Also converts values to other types if specified. - * @param message ExperimentalFeatures - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.api.PythonSettings.ExperimentalFeatures, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ExperimentalFeatures to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ExperimentalFeatures - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - } - /** Properties of a NodeSettings. */ interface INodeSettings { @@ -24060,9 +23936,6 @@ export namespace google { /** GoSettings common */ common?: (google.api.ICommonLanguageSettings|null); - - /** GoSettings renamedServices */ - renamedServices?: ({ [k: string]: string }|null); } /** Represents a GoSettings. */ @@ -24077,9 +23950,6 @@ export namespace google { /** GoSettings common. */ public common?: (google.api.ICommonLanguageSettings|null); - /** GoSettings renamedServices. */ - public renamedServices: { [k: string]: string }; - /** * Creates a new GoSettings instance using the specified properties. * @param [properties] Properties to set @@ -24404,109 +24274,6 @@ export namespace google { PACKAGE_MANAGER = 20 } - /** Properties of a SelectiveGapicGeneration. */ - interface ISelectiveGapicGeneration { - - /** SelectiveGapicGeneration methods */ - methods?: (string[]|null); - - /** SelectiveGapicGeneration generateOmittedAsInternal */ - generateOmittedAsInternal?: (boolean|null); - } - - /** Represents a SelectiveGapicGeneration. */ - class SelectiveGapicGeneration implements ISelectiveGapicGeneration { - - /** - * Constructs a new SelectiveGapicGeneration. - * @param [properties] Properties to set - */ - constructor(properties?: google.api.ISelectiveGapicGeneration); - - /** SelectiveGapicGeneration methods. */ - public methods: string[]; - - /** SelectiveGapicGeneration generateOmittedAsInternal. */ - public generateOmittedAsInternal: boolean; - - /** - * Creates a new SelectiveGapicGeneration instance using the specified properties. - * @param [properties] Properties to set - * @returns SelectiveGapicGeneration instance - */ - public static create(properties?: google.api.ISelectiveGapicGeneration): google.api.SelectiveGapicGeneration; - - /** - * Encodes the specified SelectiveGapicGeneration message. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @param message SelectiveGapicGeneration message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.api.ISelectiveGapicGeneration, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified SelectiveGapicGeneration message, length delimited. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @param message SelectiveGapicGeneration message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.api.ISelectiveGapicGeneration, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.SelectiveGapicGeneration; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.SelectiveGapicGeneration; - - /** - * Verifies a SelectiveGapicGeneration message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a SelectiveGapicGeneration message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns SelectiveGapicGeneration - */ - public static fromObject(object: { [k: string]: any }): google.api.SelectiveGapicGeneration; - - /** - * Creates a plain object from a SelectiveGapicGeneration message. Also converts values to other types if specified. - * @param message SelectiveGapicGeneration - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.api.SelectiveGapicGeneration, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this SelectiveGapicGeneration to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for SelectiveGapicGeneration - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - /** LaunchStage enum. */ enum LaunchStage { LAUNCH_STAGE_UNSPECIFIED = 0, @@ -24888,7 +24655,6 @@ export namespace google { /** Edition enum. */ enum Edition { EDITION_UNKNOWN = 0, - EDITION_LEGACY = 900, EDITION_PROTO2 = 998, EDITION_PROTO3 = 999, EDITION_2023 = 1000, @@ -24919,9 +24685,6 @@ export namespace google { /** FileDescriptorProto weakDependency */ weakDependency?: (number[]|null); - /** FileDescriptorProto optionDependency */ - optionDependency?: (string[]|null); - /** FileDescriptorProto messageType */ messageType?: (google.protobuf.IDescriptorProto[]|null); @@ -24971,9 +24734,6 @@ export namespace google { /** FileDescriptorProto weakDependency. */ public weakDependency: number[]; - /** FileDescriptorProto optionDependency. */ - public optionDependency: string[]; - /** FileDescriptorProto messageType. */ public messageType: google.protobuf.IDescriptorProto[]; @@ -25108,9 +24868,6 @@ export namespace google { /** DescriptorProto reservedName */ reservedName?: (string[]|null); - - /** DescriptorProto visibility */ - visibility?: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility|null); } /** Represents a DescriptorProto. */ @@ -25152,9 +24909,6 @@ export namespace google { /** DescriptorProto reservedName. */ public reservedName: string[]; - /** DescriptorProto visibility. */ - public visibility: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility); - /** * Creates a new DescriptorProto instance using the specified properties. * @param [properties] Properties to set @@ -26002,9 +25756,6 @@ export namespace google { /** EnumDescriptorProto reservedName */ reservedName?: (string[]|null); - - /** EnumDescriptorProto visibility */ - visibility?: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility|null); } /** Represents an EnumDescriptorProto. */ @@ -26031,9 +25782,6 @@ export namespace google { /** EnumDescriptorProto reservedName. */ public reservedName: string[]; - /** EnumDescriptorProto visibility. */ - public visibility: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility); - /** * Creates a new EnumDescriptorProto instance using the specified properties. * @param [properties] Properties to set @@ -26968,9 +26716,6 @@ export namespace google { /** FieldOptions features */ features?: (google.protobuf.IFeatureSet|null); - /** FieldOptions featureSupport */ - featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** FieldOptions uninterpretedOption */ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); @@ -27026,9 +26771,6 @@ export namespace google { /** FieldOptions features. */ public features?: (google.protobuf.IFeatureSet|null); - /** FieldOptions featureSupport. */ - public featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** FieldOptions uninterpretedOption. */ public uninterpretedOption: google.protobuf.IUninterpretedOption[]; @@ -27249,121 +26991,6 @@ export namespace google { */ public static getTypeUrl(typeUrlPrefix?: string): string; } - - /** Properties of a FeatureSupport. */ - interface IFeatureSupport { - - /** FeatureSupport editionIntroduced */ - editionIntroduced?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - - /** FeatureSupport editionDeprecated */ - editionDeprecated?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - - /** FeatureSupport deprecationWarning */ - deprecationWarning?: (string|null); - - /** FeatureSupport editionRemoved */ - editionRemoved?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - } - - /** Represents a FeatureSupport. */ - class FeatureSupport implements IFeatureSupport { - - /** - * Constructs a new FeatureSupport. - * @param [properties] Properties to set - */ - constructor(properties?: google.protobuf.FieldOptions.IFeatureSupport); - - /** FeatureSupport editionIntroduced. */ - public editionIntroduced: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - - /** FeatureSupport editionDeprecated. */ - public editionDeprecated: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - - /** FeatureSupport deprecationWarning. */ - public deprecationWarning: string; - - /** FeatureSupport editionRemoved. */ - public editionRemoved: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - - /** - * Creates a new FeatureSupport instance using the specified properties. - * @param [properties] Properties to set - * @returns FeatureSupport instance - */ - public static create(properties?: google.protobuf.FieldOptions.IFeatureSupport): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Encodes the specified FeatureSupport message. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. - * @param message FeatureSupport message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.protobuf.FieldOptions.IFeatureSupport, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified FeatureSupport message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. - * @param message FeatureSupport message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.protobuf.FieldOptions.IFeatureSupport, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a FeatureSupport message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns FeatureSupport - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Decodes a FeatureSupport message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns FeatureSupport - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Verifies a FeatureSupport message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a FeatureSupport message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns FeatureSupport - */ - public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Creates a plain object from a FeatureSupport message. Also converts values to other types if specified. - * @param message FeatureSupport - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.protobuf.FieldOptions.FeatureSupport, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this FeatureSupport to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for FeatureSupport - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } } /** Properties of an OneofOptions. */ @@ -27602,9 +27229,6 @@ export namespace google { /** EnumValueOptions debugRedact */ debugRedact?: (boolean|null); - /** EnumValueOptions featureSupport */ - featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** EnumValueOptions uninterpretedOption */ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); } @@ -27627,9 +27251,6 @@ export namespace google { /** EnumValueOptions debugRedact. */ public debugRedact: boolean; - /** EnumValueOptions featureSupport. */ - public featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** EnumValueOptions uninterpretedOption. */ public uninterpretedOption: google.protobuf.IUninterpretedOption[]; @@ -28222,12 +27843,6 @@ export namespace google { /** FeatureSet jsonFormat */ jsonFormat?: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat|null); - - /** FeatureSet enforceNamingStyle */ - enforceNamingStyle?: (google.protobuf.FeatureSet.EnforceNamingStyle|keyof typeof google.protobuf.FeatureSet.EnforceNamingStyle|null); - - /** FeatureSet defaultSymbolVisibility */ - defaultSymbolVisibility?: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|keyof typeof google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|null); } /** Represents a FeatureSet. */ @@ -28257,12 +27872,6 @@ export namespace google { /** FeatureSet jsonFormat. */ public jsonFormat: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat); - /** FeatureSet enforceNamingStyle. */ - public enforceNamingStyle: (google.protobuf.FeatureSet.EnforceNamingStyle|keyof typeof google.protobuf.FeatureSet.EnforceNamingStyle); - - /** FeatureSet defaultSymbolVisibility. */ - public defaultSymbolVisibility: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|keyof typeof google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility); - /** * Creates a new FeatureSet instance using the specified properties. * @param [properties] Properties to set @@ -28385,116 +27994,6 @@ export namespace google { ALLOW = 1, LEGACY_BEST_EFFORT = 2 } - - /** EnforceNamingStyle enum. */ - enum EnforceNamingStyle { - ENFORCE_NAMING_STYLE_UNKNOWN = 0, - STYLE2024 = 1, - STYLE_LEGACY = 2 - } - - /** Properties of a VisibilityFeature. */ - interface IVisibilityFeature { - } - - /** Represents a VisibilityFeature. */ - class VisibilityFeature implements IVisibilityFeature { - - /** - * Constructs a new VisibilityFeature. - * @param [properties] Properties to set - */ - constructor(properties?: google.protobuf.FeatureSet.IVisibilityFeature); - - /** - * Creates a new VisibilityFeature instance using the specified properties. - * @param [properties] Properties to set - * @returns VisibilityFeature instance - */ - public static create(properties?: google.protobuf.FeatureSet.IVisibilityFeature): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Encodes the specified VisibilityFeature message. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @param message VisibilityFeature message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.protobuf.FeatureSet.IVisibilityFeature, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified VisibilityFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @param message VisibilityFeature message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.protobuf.FeatureSet.IVisibilityFeature, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Verifies a VisibilityFeature message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a VisibilityFeature message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns VisibilityFeature - */ - public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Creates a plain object from a VisibilityFeature message. Also converts values to other types if specified. - * @param message VisibilityFeature - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.protobuf.FeatureSet.VisibilityFeature, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this VisibilityFeature to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for VisibilityFeature - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - namespace VisibilityFeature { - - /** DefaultSymbolVisibility enum. */ - enum DefaultSymbolVisibility { - DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0, - EXPORT_ALL = 1, - EXPORT_TOP_LEVEL = 2, - LOCAL_ALL = 3, - STRICT = 4 - } - } } /** Properties of a FeatureSetDefaults. */ @@ -28614,11 +28113,8 @@ export namespace google { /** FeatureSetEditionDefault edition */ edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - /** FeatureSetEditionDefault overridableFeatures */ - overridableFeatures?: (google.protobuf.IFeatureSet|null); - - /** FeatureSetEditionDefault fixedFeatures */ - fixedFeatures?: (google.protobuf.IFeatureSet|null); + /** FeatureSetEditionDefault features */ + features?: (google.protobuf.IFeatureSet|null); } /** Represents a FeatureSetEditionDefault. */ @@ -28633,11 +28129,8 @@ export namespace google { /** FeatureSetEditionDefault edition. */ public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - /** FeatureSetEditionDefault overridableFeatures. */ - public overridableFeatures?: (google.protobuf.IFeatureSet|null); - - /** FeatureSetEditionDefault fixedFeatures. */ - public fixedFeatures?: (google.protobuf.IFeatureSet|null); + /** FeatureSetEditionDefault features. */ + public features?: (google.protobuf.IFeatureSet|null); /** * Creates a new FeatureSetEditionDefault instance using the specified properties. @@ -29170,13 +28663,6 @@ export namespace google { } } - /** SymbolVisibility enum. */ - enum SymbolVisibility { - VISIBILITY_UNSET = 0, - VISIBILITY_LOCAL = 1, - VISIBILITY_EXPORT = 2 - } - /** Properties of a Duration. */ interface IDuration { diff --git a/packages/google-cloud-deploy/protos/protos.js b/packages/google-cloud-deploy/protos/protos.js index ba84ce12dfa5..093fbf45a45c 100644 --- a/packages/google-cloud-deploy/protos/protos.js +++ b/packages/google-cloud-deploy/protos/protos.js @@ -58641,7 +58641,6 @@ * @interface ICommonLanguageSettings * @property {string|null} [referenceDocsUri] CommonLanguageSettings referenceDocsUri * @property {Array.|null} [destinations] CommonLanguageSettings destinations - * @property {google.api.ISelectiveGapicGeneration|null} [selectiveGapicGeneration] CommonLanguageSettings selectiveGapicGeneration */ /** @@ -58676,14 +58675,6 @@ */ CommonLanguageSettings.prototype.destinations = $util.emptyArray; - /** - * CommonLanguageSettings selectiveGapicGeneration. - * @member {google.api.ISelectiveGapicGeneration|null|undefined} selectiveGapicGeneration - * @memberof google.api.CommonLanguageSettings - * @instance - */ - CommonLanguageSettings.prototype.selectiveGapicGeneration = null; - /** * Creates a new CommonLanguageSettings instance using the specified properties. * @function create @@ -58716,8 +58707,6 @@ writer.int32(message.destinations[i]); writer.ldelim(); } - if (message.selectiveGapicGeneration != null && Object.hasOwnProperty.call(message, "selectiveGapicGeneration")) - $root.google.api.SelectiveGapicGeneration.encode(message.selectiveGapicGeneration, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; @@ -58769,10 +58758,6 @@ message.destinations.push(reader.int32()); break; } - case 3: { - message.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.decode(reader, reader.uint32()); - break; - } default: reader.skipType(tag & 7); break; @@ -58824,11 +58809,6 @@ break; } } - if (message.selectiveGapicGeneration != null && message.hasOwnProperty("selectiveGapicGeneration")) { - var error = $root.google.api.SelectiveGapicGeneration.verify(message.selectiveGapicGeneration); - if (error) - return "selectiveGapicGeneration." + error; - } return null; }; @@ -58871,11 +58851,6 @@ break; } } - if (object.selectiveGapicGeneration != null) { - if (typeof object.selectiveGapicGeneration !== "object") - throw TypeError(".google.api.CommonLanguageSettings.selectiveGapicGeneration: object expected"); - message.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.fromObject(object.selectiveGapicGeneration); - } return message; }; @@ -58894,10 +58869,8 @@ var object = {}; if (options.arrays || options.defaults) object.destinations = []; - if (options.defaults) { + if (options.defaults) object.referenceDocsUri = ""; - object.selectiveGapicGeneration = null; - } if (message.referenceDocsUri != null && message.hasOwnProperty("referenceDocsUri")) object.referenceDocsUri = message.referenceDocsUri; if (message.destinations && message.destinations.length) { @@ -58905,8 +58878,6 @@ for (var j = 0; j < message.destinations.length; ++j) object.destinations[j] = options.enums === String ? $root.google.api.ClientLibraryDestination[message.destinations[j]] === undefined ? message.destinations[j] : $root.google.api.ClientLibraryDestination[message.destinations[j]] : message.destinations[j]; } - if (message.selectiveGapicGeneration != null && message.hasOwnProperty("selectiveGapicGeneration")) - object.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.toObject(message.selectiveGapicGeneration, options); return object; }; @@ -60729,7 +60700,6 @@ * @memberof google.api * @interface IPythonSettings * @property {google.api.ICommonLanguageSettings|null} [common] PythonSettings common - * @property {google.api.PythonSettings.IExperimentalFeatures|null} [experimentalFeatures] PythonSettings experimentalFeatures */ /** @@ -60755,14 +60725,6 @@ */ PythonSettings.prototype.common = null; - /** - * PythonSettings experimentalFeatures. - * @member {google.api.PythonSettings.IExperimentalFeatures|null|undefined} experimentalFeatures - * @memberof google.api.PythonSettings - * @instance - */ - PythonSettings.prototype.experimentalFeatures = null; - /** * Creates a new PythonSettings instance using the specified properties. * @function create @@ -60789,8 +60751,6 @@ writer = $Writer.create(); if (message.common != null && Object.hasOwnProperty.call(message, "common")) $root.google.api.CommonLanguageSettings.encode(message.common, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.experimentalFeatures != null && Object.hasOwnProperty.call(message, "experimentalFeatures")) - $root.google.api.PythonSettings.ExperimentalFeatures.encode(message.experimentalFeatures, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; @@ -60831,10 +60791,6 @@ message.common = $root.google.api.CommonLanguageSettings.decode(reader, reader.uint32()); break; } - case 2: { - message.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.decode(reader, reader.uint32()); - break; - } default: reader.skipType(tag & 7); break; @@ -60875,11 +60831,6 @@ if (error) return "common." + error; } - if (message.experimentalFeatures != null && message.hasOwnProperty("experimentalFeatures")) { - var error = $root.google.api.PythonSettings.ExperimentalFeatures.verify(message.experimentalFeatures); - if (error) - return "experimentalFeatures." + error; - } return null; }; @@ -60900,11 +60851,6 @@ throw TypeError(".google.api.PythonSettings.common: object expected"); message.common = $root.google.api.CommonLanguageSettings.fromObject(object.common); } - if (object.experimentalFeatures != null) { - if (typeof object.experimentalFeatures !== "object") - throw TypeError(".google.api.PythonSettings.experimentalFeatures: object expected"); - message.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.fromObject(object.experimentalFeatures); - } return message; }; @@ -60921,14 +60867,10 @@ if (!options) options = {}; var object = {}; - if (options.defaults) { + if (options.defaults) object.common = null; - object.experimentalFeatures = null; - } if (message.common != null && message.hasOwnProperty("common")) object.common = $root.google.api.CommonLanguageSettings.toObject(message.common, options); - if (message.experimentalFeatures != null && message.hasOwnProperty("experimentalFeatures")) - object.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.toObject(message.experimentalFeatures, options); return object; }; @@ -60958,258 +60900,6 @@ return typeUrlPrefix + "/google.api.PythonSettings"; }; - PythonSettings.ExperimentalFeatures = (function() { - - /** - * Properties of an ExperimentalFeatures. - * @memberof google.api.PythonSettings - * @interface IExperimentalFeatures - * @property {boolean|null} [restAsyncIoEnabled] ExperimentalFeatures restAsyncIoEnabled - * @property {boolean|null} [protobufPythonicTypesEnabled] ExperimentalFeatures protobufPythonicTypesEnabled - * @property {boolean|null} [unversionedPackageDisabled] ExperimentalFeatures unversionedPackageDisabled - */ - - /** - * Constructs a new ExperimentalFeatures. - * @memberof google.api.PythonSettings - * @classdesc Represents an ExperimentalFeatures. - * @implements IExperimentalFeatures - * @constructor - * @param {google.api.PythonSettings.IExperimentalFeatures=} [properties] Properties to set - */ - function ExperimentalFeatures(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ExperimentalFeatures restAsyncIoEnabled. - * @member {boolean} restAsyncIoEnabled - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - */ - ExperimentalFeatures.prototype.restAsyncIoEnabled = false; - - /** - * ExperimentalFeatures protobufPythonicTypesEnabled. - * @member {boolean} protobufPythonicTypesEnabled - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - */ - ExperimentalFeatures.prototype.protobufPythonicTypesEnabled = false; - - /** - * ExperimentalFeatures unversionedPackageDisabled. - * @member {boolean} unversionedPackageDisabled - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - */ - ExperimentalFeatures.prototype.unversionedPackageDisabled = false; - - /** - * Creates a new ExperimentalFeatures instance using the specified properties. - * @function create - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.IExperimentalFeatures=} [properties] Properties to set - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures instance - */ - ExperimentalFeatures.create = function create(properties) { - return new ExperimentalFeatures(properties); - }; - - /** - * Encodes the specified ExperimentalFeatures message. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @function encode - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.IExperimentalFeatures} message ExperimentalFeatures message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ExperimentalFeatures.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.restAsyncIoEnabled != null && Object.hasOwnProperty.call(message, "restAsyncIoEnabled")) - writer.uint32(/* id 1, wireType 0 =*/8).bool(message.restAsyncIoEnabled); - if (message.protobufPythonicTypesEnabled != null && Object.hasOwnProperty.call(message, "protobufPythonicTypesEnabled")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.protobufPythonicTypesEnabled); - if (message.unversionedPackageDisabled != null && Object.hasOwnProperty.call(message, "unversionedPackageDisabled")) - writer.uint32(/* id 3, wireType 0 =*/24).bool(message.unversionedPackageDisabled); - return writer; - }; - - /** - * Encodes the specified ExperimentalFeatures message, length delimited. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @function encodeDelimited - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.IExperimentalFeatures} message ExperimentalFeatures message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ExperimentalFeatures.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer. - * @function decode - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ExperimentalFeatures.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.PythonSettings.ExperimentalFeatures(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.restAsyncIoEnabled = reader.bool(); - break; - } - case 2: { - message.protobufPythonicTypesEnabled = reader.bool(); - break; - } - case 3: { - message.unversionedPackageDisabled = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ExperimentalFeatures.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an ExperimentalFeatures message. - * @function verify - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - ExperimentalFeatures.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.restAsyncIoEnabled != null && message.hasOwnProperty("restAsyncIoEnabled")) - if (typeof message.restAsyncIoEnabled !== "boolean") - return "restAsyncIoEnabled: boolean expected"; - if (message.protobufPythonicTypesEnabled != null && message.hasOwnProperty("protobufPythonicTypesEnabled")) - if (typeof message.protobufPythonicTypesEnabled !== "boolean") - return "protobufPythonicTypesEnabled: boolean expected"; - if (message.unversionedPackageDisabled != null && message.hasOwnProperty("unversionedPackageDisabled")) - if (typeof message.unversionedPackageDisabled !== "boolean") - return "unversionedPackageDisabled: boolean expected"; - return null; - }; - - /** - * Creates an ExperimentalFeatures message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {Object.} object Plain object - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures - */ - ExperimentalFeatures.fromObject = function fromObject(object) { - if (object instanceof $root.google.api.PythonSettings.ExperimentalFeatures) - return object; - var message = new $root.google.api.PythonSettings.ExperimentalFeatures(); - if (object.restAsyncIoEnabled != null) - message.restAsyncIoEnabled = Boolean(object.restAsyncIoEnabled); - if (object.protobufPythonicTypesEnabled != null) - message.protobufPythonicTypesEnabled = Boolean(object.protobufPythonicTypesEnabled); - if (object.unversionedPackageDisabled != null) - message.unversionedPackageDisabled = Boolean(object.unversionedPackageDisabled); - return message; - }; - - /** - * Creates a plain object from an ExperimentalFeatures message. Also converts values to other types if specified. - * @function toObject - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.ExperimentalFeatures} message ExperimentalFeatures - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ExperimentalFeatures.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.restAsyncIoEnabled = false; - object.protobufPythonicTypesEnabled = false; - object.unversionedPackageDisabled = false; - } - if (message.restAsyncIoEnabled != null && message.hasOwnProperty("restAsyncIoEnabled")) - object.restAsyncIoEnabled = message.restAsyncIoEnabled; - if (message.protobufPythonicTypesEnabled != null && message.hasOwnProperty("protobufPythonicTypesEnabled")) - object.protobufPythonicTypesEnabled = message.protobufPythonicTypesEnabled; - if (message.unversionedPackageDisabled != null && message.hasOwnProperty("unversionedPackageDisabled")) - object.unversionedPackageDisabled = message.unversionedPackageDisabled; - return object; - }; - - /** - * Converts this ExperimentalFeatures to JSON. - * @function toJSON - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - * @returns {Object.} JSON object - */ - ExperimentalFeatures.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ExperimentalFeatures - * @function getTypeUrl - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ExperimentalFeatures.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.api.PythonSettings.ExperimentalFeatures"; - }; - - return ExperimentalFeatures; - })(); - return PythonSettings; })(); @@ -62086,7 +61776,6 @@ * @memberof google.api * @interface IGoSettings * @property {google.api.ICommonLanguageSettings|null} [common] GoSettings common - * @property {Object.|null} [renamedServices] GoSettings renamedServices */ /** @@ -62098,7 +61787,6 @@ * @param {google.api.IGoSettings=} [properties] Properties to set */ function GoSettings(properties) { - this.renamedServices = {}; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -62113,14 +61801,6 @@ */ GoSettings.prototype.common = null; - /** - * GoSettings renamedServices. - * @member {Object.} renamedServices - * @memberof google.api.GoSettings - * @instance - */ - GoSettings.prototype.renamedServices = $util.emptyObject; - /** * Creates a new GoSettings instance using the specified properties. * @function create @@ -62147,9 +61827,6 @@ writer = $Writer.create(); if (message.common != null && Object.hasOwnProperty.call(message, "common")) $root.google.api.CommonLanguageSettings.encode(message.common, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.renamedServices != null && Object.hasOwnProperty.call(message, "renamedServices")) - for (var keys = Object.keys(message.renamedServices), i = 0; i < keys.length; ++i) - writer.uint32(/* id 2, wireType 2 =*/18).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.renamedServices[keys[i]]).ldelim(); return writer; }; @@ -62180,7 +61857,7 @@ GoSettings.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.GoSettings(), key, value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.GoSettings(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) @@ -62190,29 +61867,6 @@ message.common = $root.google.api.CommonLanguageSettings.decode(reader, reader.uint32()); break; } - case 2: { - if (message.renamedServices === $util.emptyObject) - message.renamedServices = {}; - var end2 = reader.uint32() + reader.pos; - key = ""; - value = ""; - while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { - case 1: - key = reader.string(); - break; - case 2: - value = reader.string(); - break; - default: - reader.skipType(tag2 & 7); - break; - } - } - message.renamedServices[key] = value; - break; - } default: reader.skipType(tag & 7); break; @@ -62253,14 +61907,6 @@ if (error) return "common." + error; } - if (message.renamedServices != null && message.hasOwnProperty("renamedServices")) { - if (!$util.isObject(message.renamedServices)) - return "renamedServices: object expected"; - var key = Object.keys(message.renamedServices); - for (var i = 0; i < key.length; ++i) - if (!$util.isString(message.renamedServices[key[i]])) - return "renamedServices: string{k:string} expected"; - } return null; }; @@ -62281,13 +61927,6 @@ throw TypeError(".google.api.GoSettings.common: object expected"); message.common = $root.google.api.CommonLanguageSettings.fromObject(object.common); } - if (object.renamedServices) { - if (typeof object.renamedServices !== "object") - throw TypeError(".google.api.GoSettings.renamedServices: object expected"); - message.renamedServices = {}; - for (var keys = Object.keys(object.renamedServices), i = 0; i < keys.length; ++i) - message.renamedServices[keys[i]] = String(object.renamedServices[keys[i]]); - } return message; }; @@ -62304,18 +61943,10 @@ if (!options) options = {}; var object = {}; - if (options.objects || options.defaults) - object.renamedServices = {}; if (options.defaults) object.common = null; if (message.common != null && message.hasOwnProperty("common")) object.common = $root.google.api.CommonLanguageSettings.toObject(message.common, options); - var keys2; - if (message.renamedServices && (keys2 = Object.keys(message.renamedServices)).length) { - object.renamedServices = {}; - for (var j = 0; j < keys2.length; ++j) - object.renamedServices[keys2[j]] = message.renamedServices[keys2[j]]; - } return object; }; @@ -62954,251 +62585,6 @@ return values; })(); - api.SelectiveGapicGeneration = (function() { - - /** - * Properties of a SelectiveGapicGeneration. - * @memberof google.api - * @interface ISelectiveGapicGeneration - * @property {Array.|null} [methods] SelectiveGapicGeneration methods - * @property {boolean|null} [generateOmittedAsInternal] SelectiveGapicGeneration generateOmittedAsInternal - */ - - /** - * Constructs a new SelectiveGapicGeneration. - * @memberof google.api - * @classdesc Represents a SelectiveGapicGeneration. - * @implements ISelectiveGapicGeneration - * @constructor - * @param {google.api.ISelectiveGapicGeneration=} [properties] Properties to set - */ - function SelectiveGapicGeneration(properties) { - this.methods = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * SelectiveGapicGeneration methods. - * @member {Array.} methods - * @memberof google.api.SelectiveGapicGeneration - * @instance - */ - SelectiveGapicGeneration.prototype.methods = $util.emptyArray; - - /** - * SelectiveGapicGeneration generateOmittedAsInternal. - * @member {boolean} generateOmittedAsInternal - * @memberof google.api.SelectiveGapicGeneration - * @instance - */ - SelectiveGapicGeneration.prototype.generateOmittedAsInternal = false; - - /** - * Creates a new SelectiveGapicGeneration instance using the specified properties. - * @function create - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.ISelectiveGapicGeneration=} [properties] Properties to set - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration instance - */ - SelectiveGapicGeneration.create = function create(properties) { - return new SelectiveGapicGeneration(properties); - }; - - /** - * Encodes the specified SelectiveGapicGeneration message. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @function encode - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.ISelectiveGapicGeneration} message SelectiveGapicGeneration message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - SelectiveGapicGeneration.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.methods != null && message.methods.length) - for (var i = 0; i < message.methods.length; ++i) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.methods[i]); - if (message.generateOmittedAsInternal != null && Object.hasOwnProperty.call(message, "generateOmittedAsInternal")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.generateOmittedAsInternal); - return writer; - }; - - /** - * Encodes the specified SelectiveGapicGeneration message, length delimited. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @function encodeDelimited - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.ISelectiveGapicGeneration} message SelectiveGapicGeneration message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - SelectiveGapicGeneration.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer. - * @function decode - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - SelectiveGapicGeneration.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.SelectiveGapicGeneration(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - if (!(message.methods && message.methods.length)) - message.methods = []; - message.methods.push(reader.string()); - break; - } - case 2: { - message.generateOmittedAsInternal = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - SelectiveGapicGeneration.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a SelectiveGapicGeneration message. - * @function verify - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - SelectiveGapicGeneration.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.methods != null && message.hasOwnProperty("methods")) { - if (!Array.isArray(message.methods)) - return "methods: array expected"; - for (var i = 0; i < message.methods.length; ++i) - if (!$util.isString(message.methods[i])) - return "methods: string[] expected"; - } - if (message.generateOmittedAsInternal != null && message.hasOwnProperty("generateOmittedAsInternal")) - if (typeof message.generateOmittedAsInternal !== "boolean") - return "generateOmittedAsInternal: boolean expected"; - return null; - }; - - /** - * Creates a SelectiveGapicGeneration message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {Object.} object Plain object - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration - */ - SelectiveGapicGeneration.fromObject = function fromObject(object) { - if (object instanceof $root.google.api.SelectiveGapicGeneration) - return object; - var message = new $root.google.api.SelectiveGapicGeneration(); - if (object.methods) { - if (!Array.isArray(object.methods)) - throw TypeError(".google.api.SelectiveGapicGeneration.methods: array expected"); - message.methods = []; - for (var i = 0; i < object.methods.length; ++i) - message.methods[i] = String(object.methods[i]); - } - if (object.generateOmittedAsInternal != null) - message.generateOmittedAsInternal = Boolean(object.generateOmittedAsInternal); - return message; - }; - - /** - * Creates a plain object from a SelectiveGapicGeneration message. Also converts values to other types if specified. - * @function toObject - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.SelectiveGapicGeneration} message SelectiveGapicGeneration - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - SelectiveGapicGeneration.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.methods = []; - if (options.defaults) - object.generateOmittedAsInternal = false; - if (message.methods && message.methods.length) { - object.methods = []; - for (var j = 0; j < message.methods.length; ++j) - object.methods[j] = message.methods[j]; - } - if (message.generateOmittedAsInternal != null && message.hasOwnProperty("generateOmittedAsInternal")) - object.generateOmittedAsInternal = message.generateOmittedAsInternal; - return object; - }; - - /** - * Converts this SelectiveGapicGeneration to JSON. - * @function toJSON - * @memberof google.api.SelectiveGapicGeneration - * @instance - * @returns {Object.} JSON object - */ - SelectiveGapicGeneration.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for SelectiveGapicGeneration - * @function getTypeUrl - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - SelectiveGapicGeneration.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.api.SelectiveGapicGeneration"; - }; - - return SelectiveGapicGeneration; - })(); - /** * LaunchStage enum. * @name google.api.LaunchStage @@ -64184,7 +63570,6 @@ * @name google.protobuf.Edition * @enum {number} * @property {number} EDITION_UNKNOWN=0 EDITION_UNKNOWN value - * @property {number} EDITION_LEGACY=900 EDITION_LEGACY value * @property {number} EDITION_PROTO2=998 EDITION_PROTO2 value * @property {number} EDITION_PROTO3=999 EDITION_PROTO3 value * @property {number} EDITION_2023=1000 EDITION_2023 value @@ -64199,7 +63584,6 @@ protobuf.Edition = (function() { var valuesById = {}, values = Object.create(valuesById); values[valuesById[0] = "EDITION_UNKNOWN"] = 0; - values[valuesById[900] = "EDITION_LEGACY"] = 900; values[valuesById[998] = "EDITION_PROTO2"] = 998; values[valuesById[999] = "EDITION_PROTO3"] = 999; values[valuesById[1000] = "EDITION_2023"] = 1000; @@ -64224,7 +63608,6 @@ * @property {Array.|null} [dependency] FileDescriptorProto dependency * @property {Array.|null} [publicDependency] FileDescriptorProto publicDependency * @property {Array.|null} [weakDependency] FileDescriptorProto weakDependency - * @property {Array.|null} [optionDependency] FileDescriptorProto optionDependency * @property {Array.|null} [messageType] FileDescriptorProto messageType * @property {Array.|null} [enumType] FileDescriptorProto enumType * @property {Array.|null} [service] FileDescriptorProto service @@ -64247,7 +63630,6 @@ this.dependency = []; this.publicDependency = []; this.weakDependency = []; - this.optionDependency = []; this.messageType = []; this.enumType = []; this.service = []; @@ -64298,14 +63680,6 @@ */ FileDescriptorProto.prototype.weakDependency = $util.emptyArray; - /** - * FileDescriptorProto optionDependency. - * @member {Array.} optionDependency - * @memberof google.protobuf.FileDescriptorProto - * @instance - */ - FileDescriptorProto.prototype.optionDependency = $util.emptyArray; - /** * FileDescriptorProto messageType. * @member {Array.} messageType @@ -64427,9 +63801,6 @@ writer.uint32(/* id 12, wireType 2 =*/98).string(message.syntax); if (message.edition != null && Object.hasOwnProperty.call(message, "edition")) writer.uint32(/* id 14, wireType 0 =*/112).int32(message.edition); - if (message.optionDependency != null && message.optionDependency.length) - for (var i = 0; i < message.optionDependency.length; ++i) - writer.uint32(/* id 15, wireType 2 =*/122).string(message.optionDependency[i]); return writer; }; @@ -64502,12 +63873,6 @@ message.weakDependency.push(reader.int32()); break; } - case 15: { - if (!(message.optionDependency && message.optionDependency.length)) - message.optionDependency = []; - message.optionDependency.push(reader.string()); - break; - } case 4: { if (!(message.messageType && message.messageType.length)) message.messageType = []; @@ -64610,13 +63975,6 @@ if (!$util.isInteger(message.weakDependency[i])) return "weakDependency: integer[] expected"; } - if (message.optionDependency != null && message.hasOwnProperty("optionDependency")) { - if (!Array.isArray(message.optionDependency)) - return "optionDependency: array expected"; - for (var i = 0; i < message.optionDependency.length; ++i) - if (!$util.isString(message.optionDependency[i])) - return "optionDependency: string[] expected"; - } if (message.messageType != null && message.hasOwnProperty("messageType")) { if (!Array.isArray(message.messageType)) return "messageType: array expected"; @@ -64671,7 +64029,6 @@ default: return "edition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -64724,13 +64081,6 @@ for (var i = 0; i < object.weakDependency.length; ++i) message.weakDependency[i] = object.weakDependency[i] | 0; } - if (object.optionDependency) { - if (!Array.isArray(object.optionDependency)) - throw TypeError(".google.protobuf.FileDescriptorProto.optionDependency: array expected"); - message.optionDependency = []; - for (var i = 0; i < object.optionDependency.length; ++i) - message.optionDependency[i] = String(object.optionDependency[i]); - } if (object.messageType) { if (!Array.isArray(object.messageType)) throw TypeError(".google.protobuf.FileDescriptorProto.messageType: array expected"); @@ -64794,10 +64144,6 @@ case 0: message.edition = 0; break; - case "EDITION_LEGACY": - case 900: - message.edition = 900; - break; case "EDITION_PROTO2": case 998: message.edition = 998; @@ -64863,7 +64209,6 @@ object.extension = []; object.publicDependency = []; object.weakDependency = []; - object.optionDependency = []; } if (options.defaults) { object.name = ""; @@ -64920,11 +64265,6 @@ object.syntax = message.syntax; if (message.edition != null && message.hasOwnProperty("edition")) object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; - if (message.optionDependency && message.optionDependency.length) { - object.optionDependency = []; - for (var j = 0; j < message.optionDependency.length; ++j) - object.optionDependency[j] = message.optionDependency[j]; - } return object; }; @@ -64973,7 +64313,6 @@ * @property {google.protobuf.IMessageOptions|null} [options] DescriptorProto options * @property {Array.|null} [reservedRange] DescriptorProto reservedRange * @property {Array.|null} [reservedName] DescriptorProto reservedName - * @property {google.protobuf.SymbolVisibility|null} [visibility] DescriptorProto visibility */ /** @@ -65079,14 +64418,6 @@ */ DescriptorProto.prototype.reservedName = $util.emptyArray; - /** - * DescriptorProto visibility. - * @member {google.protobuf.SymbolVisibility} visibility - * @memberof google.protobuf.DescriptorProto - * @instance - */ - DescriptorProto.prototype.visibility = 0; - /** * Creates a new DescriptorProto instance using the specified properties. * @function create @@ -65139,8 +64470,6 @@ if (message.reservedName != null && message.reservedName.length) for (var i = 0; i < message.reservedName.length; ++i) writer.uint32(/* id 10, wireType 2 =*/82).string(message.reservedName[i]); - if (message.visibility != null && Object.hasOwnProperty.call(message, "visibility")) - writer.uint32(/* id 11, wireType 0 =*/88).int32(message.visibility); return writer; }; @@ -65233,10 +64562,6 @@ message.reservedName.push(reader.string()); break; } - case 11: { - message.visibility = reader.int32(); - break; - } default: reader.skipType(tag & 7); break; @@ -65350,15 +64675,6 @@ if (!$util.isString(message.reservedName[i])) return "reservedName: string[] expected"; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - switch (message.visibility) { - default: - return "visibility: enum value expected"; - case 0: - case 1: - case 2: - break; - } return null; }; @@ -65458,26 +64774,6 @@ for (var i = 0; i < object.reservedName.length; ++i) message.reservedName[i] = String(object.reservedName[i]); } - switch (object.visibility) { - default: - if (typeof object.visibility === "number") { - message.visibility = object.visibility; - break; - } - break; - case "VISIBILITY_UNSET": - case 0: - message.visibility = 0; - break; - case "VISIBILITY_LOCAL": - case 1: - message.visibility = 1; - break; - case "VISIBILITY_EXPORT": - case 2: - message.visibility = 2; - break; - } return message; }; @@ -65507,7 +64803,6 @@ if (options.defaults) { object.name = ""; object.options = null; - object.visibility = options.enums === String ? "VISIBILITY_UNSET" : 0; } if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; @@ -65553,8 +64848,6 @@ for (var j = 0; j < message.reservedName.length; ++j) object.reservedName[j] = message.reservedName[j]; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - object.visibility = options.enums === String ? $root.google.protobuf.SymbolVisibility[message.visibility] === undefined ? message.visibility : $root.google.protobuf.SymbolVisibility[message.visibility] : message.visibility; return object; }; @@ -67599,7 +66892,6 @@ * @property {google.protobuf.IEnumOptions|null} [options] EnumDescriptorProto options * @property {Array.|null} [reservedRange] EnumDescriptorProto reservedRange * @property {Array.|null} [reservedName] EnumDescriptorProto reservedName - * @property {google.protobuf.SymbolVisibility|null} [visibility] EnumDescriptorProto visibility */ /** @@ -67660,14 +66952,6 @@ */ EnumDescriptorProto.prototype.reservedName = $util.emptyArray; - /** - * EnumDescriptorProto visibility. - * @member {google.protobuf.SymbolVisibility} visibility - * @memberof google.protobuf.EnumDescriptorProto - * @instance - */ - EnumDescriptorProto.prototype.visibility = 0; - /** * Creates a new EnumDescriptorProto instance using the specified properties. * @function create @@ -67705,8 +66989,6 @@ if (message.reservedName != null && message.reservedName.length) for (var i = 0; i < message.reservedName.length; ++i) writer.uint32(/* id 5, wireType 2 =*/42).string(message.reservedName[i]); - if (message.visibility != null && Object.hasOwnProperty.call(message, "visibility")) - writer.uint32(/* id 6, wireType 0 =*/48).int32(message.visibility); return writer; }; @@ -67769,10 +67051,6 @@ message.reservedName.push(reader.string()); break; } - case 6: { - message.visibility = reader.int32(); - break; - } default: reader.skipType(tag & 7); break; @@ -67841,15 +67119,6 @@ if (!$util.isString(message.reservedName[i])) return "reservedName: string[] expected"; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - switch (message.visibility) { - default: - return "visibility: enum value expected"; - case 0: - case 1: - case 2: - break; - } return null; }; @@ -67899,26 +67168,6 @@ for (var i = 0; i < object.reservedName.length; ++i) message.reservedName[i] = String(object.reservedName[i]); } - switch (object.visibility) { - default: - if (typeof object.visibility === "number") { - message.visibility = object.visibility; - break; - } - break; - case "VISIBILITY_UNSET": - case 0: - message.visibility = 0; - break; - case "VISIBILITY_LOCAL": - case 1: - message.visibility = 1; - break; - case "VISIBILITY_EXPORT": - case 2: - message.visibility = 2; - break; - } return message; }; @@ -67943,7 +67192,6 @@ if (options.defaults) { object.name = ""; object.options = null; - object.visibility = options.enums === String ? "VISIBILITY_UNSET" : 0; } if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; @@ -67964,8 +67212,6 @@ for (var j = 0; j < message.reservedName.length; ++j) object.reservedName[j] = message.reservedName[j]; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - object.visibility = options.enums === String ? $root.google.protobuf.SymbolVisibility[message.visibility] === undefined ? message.visibility : $root.google.protobuf.SymbolVisibility[message.visibility] : message.visibility; return object; }; @@ -70284,7 +69530,6 @@ * @property {Array.|null} [targets] FieldOptions targets * @property {Array.|null} [editionDefaults] FieldOptions editionDefaults * @property {google.protobuf.IFeatureSet|null} [features] FieldOptions features - * @property {google.protobuf.FieldOptions.IFeatureSupport|null} [featureSupport] FieldOptions featureSupport * @property {Array.|null} [uninterpretedOption] FieldOptions uninterpretedOption * @property {Array.|null} [".google.api.fieldBehavior"] FieldOptions .google.api.fieldBehavior * @property {google.api.IResourceReference|null} [".google.api.resourceReference"] FieldOptions .google.api.resourceReference @@ -70405,14 +69650,6 @@ */ FieldOptions.prototype.features = null; - /** - * FieldOptions featureSupport. - * @member {google.protobuf.FieldOptions.IFeatureSupport|null|undefined} featureSupport - * @memberof google.protobuf.FieldOptions - * @instance - */ - FieldOptions.prototype.featureSupport = null; - /** * FieldOptions uninterpretedOption. * @member {Array.} uninterpretedOption @@ -70487,8 +69724,6 @@ $root.google.protobuf.FieldOptions.EditionDefault.encode(message.editionDefaults[i], writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim(); if (message.features != null && Object.hasOwnProperty.call(message, "features")) $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim(); - if (message.featureSupport != null && Object.hasOwnProperty.call(message, "featureSupport")) - $root.google.protobuf.FieldOptions.FeatureSupport.encode(message.featureSupport, writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim(); if (message.uninterpretedOption != null && message.uninterpretedOption.length) for (var i = 0; i < message.uninterpretedOption.length; ++i) $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim(); @@ -70590,10 +69825,6 @@ message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); break; } - case 22: { - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.decode(reader, reader.uint32()); - break; - } case 999: { if (!(message.uninterpretedOption && message.uninterpretedOption.length)) message.uninterpretedOption = []; @@ -70729,11 +69960,6 @@ if (error) return "features." + error; } - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) { - var error = $root.google.protobuf.FieldOptions.FeatureSupport.verify(message.featureSupport); - if (error) - return "featureSupport." + error; - } if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) { if (!Array.isArray(message.uninterpretedOption)) return "uninterpretedOption: array expected"; @@ -70922,11 +70148,6 @@ throw TypeError(".google.protobuf.FieldOptions.features: object expected"); message.features = $root.google.protobuf.FeatureSet.fromObject(object.features); } - if (object.featureSupport != null) { - if (typeof object.featureSupport !== "object") - throw TypeError(".google.protobuf.FieldOptions.featureSupport: object expected"); - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.fromObject(object.featureSupport); - } if (object.uninterpretedOption) { if (!Array.isArray(object.uninterpretedOption)) throw TypeError(".google.protobuf.FieldOptions.uninterpretedOption: array expected"); @@ -71024,7 +70245,6 @@ object.debugRedact = false; object.retention = options.enums === String ? "RETENTION_UNKNOWN" : 0; object.features = null; - object.featureSupport = null; object[".google.api.resourceReference"] = null; } if (message.ctype != null && message.hasOwnProperty("ctype")) @@ -71057,8 +70277,6 @@ } if (message.features != null && message.hasOwnProperty("features")) object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options); - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) - object.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.toObject(message.featureSupport, options); if (message.uninterpretedOption && message.uninterpretedOption.length) { object.uninterpretedOption = []; for (var j = 0; j < message.uninterpretedOption.length; ++j) @@ -71331,7 +70549,6 @@ default: return "edition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -71373,589 +70590,103 @@ case 0: message.edition = 0; break; - case "EDITION_LEGACY": - case 900: - message.edition = 900; - break; - case "EDITION_PROTO2": - case 998: - message.edition = 998; - break; - case "EDITION_PROTO3": - case 999: - message.edition = 999; - break; - case "EDITION_2023": - case 1000: - message.edition = 1000; - break; - case "EDITION_2024": - case 1001: - message.edition = 1001; - break; - case "EDITION_1_TEST_ONLY": - case 1: - message.edition = 1; - break; - case "EDITION_2_TEST_ONLY": - case 2: - message.edition = 2; - break; - case "EDITION_99997_TEST_ONLY": - case 99997: - message.edition = 99997; - break; - case "EDITION_99998_TEST_ONLY": - case 99998: - message.edition = 99998; - break; - case "EDITION_99999_TEST_ONLY": - case 99999: - message.edition = 99999; - break; - case "EDITION_MAX": - case 2147483647: - message.edition = 2147483647; - break; - } - if (object.value != null) - message.value = String(object.value); - return message; - }; - - /** - * Creates a plain object from an EditionDefault message. Also converts values to other types if specified. - * @function toObject - * @memberof google.protobuf.FieldOptions.EditionDefault - * @static - * @param {google.protobuf.FieldOptions.EditionDefault} message EditionDefault - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - EditionDefault.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.value = ""; - object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0; - } - if (message.value != null && message.hasOwnProperty("value")) - object.value = message.value; - if (message.edition != null && message.hasOwnProperty("edition")) - object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; - return object; - }; - - /** - * Converts this EditionDefault to JSON. - * @function toJSON - * @memberof google.protobuf.FieldOptions.EditionDefault - * @instance - * @returns {Object.} JSON object - */ - EditionDefault.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for EditionDefault - * @function getTypeUrl - * @memberof google.protobuf.FieldOptions.EditionDefault - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - EditionDefault.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.FieldOptions.EditionDefault"; - }; - - return EditionDefault; - })(); - - FieldOptions.FeatureSupport = (function() { - - /** - * Properties of a FeatureSupport. - * @memberof google.protobuf.FieldOptions - * @interface IFeatureSupport - * @property {google.protobuf.Edition|null} [editionIntroduced] FeatureSupport editionIntroduced - * @property {google.protobuf.Edition|null} [editionDeprecated] FeatureSupport editionDeprecated - * @property {string|null} [deprecationWarning] FeatureSupport deprecationWarning - * @property {google.protobuf.Edition|null} [editionRemoved] FeatureSupport editionRemoved - */ - - /** - * Constructs a new FeatureSupport. - * @memberof google.protobuf.FieldOptions - * @classdesc Represents a FeatureSupport. - * @implements IFeatureSupport - * @constructor - * @param {google.protobuf.FieldOptions.IFeatureSupport=} [properties] Properties to set - */ - function FeatureSupport(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * FeatureSupport editionIntroduced. - * @member {google.protobuf.Edition} editionIntroduced - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @instance - */ - FeatureSupport.prototype.editionIntroduced = 0; - - /** - * FeatureSupport editionDeprecated. - * @member {google.protobuf.Edition} editionDeprecated - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @instance - */ - FeatureSupport.prototype.editionDeprecated = 0; - - /** - * FeatureSupport deprecationWarning. - * @member {string} deprecationWarning - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @instance - */ - FeatureSupport.prototype.deprecationWarning = ""; - - /** - * FeatureSupport editionRemoved. - * @member {google.protobuf.Edition} editionRemoved - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @instance - */ - FeatureSupport.prototype.editionRemoved = 0; - - /** - * Creates a new FeatureSupport instance using the specified properties. - * @function create - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {google.protobuf.FieldOptions.IFeatureSupport=} [properties] Properties to set - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport instance - */ - FeatureSupport.create = function create(properties) { - return new FeatureSupport(properties); - }; - - /** - * Encodes the specified FeatureSupport message. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. - * @function encode - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {google.protobuf.FieldOptions.IFeatureSupport} message FeatureSupport message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - FeatureSupport.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.editionIntroduced != null && Object.hasOwnProperty.call(message, "editionIntroduced")) - writer.uint32(/* id 1, wireType 0 =*/8).int32(message.editionIntroduced); - if (message.editionDeprecated != null && Object.hasOwnProperty.call(message, "editionDeprecated")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.editionDeprecated); - if (message.deprecationWarning != null && Object.hasOwnProperty.call(message, "deprecationWarning")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.deprecationWarning); - if (message.editionRemoved != null && Object.hasOwnProperty.call(message, "editionRemoved")) - writer.uint32(/* id 4, wireType 0 =*/32).int32(message.editionRemoved); - return writer; - }; - - /** - * Encodes the specified FeatureSupport message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. - * @function encodeDelimited - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {google.protobuf.FieldOptions.IFeatureSupport} message FeatureSupport message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - FeatureSupport.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a FeatureSupport message from the specified reader or buffer. - * @function decode - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - FeatureSupport.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FieldOptions.FeatureSupport(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.editionIntroduced = reader.int32(); - break; - } - case 2: { - message.editionDeprecated = reader.int32(); - break; - } - case 3: { - message.deprecationWarning = reader.string(); - break; - } - case 4: { - message.editionRemoved = reader.int32(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a FeatureSupport message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - FeatureSupport.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a FeatureSupport message. - * @function verify - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - FeatureSupport.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.editionIntroduced != null && message.hasOwnProperty("editionIntroduced")) - switch (message.editionIntroduced) { - default: - return "editionIntroduced: enum value expected"; - case 0: - case 900: - case 998: - case 999: - case 1000: - case 1001: - case 1: - case 2: - case 99997: - case 99998: - case 99999: - case 2147483647: - break; - } - if (message.editionDeprecated != null && message.hasOwnProperty("editionDeprecated")) - switch (message.editionDeprecated) { - default: - return "editionDeprecated: enum value expected"; - case 0: - case 900: - case 998: - case 999: - case 1000: - case 1001: - case 1: - case 2: - case 99997: - case 99998: - case 99999: - case 2147483647: - break; - } - if (message.deprecationWarning != null && message.hasOwnProperty("deprecationWarning")) - if (!$util.isString(message.deprecationWarning)) - return "deprecationWarning: string expected"; - if (message.editionRemoved != null && message.hasOwnProperty("editionRemoved")) - switch (message.editionRemoved) { - default: - return "editionRemoved: enum value expected"; - case 0: - case 900: - case 998: - case 999: - case 1000: - case 1001: - case 1: - case 2: - case 99997: - case 99998: - case 99999: - case 2147483647: - break; - } - return null; - }; - - /** - * Creates a FeatureSupport message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {Object.} object Plain object - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport - */ - FeatureSupport.fromObject = function fromObject(object) { - if (object instanceof $root.google.protobuf.FieldOptions.FeatureSupport) - return object; - var message = new $root.google.protobuf.FieldOptions.FeatureSupport(); - switch (object.editionIntroduced) { - default: - if (typeof object.editionIntroduced === "number") { - message.editionIntroduced = object.editionIntroduced; - break; - } - break; - case "EDITION_UNKNOWN": - case 0: - message.editionIntroduced = 0; - break; - case "EDITION_LEGACY": - case 900: - message.editionIntroduced = 900; - break; - case "EDITION_PROTO2": - case 998: - message.editionIntroduced = 998; - break; - case "EDITION_PROTO3": - case 999: - message.editionIntroduced = 999; - break; - case "EDITION_2023": - case 1000: - message.editionIntroduced = 1000; - break; - case "EDITION_2024": - case 1001: - message.editionIntroduced = 1001; - break; - case "EDITION_1_TEST_ONLY": - case 1: - message.editionIntroduced = 1; - break; - case "EDITION_2_TEST_ONLY": - case 2: - message.editionIntroduced = 2; - break; - case "EDITION_99997_TEST_ONLY": - case 99997: - message.editionIntroduced = 99997; - break; - case "EDITION_99998_TEST_ONLY": - case 99998: - message.editionIntroduced = 99998; - break; - case "EDITION_99999_TEST_ONLY": - case 99999: - message.editionIntroduced = 99999; - break; - case "EDITION_MAX": - case 2147483647: - message.editionIntroduced = 2147483647; - break; - } - switch (object.editionDeprecated) { - default: - if (typeof object.editionDeprecated === "number") { - message.editionDeprecated = object.editionDeprecated; - break; - } - break; - case "EDITION_UNKNOWN": - case 0: - message.editionDeprecated = 0; - break; - case "EDITION_LEGACY": - case 900: - message.editionDeprecated = 900; - break; - case "EDITION_PROTO2": - case 998: - message.editionDeprecated = 998; - break; - case "EDITION_PROTO3": - case 999: - message.editionDeprecated = 999; - break; - case "EDITION_2023": - case 1000: - message.editionDeprecated = 1000; - break; - case "EDITION_2024": - case 1001: - message.editionDeprecated = 1001; - break; - case "EDITION_1_TEST_ONLY": - case 1: - message.editionDeprecated = 1; - break; - case "EDITION_2_TEST_ONLY": - case 2: - message.editionDeprecated = 2; - break; - case "EDITION_99997_TEST_ONLY": - case 99997: - message.editionDeprecated = 99997; - break; - case "EDITION_99998_TEST_ONLY": - case 99998: - message.editionDeprecated = 99998; - break; - case "EDITION_99999_TEST_ONLY": - case 99999: - message.editionDeprecated = 99999; - break; - case "EDITION_MAX": - case 2147483647: - message.editionDeprecated = 2147483647; - break; - } - if (object.deprecationWarning != null) - message.deprecationWarning = String(object.deprecationWarning); - switch (object.editionRemoved) { - default: - if (typeof object.editionRemoved === "number") { - message.editionRemoved = object.editionRemoved; - break; - } - break; - case "EDITION_UNKNOWN": - case 0: - message.editionRemoved = 0; - break; - case "EDITION_LEGACY": - case 900: - message.editionRemoved = 900; - break; case "EDITION_PROTO2": case 998: - message.editionRemoved = 998; + message.edition = 998; break; case "EDITION_PROTO3": case 999: - message.editionRemoved = 999; + message.edition = 999; break; case "EDITION_2023": case 1000: - message.editionRemoved = 1000; + message.edition = 1000; break; case "EDITION_2024": case 1001: - message.editionRemoved = 1001; + message.edition = 1001; break; case "EDITION_1_TEST_ONLY": case 1: - message.editionRemoved = 1; + message.edition = 1; break; case "EDITION_2_TEST_ONLY": case 2: - message.editionRemoved = 2; + message.edition = 2; break; case "EDITION_99997_TEST_ONLY": case 99997: - message.editionRemoved = 99997; + message.edition = 99997; break; case "EDITION_99998_TEST_ONLY": case 99998: - message.editionRemoved = 99998; + message.edition = 99998; break; case "EDITION_99999_TEST_ONLY": case 99999: - message.editionRemoved = 99999; + message.edition = 99999; break; case "EDITION_MAX": case 2147483647: - message.editionRemoved = 2147483647; + message.edition = 2147483647; break; } + if (object.value != null) + message.value = String(object.value); return message; }; /** - * Creates a plain object from a FeatureSupport message. Also converts values to other types if specified. + * Creates a plain object from an EditionDefault message. Also converts values to other types if specified. * @function toObject - * @memberof google.protobuf.FieldOptions.FeatureSupport + * @memberof google.protobuf.FieldOptions.EditionDefault * @static - * @param {google.protobuf.FieldOptions.FeatureSupport} message FeatureSupport + * @param {google.protobuf.FieldOptions.EditionDefault} message EditionDefault * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - FeatureSupport.toObject = function toObject(message, options) { + EditionDefault.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; if (options.defaults) { - object.editionIntroduced = options.enums === String ? "EDITION_UNKNOWN" : 0; - object.editionDeprecated = options.enums === String ? "EDITION_UNKNOWN" : 0; - object.deprecationWarning = ""; - object.editionRemoved = options.enums === String ? "EDITION_UNKNOWN" : 0; + object.value = ""; + object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0; } - if (message.editionIntroduced != null && message.hasOwnProperty("editionIntroduced")) - object.editionIntroduced = options.enums === String ? $root.google.protobuf.Edition[message.editionIntroduced] === undefined ? message.editionIntroduced : $root.google.protobuf.Edition[message.editionIntroduced] : message.editionIntroduced; - if (message.editionDeprecated != null && message.hasOwnProperty("editionDeprecated")) - object.editionDeprecated = options.enums === String ? $root.google.protobuf.Edition[message.editionDeprecated] === undefined ? message.editionDeprecated : $root.google.protobuf.Edition[message.editionDeprecated] : message.editionDeprecated; - if (message.deprecationWarning != null && message.hasOwnProperty("deprecationWarning")) - object.deprecationWarning = message.deprecationWarning; - if (message.editionRemoved != null && message.hasOwnProperty("editionRemoved")) - object.editionRemoved = options.enums === String ? $root.google.protobuf.Edition[message.editionRemoved] === undefined ? message.editionRemoved : $root.google.protobuf.Edition[message.editionRemoved] : message.editionRemoved; + if (message.value != null && message.hasOwnProperty("value")) + object.value = message.value; + if (message.edition != null && message.hasOwnProperty("edition")) + object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; return object; }; /** - * Converts this FeatureSupport to JSON. + * Converts this EditionDefault to JSON. * @function toJSON - * @memberof google.protobuf.FieldOptions.FeatureSupport + * @memberof google.protobuf.FieldOptions.EditionDefault * @instance * @returns {Object.} JSON object */ - FeatureSupport.prototype.toJSON = function toJSON() { + EditionDefault.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for FeatureSupport + * Gets the default type url for EditionDefault * @function getTypeUrl - * @memberof google.protobuf.FieldOptions.FeatureSupport + * @memberof google.protobuf.FieldOptions.EditionDefault * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - FeatureSupport.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + EditionDefault.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.protobuf.FieldOptions.FeatureSupport"; + return typeUrlPrefix + "/google.protobuf.FieldOptions.EditionDefault"; }; - return FeatureSupport; + return EditionDefault; })(); return FieldOptions; @@ -72550,7 +71281,6 @@ * @property {boolean|null} [deprecated] EnumValueOptions deprecated * @property {google.protobuf.IFeatureSet|null} [features] EnumValueOptions features * @property {boolean|null} [debugRedact] EnumValueOptions debugRedact - * @property {google.protobuf.FieldOptions.IFeatureSupport|null} [featureSupport] EnumValueOptions featureSupport * @property {Array.|null} [uninterpretedOption] EnumValueOptions uninterpretedOption */ @@ -72594,14 +71324,6 @@ */ EnumValueOptions.prototype.debugRedact = false; - /** - * EnumValueOptions featureSupport. - * @member {google.protobuf.FieldOptions.IFeatureSupport|null|undefined} featureSupport - * @memberof google.protobuf.EnumValueOptions - * @instance - */ - EnumValueOptions.prototype.featureSupport = null; - /** * EnumValueOptions uninterpretedOption. * @member {Array.} uninterpretedOption @@ -72640,8 +71362,6 @@ $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); if (message.debugRedact != null && Object.hasOwnProperty.call(message, "debugRedact")) writer.uint32(/* id 3, wireType 0 =*/24).bool(message.debugRedact); - if (message.featureSupport != null && Object.hasOwnProperty.call(message, "featureSupport")) - $root.google.protobuf.FieldOptions.FeatureSupport.encode(message.featureSupport, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); if (message.uninterpretedOption != null && message.uninterpretedOption.length) for (var i = 0; i < message.uninterpretedOption.length; ++i) $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim(); @@ -72693,10 +71413,6 @@ message.debugRedact = reader.bool(); break; } - case 4: { - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.decode(reader, reader.uint32()); - break; - } case 999: { if (!(message.uninterpretedOption && message.uninterpretedOption.length)) message.uninterpretedOption = []; @@ -72749,11 +71465,6 @@ if (message.debugRedact != null && message.hasOwnProperty("debugRedact")) if (typeof message.debugRedact !== "boolean") return "debugRedact: boolean expected"; - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) { - var error = $root.google.protobuf.FieldOptions.FeatureSupport.verify(message.featureSupport); - if (error) - return "featureSupport." + error; - } if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) { if (!Array.isArray(message.uninterpretedOption)) return "uninterpretedOption: array expected"; @@ -72787,11 +71498,6 @@ } if (object.debugRedact != null) message.debugRedact = Boolean(object.debugRedact); - if (object.featureSupport != null) { - if (typeof object.featureSupport !== "object") - throw TypeError(".google.protobuf.EnumValueOptions.featureSupport: object expected"); - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.fromObject(object.featureSupport); - } if (object.uninterpretedOption) { if (!Array.isArray(object.uninterpretedOption)) throw TypeError(".google.protobuf.EnumValueOptions.uninterpretedOption: array expected"); @@ -72824,7 +71530,6 @@ object.deprecated = false; object.features = null; object.debugRedact = false; - object.featureSupport = null; } if (message.deprecated != null && message.hasOwnProperty("deprecated")) object.deprecated = message.deprecated; @@ -72832,8 +71537,6 @@ object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options); if (message.debugRedact != null && message.hasOwnProperty("debugRedact")) object.debugRedact = message.debugRedact; - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) - object.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.toObject(message.featureSupport, options); if (message.uninterpretedOption && message.uninterpretedOption.length) { object.uninterpretedOption = []; for (var j = 0; j < message.uninterpretedOption.length; ++j) @@ -74301,8 +73004,6 @@ * @property {google.protobuf.FeatureSet.Utf8Validation|null} [utf8Validation] FeatureSet utf8Validation * @property {google.protobuf.FeatureSet.MessageEncoding|null} [messageEncoding] FeatureSet messageEncoding * @property {google.protobuf.FeatureSet.JsonFormat|null} [jsonFormat] FeatureSet jsonFormat - * @property {google.protobuf.FeatureSet.EnforceNamingStyle|null} [enforceNamingStyle] FeatureSet enforceNamingStyle - * @property {google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|null} [defaultSymbolVisibility] FeatureSet defaultSymbolVisibility */ /** @@ -74368,22 +73069,6 @@ */ FeatureSet.prototype.jsonFormat = 0; - /** - * FeatureSet enforceNamingStyle. - * @member {google.protobuf.FeatureSet.EnforceNamingStyle} enforceNamingStyle - * @memberof google.protobuf.FeatureSet - * @instance - */ - FeatureSet.prototype.enforceNamingStyle = 0; - - /** - * FeatureSet defaultSymbolVisibility. - * @member {google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility} defaultSymbolVisibility - * @memberof google.protobuf.FeatureSet - * @instance - */ - FeatureSet.prototype.defaultSymbolVisibility = 0; - /** * Creates a new FeatureSet instance using the specified properties. * @function create @@ -74420,10 +73105,6 @@ writer.uint32(/* id 5, wireType 0 =*/40).int32(message.messageEncoding); if (message.jsonFormat != null && Object.hasOwnProperty.call(message, "jsonFormat")) writer.uint32(/* id 6, wireType 0 =*/48).int32(message.jsonFormat); - if (message.enforceNamingStyle != null && Object.hasOwnProperty.call(message, "enforceNamingStyle")) - writer.uint32(/* id 7, wireType 0 =*/56).int32(message.enforceNamingStyle); - if (message.defaultSymbolVisibility != null && Object.hasOwnProperty.call(message, "defaultSymbolVisibility")) - writer.uint32(/* id 8, wireType 0 =*/64).int32(message.defaultSymbolVisibility); return writer; }; @@ -74484,14 +73165,6 @@ message.jsonFormat = reader.int32(); break; } - case 7: { - message.enforceNamingStyle = reader.int32(); - break; - } - case 8: { - message.defaultSymbolVisibility = reader.int32(); - break; - } default: reader.skipType(tag & 7); break; @@ -74582,26 +73255,6 @@ case 2: break; } - if (message.enforceNamingStyle != null && message.hasOwnProperty("enforceNamingStyle")) - switch (message.enforceNamingStyle) { - default: - return "enforceNamingStyle: enum value expected"; - case 0: - case 1: - case 2: - break; - } - if (message.defaultSymbolVisibility != null && message.hasOwnProperty("defaultSymbolVisibility")) - switch (message.defaultSymbolVisibility) { - default: - return "defaultSymbolVisibility: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } return null; }; @@ -74741,54 +73394,6 @@ message.jsonFormat = 2; break; } - switch (object.enforceNamingStyle) { - default: - if (typeof object.enforceNamingStyle === "number") { - message.enforceNamingStyle = object.enforceNamingStyle; - break; - } - break; - case "ENFORCE_NAMING_STYLE_UNKNOWN": - case 0: - message.enforceNamingStyle = 0; - break; - case "STYLE2024": - case 1: - message.enforceNamingStyle = 1; - break; - case "STYLE_LEGACY": - case 2: - message.enforceNamingStyle = 2; - break; - } - switch (object.defaultSymbolVisibility) { - default: - if (typeof object.defaultSymbolVisibility === "number") { - message.defaultSymbolVisibility = object.defaultSymbolVisibility; - break; - } - break; - case "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN": - case 0: - message.defaultSymbolVisibility = 0; - break; - case "EXPORT_ALL": - case 1: - message.defaultSymbolVisibility = 1; - break; - case "EXPORT_TOP_LEVEL": - case 2: - message.defaultSymbolVisibility = 2; - break; - case "LOCAL_ALL": - case 3: - message.defaultSymbolVisibility = 3; - break; - case "STRICT": - case 4: - message.defaultSymbolVisibility = 4; - break; - } return message; }; @@ -74812,8 +73417,6 @@ object.utf8Validation = options.enums === String ? "UTF8_VALIDATION_UNKNOWN" : 0; object.messageEncoding = options.enums === String ? "MESSAGE_ENCODING_UNKNOWN" : 0; object.jsonFormat = options.enums === String ? "JSON_FORMAT_UNKNOWN" : 0; - object.enforceNamingStyle = options.enums === String ? "ENFORCE_NAMING_STYLE_UNKNOWN" : 0; - object.defaultSymbolVisibility = options.enums === String ? "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN" : 0; } if (message.fieldPresence != null && message.hasOwnProperty("fieldPresence")) object.fieldPresence = options.enums === String ? $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] === undefined ? message.fieldPresence : $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] : message.fieldPresence; @@ -74827,10 +73430,6 @@ object.messageEncoding = options.enums === String ? $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] === undefined ? message.messageEncoding : $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] : message.messageEncoding; if (message.jsonFormat != null && message.hasOwnProperty("jsonFormat")) object.jsonFormat = options.enums === String ? $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] === undefined ? message.jsonFormat : $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] : message.jsonFormat; - if (message.enforceNamingStyle != null && message.hasOwnProperty("enforceNamingStyle")) - object.enforceNamingStyle = options.enums === String ? $root.google.protobuf.FeatureSet.EnforceNamingStyle[message.enforceNamingStyle] === undefined ? message.enforceNamingStyle : $root.google.protobuf.FeatureSet.EnforceNamingStyle[message.enforceNamingStyle] : message.enforceNamingStyle; - if (message.defaultSymbolVisibility != null && message.hasOwnProperty("defaultSymbolVisibility")) - object.defaultSymbolVisibility = options.enums === String ? $root.google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility[message.defaultSymbolVisibility] === undefined ? message.defaultSymbolVisibility : $root.google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility[message.defaultSymbolVisibility] : message.defaultSymbolVisibility; return object; }; @@ -74958,219 +73557,6 @@ return values; })(); - /** - * EnforceNamingStyle enum. - * @name google.protobuf.FeatureSet.EnforceNamingStyle - * @enum {number} - * @property {number} ENFORCE_NAMING_STYLE_UNKNOWN=0 ENFORCE_NAMING_STYLE_UNKNOWN value - * @property {number} STYLE2024=1 STYLE2024 value - * @property {number} STYLE_LEGACY=2 STYLE_LEGACY value - */ - FeatureSet.EnforceNamingStyle = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "ENFORCE_NAMING_STYLE_UNKNOWN"] = 0; - values[valuesById[1] = "STYLE2024"] = 1; - values[valuesById[2] = "STYLE_LEGACY"] = 2; - return values; - })(); - - FeatureSet.VisibilityFeature = (function() { - - /** - * Properties of a VisibilityFeature. - * @memberof google.protobuf.FeatureSet - * @interface IVisibilityFeature - */ - - /** - * Constructs a new VisibilityFeature. - * @memberof google.protobuf.FeatureSet - * @classdesc Represents a VisibilityFeature. - * @implements IVisibilityFeature - * @constructor - * @param {google.protobuf.FeatureSet.IVisibilityFeature=} [properties] Properties to set - */ - function VisibilityFeature(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Creates a new VisibilityFeature instance using the specified properties. - * @function create - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.IVisibilityFeature=} [properties] Properties to set - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature instance - */ - VisibilityFeature.create = function create(properties) { - return new VisibilityFeature(properties); - }; - - /** - * Encodes the specified VisibilityFeature message. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @function encode - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.IVisibilityFeature} message VisibilityFeature message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - VisibilityFeature.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - return writer; - }; - - /** - * Encodes the specified VisibilityFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @function encodeDelimited - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.IVisibilityFeature} message VisibilityFeature message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - VisibilityFeature.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer. - * @function decode - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - VisibilityFeature.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FeatureSet.VisibilityFeature(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - VisibilityFeature.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a VisibilityFeature message. - * @function verify - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - VisibilityFeature.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - return null; - }; - - /** - * Creates a VisibilityFeature message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {Object.} object Plain object - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature - */ - VisibilityFeature.fromObject = function fromObject(object) { - if (object instanceof $root.google.protobuf.FeatureSet.VisibilityFeature) - return object; - return new $root.google.protobuf.FeatureSet.VisibilityFeature(); - }; - - /** - * Creates a plain object from a VisibilityFeature message. Also converts values to other types if specified. - * @function toObject - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.VisibilityFeature} message VisibilityFeature - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - VisibilityFeature.toObject = function toObject() { - return {}; - }; - - /** - * Converts this VisibilityFeature to JSON. - * @function toJSON - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @instance - * @returns {Object.} JSON object - */ - VisibilityFeature.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for VisibilityFeature - * @function getTypeUrl - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - VisibilityFeature.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.FeatureSet.VisibilityFeature"; - }; - - /** - * DefaultSymbolVisibility enum. - * @name google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility - * @enum {number} - * @property {number} DEFAULT_SYMBOL_VISIBILITY_UNKNOWN=0 DEFAULT_SYMBOL_VISIBILITY_UNKNOWN value - * @property {number} EXPORT_ALL=1 EXPORT_ALL value - * @property {number} EXPORT_TOP_LEVEL=2 EXPORT_TOP_LEVEL value - * @property {number} LOCAL_ALL=3 LOCAL_ALL value - * @property {number} STRICT=4 STRICT value - */ - VisibilityFeature.DefaultSymbolVisibility = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN"] = 0; - values[valuesById[1] = "EXPORT_ALL"] = 1; - values[valuesById[2] = "EXPORT_TOP_LEVEL"] = 2; - values[valuesById[3] = "LOCAL_ALL"] = 3; - values[valuesById[4] = "STRICT"] = 4; - return values; - })(); - - return VisibilityFeature; - })(); - return FeatureSet; })(); @@ -75355,7 +73741,6 @@ default: return "minimumEdition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -75373,7 +73758,6 @@ default: return "maximumEdition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -75422,10 +73806,6 @@ case 0: message.minimumEdition = 0; break; - case "EDITION_LEGACY": - case 900: - message.minimumEdition = 900; - break; case "EDITION_PROTO2": case 998: message.minimumEdition = 998; @@ -75478,10 +73858,6 @@ case 0: message.maximumEdition = 0; break; - case "EDITION_LEGACY": - case 900: - message.maximumEdition = 900; - break; case "EDITION_PROTO2": case 998: message.maximumEdition = 998; @@ -75590,8 +73966,7 @@ * @memberof google.protobuf.FeatureSetDefaults * @interface IFeatureSetEditionDefault * @property {google.protobuf.Edition|null} [edition] FeatureSetEditionDefault edition - * @property {google.protobuf.IFeatureSet|null} [overridableFeatures] FeatureSetEditionDefault overridableFeatures - * @property {google.protobuf.IFeatureSet|null} [fixedFeatures] FeatureSetEditionDefault fixedFeatures + * @property {google.protobuf.IFeatureSet|null} [features] FeatureSetEditionDefault features */ /** @@ -75618,20 +73993,12 @@ FeatureSetEditionDefault.prototype.edition = 0; /** - * FeatureSetEditionDefault overridableFeatures. - * @member {google.protobuf.IFeatureSet|null|undefined} overridableFeatures - * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault - * @instance - */ - FeatureSetEditionDefault.prototype.overridableFeatures = null; - - /** - * FeatureSetEditionDefault fixedFeatures. - * @member {google.protobuf.IFeatureSet|null|undefined} fixedFeatures + * FeatureSetEditionDefault features. + * @member {google.protobuf.IFeatureSet|null|undefined} features * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault * @instance */ - FeatureSetEditionDefault.prototype.fixedFeatures = null; + FeatureSetEditionDefault.prototype.features = null; /** * Creates a new FeatureSetEditionDefault instance using the specified properties. @@ -75657,12 +74024,10 @@ FeatureSetEditionDefault.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); + if (message.features != null && Object.hasOwnProperty.call(message, "features")) + $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); if (message.edition != null && Object.hasOwnProperty.call(message, "edition")) writer.uint32(/* id 3, wireType 0 =*/24).int32(message.edition); - if (message.overridableFeatures != null && Object.hasOwnProperty.call(message, "overridableFeatures")) - $root.google.protobuf.FeatureSet.encode(message.overridableFeatures, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.fixedFeatures != null && Object.hasOwnProperty.call(message, "fixedFeatures")) - $root.google.protobuf.FeatureSet.encode(message.fixedFeatures, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); return writer; }; @@ -75703,12 +74068,8 @@ message.edition = reader.int32(); break; } - case 4: { - message.overridableFeatures = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); - break; - } - case 5: { - message.fixedFeatures = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); + case 2: { + message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); break; } default: @@ -75751,7 +74112,6 @@ default: return "edition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -75764,15 +74124,10 @@ case 2147483647: break; } - if (message.overridableFeatures != null && message.hasOwnProperty("overridableFeatures")) { - var error = $root.google.protobuf.FeatureSet.verify(message.overridableFeatures); - if (error) - return "overridableFeatures." + error; - } - if (message.fixedFeatures != null && message.hasOwnProperty("fixedFeatures")) { - var error = $root.google.protobuf.FeatureSet.verify(message.fixedFeatures); + if (message.features != null && message.hasOwnProperty("features")) { + var error = $root.google.protobuf.FeatureSet.verify(message.features); if (error) - return "fixedFeatures." + error; + return "features." + error; } return null; }; @@ -75800,10 +74155,6 @@ case 0: message.edition = 0; break; - case "EDITION_LEGACY": - case 900: - message.edition = 900; - break; case "EDITION_PROTO2": case 998: message.edition = 998; @@ -75845,15 +74196,10 @@ message.edition = 2147483647; break; } - if (object.overridableFeatures != null) { - if (typeof object.overridableFeatures !== "object") - throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.overridableFeatures: object expected"); - message.overridableFeatures = $root.google.protobuf.FeatureSet.fromObject(object.overridableFeatures); - } - if (object.fixedFeatures != null) { - if (typeof object.fixedFeatures !== "object") - throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.fixedFeatures: object expected"); - message.fixedFeatures = $root.google.protobuf.FeatureSet.fromObject(object.fixedFeatures); + if (object.features != null) { + if (typeof object.features !== "object") + throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.features: object expected"); + message.features = $root.google.protobuf.FeatureSet.fromObject(object.features); } return message; }; @@ -75872,16 +74218,13 @@ options = {}; var object = {}; if (options.defaults) { + object.features = null; object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0; - object.overridableFeatures = null; - object.fixedFeatures = null; } + if (message.features != null && message.hasOwnProperty("features")) + object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options); if (message.edition != null && message.hasOwnProperty("edition")) object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; - if (message.overridableFeatures != null && message.hasOwnProperty("overridableFeatures")) - object.overridableFeatures = $root.google.protobuf.FeatureSet.toObject(message.overridableFeatures, options); - if (message.fixedFeatures != null && message.hasOwnProperty("fixedFeatures")) - object.fixedFeatures = $root.google.protobuf.FeatureSet.toObject(message.fixedFeatures, options); return object; }; @@ -77096,22 +75439,6 @@ return GeneratedCodeInfo; })(); - /** - * SymbolVisibility enum. - * @name google.protobuf.SymbolVisibility - * @enum {number} - * @property {number} VISIBILITY_UNSET=0 VISIBILITY_UNSET value - * @property {number} VISIBILITY_LOCAL=1 VISIBILITY_LOCAL value - * @property {number} VISIBILITY_EXPORT=2 VISIBILITY_EXPORT value - */ - protobuf.SymbolVisibility = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "VISIBILITY_UNSET"] = 0; - values[valuesById[1] = "VISIBILITY_LOCAL"] = 1; - values[valuesById[2] = "VISIBILITY_EXPORT"] = 2; - return values; - })(); - protobuf.Duration = (function() { /** diff --git a/packages/google-cloud-deploy/protos/protos.json b/packages/google-cloud-deploy/protos/protos.json index a28a22930596..0373d5fb2749 100644 --- a/packages/google-cloud-deploy/protos/protos.json +++ b/packages/google-cloud-deploy/protos/protos.json @@ -6889,7 +6889,8 @@ "java_multiple_files": true, "java_outer_classname": "ResourceProto", "java_package": "com.google.api", - "objc_class_prefix": "GAPI" + "objc_class_prefix": "GAPI", + "cc_enable_arenas": true }, "nested": { "http": { @@ -7013,10 +7014,6 @@ "rule": "repeated", "type": "ClientLibraryDestination", "id": 2 - }, - "selectiveGapicGeneration": { - "type": "SelectiveGapicGeneration", - "id": 3 } } }, @@ -7157,28 +7154,6 @@ "common": { "type": "CommonLanguageSettings", "id": 1 - }, - "experimentalFeatures": { - "type": "ExperimentalFeatures", - "id": 2 - } - }, - "nested": { - "ExperimentalFeatures": { - "fields": { - "restAsyncIoEnabled": { - "type": "bool", - "id": 1 - }, - "protobufPythonicTypesEnabled": { - "type": "bool", - "id": 2 - }, - "unversionedPackageDisabled": { - "type": "bool", - "id": 3 - } - } } } }, @@ -7236,11 +7211,6 @@ "common": { "type": "CommonLanguageSettings", "id": 1 - }, - "renamedServices": { - "keyType": "string", - "type": "string", - "id": 2 } } }, @@ -7302,19 +7272,6 @@ "PACKAGE_MANAGER": 20 } }, - "SelectiveGapicGeneration": { - "fields": { - "methods": { - "rule": "repeated", - "type": "string", - "id": 1 - }, - "generateOmittedAsInternal": { - "type": "bool", - "id": 2 - } - } - }, "LaunchStage": { "values": { "LAUNCH_STAGE_UNSPECIFIED": 0, @@ -7447,19 +7404,12 @@ "type": "FileDescriptorProto", "id": 1 } - }, - "extensions": [ - [ - 536000000, - 536000000 - ] - ] + } }, "Edition": { "edition": "proto2", "values": { "EDITION_UNKNOWN": 0, - "EDITION_LEGACY": 900, "EDITION_PROTO2": 998, "EDITION_PROTO3": 999, "EDITION_2023": 1000, @@ -7498,11 +7448,6 @@ "type": "int32", "id": 11 }, - "optionDependency": { - "rule": "repeated", - "type": "string", - "id": 15 - }, "messageType": { "rule": "repeated", "type": "DescriptorProto", @@ -7591,10 +7536,6 @@ "rule": "repeated", "type": "string", "id": 10 - }, - "visibility": { - "type": "SymbolVisibility", - "id": 11 } }, "nested": { @@ -7820,10 +7761,6 @@ "rule": "repeated", "type": "string", "id": 5 - }, - "visibility": { - "type": "SymbolVisibility", - "id": 6 } }, "nested": { @@ -8038,7 +7975,6 @@ 42, 42 ], - "php_generic_services", [ 38, 38 @@ -8174,8 +8110,7 @@ "type": "bool", "id": 10, "options": { - "default": false, - "deprecated": true + "default": false } }, "debugRedact": { @@ -8203,10 +8138,6 @@ "type": "FeatureSet", "id": 21 }, - "featureSupport": { - "type": "FeatureSupport", - "id": 22 - }, "uninterpretedOption": { "rule": "repeated", "type": "UninterpretedOption", @@ -8276,26 +8207,6 @@ "id": 2 } } - }, - "FeatureSupport": { - "fields": { - "editionIntroduced": { - "type": "Edition", - "id": 1 - }, - "editionDeprecated": { - "type": "Edition", - "id": 2 - }, - "deprecationWarning": { - "type": "string", - "id": 3 - }, - "editionRemoved": { - "type": "Edition", - "id": 4 - } - } } } }, @@ -8384,10 +8295,6 @@ "default": false } }, - "featureSupport": { - "type": "FieldOptions.FeatureSupport", - "id": 4 - }, "uninterpretedOption": { "rule": "repeated", "type": "UninterpretedOption", @@ -8530,7 +8437,6 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_2023", "edition_defaults.value": "EXPLICIT" } @@ -8541,7 +8447,6 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_PROTO3", "edition_defaults.value": "OPEN" } @@ -8552,7 +8457,6 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_PROTO3", "edition_defaults.value": "PACKED" } @@ -8563,7 +8467,6 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_PROTO3", "edition_defaults.value": "VERIFY" } @@ -8574,8 +8477,7 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", - "edition_defaults.edition": "EDITION_LEGACY", + "edition_defaults.edition": "EDITION_PROTO2", "edition_defaults.value": "LENGTH_PREFIXED" } }, @@ -8585,38 +8487,27 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_PROTO3", "edition_defaults.value": "ALLOW" } - }, - "enforceNamingStyle": { - "type": "EnforceNamingStyle", - "id": 7, - "options": { - "retention": "RETENTION_SOURCE", - "targets": "TARGET_TYPE_METHOD", - "feature_support.edition_introduced": "EDITION_2024", - "edition_defaults.edition": "EDITION_2024", - "edition_defaults.value": "STYLE2024" - } - }, - "defaultSymbolVisibility": { - "type": "VisibilityFeature.DefaultSymbolVisibility", - "id": 8, - "options": { - "retention": "RETENTION_SOURCE", - "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2024", - "edition_defaults.edition": "EDITION_2024", - "edition_defaults.value": "EXPORT_TOP_LEVEL" - } } }, "extensions": [ [ 1000, - 9994 + 1000 + ], + [ + 1001, + 1001 + ], + [ + 1002, + 1002 + ], + [ + 9990, + 9990 ], [ 9995, @@ -8661,13 +8552,7 @@ "UTF8_VALIDATION_UNKNOWN": 0, "VERIFY": 2, "NONE": 3 - }, - "reserved": [ - [ - 1, - 1 - ] - ] + } }, "MessageEncoding": { "values": { @@ -8682,33 +8567,6 @@ "ALLOW": 1, "LEGACY_BEST_EFFORT": 2 } - }, - "EnforceNamingStyle": { - "values": { - "ENFORCE_NAMING_STYLE_UNKNOWN": 0, - "STYLE2024": 1, - "STYLE_LEGACY": 2 - } - }, - "VisibilityFeature": { - "fields": {}, - "reserved": [ - [ - 1, - 536870911 - ] - ], - "nested": { - "DefaultSymbolVisibility": { - "values": { - "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN": 0, - "EXPORT_ALL": 1, - "EXPORT_TOP_LEVEL": 2, - "LOCAL_ALL": 3, - "STRICT": 4 - } - } - } } } }, @@ -8736,26 +8594,11 @@ "type": "Edition", "id": 3 }, - "overridableFeatures": { + "features": { "type": "FeatureSet", - "id": 4 - }, - "fixedFeatures": { - "type": "FeatureSet", - "id": 5 + "id": 2 } - }, - "reserved": [ - [ - 1, - 1 - ], - [ - 2, - 2 - ], - "features" - ] + } } } }, @@ -8768,12 +8611,6 @@ "id": 1 } }, - "extensions": [ - [ - 536000000, - 536000000 - ] - ], "nested": { "Location": { "fields": { @@ -8859,14 +8696,6 @@ } } }, - "SymbolVisibility": { - "edition": "proto2", - "values": { - "VISIBILITY_UNSET": 0, - "VISIBILITY_LOCAL": 1, - "VISIBILITY_EXPORT": 2 - } - }, "Duration": { "fields": { "seconds": { @@ -8925,7 +8754,6 @@ "java_multiple_files": true, "java_outer_classname": "OperationsProto", "java_package": "com.google.longrunning", - "objc_class_prefix": "GLRUN", "php_namespace": "Google\\LongRunning" }, "nested": { diff --git a/packages/google-cloud-deploy/samples/generated/v1/snippet_metadata_google.cloud.deploy.v1.json b/packages/google-cloud-deploy/samples/generated/v1/snippet_metadata_google.cloud.deploy.v1.json index b035eb637bfc..07ce970672fc 100644 --- a/packages/google-cloud-deploy/samples/generated/v1/snippet_metadata_google.cloud.deploy.v1.json +++ b/packages/google-cloud-deploy/samples/generated/v1/snippet_metadata_google.cloud.deploy.v1.json @@ -1,2323 +1,2323 @@ { - "clientLibrary": { - "name": "nodejs-deploy", - "version": "5.2.0", - "language": "TYPESCRIPT", - "apis": [ - { - "id": "google.cloud.deploy.v1", - "version": "v1" - } - ] - }, - "snippets": [ + "clientLibrary": { + "name": "nodejs-deploy", + "version": "0.1.0", + "language": "TYPESCRIPT", + "apis": [ + { + "id": "google.cloud.deploy.v1", + "version": "v1" + } + ] + }, + "snippets": [ + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_ListDeliveryPipelines_async", + "title": "CloudDeploy listDeliveryPipelines Sample", + "origin": "API_DEFINITION", + "description": " Lists DeliveryPipelines in a given project and location.", + "canonical": true, + "file": "cloud_deploy.list_delivery_pipelines.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_ListDeliveryPipelines_async", - "title": "CloudDeploy listDeliveryPipelines Sample", - "origin": "API_DEFINITION", - "description": " Lists DeliveryPipelines in a given project and location.", - "canonical": true, - "file": "cloud_deploy.list_delivery_pipelines.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 79, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListDeliveryPipelines", - "fullName": "google.cloud.deploy.v1.CloudDeploy.ListDeliveryPipelines", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.deploy.v1.ListDeliveryPipelinesResponse", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "ListDeliveryPipelines", - "fullName": "google.cloud.deploy.v1.CloudDeploy.ListDeliveryPipelines", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 79, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListDeliveryPipelines", + "fullName": "google.cloud.deploy.v1.CloudDeploy.ListDeliveryPipelines", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.deploy.v1.ListDeliveryPipelinesResponse", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "ListDeliveryPipelines", + "fullName": "google.cloud.deploy.v1.CloudDeploy.ListDeliveryPipelines", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetDeliveryPipeline_async", + "title": "CloudDeploy getDeliveryPipeline Sample", + "origin": "API_DEFINITION", + "description": " Gets details of a single DeliveryPipeline.", + "canonical": true, + "file": "cloud_deploy.get_delivery_pipeline.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetDeliveryPipeline_async", - "title": "CloudDeploy getDeliveryPipeline Sample", - "origin": "API_DEFINITION", - "description": " Gets details of a single DeliveryPipeline.", - "canonical": true, - "file": "cloud_deploy.get_delivery_pipeline.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetDeliveryPipeline", - "fullName": "google.cloud.deploy.v1.CloudDeploy.GetDeliveryPipeline", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.deploy.v1.DeliveryPipeline", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "GetDeliveryPipeline", - "fullName": "google.cloud.deploy.v1.CloudDeploy.GetDeliveryPipeline", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetDeliveryPipeline", + "fullName": "google.cloud.deploy.v1.CloudDeploy.GetDeliveryPipeline", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.deploy.v1.DeliveryPipeline", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "GetDeliveryPipeline", + "fullName": "google.cloud.deploy.v1.CloudDeploy.GetDeliveryPipeline", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_CreateDeliveryPipeline_async", + "title": "CloudDeploy createDeliveryPipeline Sample", + "origin": "API_DEFINITION", + "description": " Creates a new DeliveryPipeline in a given project and location.", + "canonical": true, + "file": "cloud_deploy.create_delivery_pipeline.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_CreateDeliveryPipeline_async", - "title": "CloudDeploy createDeliveryPipeline Sample", - "origin": "API_DEFINITION", - "description": " Creates a new DeliveryPipeline in a given project and location.", - "canonical": true, - "file": "cloud_deploy.create_delivery_pipeline.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 84, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateDeliveryPipeline", - "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateDeliveryPipeline", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "delivery_pipeline_id", - "type": "TYPE_STRING" - }, - { - "name": "delivery_pipeline", - "type": ".google.cloud.deploy.v1.DeliveryPipeline" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - }, - { - "name": "validate_only", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "CreateDeliveryPipeline", - "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateDeliveryPipeline", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 84, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateDeliveryPipeline", + "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateDeliveryPipeline", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "delivery_pipeline_id", + "type": "TYPE_STRING" + }, + { + "name": "delivery_pipeline", + "type": ".google.cloud.deploy.v1.DeliveryPipeline" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + }, + { + "name": "validate_only", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "CreateDeliveryPipeline", + "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateDeliveryPipeline", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_UpdateDeliveryPipeline_async", + "title": "CloudDeploy updateDeliveryPipeline Sample", + "origin": "API_DEFINITION", + "description": " Updates the parameters of a single DeliveryPipeline.", + "canonical": true, + "file": "cloud_deploy.update_delivery_pipeline.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_UpdateDeliveryPipeline_async", - "title": "CloudDeploy updateDeliveryPipeline Sample", - "origin": "API_DEFINITION", - "description": " Updates the parameters of a single DeliveryPipeline.", - "canonical": true, - "file": "cloud_deploy.update_delivery_pipeline.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 87, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateDeliveryPipeline", - "fullName": "google.cloud.deploy.v1.CloudDeploy.UpdateDeliveryPipeline", - "async": true, - "parameters": [ - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - }, - { - "name": "delivery_pipeline", - "type": ".google.cloud.deploy.v1.DeliveryPipeline" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - }, - { - "name": "allow_missing", - "type": "TYPE_BOOL" - }, - { - "name": "validate_only", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "UpdateDeliveryPipeline", - "fullName": "google.cloud.deploy.v1.CloudDeploy.UpdateDeliveryPipeline", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 87, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateDeliveryPipeline", + "fullName": "google.cloud.deploy.v1.CloudDeploy.UpdateDeliveryPipeline", + "async": true, + "parameters": [ + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + }, + { + "name": "delivery_pipeline", + "type": ".google.cloud.deploy.v1.DeliveryPipeline" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + }, + { + "name": "allow_missing", + "type": "TYPE_BOOL" + }, + { + "name": "validate_only", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "UpdateDeliveryPipeline", + "fullName": "google.cloud.deploy.v1.CloudDeploy.UpdateDeliveryPipeline", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_DeleteDeliveryPipeline_async", + "title": "CloudDeploy deleteDeliveryPipeline Sample", + "origin": "API_DEFINITION", + "description": " Deletes a single DeliveryPipeline.", + "canonical": true, + "file": "cloud_deploy.delete_delivery_pipeline.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_DeleteDeliveryPipeline_async", - "title": "CloudDeploy deleteDeliveryPipeline Sample", - "origin": "API_DEFINITION", - "description": " Deletes a single DeliveryPipeline.", - "canonical": true, - "file": "cloud_deploy.delete_delivery_pipeline.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 91, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteDeliveryPipeline", - "fullName": "google.cloud.deploy.v1.CloudDeploy.DeleteDeliveryPipeline", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - }, - { - "name": "allow_missing", - "type": "TYPE_BOOL" - }, - { - "name": "validate_only", - "type": "TYPE_BOOL" - }, - { - "name": "force", - "type": "TYPE_BOOL" - }, - { - "name": "etag", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "DeleteDeliveryPipeline", - "fullName": "google.cloud.deploy.v1.CloudDeploy.DeleteDeliveryPipeline", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 91, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteDeliveryPipeline", + "fullName": "google.cloud.deploy.v1.CloudDeploy.DeleteDeliveryPipeline", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + }, + { + "name": "allow_missing", + "type": "TYPE_BOOL" + }, + { + "name": "validate_only", + "type": "TYPE_BOOL" + }, + { + "name": "force", + "type": "TYPE_BOOL" + }, + { + "name": "etag", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "DeleteDeliveryPipeline", + "fullName": "google.cloud.deploy.v1.CloudDeploy.DeleteDeliveryPipeline", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_ListTargets_async", + "title": "CloudDeploy listTargets Sample", + "origin": "API_DEFINITION", + "description": " Lists Targets in a given project and location.", + "canonical": true, + "file": "cloud_deploy.list_targets.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_ListTargets_async", - "title": "CloudDeploy listTargets Sample", - "origin": "API_DEFINITION", - "description": " Lists Targets in a given project and location.", - "canonical": true, - "file": "cloud_deploy.list_targets.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 80, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListTargets", - "fullName": "google.cloud.deploy.v1.CloudDeploy.ListTargets", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.deploy.v1.ListTargetsResponse", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "ListTargets", - "fullName": "google.cloud.deploy.v1.CloudDeploy.ListTargets", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 80, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListTargets", + "fullName": "google.cloud.deploy.v1.CloudDeploy.ListTargets", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.deploy.v1.ListTargetsResponse", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "ListTargets", + "fullName": "google.cloud.deploy.v1.CloudDeploy.ListTargets", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_RollbackTarget_async", + "title": "CloudDeploy rollbackTarget Sample", + "origin": "API_DEFINITION", + "description": " Creates a `Rollout` to roll back the specified target.", + "canonical": true, + "file": "cloud_deploy.rollback_target.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_RollbackTarget_async", - "title": "CloudDeploy rollbackTarget Sample", - "origin": "API_DEFINITION", - "description": " Creates a `Rollout` to roll back the specified target.", - "canonical": true, - "file": "cloud_deploy.rollback_target.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 90, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "RollbackTarget", - "fullName": "google.cloud.deploy.v1.CloudDeploy.RollbackTarget", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "target_id", - "type": "TYPE_STRING" - }, - { - "name": "rollout_id", - "type": "TYPE_STRING" - }, - { - "name": "release_id", - "type": "TYPE_STRING" - }, - { - "name": "rollout_to_roll_back", - "type": "TYPE_STRING" - }, - { - "name": "rollback_config", - "type": ".google.cloud.deploy.v1.RollbackTargetConfig" - }, - { - "name": "validate_only", - "type": "TYPE_BOOL" - }, - { - "name": "override_deploy_policy", - "type": "TYPE_STRING[]" - } - ], - "resultType": ".google.cloud.deploy.v1.RollbackTargetResponse", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "RollbackTarget", - "fullName": "google.cloud.deploy.v1.CloudDeploy.RollbackTarget", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 90, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "RollbackTarget", + "fullName": "google.cloud.deploy.v1.CloudDeploy.RollbackTarget", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "target_id", + "type": "TYPE_STRING" + }, + { + "name": "rollout_id", + "type": "TYPE_STRING" + }, + { + "name": "release_id", + "type": "TYPE_STRING" + }, + { + "name": "rollout_to_roll_back", + "type": "TYPE_STRING" + }, + { + "name": "rollback_config", + "type": ".google.cloud.deploy.v1.RollbackTargetConfig" + }, + { + "name": "validate_only", + "type": "TYPE_BOOL" + }, + { + "name": "override_deploy_policy", + "type": "TYPE_STRING[]" + } + ], + "resultType": ".google.cloud.deploy.v1.RollbackTargetResponse", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "RollbackTarget", + "fullName": "google.cloud.deploy.v1.CloudDeploy.RollbackTarget", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetTarget_async", + "title": "CloudDeploy getTarget Sample", + "origin": "API_DEFINITION", + "description": " Gets details of a single Target.", + "canonical": true, + "file": "cloud_deploy.get_target.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetTarget_async", - "title": "CloudDeploy getTarget Sample", - "origin": "API_DEFINITION", - "description": " Gets details of a single Target.", - "canonical": true, - "file": "cloud_deploy.get_target.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetTarget", - "fullName": "google.cloud.deploy.v1.CloudDeploy.GetTarget", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.deploy.v1.Target", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "GetTarget", - "fullName": "google.cloud.deploy.v1.CloudDeploy.GetTarget", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetTarget", + "fullName": "google.cloud.deploy.v1.CloudDeploy.GetTarget", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.deploy.v1.Target", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "GetTarget", + "fullName": "google.cloud.deploy.v1.CloudDeploy.GetTarget", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_CreateTarget_async", + "title": "CloudDeploy createTarget Sample", + "origin": "API_DEFINITION", + "description": " Creates a new Target in a given project and location.", + "canonical": true, + "file": "cloud_deploy.create_target.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_CreateTarget_async", - "title": "CloudDeploy createTarget Sample", - "origin": "API_DEFINITION", - "description": " Creates a new Target in a given project and location.", - "canonical": true, - "file": "cloud_deploy.create_target.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 85, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateTarget", - "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateTarget", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "target_id", - "type": "TYPE_STRING" - }, - { - "name": "target", - "type": ".google.cloud.deploy.v1.Target" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - }, - { - "name": "validate_only", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "CreateTarget", - "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateTarget", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 85, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateTarget", + "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateTarget", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "target_id", + "type": "TYPE_STRING" + }, + { + "name": "target", + "type": ".google.cloud.deploy.v1.Target" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + }, + { + "name": "validate_only", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "CreateTarget", + "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateTarget", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_UpdateTarget_async", + "title": "CloudDeploy updateTarget Sample", + "origin": "API_DEFINITION", + "description": " Updates the parameters of a single Target.", + "canonical": true, + "file": "cloud_deploy.update_target.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_UpdateTarget_async", - "title": "CloudDeploy updateTarget Sample", - "origin": "API_DEFINITION", - "description": " Updates the parameters of a single Target.", - "canonical": true, - "file": "cloud_deploy.update_target.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 87, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateTarget", - "fullName": "google.cloud.deploy.v1.CloudDeploy.UpdateTarget", - "async": true, - "parameters": [ - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - }, - { - "name": "target", - "type": ".google.cloud.deploy.v1.Target" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - }, - { - "name": "allow_missing", - "type": "TYPE_BOOL" - }, - { - "name": "validate_only", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "UpdateTarget", - "fullName": "google.cloud.deploy.v1.CloudDeploy.UpdateTarget", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 87, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateTarget", + "fullName": "google.cloud.deploy.v1.CloudDeploy.UpdateTarget", + "async": true, + "parameters": [ + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + }, + { + "name": "target", + "type": ".google.cloud.deploy.v1.Target" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + }, + { + "name": "allow_missing", + "type": "TYPE_BOOL" + }, + { + "name": "validate_only", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "UpdateTarget", + "fullName": "google.cloud.deploy.v1.CloudDeploy.UpdateTarget", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_DeleteTarget_async", + "title": "CloudDeploy deleteTarget Sample", + "origin": "API_DEFINITION", + "description": " Deletes a single Target.", + "canonical": true, + "file": "cloud_deploy.delete_target.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_DeleteTarget_async", - "title": "CloudDeploy deleteTarget Sample", - "origin": "API_DEFINITION", - "description": " Deletes a single Target.", - "canonical": true, - "file": "cloud_deploy.delete_target.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 85, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteTarget", - "fullName": "google.cloud.deploy.v1.CloudDeploy.DeleteTarget", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - }, - { - "name": "allow_missing", - "type": "TYPE_BOOL" - }, - { - "name": "validate_only", - "type": "TYPE_BOOL" - }, - { - "name": "etag", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "DeleteTarget", - "fullName": "google.cloud.deploy.v1.CloudDeploy.DeleteTarget", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 85, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteTarget", + "fullName": "google.cloud.deploy.v1.CloudDeploy.DeleteTarget", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + }, + { + "name": "allow_missing", + "type": "TYPE_BOOL" + }, + { + "name": "validate_only", + "type": "TYPE_BOOL" + }, + { + "name": "etag", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "DeleteTarget", + "fullName": "google.cloud.deploy.v1.CloudDeploy.DeleteTarget", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_ListCustomTargetTypes_async", + "title": "CloudDeploy listCustomTargetTypes Sample", + "origin": "API_DEFINITION", + "description": " Lists CustomTargetTypes in a given project and location.", + "canonical": true, + "file": "cloud_deploy.list_custom_target_types.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_ListCustomTargetTypes_async", - "title": "CloudDeploy listCustomTargetTypes Sample", - "origin": "API_DEFINITION", - "description": " Lists CustomTargetTypes in a given project and location.", - "canonical": true, - "file": "cloud_deploy.list_custom_target_types.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 80, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListCustomTargetTypes", - "fullName": "google.cloud.deploy.v1.CloudDeploy.ListCustomTargetTypes", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.deploy.v1.ListCustomTargetTypesResponse", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "ListCustomTargetTypes", - "fullName": "google.cloud.deploy.v1.CloudDeploy.ListCustomTargetTypes", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 80, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListCustomTargetTypes", + "fullName": "google.cloud.deploy.v1.CloudDeploy.ListCustomTargetTypes", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.deploy.v1.ListCustomTargetTypesResponse", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "ListCustomTargetTypes", + "fullName": "google.cloud.deploy.v1.CloudDeploy.ListCustomTargetTypes", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetCustomTargetType_async", + "title": "CloudDeploy getCustomTargetType Sample", + "origin": "API_DEFINITION", + "description": " Gets details of a single CustomTargetType.", + "canonical": true, + "file": "cloud_deploy.get_custom_target_type.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetCustomTargetType_async", - "title": "CloudDeploy getCustomTargetType Sample", - "origin": "API_DEFINITION", - "description": " Gets details of a single CustomTargetType.", - "canonical": true, - "file": "cloud_deploy.get_custom_target_type.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetCustomTargetType", - "fullName": "google.cloud.deploy.v1.CloudDeploy.GetCustomTargetType", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.deploy.v1.CustomTargetType", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "GetCustomTargetType", - "fullName": "google.cloud.deploy.v1.CloudDeploy.GetCustomTargetType", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetCustomTargetType", + "fullName": "google.cloud.deploy.v1.CloudDeploy.GetCustomTargetType", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.deploy.v1.CustomTargetType", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "GetCustomTargetType", + "fullName": "google.cloud.deploy.v1.CloudDeploy.GetCustomTargetType", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_CreateCustomTargetType_async", + "title": "CloudDeploy createCustomTargetType Sample", + "origin": "API_DEFINITION", + "description": " Creates a new CustomTargetType in a given project and location.", + "canonical": true, + "file": "cloud_deploy.create_custom_target_type.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_CreateCustomTargetType_async", - "title": "CloudDeploy createCustomTargetType Sample", - "origin": "API_DEFINITION", - "description": " Creates a new CustomTargetType in a given project and location.", - "canonical": true, - "file": "cloud_deploy.create_custom_target_type.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 84, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateCustomTargetType", - "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateCustomTargetType", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "custom_target_type_id", - "type": "TYPE_STRING" - }, - { - "name": "custom_target_type", - "type": ".google.cloud.deploy.v1.CustomTargetType" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - }, - { - "name": "validate_only", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "CreateCustomTargetType", - "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateCustomTargetType", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 84, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateCustomTargetType", + "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateCustomTargetType", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "custom_target_type_id", + "type": "TYPE_STRING" + }, + { + "name": "custom_target_type", + "type": ".google.cloud.deploy.v1.CustomTargetType" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + }, + { + "name": "validate_only", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "CreateCustomTargetType", + "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateCustomTargetType", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_UpdateCustomTargetType_async", + "title": "CloudDeploy updateCustomTargetType Sample", + "origin": "API_DEFINITION", + "description": " Updates a single CustomTargetType.", + "canonical": true, + "file": "cloud_deploy.update_custom_target_type.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_UpdateCustomTargetType_async", - "title": "CloudDeploy updateCustomTargetType Sample", - "origin": "API_DEFINITION", - "description": " Updates a single CustomTargetType.", - "canonical": true, - "file": "cloud_deploy.update_custom_target_type.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 87, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateCustomTargetType", - "fullName": "google.cloud.deploy.v1.CloudDeploy.UpdateCustomTargetType", - "async": true, - "parameters": [ - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - }, - { - "name": "custom_target_type", - "type": ".google.cloud.deploy.v1.CustomTargetType" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - }, - { - "name": "allow_missing", - "type": "TYPE_BOOL" - }, - { - "name": "validate_only", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "UpdateCustomTargetType", - "fullName": "google.cloud.deploy.v1.CloudDeploy.UpdateCustomTargetType", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 87, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateCustomTargetType", + "fullName": "google.cloud.deploy.v1.CloudDeploy.UpdateCustomTargetType", + "async": true, + "parameters": [ + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + }, + { + "name": "custom_target_type", + "type": ".google.cloud.deploy.v1.CustomTargetType" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + }, + { + "name": "allow_missing", + "type": "TYPE_BOOL" + }, + { + "name": "validate_only", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "UpdateCustomTargetType", + "fullName": "google.cloud.deploy.v1.CloudDeploy.UpdateCustomTargetType", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_DeleteCustomTargetType_async", + "title": "CloudDeploy deleteCustomTargetType Sample", + "origin": "API_DEFINITION", + "description": " Deletes a single CustomTargetType.", + "canonical": true, + "file": "cloud_deploy.delete_custom_target_type.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_DeleteCustomTargetType_async", - "title": "CloudDeploy deleteCustomTargetType Sample", - "origin": "API_DEFINITION", - "description": " Deletes a single CustomTargetType.", - "canonical": true, - "file": "cloud_deploy.delete_custom_target_type.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 85, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteCustomTargetType", - "fullName": "google.cloud.deploy.v1.CloudDeploy.DeleteCustomTargetType", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - }, - { - "name": "allow_missing", - "type": "TYPE_BOOL" - }, - { - "name": "validate_only", - "type": "TYPE_BOOL" - }, - { - "name": "etag", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "DeleteCustomTargetType", - "fullName": "google.cloud.deploy.v1.CloudDeploy.DeleteCustomTargetType", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 85, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteCustomTargetType", + "fullName": "google.cloud.deploy.v1.CloudDeploy.DeleteCustomTargetType", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + }, + { + "name": "allow_missing", + "type": "TYPE_BOOL" + }, + { + "name": "validate_only", + "type": "TYPE_BOOL" + }, + { + "name": "etag", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "DeleteCustomTargetType", + "fullName": "google.cloud.deploy.v1.CloudDeploy.DeleteCustomTargetType", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_ListReleases_async", + "title": "CloudDeploy listReleases Sample", + "origin": "API_DEFINITION", + "description": " Lists Releases in a given project and location.", + "canonical": true, + "file": "cloud_deploy.list_releases.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_ListReleases_async", - "title": "CloudDeploy listReleases Sample", - "origin": "API_DEFINITION", - "description": " Lists Releases in a given project and location.", - "canonical": true, - "file": "cloud_deploy.list_releases.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 80, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListReleases", - "fullName": "google.cloud.deploy.v1.CloudDeploy.ListReleases", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.deploy.v1.ListReleasesResponse", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "ListReleases", - "fullName": "google.cloud.deploy.v1.CloudDeploy.ListReleases", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 80, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListReleases", + "fullName": "google.cloud.deploy.v1.CloudDeploy.ListReleases", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.deploy.v1.ListReleasesResponse", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "ListReleases", + "fullName": "google.cloud.deploy.v1.CloudDeploy.ListReleases", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetRelease_async", + "title": "CloudDeploy getRelease Sample", + "origin": "API_DEFINITION", + "description": " Gets details of a single Release.", + "canonical": true, + "file": "cloud_deploy.get_release.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetRelease_async", - "title": "CloudDeploy getRelease Sample", - "origin": "API_DEFINITION", - "description": " Gets details of a single Release.", - "canonical": true, - "file": "cloud_deploy.get_release.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetRelease", - "fullName": "google.cloud.deploy.v1.CloudDeploy.GetRelease", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.deploy.v1.Release", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "GetRelease", - "fullName": "google.cloud.deploy.v1.CloudDeploy.GetRelease", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetRelease", + "fullName": "google.cloud.deploy.v1.CloudDeploy.GetRelease", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.deploy.v1.Release", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "GetRelease", + "fullName": "google.cloud.deploy.v1.CloudDeploy.GetRelease", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_CreateRelease_async", + "title": "CloudDeploy createRelease Sample", + "origin": "API_DEFINITION", + "description": " Creates a new Release in a given project and location.", + "canonical": true, + "file": "cloud_deploy.create_release.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_CreateRelease_async", - "title": "CloudDeploy createRelease Sample", - "origin": "API_DEFINITION", - "description": " Creates a new Release in a given project and location.", - "canonical": true, - "file": "cloud_deploy.create_release.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 90, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateRelease", - "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateRelease", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "release_id", - "type": "TYPE_STRING" - }, - { - "name": "release", - "type": ".google.cloud.deploy.v1.Release" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - }, - { - "name": "validate_only", - "type": "TYPE_BOOL" - }, - { - "name": "override_deploy_policy", - "type": "TYPE_STRING[]" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "CreateRelease", - "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateRelease", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 90, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateRelease", + "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateRelease", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "release_id", + "type": "TYPE_STRING" + }, + { + "name": "release", + "type": ".google.cloud.deploy.v1.Release" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + }, + { + "name": "validate_only", + "type": "TYPE_BOOL" + }, + { + "name": "override_deploy_policy", + "type": "TYPE_STRING[]" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "CreateRelease", + "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateRelease", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_AbandonRelease_async", + "title": "CloudDeploy abandonRelease Sample", + "origin": "API_DEFINITION", + "description": " Abandons a Release in the Delivery Pipeline.", + "canonical": true, + "file": "cloud_deploy.abandon_release.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_AbandonRelease_async", - "title": "CloudDeploy abandonRelease Sample", - "origin": "API_DEFINITION", - "description": " Abandons a Release in the Delivery Pipeline.", - "canonical": true, - "file": "cloud_deploy.abandon_release.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "AbandonRelease", - "fullName": "google.cloud.deploy.v1.CloudDeploy.AbandonRelease", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.deploy.v1.AbandonReleaseResponse", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "AbandonRelease", - "fullName": "google.cloud.deploy.v1.CloudDeploy.AbandonRelease", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "AbandonRelease", + "fullName": "google.cloud.deploy.v1.CloudDeploy.AbandonRelease", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.deploy.v1.AbandonReleaseResponse", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "AbandonRelease", + "fullName": "google.cloud.deploy.v1.CloudDeploy.AbandonRelease", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_CreateDeployPolicy_async", + "title": "CloudDeploy createDeployPolicy Sample", + "origin": "API_DEFINITION", + "description": " Creates a new DeployPolicy in a given project and location.", + "canonical": true, + "file": "cloud_deploy.create_deploy_policy.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_CreateDeployPolicy_async", - "title": "CloudDeploy createDeployPolicy Sample", - "origin": "API_DEFINITION", - "description": " Creates a new DeployPolicy in a given project and location.", - "canonical": true, - "file": "cloud_deploy.create_deploy_policy.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 84, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateDeployPolicy", - "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateDeployPolicy", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "deploy_policy_id", - "type": "TYPE_STRING" - }, - { - "name": "deploy_policy", - "type": ".google.cloud.deploy.v1.DeployPolicy" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - }, - { - "name": "validate_only", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "CreateDeployPolicy", - "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateDeployPolicy", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 84, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateDeployPolicy", + "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateDeployPolicy", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "deploy_policy_id", + "type": "TYPE_STRING" + }, + { + "name": "deploy_policy", + "type": ".google.cloud.deploy.v1.DeployPolicy" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + }, + { + "name": "validate_only", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "CreateDeployPolicy", + "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateDeployPolicy", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_UpdateDeployPolicy_async", + "title": "CloudDeploy updateDeployPolicy Sample", + "origin": "API_DEFINITION", + "description": " Updates the parameters of a single DeployPolicy.", + "canonical": true, + "file": "cloud_deploy.update_deploy_policy.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_UpdateDeployPolicy_async", - "title": "CloudDeploy updateDeployPolicy Sample", - "origin": "API_DEFINITION", - "description": " Updates the parameters of a single DeployPolicy.", - "canonical": true, - "file": "cloud_deploy.update_deploy_policy.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 87, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateDeployPolicy", - "fullName": "google.cloud.deploy.v1.CloudDeploy.UpdateDeployPolicy", - "async": true, - "parameters": [ - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - }, - { - "name": "deploy_policy", - "type": ".google.cloud.deploy.v1.DeployPolicy" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - }, - { - "name": "allow_missing", - "type": "TYPE_BOOL" - }, - { - "name": "validate_only", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "UpdateDeployPolicy", - "fullName": "google.cloud.deploy.v1.CloudDeploy.UpdateDeployPolicy", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 87, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateDeployPolicy", + "fullName": "google.cloud.deploy.v1.CloudDeploy.UpdateDeployPolicy", + "async": true, + "parameters": [ + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + }, + { + "name": "deploy_policy", + "type": ".google.cloud.deploy.v1.DeployPolicy" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + }, + { + "name": "allow_missing", + "type": "TYPE_BOOL" + }, + { + "name": "validate_only", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "UpdateDeployPolicy", + "fullName": "google.cloud.deploy.v1.CloudDeploy.UpdateDeployPolicy", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_DeleteDeployPolicy_async", + "title": "CloudDeploy deleteDeployPolicy Sample", + "origin": "API_DEFINITION", + "description": " Deletes a single DeployPolicy.", + "canonical": true, + "file": "cloud_deploy.delete_deploy_policy.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_DeleteDeployPolicy_async", - "title": "CloudDeploy deleteDeployPolicy Sample", - "origin": "API_DEFINITION", - "description": " Deletes a single DeployPolicy.", - "canonical": true, - "file": "cloud_deploy.delete_deploy_policy.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 85, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteDeployPolicy", - "fullName": "google.cloud.deploy.v1.CloudDeploy.DeleteDeployPolicy", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - }, - { - "name": "allow_missing", - "type": "TYPE_BOOL" - }, - { - "name": "validate_only", - "type": "TYPE_BOOL" - }, - { - "name": "etag", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "DeleteDeployPolicy", - "fullName": "google.cloud.deploy.v1.CloudDeploy.DeleteDeployPolicy", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 85, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteDeployPolicy", + "fullName": "google.cloud.deploy.v1.CloudDeploy.DeleteDeployPolicy", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + }, + { + "name": "allow_missing", + "type": "TYPE_BOOL" + }, + { + "name": "validate_only", + "type": "TYPE_BOOL" + }, + { + "name": "etag", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "DeleteDeployPolicy", + "fullName": "google.cloud.deploy.v1.CloudDeploy.DeleteDeployPolicy", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_ListDeployPolicies_async", + "title": "CloudDeploy listDeployPolicies Sample", + "origin": "API_DEFINITION", + "description": " Lists DeployPolicies in a given project and location.", + "canonical": true, + "file": "cloud_deploy.list_deploy_policies.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_ListDeployPolicies_async", - "title": "CloudDeploy listDeployPolicies Sample", - "origin": "API_DEFINITION", - "description": " Lists DeployPolicies in a given project and location.", - "canonical": true, - "file": "cloud_deploy.list_deploy_policies.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 79, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListDeployPolicies", - "fullName": "google.cloud.deploy.v1.CloudDeploy.ListDeployPolicies", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.deploy.v1.ListDeployPoliciesResponse", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "ListDeployPolicies", - "fullName": "google.cloud.deploy.v1.CloudDeploy.ListDeployPolicies", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 79, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListDeployPolicies", + "fullName": "google.cloud.deploy.v1.CloudDeploy.ListDeployPolicies", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.deploy.v1.ListDeployPoliciesResponse", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "ListDeployPolicies", + "fullName": "google.cloud.deploy.v1.CloudDeploy.ListDeployPolicies", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetDeployPolicy_async", + "title": "CloudDeploy getDeployPolicy Sample", + "origin": "API_DEFINITION", + "description": " Gets details of a single DeployPolicy.", + "canonical": true, + "file": "cloud_deploy.get_deploy_policy.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetDeployPolicy_async", - "title": "CloudDeploy getDeployPolicy Sample", - "origin": "API_DEFINITION", - "description": " Gets details of a single DeployPolicy.", - "canonical": true, - "file": "cloud_deploy.get_deploy_policy.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetDeployPolicy", - "fullName": "google.cloud.deploy.v1.CloudDeploy.GetDeployPolicy", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.deploy.v1.DeployPolicy", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "GetDeployPolicy", - "fullName": "google.cloud.deploy.v1.CloudDeploy.GetDeployPolicy", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetDeployPolicy", + "fullName": "google.cloud.deploy.v1.CloudDeploy.GetDeployPolicy", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.deploy.v1.DeployPolicy", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "GetDeployPolicy", + "fullName": "google.cloud.deploy.v1.CloudDeploy.GetDeployPolicy", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_ApproveRollout_async", + "title": "CloudDeploy approveRollout Sample", + "origin": "API_DEFINITION", + "description": " Approves a Rollout.", + "canonical": true, + "file": "cloud_deploy.approve_rollout.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_ApproveRollout_async", - "title": "CloudDeploy approveRollout Sample", - "origin": "API_DEFINITION", - "description": " Approves a Rollout.", - "canonical": true, - "file": "cloud_deploy.approve_rollout.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 64, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ApproveRollout", - "fullName": "google.cloud.deploy.v1.CloudDeploy.ApproveRollout", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "approved", - "type": "TYPE_BOOL" - }, - { - "name": "override_deploy_policy", - "type": "TYPE_STRING[]" - } - ], - "resultType": ".google.cloud.deploy.v1.ApproveRolloutResponse", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "ApproveRollout", - "fullName": "google.cloud.deploy.v1.CloudDeploy.ApproveRollout", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 64, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ApproveRollout", + "fullName": "google.cloud.deploy.v1.CloudDeploy.ApproveRollout", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "approved", + "type": "TYPE_BOOL" + }, + { + "name": "override_deploy_policy", + "type": "TYPE_STRING[]" + } + ], + "resultType": ".google.cloud.deploy.v1.ApproveRolloutResponse", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "ApproveRollout", + "fullName": "google.cloud.deploy.v1.CloudDeploy.ApproveRollout", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_AdvanceRollout_async", + "title": "CloudDeploy advanceRollout Sample", + "origin": "API_DEFINITION", + "description": " Advances a Rollout in a given project and location.", + "canonical": true, + "file": "cloud_deploy.advance_rollout.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_AdvanceRollout_async", - "title": "CloudDeploy advanceRollout Sample", - "origin": "API_DEFINITION", - "description": " Advances a Rollout in a given project and location.", - "canonical": true, - "file": "cloud_deploy.advance_rollout.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 64, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "AdvanceRollout", - "fullName": "google.cloud.deploy.v1.CloudDeploy.AdvanceRollout", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "phase_id", - "type": "TYPE_STRING" - }, - { - "name": "override_deploy_policy", - "type": "TYPE_STRING[]" - } - ], - "resultType": ".google.cloud.deploy.v1.AdvanceRolloutResponse", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "AdvanceRollout", - "fullName": "google.cloud.deploy.v1.CloudDeploy.AdvanceRollout", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 64, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "AdvanceRollout", + "fullName": "google.cloud.deploy.v1.CloudDeploy.AdvanceRollout", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "phase_id", + "type": "TYPE_STRING" + }, + { + "name": "override_deploy_policy", + "type": "TYPE_STRING[]" + } + ], + "resultType": ".google.cloud.deploy.v1.AdvanceRolloutResponse", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "AdvanceRollout", + "fullName": "google.cloud.deploy.v1.CloudDeploy.AdvanceRollout", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_CancelRollout_async", + "title": "CloudDeploy cancelRollout Sample", + "origin": "API_DEFINITION", + "description": " Cancels a Rollout in a given project and location.", + "canonical": true, + "file": "cloud_deploy.cancel_rollout.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_CancelRollout_async", - "title": "CloudDeploy cancelRollout Sample", - "origin": "API_DEFINITION", - "description": " Cancels a Rollout in a given project and location.", - "canonical": true, - "file": "cloud_deploy.cancel_rollout.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CancelRollout", - "fullName": "google.cloud.deploy.v1.CloudDeploy.CancelRollout", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "override_deploy_policy", - "type": "TYPE_STRING[]" - } - ], - "resultType": ".google.cloud.deploy.v1.CancelRolloutResponse", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "CancelRollout", - "fullName": "google.cloud.deploy.v1.CloudDeploy.CancelRollout", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CancelRollout", + "fullName": "google.cloud.deploy.v1.CloudDeploy.CancelRollout", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "override_deploy_policy", + "type": "TYPE_STRING[]" + } + ], + "resultType": ".google.cloud.deploy.v1.CancelRolloutResponse", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "CancelRollout", + "fullName": "google.cloud.deploy.v1.CloudDeploy.CancelRollout", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_ListRollouts_async", + "title": "CloudDeploy listRollouts Sample", + "origin": "API_DEFINITION", + "description": " Lists Rollouts in a given project and location.", + "canonical": true, + "file": "cloud_deploy.list_rollouts.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_ListRollouts_async", - "title": "CloudDeploy listRollouts Sample", - "origin": "API_DEFINITION", - "description": " Lists Rollouts in a given project and location.", - "canonical": true, - "file": "cloud_deploy.list_rollouts.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 79, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListRollouts", - "fullName": "google.cloud.deploy.v1.CloudDeploy.ListRollouts", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.deploy.v1.ListRolloutsResponse", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "ListRollouts", - "fullName": "google.cloud.deploy.v1.CloudDeploy.ListRollouts", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 79, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListRollouts", + "fullName": "google.cloud.deploy.v1.CloudDeploy.ListRollouts", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.deploy.v1.ListRolloutsResponse", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "ListRollouts", + "fullName": "google.cloud.deploy.v1.CloudDeploy.ListRollouts", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetRollout_async", + "title": "CloudDeploy getRollout Sample", + "origin": "API_DEFINITION", + "description": " Gets details of a single Rollout.", + "canonical": true, + "file": "cloud_deploy.get_rollout.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetRollout_async", - "title": "CloudDeploy getRollout Sample", - "origin": "API_DEFINITION", - "description": " Gets details of a single Rollout.", - "canonical": true, - "file": "cloud_deploy.get_rollout.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetRollout", - "fullName": "google.cloud.deploy.v1.CloudDeploy.GetRollout", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.deploy.v1.Rollout", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "GetRollout", - "fullName": "google.cloud.deploy.v1.CloudDeploy.GetRollout", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetRollout", + "fullName": "google.cloud.deploy.v1.CloudDeploy.GetRollout", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.deploy.v1.Rollout", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "GetRollout", + "fullName": "google.cloud.deploy.v1.CloudDeploy.GetRollout", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_CreateRollout_async", + "title": "CloudDeploy createRollout Sample", + "origin": "API_DEFINITION", + "description": " Creates a new Rollout in a given project and location.", + "canonical": true, + "file": "cloud_deploy.create_rollout.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_CreateRollout_async", - "title": "CloudDeploy createRollout Sample", - "origin": "API_DEFINITION", - "description": " Creates a new Rollout in a given project and location.", - "canonical": true, - "file": "cloud_deploy.create_rollout.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 95, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateRollout", - "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateRollout", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "rollout_id", - "type": "TYPE_STRING" - }, - { - "name": "rollout", - "type": ".google.cloud.deploy.v1.Rollout" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - }, - { - "name": "validate_only", - "type": "TYPE_BOOL" - }, - { - "name": "override_deploy_policy", - "type": "TYPE_STRING[]" - }, - { - "name": "starting_phase_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "CreateRollout", - "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateRollout", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 95, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateRollout", + "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateRollout", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "rollout_id", + "type": "TYPE_STRING" + }, + { + "name": "rollout", + "type": ".google.cloud.deploy.v1.Rollout" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + }, + { + "name": "validate_only", + "type": "TYPE_BOOL" + }, + { + "name": "override_deploy_policy", + "type": "TYPE_STRING[]" + }, + { + "name": "starting_phase_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "CreateRollout", + "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateRollout", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_IgnoreJob_async", + "title": "CloudDeploy ignoreJob Sample", + "origin": "API_DEFINITION", + "description": " Ignores the specified Job in a Rollout.", + "canonical": true, + "file": "cloud_deploy.ignore_job.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_IgnoreJob_async", - "title": "CloudDeploy ignoreJob Sample", - "origin": "API_DEFINITION", - "description": " Ignores the specified Job in a Rollout.", - "canonical": true, - "file": "cloud_deploy.ignore_job.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 69, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "IgnoreJob", - "fullName": "google.cloud.deploy.v1.CloudDeploy.IgnoreJob", - "async": true, - "parameters": [ - { - "name": "rollout", - "type": "TYPE_STRING" - }, - { - "name": "phase_id", - "type": "TYPE_STRING" - }, - { - "name": "job_id", - "type": "TYPE_STRING" - }, - { - "name": "override_deploy_policy", - "type": "TYPE_STRING[]" - } - ], - "resultType": ".google.cloud.deploy.v1.IgnoreJobResponse", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "IgnoreJob", - "fullName": "google.cloud.deploy.v1.CloudDeploy.IgnoreJob", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 69, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "IgnoreJob", + "fullName": "google.cloud.deploy.v1.CloudDeploy.IgnoreJob", + "async": true, + "parameters": [ + { + "name": "rollout", + "type": "TYPE_STRING" + }, + { + "name": "phase_id", + "type": "TYPE_STRING" + }, + { + "name": "job_id", + "type": "TYPE_STRING" + }, + { + "name": "override_deploy_policy", + "type": "TYPE_STRING[]" + } + ], + "resultType": ".google.cloud.deploy.v1.IgnoreJobResponse", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "IgnoreJob", + "fullName": "google.cloud.deploy.v1.CloudDeploy.IgnoreJob", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_RetryJob_async", + "title": "CloudDeploy retryJob Sample", + "origin": "API_DEFINITION", + "description": " Retries the specified Job in a Rollout.", + "canonical": true, + "file": "cloud_deploy.retry_job.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_RetryJob_async", - "title": "CloudDeploy retryJob Sample", - "origin": "API_DEFINITION", - "description": " Retries the specified Job in a Rollout.", - "canonical": true, - "file": "cloud_deploy.retry_job.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 69, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "RetryJob", - "fullName": "google.cloud.deploy.v1.CloudDeploy.RetryJob", - "async": true, - "parameters": [ - { - "name": "rollout", - "type": "TYPE_STRING" - }, - { - "name": "phase_id", - "type": "TYPE_STRING" - }, - { - "name": "job_id", - "type": "TYPE_STRING" - }, - { - "name": "override_deploy_policy", - "type": "TYPE_STRING[]" - } - ], - "resultType": ".google.cloud.deploy.v1.RetryJobResponse", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "RetryJob", - "fullName": "google.cloud.deploy.v1.CloudDeploy.RetryJob", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 69, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "RetryJob", + "fullName": "google.cloud.deploy.v1.CloudDeploy.RetryJob", + "async": true, + "parameters": [ + { + "name": "rollout", + "type": "TYPE_STRING" + }, + { + "name": "phase_id", + "type": "TYPE_STRING" + }, + { + "name": "job_id", + "type": "TYPE_STRING" + }, + { + "name": "override_deploy_policy", + "type": "TYPE_STRING[]" + } + ], + "resultType": ".google.cloud.deploy.v1.RetryJobResponse", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "RetryJob", + "fullName": "google.cloud.deploy.v1.CloudDeploy.RetryJob", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_ListJobRuns_async", + "title": "CloudDeploy listJobRuns Sample", + "origin": "API_DEFINITION", + "description": " Lists JobRuns in a given project and location.", + "canonical": true, + "file": "cloud_deploy.list_job_runs.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_ListJobRuns_async", - "title": "CloudDeploy listJobRuns Sample", - "origin": "API_DEFINITION", - "description": " Lists JobRuns in a given project and location.", - "canonical": true, - "file": "cloud_deploy.list_job_runs.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 79, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListJobRuns", - "fullName": "google.cloud.deploy.v1.CloudDeploy.ListJobRuns", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.deploy.v1.ListJobRunsResponse", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "ListJobRuns", - "fullName": "google.cloud.deploy.v1.CloudDeploy.ListJobRuns", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 79, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListJobRuns", + "fullName": "google.cloud.deploy.v1.CloudDeploy.ListJobRuns", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.deploy.v1.ListJobRunsResponse", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "ListJobRuns", + "fullName": "google.cloud.deploy.v1.CloudDeploy.ListJobRuns", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetJobRun_async", + "title": "CloudDeploy getJobRun Sample", + "origin": "API_DEFINITION", + "description": " Gets details of a single JobRun.", + "canonical": true, + "file": "cloud_deploy.get_job_run.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetJobRun_async", - "title": "CloudDeploy getJobRun Sample", - "origin": "API_DEFINITION", - "description": " Gets details of a single JobRun.", - "canonical": true, - "file": "cloud_deploy.get_job_run.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetJobRun", - "fullName": "google.cloud.deploy.v1.CloudDeploy.GetJobRun", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.deploy.v1.JobRun", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "GetJobRun", - "fullName": "google.cloud.deploy.v1.CloudDeploy.GetJobRun", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetJobRun", + "fullName": "google.cloud.deploy.v1.CloudDeploy.GetJobRun", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.deploy.v1.JobRun", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "GetJobRun", + "fullName": "google.cloud.deploy.v1.CloudDeploy.GetJobRun", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_TerminateJobRun_async", + "title": "CloudDeploy terminateJobRun Sample", + "origin": "API_DEFINITION", + "description": " Terminates a Job Run in a given project and location.", + "canonical": true, + "file": "cloud_deploy.terminate_job_run.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_TerminateJobRun_async", - "title": "CloudDeploy terminateJobRun Sample", - "origin": "API_DEFINITION", - "description": " Terminates a Job Run in a given project and location.", - "canonical": true, - "file": "cloud_deploy.terminate_job_run.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "TerminateJobRun", - "fullName": "google.cloud.deploy.v1.CloudDeploy.TerminateJobRun", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "override_deploy_policy", - "type": "TYPE_STRING[]" - } - ], - "resultType": ".google.cloud.deploy.v1.TerminateJobRunResponse", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "TerminateJobRun", - "fullName": "google.cloud.deploy.v1.CloudDeploy.TerminateJobRun", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "TerminateJobRun", + "fullName": "google.cloud.deploy.v1.CloudDeploy.TerminateJobRun", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "override_deploy_policy", + "type": "TYPE_STRING[]" + } + ], + "resultType": ".google.cloud.deploy.v1.TerminateJobRunResponse", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "TerminateJobRun", + "fullName": "google.cloud.deploy.v1.CloudDeploy.TerminateJobRun", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetConfig_async", + "title": "CloudDeploy getConfig Sample", + "origin": "API_DEFINITION", + "description": " Gets the configuration for a location.", + "canonical": true, + "file": "cloud_deploy.get_config.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetConfig_async", - "title": "CloudDeploy getConfig Sample", - "origin": "API_DEFINITION", - "description": " Gets the configuration for a location.", - "canonical": true, - "file": "cloud_deploy.get_config.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 53, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetConfig", - "fullName": "google.cloud.deploy.v1.CloudDeploy.GetConfig", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.deploy.v1.Config", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "GetConfig", - "fullName": "google.cloud.deploy.v1.CloudDeploy.GetConfig", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 53, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetConfig", + "fullName": "google.cloud.deploy.v1.CloudDeploy.GetConfig", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.deploy.v1.Config", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "GetConfig", + "fullName": "google.cloud.deploy.v1.CloudDeploy.GetConfig", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_CreateAutomation_async", + "title": "CloudDeploy createAutomation Sample", + "origin": "API_DEFINITION", + "description": " Creates a new Automation in a given project and location.", + "canonical": true, + "file": "cloud_deploy.create_automation.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_CreateAutomation_async", - "title": "CloudDeploy createAutomation Sample", - "origin": "API_DEFINITION", - "description": " Creates a new Automation in a given project and location.", - "canonical": true, - "file": "cloud_deploy.create_automation.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 85, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateAutomation", - "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateAutomation", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "automation_id", - "type": "TYPE_STRING" - }, - { - "name": "automation", - "type": ".google.cloud.deploy.v1.Automation" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - }, - { - "name": "validate_only", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "CreateAutomation", - "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateAutomation", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 85, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateAutomation", + "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateAutomation", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "automation_id", + "type": "TYPE_STRING" + }, + { + "name": "automation", + "type": ".google.cloud.deploy.v1.Automation" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + }, + { + "name": "validate_only", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "CreateAutomation", + "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateAutomation", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_UpdateAutomation_async", + "title": "CloudDeploy updateAutomation Sample", + "origin": "API_DEFINITION", + "description": " Updates the parameters of a single Automation resource.", + "canonical": true, + "file": "cloud_deploy.update_automation.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_UpdateAutomation_async", - "title": "CloudDeploy updateAutomation Sample", - "origin": "API_DEFINITION", - "description": " Updates the parameters of a single Automation resource.", - "canonical": true, - "file": "cloud_deploy.update_automation.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 87, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateAutomation", - "fullName": "google.cloud.deploy.v1.CloudDeploy.UpdateAutomation", - "async": true, - "parameters": [ - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - }, - { - "name": "automation", - "type": ".google.cloud.deploy.v1.Automation" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - }, - { - "name": "allow_missing", - "type": "TYPE_BOOL" - }, - { - "name": "validate_only", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "UpdateAutomation", - "fullName": "google.cloud.deploy.v1.CloudDeploy.UpdateAutomation", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 87, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateAutomation", + "fullName": "google.cloud.deploy.v1.CloudDeploy.UpdateAutomation", + "async": true, + "parameters": [ + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + }, + { + "name": "automation", + "type": ".google.cloud.deploy.v1.Automation" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + }, + { + "name": "allow_missing", + "type": "TYPE_BOOL" + }, + { + "name": "validate_only", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "UpdateAutomation", + "fullName": "google.cloud.deploy.v1.CloudDeploy.UpdateAutomation", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_DeleteAutomation_async", + "title": "CloudDeploy deleteAutomation Sample", + "origin": "API_DEFINITION", + "description": " Deletes a single Automation resource.", + "canonical": true, + "file": "cloud_deploy.delete_automation.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_DeleteAutomation_async", - "title": "CloudDeploy deleteAutomation Sample", - "origin": "API_DEFINITION", - "description": " Deletes a single Automation resource.", - "canonical": true, - "file": "cloud_deploy.delete_automation.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 86, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteAutomation", - "fullName": "google.cloud.deploy.v1.CloudDeploy.DeleteAutomation", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - }, - { - "name": "allow_missing", - "type": "TYPE_BOOL" - }, - { - "name": "validate_only", - "type": "TYPE_BOOL" - }, - { - "name": "etag", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "DeleteAutomation", - "fullName": "google.cloud.deploy.v1.CloudDeploy.DeleteAutomation", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 86, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteAutomation", + "fullName": "google.cloud.deploy.v1.CloudDeploy.DeleteAutomation", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + }, + { + "name": "allow_missing", + "type": "TYPE_BOOL" + }, + { + "name": "validate_only", + "type": "TYPE_BOOL" + }, + { + "name": "etag", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "DeleteAutomation", + "fullName": "google.cloud.deploy.v1.CloudDeploy.DeleteAutomation", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetAutomation_async", + "title": "CloudDeploy getAutomation Sample", + "origin": "API_DEFINITION", + "description": " Gets details of a single Automation.", + "canonical": true, + "file": "cloud_deploy.get_automation.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetAutomation_async", - "title": "CloudDeploy getAutomation Sample", - "origin": "API_DEFINITION", - "description": " Gets details of a single Automation.", - "canonical": true, - "file": "cloud_deploy.get_automation.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetAutomation", - "fullName": "google.cloud.deploy.v1.CloudDeploy.GetAutomation", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.deploy.v1.Automation", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "GetAutomation", - "fullName": "google.cloud.deploy.v1.CloudDeploy.GetAutomation", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetAutomation", + "fullName": "google.cloud.deploy.v1.CloudDeploy.GetAutomation", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.deploy.v1.Automation", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "GetAutomation", + "fullName": "google.cloud.deploy.v1.CloudDeploy.GetAutomation", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_ListAutomations_async", + "title": "CloudDeploy listAutomations Sample", + "origin": "API_DEFINITION", + "description": " Lists Automations in a given project and location.", + "canonical": true, + "file": "cloud_deploy.list_automations.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_ListAutomations_async", - "title": "CloudDeploy listAutomations Sample", - "origin": "API_DEFINITION", - "description": " Lists Automations in a given project and location.", - "canonical": true, - "file": "cloud_deploy.list_automations.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 80, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListAutomations", - "fullName": "google.cloud.deploy.v1.CloudDeploy.ListAutomations", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.deploy.v1.ListAutomationsResponse", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "ListAutomations", - "fullName": "google.cloud.deploy.v1.CloudDeploy.ListAutomations", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 80, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListAutomations", + "fullName": "google.cloud.deploy.v1.CloudDeploy.ListAutomations", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.deploy.v1.ListAutomationsResponse", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "ListAutomations", + "fullName": "google.cloud.deploy.v1.CloudDeploy.ListAutomations", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetAutomationRun_async", + "title": "CloudDeploy getAutomationRun Sample", + "origin": "API_DEFINITION", + "description": " Gets details of a single AutomationRun.", + "canonical": true, + "file": "cloud_deploy.get_automation_run.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_GetAutomationRun_async", - "title": "CloudDeploy getAutomationRun Sample", - "origin": "API_DEFINITION", - "description": " Gets details of a single AutomationRun.", - "canonical": true, - "file": "cloud_deploy.get_automation_run.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetAutomationRun", - "fullName": "google.cloud.deploy.v1.CloudDeploy.GetAutomationRun", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.deploy.v1.AutomationRun", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "GetAutomationRun", - "fullName": "google.cloud.deploy.v1.CloudDeploy.GetAutomationRun", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetAutomationRun", + "fullName": "google.cloud.deploy.v1.CloudDeploy.GetAutomationRun", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.deploy.v1.AutomationRun", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "GetAutomationRun", + "fullName": "google.cloud.deploy.v1.CloudDeploy.GetAutomationRun", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_ListAutomationRuns_async", + "title": "CloudDeploy listAutomationRuns Sample", + "origin": "API_DEFINITION", + "description": " Lists AutomationRuns in a given project and location.", + "canonical": true, + "file": "cloud_deploy.list_automation_runs.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_ListAutomationRuns_async", - "title": "CloudDeploy listAutomationRuns Sample", - "origin": "API_DEFINITION", - "description": " Lists AutomationRuns in a given project and location.", - "canonical": true, - "file": "cloud_deploy.list_automation_runs.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 80, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListAutomationRuns", - "fullName": "google.cloud.deploy.v1.CloudDeploy.ListAutomationRuns", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.deploy.v1.ListAutomationRunsResponse", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "ListAutomationRuns", - "fullName": "google.cloud.deploy.v1.CloudDeploy.ListAutomationRuns", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 80, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListAutomationRuns", + "fullName": "google.cloud.deploy.v1.CloudDeploy.ListAutomationRuns", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.deploy.v1.ListAutomationRunsResponse", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" }, + "method": { + "shortName": "ListAutomationRuns", + "fullName": "google.cloud.deploy.v1.CloudDeploy.ListAutomationRuns", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + }, + { + "regionTag": "clouddeploy_v1_generated_CloudDeploy_CancelAutomationRun_async", + "title": "CloudDeploy cancelAutomationRun Sample", + "origin": "API_DEFINITION", + "description": " Cancels an AutomationRun. The `state` of the `AutomationRun` after cancelling is `CANCELLED`. `CancelAutomationRun` can be called on AutomationRun in the state `IN_PROGRESS` and `PENDING`; AutomationRun in a different state returns an `FAILED_PRECONDITION` error.", + "canonical": true, + "file": "cloud_deploy.cancel_automation_run.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "clouddeploy_v1_generated_CloudDeploy_CancelAutomationRun_async", - "title": "CloudDeploy cancelAutomationRun Sample", - "origin": "API_DEFINITION", - "description": " Cancels an AutomationRun. The `state` of the `AutomationRun` after cancelling is `CANCELLED`. `CancelAutomationRun` can be called on AutomationRun in the state `IN_PROGRESS` and `PENDING`; AutomationRun in a different state returns an `FAILED_PRECONDITION` error.", - "canonical": true, - "file": "cloud_deploy.cancel_automation_run.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CancelAutomationRun", - "fullName": "google.cloud.deploy.v1.CloudDeploy.CancelAutomationRun", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.deploy.v1.CancelAutomationRunResponse", - "client": { - "shortName": "CloudDeployClient", - "fullName": "google.cloud.deploy.v1.CloudDeployClient" - }, - "method": { - "shortName": "CancelAutomationRun", - "fullName": "google.cloud.deploy.v1.CloudDeploy.CancelAutomationRun", - "service": { - "shortName": "CloudDeploy", - "fullName": "google.cloud.deploy.v1.CloudDeploy" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" } - ] -} \ No newline at end of file + ], + "clientMethod": { + "shortName": "CancelAutomationRun", + "fullName": "google.cloud.deploy.v1.CloudDeploy.CancelAutomationRun", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.deploy.v1.CancelAutomationRunResponse", + "client": { + "shortName": "CloudDeployClient", + "fullName": "google.cloud.deploy.v1.CloudDeployClient" + }, + "method": { + "shortName": "CancelAutomationRun", + "fullName": "google.cloud.deploy.v1.CloudDeploy.CancelAutomationRun", + "service": { + "shortName": "CloudDeploy", + "fullName": "google.cloud.deploy.v1.CloudDeploy" + } + } + } + } + ] +} diff --git a/packages/google-cloud-developerconnect/.OwlBot.yaml b/packages/google-cloud-developerconnect/.OwlBot.yaml index 95cbcf83b4cc..018df023fef4 100644 --- a/packages/google-cloud-developerconnect/.OwlBot.yaml +++ b/packages/google-cloud-developerconnect/.OwlBot.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 Google LLC +# Copyright 2025 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -13,7 +13,7 @@ # limitations under the License. deep-copy-regex: - - source: /google/cloud/developerconnect/google-cloud-developerconnect-nodejs - dest: /owl-bot-staging/google-cloud-developerconnect + - source: /google/cloud/developerconnect/google-cloud-developerconnect-nodejs + dest: /owl-bot-staging/google-cloud-developerconnect -api-name: developerconnect +api-name: developerconnect \ No newline at end of file diff --git a/packages/google-cloud-developerconnect/.eslintignore b/packages/google-cloud-developerconnect/.eslintignore index ea5b04aebe68..cfc348ec4d11 100644 --- a/packages/google-cloud-developerconnect/.eslintignore +++ b/packages/google-cloud-developerconnect/.eslintignore @@ -1,7 +1,7 @@ **/node_modules -**/coverage -test/fixtures +**/.coverage build/ docs/ protos/ +system-test/ samples/generated/ diff --git a/packages/google-cloud-developerconnect/.mocharc.js b/packages/google-cloud-developerconnect/.mocharc.js index eef6173ab449..24e9d15257f9 100644 --- a/packages/google-cloud-developerconnect/.mocharc.js +++ b/packages/google-cloud-developerconnect/.mocharc.js @@ -4,18 +4,22 @@ // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // -// http://www.apache.org/licenses/LICENSE-2.0 +// https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// ** This file is automatically generated by gapic-generator-typescript. ** +// ** https://github.com/googleapis/gapic-generator-typescript ** +// ** All changes to this file may be overwritten. ** + const config = { "enable-source-maps": true, "throw-deprecation": true, - "timeout": 10000, - "recursive": true + "timeout": 10000 } if (process.env.MOCHA_THROW_DEPRECATION === 'false') { delete config['throw-deprecation']; diff --git a/packages/google-cloud-developerconnect/.nycrc b/packages/google-cloud-developerconnect/.nycrc index b18d5472b62b..81a95fc94b00 100644 --- a/packages/google-cloud-developerconnect/.nycrc +++ b/packages/google-cloud-developerconnect/.nycrc @@ -21,4 +21,4 @@ ], "exclude-after-remap": false, "all": true -} +} \ No newline at end of file diff --git a/packages/google-cloud-developerconnect/.prettierrc.js b/packages/google-cloud-developerconnect/.prettierrc.js index b189724933b2..d89a632f90b0 100644 --- a/packages/google-cloud-developerconnect/.prettierrc.js +++ b/packages/google-cloud-developerconnect/.prettierrc.js @@ -4,13 +4,18 @@ // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // -// https://www.apache.org/licenses/LICENSE-2.0 +// https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// ** This file is automatically generated by gapic-generator-typescript. ** +// ** https://github.com/googleapis/gapic-generator-typescript ** +// ** All changes to this file may be overwritten. ** + module.exports = { ...require('gts/.prettierrc.json') diff --git a/packages/google-cloud-developerconnect/CONTRIBUTING.md b/packages/google-cloud-developerconnect/CONTRIBUTING.md index 439eeb242ffa..3bd117ae1dd1 100644 --- a/packages/google-cloud-developerconnect/CONTRIBUTING.md +++ b/packages/google-cloud-developerconnect/CONTRIBUTING.md @@ -40,8 +40,8 @@ accept your pull requests. ### Before you begin 1. [Select or create a Cloud Platform project][projects]. -1. [Enable billing for your project][billing]. -1. [Enable the Developer Connect API API][enable_api]. +1. [Enable billing for your project][billing]. +1. [Enable the Developerconnect API][enable_api]. 1. [Set up authentication with a service account][auth] so you can access the API from your local workstation. diff --git a/packages/google-cloud-developerconnect/README.md b/packages/google-cloud-developerconnect/README.md index 84b03a4dc4e3..b7959f114031 100644 --- a/packages/google-cloud-developerconnect/README.md +++ b/packages/google-cloud-developerconnect/README.md @@ -1,24 +1,24 @@ [//]: # "This README.md file is auto-generated, all changes to this file will be lost." -[//]: # "To regenerate it, use `python -m synthtool`." +[//]: # "The comments you see below are used to generate those parts of the template in later states." Google Cloud Platform logo -# [Developer Connect API: Node.js Client](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-developerconnect) - -[![release level](https://img.shields.io/badge/release%20level-preview-yellow.svg?style=flat)](https://cloud.google.com/terms/launch-stages) -[![npm version](https://img.shields.io/npm/v/@google-cloud/developerconnect.svg)](https://www.npmjs.org/package/@google-cloud/developerconnect) - +# [Developer Connect API: Nodejs Client][homepage] +This library is considered to be in **preview**. This means it is still a +work-in-progress and under active development. Any release is subject to +backwards-incompatible changes at any time. +[![npm version](https://img.shields.io/npm/v/@google-cloud/developerconnect.svg)](https://www.npmjs.org/package/@google-cloud/developerconnect) Developer Connect API client for Node.js +[//]: # "partials.introduction" A comprehensive list of changes in each version may be found in -[the CHANGELOG](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-developerconnect/CHANGELOG.md). +[the CHANGELOG][homepage_changelog]. -* [Developer Connect API Node.js Client API Reference][client-docs] -* [Developer Connect API Documentation][product-docs] -* [github.com/googleapis/google-cloud-node/packages/google-cloud-developerconnect](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-developerconnect) +* [Developer Connect API Nodejs Client API Reference](https://cloud.google.com/nodejs/docs/reference/developerconnect/latest) +* [Developer Connect API Documentation](https://cloud.google.com/developer-connect/docs/overview) Read more about the client libraries for Cloud APIs, including the older Google APIs Client Libraries, in [Client Libraries Explained][explained]. @@ -27,18 +27,15 @@ Google APIs Client Libraries, in [Client Libraries Explained][explained]. **Table of contents:** - * [Quickstart](#quickstart) * [Before you begin](#before-you-begin) * [Installing the client library](#installing-the-client-library) - * [Using the client library](#using-the-client-library) -* [Samples](#samples) + * [Versioning](#versioning) * [Contributing](#contributing) * [License](#license) ## Quickstart - ### Before you begin 1. [Select or create a Cloud Platform project][projects]. @@ -46,111 +43,51 @@ Google APIs Client Libraries, in [Client Libraries Explained][explained]. 1. [Enable the Developer Connect API API][enable_api]. 1. [Set up authentication][auth] so you can access the API from your local workstation. - ### Installing the client library ```bash npm install @google-cloud/developerconnect ``` - -### Using the client library - -```javascript -/** - * This snippet has been automatically generated and should be regarded as a code template only. - * It will require modifications to work. - * It may require correct/in-range values for request initialization. - * TODO(developer): Uncomment these variables before running the sample. - */ -/** - * Required. Parent value for ListConnectionsRequest - */ -// const parent = 'abc123' -/** - * Optional. Requested page size. Server may return fewer items than - * requested. If unspecified, server will pick an appropriate default. - */ -// const pageSize = 1234 -/** - * Optional. A token identifying a page of results the server should return. - */ -// const pageToken = 'abc123' -/** - * Optional. Filtering results - */ -// const filter = 'abc123' -/** - * Optional. Hint for how to order the results - */ -// const orderBy = 'abc123' - -// Imports the Developerconnect library -const {DeveloperConnectClient} = require('@google-cloud/developerconnect').v1; - -// Instantiates a client -const developerconnectClient = new DeveloperConnectClient({fallback: true}); - -async function callListConnections() { - // Construct request - const request = { - parent, - }; - - // Run request - const iterable = developerconnectClient.listConnectionsAsync(request); - for await (const response of iterable) { - console.log(response); - } -} - -callListConnections(); - -``` - - +[//]: # "partials.body" ## Samples -Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-developerconnect/samples) directory. Each sample's `README.md` has instructions for running its sample. - -| Sample | Source Code | Try it | -| --------------------------- | --------------------------------- | ------ | -| Developer_connect.create_account_connector | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.create_account_connector.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.create_account_connector.js,packages/google-cloud-developerconnect/samples/README.md) | -| Developer_connect.create_connection | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.create_connection.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.create_connection.js,packages/google-cloud-developerconnect/samples/README.md) | -| Developer_connect.create_git_repository_link | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.create_git_repository_link.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.create_git_repository_link.js,packages/google-cloud-developerconnect/samples/README.md) | -| Developer_connect.delete_account_connector | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.delete_account_connector.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.delete_account_connector.js,packages/google-cloud-developerconnect/samples/README.md) | -| Developer_connect.delete_connection | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.delete_connection.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.delete_connection.js,packages/google-cloud-developerconnect/samples/README.md) | -| Developer_connect.delete_git_repository_link | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.delete_git_repository_link.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.delete_git_repository_link.js,packages/google-cloud-developerconnect/samples/README.md) | -| Developer_connect.delete_self | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.delete_self.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.delete_self.js,packages/google-cloud-developerconnect/samples/README.md) | -| Developer_connect.delete_user | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.delete_user.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.delete_user.js,packages/google-cloud-developerconnect/samples/README.md) | -| Developer_connect.fetch_access_token | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.fetch_access_token.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.fetch_access_token.js,packages/google-cloud-developerconnect/samples/README.md) | -| Developer_connect.fetch_git_hub_installations | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.fetch_git_hub_installations.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.fetch_git_hub_installations.js,packages/google-cloud-developerconnect/samples/README.md) | -| Developer_connect.fetch_git_refs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.fetch_git_refs.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.fetch_git_refs.js,packages/google-cloud-developerconnect/samples/README.md) | -| Developer_connect.fetch_linkable_git_repositories | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.fetch_linkable_git_repositories.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.fetch_linkable_git_repositories.js,packages/google-cloud-developerconnect/samples/README.md) | -| Developer_connect.fetch_read_token | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.fetch_read_token.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.fetch_read_token.js,packages/google-cloud-developerconnect/samples/README.md) | -| Developer_connect.fetch_read_write_token | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.fetch_read_write_token.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.fetch_read_write_token.js,packages/google-cloud-developerconnect/samples/README.md) | -| Developer_connect.fetch_self | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.fetch_self.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.fetch_self.js,packages/google-cloud-developerconnect/samples/README.md) | -| Developer_connect.get_account_connector | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.get_account_connector.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.get_account_connector.js,packages/google-cloud-developerconnect/samples/README.md) | -| Developer_connect.get_connection | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.get_connection.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.get_connection.js,packages/google-cloud-developerconnect/samples/README.md) | -| Developer_connect.get_git_repository_link | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.get_git_repository_link.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.get_git_repository_link.js,packages/google-cloud-developerconnect/samples/README.md) | -| Developer_connect.list_account_connectors | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.list_account_connectors.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.list_account_connectors.js,packages/google-cloud-developerconnect/samples/README.md) | -| Developer_connect.list_connections | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.list_connections.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.list_connections.js,packages/google-cloud-developerconnect/samples/README.md) | -| Developer_connect.list_git_repository_links | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.list_git_repository_links.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.list_git_repository_links.js,packages/google-cloud-developerconnect/samples/README.md) | -| Developer_connect.list_users | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.list_users.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.list_users.js,packages/google-cloud-developerconnect/samples/README.md) | -| Developer_connect.update_account_connector | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.update_account_connector.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.update_account_connector.js,packages/google-cloud-developerconnect/samples/README.md) | -| Developer_connect.update_connection | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.update_connection.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.update_connection.js,packages/google-cloud-developerconnect/samples/README.md) | -| Insights_config_service.create_insights_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/insights_config_service.create_insights_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-developerconnect/samples/generated/v1/insights_config_service.create_insights_config.js,packages/google-cloud-developerconnect/samples/README.md) | -| Insights_config_service.delete_insights_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/insights_config_service.delete_insights_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-developerconnect/samples/generated/v1/insights_config_service.delete_insights_config.js,packages/google-cloud-developerconnect/samples/README.md) | -| Insights_config_service.get_insights_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/insights_config_service.get_insights_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-developerconnect/samples/generated/v1/insights_config_service.get_insights_config.js,packages/google-cloud-developerconnect/samples/README.md) | -| Insights_config_service.list_insights_configs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/insights_config_service.list_insights_configs.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-developerconnect/samples/generated/v1/insights_config_service.list_insights_configs.js,packages/google-cloud-developerconnect/samples/README.md) | -| Insights_config_service.update_insights_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/insights_config_service.update_insights_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-developerconnect/samples/generated/v1/insights_config_service.update_insights_config.js,packages/google-cloud-developerconnect/samples/README.md) | -| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-developerconnect/samples/quickstart.js,packages/google-cloud-developerconnect/samples/README.md) | - - - -The [Developer Connect API Node.js Client API Reference][client-docs] documentation -also contains samples. +Samples are in the [`samples/`][homepage_samples] directory. Each sample's `README.md` has instructions for running its sample. + +| Sample | Source Code | +| --------------------------- | --------------------------------- | +| create account connector | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.create_account_connector.js) | +| create connection | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.create_connection.js) | +| create git repository link | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.create_git_repository_link.js) | +| delete account connector | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.delete_account_connector.js) | +| delete connection | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.delete_connection.js) | +| delete git repository link | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.delete_git_repository_link.js) | +| delete self | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.delete_self.js) | +| delete user | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.delete_user.js) | +| fetch access token | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.fetch_access_token.js) | +| fetch git hub installations | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.fetch_git_hub_installations.js) | +| fetch git refs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.fetch_git_refs.js) | +| fetch linkable git repositories | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.fetch_linkable_git_repositories.js) | +| fetch read token | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.fetch_read_token.js) | +| fetch read write token | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.fetch_read_write_token.js) | +| fetch self | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.fetch_self.js) | +| get account connector | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.get_account_connector.js) | +| get connection | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.get_connection.js) | +| get git repository link | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.get_git_repository_link.js) | +| list account connectors | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.list_account_connectors.js) | +| list connections | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.list_connections.js) | +| list git repository links | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.list_git_repository_links.js) | +| list users | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.list_users.js) | +| update account connector | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.update_account_connector.js) | +| update connection | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/developer_connect.update_connection.js) | +| create insights config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/insights_config_service.create_insights_config.js) | +| delete insights config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/insights_config_service.delete_insights_config.js) | +| get insights config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/insights_config_service.get_insights_config.js) | +| list insights configs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/insights_config_service.list_insights_configs.js) | +| update insights config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/insights_config_service.update_insights_config.js) | +| cloud | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples/generated/v1/snippet_metadata_google.cloud.developerconnect.v1.json) | + ## Supported Node.js Versions @@ -177,44 +114,29 @@ for versions compatible with Node.js 8. This library follows [Semantic Versioning](http://semver.org/). - - - - - - -This library is considered to be in **preview**. This means it is still a -work-in-progress and under active development. Any release is subject to -backwards-incompatible changes at any time. - - More Information: [Google Cloud Platform Launch Stages][launch_stages] [launch_stages]: https://cloud.google.com/terms/launch-stages ## Contributing -Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/google-cloud-node/blob/main/CONTRIBUTING.md). +Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/CONTRIBUTING.md). -Please note that this `README.md`, the `samples/README.md`, +Please note that this `README.md` and a variety of configuration files in this repository (including `.nycrc` and `tsconfig.json`) -are generated from a central template. To edit one of these files, make an edit -to its templates in -[directory](https://github.com/googleapis/synthtool). +are generated from a central template. ## License Apache Version 2.0 -See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/LICENSE) +See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/LICENSE) -[client-docs]: https://cloud.google.com/nodejs/docs/reference/developerconnect/latest -[product-docs]: https://cloud.google.com/developer-connect/docs/overview [shell_img]: https://gstatic.com/cloudssh/images/open-btn.png [projects]: https://console.cloud.google.com/project [billing]: https://support.google.com/cloud/answer/6293499#enable-billing [enable_api]: https://console.cloud.google.com/flows/enableapi?apiid=developerconnect.googleapis.com [auth]: https://cloud.google.com/docs/authentication/external/set-up-adc-local - - -[//]: # "partials.introduction" \ No newline at end of file +[homepage_samples]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/samples +[homepage_changelog]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect/CHANGELOG.md +[homepage]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-developerconnect diff --git a/packages/google-cloud-developerconnect/protos/protos.d.ts b/packages/google-cloud-developerconnect/protos/protos.d.ts index 2e50d4bc4100..5c72c067870a 100644 --- a/packages/google-cloud-developerconnect/protos/protos.d.ts +++ b/packages/google-cloud-developerconnect/protos/protos.d.ts @@ -8868,9 +8868,6 @@ export namespace google { /** CommonLanguageSettings destinations */ destinations?: (google.api.ClientLibraryDestination[]|null); - - /** CommonLanguageSettings selectiveGapicGeneration */ - selectiveGapicGeneration?: (google.api.ISelectiveGapicGeneration|null); } /** Represents a CommonLanguageSettings. */ @@ -8888,9 +8885,6 @@ export namespace google { /** CommonLanguageSettings destinations. */ public destinations: google.api.ClientLibraryDestination[]; - /** CommonLanguageSettings selectiveGapicGeneration. */ - public selectiveGapicGeneration?: (google.api.ISelectiveGapicGeneration|null); - /** * Creates a new CommonLanguageSettings instance using the specified properties. * @param [properties] Properties to set @@ -9591,9 +9585,6 @@ export namespace google { /** PythonSettings common */ common?: (google.api.ICommonLanguageSettings|null); - - /** PythonSettings experimentalFeatures */ - experimentalFeatures?: (google.api.PythonSettings.IExperimentalFeatures|null); } /** Represents a PythonSettings. */ @@ -9608,9 +9599,6 @@ export namespace google { /** PythonSettings common. */ public common?: (google.api.ICommonLanguageSettings|null); - /** PythonSettings experimentalFeatures. */ - public experimentalFeatures?: (google.api.PythonSettings.IExperimentalFeatures|null); - /** * Creates a new PythonSettings instance using the specified properties. * @param [properties] Properties to set @@ -9689,118 +9677,6 @@ export namespace google { public static getTypeUrl(typeUrlPrefix?: string): string; } - namespace PythonSettings { - - /** Properties of an ExperimentalFeatures. */ - interface IExperimentalFeatures { - - /** ExperimentalFeatures restAsyncIoEnabled */ - restAsyncIoEnabled?: (boolean|null); - - /** ExperimentalFeatures protobufPythonicTypesEnabled */ - protobufPythonicTypesEnabled?: (boolean|null); - - /** ExperimentalFeatures unversionedPackageDisabled */ - unversionedPackageDisabled?: (boolean|null); - } - - /** Represents an ExperimentalFeatures. */ - class ExperimentalFeatures implements IExperimentalFeatures { - - /** - * Constructs a new ExperimentalFeatures. - * @param [properties] Properties to set - */ - constructor(properties?: google.api.PythonSettings.IExperimentalFeatures); - - /** ExperimentalFeatures restAsyncIoEnabled. */ - public restAsyncIoEnabled: boolean; - - /** ExperimentalFeatures protobufPythonicTypesEnabled. */ - public protobufPythonicTypesEnabled: boolean; - - /** ExperimentalFeatures unversionedPackageDisabled. */ - public unversionedPackageDisabled: boolean; - - /** - * Creates a new ExperimentalFeatures instance using the specified properties. - * @param [properties] Properties to set - * @returns ExperimentalFeatures instance - */ - public static create(properties?: google.api.PythonSettings.IExperimentalFeatures): google.api.PythonSettings.ExperimentalFeatures; - - /** - * Encodes the specified ExperimentalFeatures message. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @param message ExperimentalFeatures message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.api.PythonSettings.IExperimentalFeatures, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ExperimentalFeatures message, length delimited. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @param message ExperimentalFeatures message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.api.PythonSettings.IExperimentalFeatures, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.PythonSettings.ExperimentalFeatures; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.PythonSettings.ExperimentalFeatures; - - /** - * Verifies an ExperimentalFeatures message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an ExperimentalFeatures message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ExperimentalFeatures - */ - public static fromObject(object: { [k: string]: any }): google.api.PythonSettings.ExperimentalFeatures; - - /** - * Creates a plain object from an ExperimentalFeatures message. Also converts values to other types if specified. - * @param message ExperimentalFeatures - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.api.PythonSettings.ExperimentalFeatures, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ExperimentalFeatures to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ExperimentalFeatures - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - } - /** Properties of a NodeSettings. */ interface INodeSettings { @@ -10127,9 +10003,6 @@ export namespace google { /** GoSettings common */ common?: (google.api.ICommonLanguageSettings|null); - - /** GoSettings renamedServices */ - renamedServices?: ({ [k: string]: string }|null); } /** Represents a GoSettings. */ @@ -10144,9 +10017,6 @@ export namespace google { /** GoSettings common. */ public common?: (google.api.ICommonLanguageSettings|null); - /** GoSettings renamedServices. */ - public renamedServices: { [k: string]: string }; - /** * Creates a new GoSettings instance using the specified properties. * @param [properties] Properties to set @@ -10471,109 +10341,6 @@ export namespace google { PACKAGE_MANAGER = 20 } - /** Properties of a SelectiveGapicGeneration. */ - interface ISelectiveGapicGeneration { - - /** SelectiveGapicGeneration methods */ - methods?: (string[]|null); - - /** SelectiveGapicGeneration generateOmittedAsInternal */ - generateOmittedAsInternal?: (boolean|null); - } - - /** Represents a SelectiveGapicGeneration. */ - class SelectiveGapicGeneration implements ISelectiveGapicGeneration { - - /** - * Constructs a new SelectiveGapicGeneration. - * @param [properties] Properties to set - */ - constructor(properties?: google.api.ISelectiveGapicGeneration); - - /** SelectiveGapicGeneration methods. */ - public methods: string[]; - - /** SelectiveGapicGeneration generateOmittedAsInternal. */ - public generateOmittedAsInternal: boolean; - - /** - * Creates a new SelectiveGapicGeneration instance using the specified properties. - * @param [properties] Properties to set - * @returns SelectiveGapicGeneration instance - */ - public static create(properties?: google.api.ISelectiveGapicGeneration): google.api.SelectiveGapicGeneration; - - /** - * Encodes the specified SelectiveGapicGeneration message. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @param message SelectiveGapicGeneration message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.api.ISelectiveGapicGeneration, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified SelectiveGapicGeneration message, length delimited. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @param message SelectiveGapicGeneration message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.api.ISelectiveGapicGeneration, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.SelectiveGapicGeneration; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.SelectiveGapicGeneration; - - /** - * Verifies a SelectiveGapicGeneration message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a SelectiveGapicGeneration message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns SelectiveGapicGeneration - */ - public static fromObject(object: { [k: string]: any }): google.api.SelectiveGapicGeneration; - - /** - * Creates a plain object from a SelectiveGapicGeneration message. Also converts values to other types if specified. - * @param message SelectiveGapicGeneration - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.api.SelectiveGapicGeneration, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this SelectiveGapicGeneration to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for SelectiveGapicGeneration - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - /** LaunchStage enum. */ enum LaunchStage { LAUNCH_STAGE_UNSPECIFIED = 0, @@ -10604,9 +10371,6 @@ export namespace google { /** FieldInfo format */ format?: (google.api.FieldInfo.Format|keyof typeof google.api.FieldInfo.Format|null); - - /** FieldInfo referencedTypes */ - referencedTypes?: (google.api.ITypeReference[]|null); } /** Represents a FieldInfo. */ @@ -10621,9 +10385,6 @@ export namespace google { /** FieldInfo format. */ public format: (google.api.FieldInfo.Format|keyof typeof google.api.FieldInfo.Format); - /** FieldInfo referencedTypes. */ - public referencedTypes: google.api.ITypeReference[]; - /** * Creates a new FieldInfo instance using the specified properties. * @param [properties] Properties to set @@ -10714,103 +10475,6 @@ export namespace google { } } - /** Properties of a TypeReference. */ - interface ITypeReference { - - /** TypeReference typeName */ - typeName?: (string|null); - } - - /** Represents a TypeReference. */ - class TypeReference implements ITypeReference { - - /** - * Constructs a new TypeReference. - * @param [properties] Properties to set - */ - constructor(properties?: google.api.ITypeReference); - - /** TypeReference typeName. */ - public typeName: string; - - /** - * Creates a new TypeReference instance using the specified properties. - * @param [properties] Properties to set - * @returns TypeReference instance - */ - public static create(properties?: google.api.ITypeReference): google.api.TypeReference; - - /** - * Encodes the specified TypeReference message. Does not implicitly {@link google.api.TypeReference.verify|verify} messages. - * @param message TypeReference message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.api.ITypeReference, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified TypeReference message, length delimited. Does not implicitly {@link google.api.TypeReference.verify|verify} messages. - * @param message TypeReference message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.api.ITypeReference, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a TypeReference message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns TypeReference - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.TypeReference; - - /** - * Decodes a TypeReference message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns TypeReference - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.TypeReference; - - /** - * Verifies a TypeReference message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a TypeReference message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns TypeReference - */ - public static fromObject(object: { [k: string]: any }): google.api.TypeReference; - - /** - * Creates a plain object from a TypeReference message. Also converts values to other types if specified. - * @param message TypeReference - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.api.TypeReference, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this TypeReference to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for TypeReference - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - /** Properties of a ResourceDescriptor. */ interface IResourceDescriptor { @@ -11167,7 +10831,6 @@ export namespace google { /** Edition enum. */ enum Edition { EDITION_UNKNOWN = 0, - EDITION_LEGACY = 900, EDITION_PROTO2 = 998, EDITION_PROTO3 = 999, EDITION_2023 = 1000, @@ -11198,9 +10861,6 @@ export namespace google { /** FileDescriptorProto weakDependency */ weakDependency?: (number[]|null); - /** FileDescriptorProto optionDependency */ - optionDependency?: (string[]|null); - /** FileDescriptorProto messageType */ messageType?: (google.protobuf.IDescriptorProto[]|null); @@ -11250,9 +10910,6 @@ export namespace google { /** FileDescriptorProto weakDependency. */ public weakDependency: number[]; - /** FileDescriptorProto optionDependency. */ - public optionDependency: string[]; - /** FileDescriptorProto messageType. */ public messageType: google.protobuf.IDescriptorProto[]; @@ -11387,9 +11044,6 @@ export namespace google { /** DescriptorProto reservedName */ reservedName?: (string[]|null); - - /** DescriptorProto visibility */ - visibility?: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility|null); } /** Represents a DescriptorProto. */ @@ -11431,9 +11085,6 @@ export namespace google { /** DescriptorProto reservedName. */ public reservedName: string[]; - /** DescriptorProto visibility. */ - public visibility: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility); - /** * Creates a new DescriptorProto instance using the specified properties. * @param [properties] Properties to set @@ -12281,9 +11932,6 @@ export namespace google { /** EnumDescriptorProto reservedName */ reservedName?: (string[]|null); - - /** EnumDescriptorProto visibility */ - visibility?: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility|null); } /** Represents an EnumDescriptorProto. */ @@ -12310,9 +11958,6 @@ export namespace google { /** EnumDescriptorProto reservedName. */ public reservedName: string[]; - /** EnumDescriptorProto visibility. */ - public visibility: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility); - /** * Creates a new EnumDescriptorProto instance using the specified properties. * @param [properties] Properties to set @@ -13247,9 +12892,6 @@ export namespace google { /** FieldOptions features */ features?: (google.protobuf.IFeatureSet|null); - /** FieldOptions featureSupport */ - featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** FieldOptions uninterpretedOption */ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); @@ -13308,9 +12950,6 @@ export namespace google { /** FieldOptions features. */ public features?: (google.protobuf.IFeatureSet|null); - /** FieldOptions featureSupport. */ - public featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** FieldOptions uninterpretedOption. */ public uninterpretedOption: google.protobuf.IUninterpretedOption[]; @@ -13531,121 +13170,6 @@ export namespace google { */ public static getTypeUrl(typeUrlPrefix?: string): string; } - - /** Properties of a FeatureSupport. */ - interface IFeatureSupport { - - /** FeatureSupport editionIntroduced */ - editionIntroduced?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - - /** FeatureSupport editionDeprecated */ - editionDeprecated?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - - /** FeatureSupport deprecationWarning */ - deprecationWarning?: (string|null); - - /** FeatureSupport editionRemoved */ - editionRemoved?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - } - - /** Represents a FeatureSupport. */ - class FeatureSupport implements IFeatureSupport { - - /** - * Constructs a new FeatureSupport. - * @param [properties] Properties to set - */ - constructor(properties?: google.protobuf.FieldOptions.IFeatureSupport); - - /** FeatureSupport editionIntroduced. */ - public editionIntroduced: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - - /** FeatureSupport editionDeprecated. */ - public editionDeprecated: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - - /** FeatureSupport deprecationWarning. */ - public deprecationWarning: string; - - /** FeatureSupport editionRemoved. */ - public editionRemoved: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - - /** - * Creates a new FeatureSupport instance using the specified properties. - * @param [properties] Properties to set - * @returns FeatureSupport instance - */ - public static create(properties?: google.protobuf.FieldOptions.IFeatureSupport): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Encodes the specified FeatureSupport message. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. - * @param message FeatureSupport message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.protobuf.FieldOptions.IFeatureSupport, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified FeatureSupport message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. - * @param message FeatureSupport message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.protobuf.FieldOptions.IFeatureSupport, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a FeatureSupport message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns FeatureSupport - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Decodes a FeatureSupport message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns FeatureSupport - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Verifies a FeatureSupport message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a FeatureSupport message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns FeatureSupport - */ - public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Creates a plain object from a FeatureSupport message. Also converts values to other types if specified. - * @param message FeatureSupport - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.protobuf.FieldOptions.FeatureSupport, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this FeatureSupport to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for FeatureSupport - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } } /** Properties of an OneofOptions. */ @@ -13884,9 +13408,6 @@ export namespace google { /** EnumValueOptions debugRedact */ debugRedact?: (boolean|null); - /** EnumValueOptions featureSupport */ - featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** EnumValueOptions uninterpretedOption */ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); } @@ -13909,9 +13430,6 @@ export namespace google { /** EnumValueOptions debugRedact. */ public debugRedact: boolean; - /** EnumValueOptions featureSupport. */ - public featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** EnumValueOptions uninterpretedOption. */ public uninterpretedOption: google.protobuf.IUninterpretedOption[]; @@ -14504,12 +14022,6 @@ export namespace google { /** FeatureSet jsonFormat */ jsonFormat?: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat|null); - - /** FeatureSet enforceNamingStyle */ - enforceNamingStyle?: (google.protobuf.FeatureSet.EnforceNamingStyle|keyof typeof google.protobuf.FeatureSet.EnforceNamingStyle|null); - - /** FeatureSet defaultSymbolVisibility */ - defaultSymbolVisibility?: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|keyof typeof google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|null); } /** Represents a FeatureSet. */ @@ -14539,12 +14051,6 @@ export namespace google { /** FeatureSet jsonFormat. */ public jsonFormat: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat); - /** FeatureSet enforceNamingStyle. */ - public enforceNamingStyle: (google.protobuf.FeatureSet.EnforceNamingStyle|keyof typeof google.protobuf.FeatureSet.EnforceNamingStyle); - - /** FeatureSet defaultSymbolVisibility. */ - public defaultSymbolVisibility: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|keyof typeof google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility); - /** * Creates a new FeatureSet instance using the specified properties. * @param [properties] Properties to set @@ -14667,116 +14173,6 @@ export namespace google { ALLOW = 1, LEGACY_BEST_EFFORT = 2 } - - /** EnforceNamingStyle enum. */ - enum EnforceNamingStyle { - ENFORCE_NAMING_STYLE_UNKNOWN = 0, - STYLE2024 = 1, - STYLE_LEGACY = 2 - } - - /** Properties of a VisibilityFeature. */ - interface IVisibilityFeature { - } - - /** Represents a VisibilityFeature. */ - class VisibilityFeature implements IVisibilityFeature { - - /** - * Constructs a new VisibilityFeature. - * @param [properties] Properties to set - */ - constructor(properties?: google.protobuf.FeatureSet.IVisibilityFeature); - - /** - * Creates a new VisibilityFeature instance using the specified properties. - * @param [properties] Properties to set - * @returns VisibilityFeature instance - */ - public static create(properties?: google.protobuf.FeatureSet.IVisibilityFeature): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Encodes the specified VisibilityFeature message. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @param message VisibilityFeature message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.protobuf.FeatureSet.IVisibilityFeature, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified VisibilityFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @param message VisibilityFeature message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.protobuf.FeatureSet.IVisibilityFeature, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Verifies a VisibilityFeature message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a VisibilityFeature message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns VisibilityFeature - */ - public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Creates a plain object from a VisibilityFeature message. Also converts values to other types if specified. - * @param message VisibilityFeature - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.protobuf.FeatureSet.VisibilityFeature, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this VisibilityFeature to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for VisibilityFeature - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - namespace VisibilityFeature { - - /** DefaultSymbolVisibility enum. */ - enum DefaultSymbolVisibility { - DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0, - EXPORT_ALL = 1, - EXPORT_TOP_LEVEL = 2, - LOCAL_ALL = 3, - STRICT = 4 - } - } } /** Properties of a FeatureSetDefaults. */ @@ -14896,11 +14292,8 @@ export namespace google { /** FeatureSetEditionDefault edition */ edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - /** FeatureSetEditionDefault overridableFeatures */ - overridableFeatures?: (google.protobuf.IFeatureSet|null); - - /** FeatureSetEditionDefault fixedFeatures */ - fixedFeatures?: (google.protobuf.IFeatureSet|null); + /** FeatureSetEditionDefault features */ + features?: (google.protobuf.IFeatureSet|null); } /** Represents a FeatureSetEditionDefault. */ @@ -14915,11 +14308,8 @@ export namespace google { /** FeatureSetEditionDefault edition. */ public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - /** FeatureSetEditionDefault overridableFeatures. */ - public overridableFeatures?: (google.protobuf.IFeatureSet|null); - - /** FeatureSetEditionDefault fixedFeatures. */ - public fixedFeatures?: (google.protobuf.IFeatureSet|null); + /** FeatureSetEditionDefault features. */ + public features?: (google.protobuf.IFeatureSet|null); /** * Creates a new FeatureSetEditionDefault instance using the specified properties. @@ -15452,13 +14842,6 @@ export namespace google { } } - /** SymbolVisibility enum. */ - enum SymbolVisibility { - VISIBILITY_UNSET = 0, - VISIBILITY_LOCAL = 1, - VISIBILITY_EXPORT = 2 - } - /** Properties of a Duration. */ interface IDuration { diff --git a/packages/google-cloud-developerconnect/protos/protos.js b/packages/google-cloud-developerconnect/protos/protos.js index 72773aba2ba5..b8bb71fc83a1 100644 --- a/packages/google-cloud-developerconnect/protos/protos.js +++ b/packages/google-cloud-developerconnect/protos/protos.js @@ -21818,7 +21818,6 @@ * @interface ICommonLanguageSettings * @property {string|null} [referenceDocsUri] CommonLanguageSettings referenceDocsUri * @property {Array.|null} [destinations] CommonLanguageSettings destinations - * @property {google.api.ISelectiveGapicGeneration|null} [selectiveGapicGeneration] CommonLanguageSettings selectiveGapicGeneration */ /** @@ -21853,14 +21852,6 @@ */ CommonLanguageSettings.prototype.destinations = $util.emptyArray; - /** - * CommonLanguageSettings selectiveGapicGeneration. - * @member {google.api.ISelectiveGapicGeneration|null|undefined} selectiveGapicGeneration - * @memberof google.api.CommonLanguageSettings - * @instance - */ - CommonLanguageSettings.prototype.selectiveGapicGeneration = null; - /** * Creates a new CommonLanguageSettings instance using the specified properties. * @function create @@ -21893,8 +21884,6 @@ writer.int32(message.destinations[i]); writer.ldelim(); } - if (message.selectiveGapicGeneration != null && Object.hasOwnProperty.call(message, "selectiveGapicGeneration")) - $root.google.api.SelectiveGapicGeneration.encode(message.selectiveGapicGeneration, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; @@ -21946,10 +21935,6 @@ message.destinations.push(reader.int32()); break; } - case 3: { - message.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.decode(reader, reader.uint32()); - break; - } default: reader.skipType(tag & 7); break; @@ -22001,11 +21986,6 @@ break; } } - if (message.selectiveGapicGeneration != null && message.hasOwnProperty("selectiveGapicGeneration")) { - var error = $root.google.api.SelectiveGapicGeneration.verify(message.selectiveGapicGeneration); - if (error) - return "selectiveGapicGeneration." + error; - } return null; }; @@ -22048,11 +22028,6 @@ break; } } - if (object.selectiveGapicGeneration != null) { - if (typeof object.selectiveGapicGeneration !== "object") - throw TypeError(".google.api.CommonLanguageSettings.selectiveGapicGeneration: object expected"); - message.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.fromObject(object.selectiveGapicGeneration); - } return message; }; @@ -22071,10 +22046,8 @@ var object = {}; if (options.arrays || options.defaults) object.destinations = []; - if (options.defaults) { + if (options.defaults) object.referenceDocsUri = ""; - object.selectiveGapicGeneration = null; - } if (message.referenceDocsUri != null && message.hasOwnProperty("referenceDocsUri")) object.referenceDocsUri = message.referenceDocsUri; if (message.destinations && message.destinations.length) { @@ -22082,8 +22055,6 @@ for (var j = 0; j < message.destinations.length; ++j) object.destinations[j] = options.enums === String ? $root.google.api.ClientLibraryDestination[message.destinations[j]] === undefined ? message.destinations[j] : $root.google.api.ClientLibraryDestination[message.destinations[j]] : message.destinations[j]; } - if (message.selectiveGapicGeneration != null && message.hasOwnProperty("selectiveGapicGeneration")) - object.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.toObject(message.selectiveGapicGeneration, options); return object; }; @@ -23906,7 +23877,6 @@ * @memberof google.api * @interface IPythonSettings * @property {google.api.ICommonLanguageSettings|null} [common] PythonSettings common - * @property {google.api.PythonSettings.IExperimentalFeatures|null} [experimentalFeatures] PythonSettings experimentalFeatures */ /** @@ -23932,14 +23902,6 @@ */ PythonSettings.prototype.common = null; - /** - * PythonSettings experimentalFeatures. - * @member {google.api.PythonSettings.IExperimentalFeatures|null|undefined} experimentalFeatures - * @memberof google.api.PythonSettings - * @instance - */ - PythonSettings.prototype.experimentalFeatures = null; - /** * Creates a new PythonSettings instance using the specified properties. * @function create @@ -23966,8 +23928,6 @@ writer = $Writer.create(); if (message.common != null && Object.hasOwnProperty.call(message, "common")) $root.google.api.CommonLanguageSettings.encode(message.common, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.experimentalFeatures != null && Object.hasOwnProperty.call(message, "experimentalFeatures")) - $root.google.api.PythonSettings.ExperimentalFeatures.encode(message.experimentalFeatures, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; @@ -24008,10 +23968,6 @@ message.common = $root.google.api.CommonLanguageSettings.decode(reader, reader.uint32()); break; } - case 2: { - message.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.decode(reader, reader.uint32()); - break; - } default: reader.skipType(tag & 7); break; @@ -24052,11 +24008,6 @@ if (error) return "common." + error; } - if (message.experimentalFeatures != null && message.hasOwnProperty("experimentalFeatures")) { - var error = $root.google.api.PythonSettings.ExperimentalFeatures.verify(message.experimentalFeatures); - if (error) - return "experimentalFeatures." + error; - } return null; }; @@ -24077,11 +24028,6 @@ throw TypeError(".google.api.PythonSettings.common: object expected"); message.common = $root.google.api.CommonLanguageSettings.fromObject(object.common); } - if (object.experimentalFeatures != null) { - if (typeof object.experimentalFeatures !== "object") - throw TypeError(".google.api.PythonSettings.experimentalFeatures: object expected"); - message.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.fromObject(object.experimentalFeatures); - } return message; }; @@ -24098,14 +24044,10 @@ if (!options) options = {}; var object = {}; - if (options.defaults) { + if (options.defaults) object.common = null; - object.experimentalFeatures = null; - } if (message.common != null && message.hasOwnProperty("common")) object.common = $root.google.api.CommonLanguageSettings.toObject(message.common, options); - if (message.experimentalFeatures != null && message.hasOwnProperty("experimentalFeatures")) - object.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.toObject(message.experimentalFeatures, options); return object; }; @@ -24135,258 +24077,6 @@ return typeUrlPrefix + "/google.api.PythonSettings"; }; - PythonSettings.ExperimentalFeatures = (function() { - - /** - * Properties of an ExperimentalFeatures. - * @memberof google.api.PythonSettings - * @interface IExperimentalFeatures - * @property {boolean|null} [restAsyncIoEnabled] ExperimentalFeatures restAsyncIoEnabled - * @property {boolean|null} [protobufPythonicTypesEnabled] ExperimentalFeatures protobufPythonicTypesEnabled - * @property {boolean|null} [unversionedPackageDisabled] ExperimentalFeatures unversionedPackageDisabled - */ - - /** - * Constructs a new ExperimentalFeatures. - * @memberof google.api.PythonSettings - * @classdesc Represents an ExperimentalFeatures. - * @implements IExperimentalFeatures - * @constructor - * @param {google.api.PythonSettings.IExperimentalFeatures=} [properties] Properties to set - */ - function ExperimentalFeatures(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ExperimentalFeatures restAsyncIoEnabled. - * @member {boolean} restAsyncIoEnabled - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - */ - ExperimentalFeatures.prototype.restAsyncIoEnabled = false; - - /** - * ExperimentalFeatures protobufPythonicTypesEnabled. - * @member {boolean} protobufPythonicTypesEnabled - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - */ - ExperimentalFeatures.prototype.protobufPythonicTypesEnabled = false; - - /** - * ExperimentalFeatures unversionedPackageDisabled. - * @member {boolean} unversionedPackageDisabled - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - */ - ExperimentalFeatures.prototype.unversionedPackageDisabled = false; - - /** - * Creates a new ExperimentalFeatures instance using the specified properties. - * @function create - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.IExperimentalFeatures=} [properties] Properties to set - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures instance - */ - ExperimentalFeatures.create = function create(properties) { - return new ExperimentalFeatures(properties); - }; - - /** - * Encodes the specified ExperimentalFeatures message. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @function encode - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.IExperimentalFeatures} message ExperimentalFeatures message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ExperimentalFeatures.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.restAsyncIoEnabled != null && Object.hasOwnProperty.call(message, "restAsyncIoEnabled")) - writer.uint32(/* id 1, wireType 0 =*/8).bool(message.restAsyncIoEnabled); - if (message.protobufPythonicTypesEnabled != null && Object.hasOwnProperty.call(message, "protobufPythonicTypesEnabled")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.protobufPythonicTypesEnabled); - if (message.unversionedPackageDisabled != null && Object.hasOwnProperty.call(message, "unversionedPackageDisabled")) - writer.uint32(/* id 3, wireType 0 =*/24).bool(message.unversionedPackageDisabled); - return writer; - }; - - /** - * Encodes the specified ExperimentalFeatures message, length delimited. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @function encodeDelimited - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.IExperimentalFeatures} message ExperimentalFeatures message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ExperimentalFeatures.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer. - * @function decode - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ExperimentalFeatures.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.PythonSettings.ExperimentalFeatures(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.restAsyncIoEnabled = reader.bool(); - break; - } - case 2: { - message.protobufPythonicTypesEnabled = reader.bool(); - break; - } - case 3: { - message.unversionedPackageDisabled = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ExperimentalFeatures.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an ExperimentalFeatures message. - * @function verify - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - ExperimentalFeatures.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.restAsyncIoEnabled != null && message.hasOwnProperty("restAsyncIoEnabled")) - if (typeof message.restAsyncIoEnabled !== "boolean") - return "restAsyncIoEnabled: boolean expected"; - if (message.protobufPythonicTypesEnabled != null && message.hasOwnProperty("protobufPythonicTypesEnabled")) - if (typeof message.protobufPythonicTypesEnabled !== "boolean") - return "protobufPythonicTypesEnabled: boolean expected"; - if (message.unversionedPackageDisabled != null && message.hasOwnProperty("unversionedPackageDisabled")) - if (typeof message.unversionedPackageDisabled !== "boolean") - return "unversionedPackageDisabled: boolean expected"; - return null; - }; - - /** - * Creates an ExperimentalFeatures message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {Object.} object Plain object - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures - */ - ExperimentalFeatures.fromObject = function fromObject(object) { - if (object instanceof $root.google.api.PythonSettings.ExperimentalFeatures) - return object; - var message = new $root.google.api.PythonSettings.ExperimentalFeatures(); - if (object.restAsyncIoEnabled != null) - message.restAsyncIoEnabled = Boolean(object.restAsyncIoEnabled); - if (object.protobufPythonicTypesEnabled != null) - message.protobufPythonicTypesEnabled = Boolean(object.protobufPythonicTypesEnabled); - if (object.unversionedPackageDisabled != null) - message.unversionedPackageDisabled = Boolean(object.unversionedPackageDisabled); - return message; - }; - - /** - * Creates a plain object from an ExperimentalFeatures message. Also converts values to other types if specified. - * @function toObject - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.ExperimentalFeatures} message ExperimentalFeatures - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ExperimentalFeatures.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.restAsyncIoEnabled = false; - object.protobufPythonicTypesEnabled = false; - object.unversionedPackageDisabled = false; - } - if (message.restAsyncIoEnabled != null && message.hasOwnProperty("restAsyncIoEnabled")) - object.restAsyncIoEnabled = message.restAsyncIoEnabled; - if (message.protobufPythonicTypesEnabled != null && message.hasOwnProperty("protobufPythonicTypesEnabled")) - object.protobufPythonicTypesEnabled = message.protobufPythonicTypesEnabled; - if (message.unversionedPackageDisabled != null && message.hasOwnProperty("unversionedPackageDisabled")) - object.unversionedPackageDisabled = message.unversionedPackageDisabled; - return object; - }; - - /** - * Converts this ExperimentalFeatures to JSON. - * @function toJSON - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - * @returns {Object.} JSON object - */ - ExperimentalFeatures.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ExperimentalFeatures - * @function getTypeUrl - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ExperimentalFeatures.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.api.PythonSettings.ExperimentalFeatures"; - }; - - return ExperimentalFeatures; - })(); - return PythonSettings; })(); @@ -25263,7 +24953,6 @@ * @memberof google.api * @interface IGoSettings * @property {google.api.ICommonLanguageSettings|null} [common] GoSettings common - * @property {Object.|null} [renamedServices] GoSettings renamedServices */ /** @@ -25275,7 +24964,6 @@ * @param {google.api.IGoSettings=} [properties] Properties to set */ function GoSettings(properties) { - this.renamedServices = {}; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -25290,14 +24978,6 @@ */ GoSettings.prototype.common = null; - /** - * GoSettings renamedServices. - * @member {Object.} renamedServices - * @memberof google.api.GoSettings - * @instance - */ - GoSettings.prototype.renamedServices = $util.emptyObject; - /** * Creates a new GoSettings instance using the specified properties. * @function create @@ -25324,9 +25004,6 @@ writer = $Writer.create(); if (message.common != null && Object.hasOwnProperty.call(message, "common")) $root.google.api.CommonLanguageSettings.encode(message.common, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.renamedServices != null && Object.hasOwnProperty.call(message, "renamedServices")) - for (var keys = Object.keys(message.renamedServices), i = 0; i < keys.length; ++i) - writer.uint32(/* id 2, wireType 2 =*/18).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.renamedServices[keys[i]]).ldelim(); return writer; }; @@ -25357,7 +25034,7 @@ GoSettings.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.GoSettings(), key, value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.GoSettings(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) @@ -25367,29 +25044,6 @@ message.common = $root.google.api.CommonLanguageSettings.decode(reader, reader.uint32()); break; } - case 2: { - if (message.renamedServices === $util.emptyObject) - message.renamedServices = {}; - var end2 = reader.uint32() + reader.pos; - key = ""; - value = ""; - while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { - case 1: - key = reader.string(); - break; - case 2: - value = reader.string(); - break; - default: - reader.skipType(tag2 & 7); - break; - } - } - message.renamedServices[key] = value; - break; - } default: reader.skipType(tag & 7); break; @@ -25430,14 +25084,6 @@ if (error) return "common." + error; } - if (message.renamedServices != null && message.hasOwnProperty("renamedServices")) { - if (!$util.isObject(message.renamedServices)) - return "renamedServices: object expected"; - var key = Object.keys(message.renamedServices); - for (var i = 0; i < key.length; ++i) - if (!$util.isString(message.renamedServices[key[i]])) - return "renamedServices: string{k:string} expected"; - } return null; }; @@ -25458,13 +25104,6 @@ throw TypeError(".google.api.GoSettings.common: object expected"); message.common = $root.google.api.CommonLanguageSettings.fromObject(object.common); } - if (object.renamedServices) { - if (typeof object.renamedServices !== "object") - throw TypeError(".google.api.GoSettings.renamedServices: object expected"); - message.renamedServices = {}; - for (var keys = Object.keys(object.renamedServices), i = 0; i < keys.length; ++i) - message.renamedServices[keys[i]] = String(object.renamedServices[keys[i]]); - } return message; }; @@ -25481,18 +25120,10 @@ if (!options) options = {}; var object = {}; - if (options.objects || options.defaults) - object.renamedServices = {}; if (options.defaults) object.common = null; if (message.common != null && message.hasOwnProperty("common")) object.common = $root.google.api.CommonLanguageSettings.toObject(message.common, options); - var keys2; - if (message.renamedServices && (keys2 = Object.keys(message.renamedServices)).length) { - object.renamedServices = {}; - for (var j = 0; j < keys2.length; ++j) - object.renamedServices[keys2[j]] = message.renamedServices[keys2[j]]; - } return object; }; @@ -26131,251 +25762,6 @@ return values; })(); - api.SelectiveGapicGeneration = (function() { - - /** - * Properties of a SelectiveGapicGeneration. - * @memberof google.api - * @interface ISelectiveGapicGeneration - * @property {Array.|null} [methods] SelectiveGapicGeneration methods - * @property {boolean|null} [generateOmittedAsInternal] SelectiveGapicGeneration generateOmittedAsInternal - */ - - /** - * Constructs a new SelectiveGapicGeneration. - * @memberof google.api - * @classdesc Represents a SelectiveGapicGeneration. - * @implements ISelectiveGapicGeneration - * @constructor - * @param {google.api.ISelectiveGapicGeneration=} [properties] Properties to set - */ - function SelectiveGapicGeneration(properties) { - this.methods = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * SelectiveGapicGeneration methods. - * @member {Array.} methods - * @memberof google.api.SelectiveGapicGeneration - * @instance - */ - SelectiveGapicGeneration.prototype.methods = $util.emptyArray; - - /** - * SelectiveGapicGeneration generateOmittedAsInternal. - * @member {boolean} generateOmittedAsInternal - * @memberof google.api.SelectiveGapicGeneration - * @instance - */ - SelectiveGapicGeneration.prototype.generateOmittedAsInternal = false; - - /** - * Creates a new SelectiveGapicGeneration instance using the specified properties. - * @function create - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.ISelectiveGapicGeneration=} [properties] Properties to set - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration instance - */ - SelectiveGapicGeneration.create = function create(properties) { - return new SelectiveGapicGeneration(properties); - }; - - /** - * Encodes the specified SelectiveGapicGeneration message. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @function encode - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.ISelectiveGapicGeneration} message SelectiveGapicGeneration message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - SelectiveGapicGeneration.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.methods != null && message.methods.length) - for (var i = 0; i < message.methods.length; ++i) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.methods[i]); - if (message.generateOmittedAsInternal != null && Object.hasOwnProperty.call(message, "generateOmittedAsInternal")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.generateOmittedAsInternal); - return writer; - }; - - /** - * Encodes the specified SelectiveGapicGeneration message, length delimited. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @function encodeDelimited - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.ISelectiveGapicGeneration} message SelectiveGapicGeneration message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - SelectiveGapicGeneration.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer. - * @function decode - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - SelectiveGapicGeneration.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.SelectiveGapicGeneration(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - if (!(message.methods && message.methods.length)) - message.methods = []; - message.methods.push(reader.string()); - break; - } - case 2: { - message.generateOmittedAsInternal = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - SelectiveGapicGeneration.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a SelectiveGapicGeneration message. - * @function verify - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - SelectiveGapicGeneration.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.methods != null && message.hasOwnProperty("methods")) { - if (!Array.isArray(message.methods)) - return "methods: array expected"; - for (var i = 0; i < message.methods.length; ++i) - if (!$util.isString(message.methods[i])) - return "methods: string[] expected"; - } - if (message.generateOmittedAsInternal != null && message.hasOwnProperty("generateOmittedAsInternal")) - if (typeof message.generateOmittedAsInternal !== "boolean") - return "generateOmittedAsInternal: boolean expected"; - return null; - }; - - /** - * Creates a SelectiveGapicGeneration message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {Object.} object Plain object - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration - */ - SelectiveGapicGeneration.fromObject = function fromObject(object) { - if (object instanceof $root.google.api.SelectiveGapicGeneration) - return object; - var message = new $root.google.api.SelectiveGapicGeneration(); - if (object.methods) { - if (!Array.isArray(object.methods)) - throw TypeError(".google.api.SelectiveGapicGeneration.methods: array expected"); - message.methods = []; - for (var i = 0; i < object.methods.length; ++i) - message.methods[i] = String(object.methods[i]); - } - if (object.generateOmittedAsInternal != null) - message.generateOmittedAsInternal = Boolean(object.generateOmittedAsInternal); - return message; - }; - - /** - * Creates a plain object from a SelectiveGapicGeneration message. Also converts values to other types if specified. - * @function toObject - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.SelectiveGapicGeneration} message SelectiveGapicGeneration - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - SelectiveGapicGeneration.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.methods = []; - if (options.defaults) - object.generateOmittedAsInternal = false; - if (message.methods && message.methods.length) { - object.methods = []; - for (var j = 0; j < message.methods.length; ++j) - object.methods[j] = message.methods[j]; - } - if (message.generateOmittedAsInternal != null && message.hasOwnProperty("generateOmittedAsInternal")) - object.generateOmittedAsInternal = message.generateOmittedAsInternal; - return object; - }; - - /** - * Converts this SelectiveGapicGeneration to JSON. - * @function toJSON - * @memberof google.api.SelectiveGapicGeneration - * @instance - * @returns {Object.} JSON object - */ - SelectiveGapicGeneration.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for SelectiveGapicGeneration - * @function getTypeUrl - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - SelectiveGapicGeneration.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.api.SelectiveGapicGeneration"; - }; - - return SelectiveGapicGeneration; - })(); - /** * LaunchStage enum. * @name google.api.LaunchStage @@ -26437,7 +25823,6 @@ * @memberof google.api * @interface IFieldInfo * @property {google.api.FieldInfo.Format|null} [format] FieldInfo format - * @property {Array.|null} [referencedTypes] FieldInfo referencedTypes */ /** @@ -26449,7 +25834,6 @@ * @param {google.api.IFieldInfo=} [properties] Properties to set */ function FieldInfo(properties) { - this.referencedTypes = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -26464,14 +25848,6 @@ */ FieldInfo.prototype.format = 0; - /** - * FieldInfo referencedTypes. - * @member {Array.} referencedTypes - * @memberof google.api.FieldInfo - * @instance - */ - FieldInfo.prototype.referencedTypes = $util.emptyArray; - /** * Creates a new FieldInfo instance using the specified properties. * @function create @@ -26498,9 +25874,6 @@ writer = $Writer.create(); if (message.format != null && Object.hasOwnProperty.call(message, "format")) writer.uint32(/* id 1, wireType 0 =*/8).int32(message.format); - if (message.referencedTypes != null && message.referencedTypes.length) - for (var i = 0; i < message.referencedTypes.length; ++i) - $root.google.api.TypeReference.encode(message.referencedTypes[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; @@ -26541,12 +25914,6 @@ message.format = reader.int32(); break; } - case 2: { - if (!(message.referencedTypes && message.referencedTypes.length)) - message.referencedTypes = []; - message.referencedTypes.push($root.google.api.TypeReference.decode(reader, reader.uint32())); - break; - } default: reader.skipType(tag & 7); break; @@ -26593,15 +25960,6 @@ case 4: break; } - if (message.referencedTypes != null && message.hasOwnProperty("referencedTypes")) { - if (!Array.isArray(message.referencedTypes)) - return "referencedTypes: array expected"; - for (var i = 0; i < message.referencedTypes.length; ++i) { - var error = $root.google.api.TypeReference.verify(message.referencedTypes[i]); - if (error) - return "referencedTypes." + error; - } - } return null; }; @@ -26645,16 +26003,6 @@ message.format = 4; break; } - if (object.referencedTypes) { - if (!Array.isArray(object.referencedTypes)) - throw TypeError(".google.api.FieldInfo.referencedTypes: array expected"); - message.referencedTypes = []; - for (var i = 0; i < object.referencedTypes.length; ++i) { - if (typeof object.referencedTypes[i] !== "object") - throw TypeError(".google.api.FieldInfo.referencedTypes: object expected"); - message.referencedTypes[i] = $root.google.api.TypeReference.fromObject(object.referencedTypes[i]); - } - } return message; }; @@ -26671,17 +26019,10 @@ if (!options) options = {}; var object = {}; - if (options.arrays || options.defaults) - object.referencedTypes = []; if (options.defaults) object.format = options.enums === String ? "FORMAT_UNSPECIFIED" : 0; if (message.format != null && message.hasOwnProperty("format")) object.format = options.enums === String ? $root.google.api.FieldInfo.Format[message.format] === undefined ? message.format : $root.google.api.FieldInfo.Format[message.format] : message.format; - if (message.referencedTypes && message.referencedTypes.length) { - object.referencedTypes = []; - for (var j = 0; j < message.referencedTypes.length; ++j) - object.referencedTypes[j] = $root.google.api.TypeReference.toObject(message.referencedTypes[j], options); - } return object; }; @@ -26734,24 +26075,32 @@ return FieldInfo; })(); - api.TypeReference = (function() { + api.ResourceDescriptor = (function() { /** - * Properties of a TypeReference. + * Properties of a ResourceDescriptor. * @memberof google.api - * @interface ITypeReference - * @property {string|null} [typeName] TypeReference typeName + * @interface IResourceDescriptor + * @property {string|null} [type] ResourceDescriptor type + * @property {Array.|null} [pattern] ResourceDescriptor pattern + * @property {string|null} [nameField] ResourceDescriptor nameField + * @property {google.api.ResourceDescriptor.History|null} [history] ResourceDescriptor history + * @property {string|null} [plural] ResourceDescriptor plural + * @property {string|null} [singular] ResourceDescriptor singular + * @property {Array.|null} [style] ResourceDescriptor style */ /** - * Constructs a new TypeReference. + * Constructs a new ResourceDescriptor. * @memberof google.api - * @classdesc Represents a TypeReference. - * @implements ITypeReference + * @classdesc Represents a ResourceDescriptor. + * @implements IResourceDescriptor * @constructor - * @param {google.api.ITypeReference=} [properties] Properties to set + * @param {google.api.IResourceDescriptor=} [properties] Properties to set */ - function TypeReference(properties) { + function ResourceDescriptor(properties) { + this.pattern = []; + this.style = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -26759,355 +26108,142 @@ } /** - * TypeReference typeName. - * @member {string} typeName - * @memberof google.api.TypeReference + * ResourceDescriptor type. + * @member {string} type + * @memberof google.api.ResourceDescriptor + * @instance + */ + ResourceDescriptor.prototype.type = ""; + + /** + * ResourceDescriptor pattern. + * @member {Array.} pattern + * @memberof google.api.ResourceDescriptor + * @instance + */ + ResourceDescriptor.prototype.pattern = $util.emptyArray; + + /** + * ResourceDescriptor nameField. + * @member {string} nameField + * @memberof google.api.ResourceDescriptor + * @instance + */ + ResourceDescriptor.prototype.nameField = ""; + + /** + * ResourceDescriptor history. + * @member {google.api.ResourceDescriptor.History} history + * @memberof google.api.ResourceDescriptor + * @instance + */ + ResourceDescriptor.prototype.history = 0; + + /** + * ResourceDescriptor plural. + * @member {string} plural + * @memberof google.api.ResourceDescriptor + * @instance + */ + ResourceDescriptor.prototype.plural = ""; + + /** + * ResourceDescriptor singular. + * @member {string} singular + * @memberof google.api.ResourceDescriptor + * @instance + */ + ResourceDescriptor.prototype.singular = ""; + + /** + * ResourceDescriptor style. + * @member {Array.} style + * @memberof google.api.ResourceDescriptor * @instance */ - TypeReference.prototype.typeName = ""; + ResourceDescriptor.prototype.style = $util.emptyArray; /** - * Creates a new TypeReference instance using the specified properties. + * Creates a new ResourceDescriptor instance using the specified properties. * @function create - * @memberof google.api.TypeReference + * @memberof google.api.ResourceDescriptor * @static - * @param {google.api.ITypeReference=} [properties] Properties to set - * @returns {google.api.TypeReference} TypeReference instance + * @param {google.api.IResourceDescriptor=} [properties] Properties to set + * @returns {google.api.ResourceDescriptor} ResourceDescriptor instance */ - TypeReference.create = function create(properties) { - return new TypeReference(properties); + ResourceDescriptor.create = function create(properties) { + return new ResourceDescriptor(properties); }; /** - * Encodes the specified TypeReference message. Does not implicitly {@link google.api.TypeReference.verify|verify} messages. + * Encodes the specified ResourceDescriptor message. Does not implicitly {@link google.api.ResourceDescriptor.verify|verify} messages. * @function encode - * @memberof google.api.TypeReference + * @memberof google.api.ResourceDescriptor * @static - * @param {google.api.ITypeReference} message TypeReference message or plain object to encode + * @param {google.api.IResourceDescriptor} message ResourceDescriptor message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TypeReference.encode = function encode(message, writer) { + ResourceDescriptor.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.typeName != null && Object.hasOwnProperty.call(message, "typeName")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.typeName); + if (message.type != null && Object.hasOwnProperty.call(message, "type")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.type); + if (message.pattern != null && message.pattern.length) + for (var i = 0; i < message.pattern.length; ++i) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.pattern[i]); + if (message.nameField != null && Object.hasOwnProperty.call(message, "nameField")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.nameField); + if (message.history != null && Object.hasOwnProperty.call(message, "history")) + writer.uint32(/* id 4, wireType 0 =*/32).int32(message.history); + if (message.plural != null && Object.hasOwnProperty.call(message, "plural")) + writer.uint32(/* id 5, wireType 2 =*/42).string(message.plural); + if (message.singular != null && Object.hasOwnProperty.call(message, "singular")) + writer.uint32(/* id 6, wireType 2 =*/50).string(message.singular); + if (message.style != null && message.style.length) { + writer.uint32(/* id 10, wireType 2 =*/82).fork(); + for (var i = 0; i < message.style.length; ++i) + writer.int32(message.style[i]); + writer.ldelim(); + } return writer; }; /** - * Encodes the specified TypeReference message, length delimited. Does not implicitly {@link google.api.TypeReference.verify|verify} messages. + * Encodes the specified ResourceDescriptor message, length delimited. Does not implicitly {@link google.api.ResourceDescriptor.verify|verify} messages. * @function encodeDelimited - * @memberof google.api.TypeReference + * @memberof google.api.ResourceDescriptor * @static - * @param {google.api.ITypeReference} message TypeReference message or plain object to encode + * @param {google.api.IResourceDescriptor} message ResourceDescriptor message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TypeReference.encodeDelimited = function encodeDelimited(message, writer) { + ResourceDescriptor.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; /** - * Decodes a TypeReference message from the specified reader or buffer. + * Decodes a ResourceDescriptor message from the specified reader or buffer. * @function decode - * @memberof google.api.TypeReference + * @memberof google.api.ResourceDescriptor * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {google.api.TypeReference} TypeReference + * @returns {google.api.ResourceDescriptor} ResourceDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TypeReference.decode = function decode(reader, length, error) { + ResourceDescriptor.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.TypeReference(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.ResourceDescriptor(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.typeName = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a TypeReference message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.api.TypeReference - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.api.TypeReference} TypeReference - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - TypeReference.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a TypeReference message. - * @function verify - * @memberof google.api.TypeReference - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - TypeReference.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.typeName != null && message.hasOwnProperty("typeName")) - if (!$util.isString(message.typeName)) - return "typeName: string expected"; - return null; - }; - - /** - * Creates a TypeReference message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.api.TypeReference - * @static - * @param {Object.} object Plain object - * @returns {google.api.TypeReference} TypeReference - */ - TypeReference.fromObject = function fromObject(object) { - if (object instanceof $root.google.api.TypeReference) - return object; - var message = new $root.google.api.TypeReference(); - if (object.typeName != null) - message.typeName = String(object.typeName); - return message; - }; - - /** - * Creates a plain object from a TypeReference message. Also converts values to other types if specified. - * @function toObject - * @memberof google.api.TypeReference - * @static - * @param {google.api.TypeReference} message TypeReference - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - TypeReference.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) - object.typeName = ""; - if (message.typeName != null && message.hasOwnProperty("typeName")) - object.typeName = message.typeName; - return object; - }; - - /** - * Converts this TypeReference to JSON. - * @function toJSON - * @memberof google.api.TypeReference - * @instance - * @returns {Object.} JSON object - */ - TypeReference.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for TypeReference - * @function getTypeUrl - * @memberof google.api.TypeReference - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - TypeReference.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.api.TypeReference"; - }; - - return TypeReference; - })(); - - api.ResourceDescriptor = (function() { - - /** - * Properties of a ResourceDescriptor. - * @memberof google.api - * @interface IResourceDescriptor - * @property {string|null} [type] ResourceDescriptor type - * @property {Array.|null} [pattern] ResourceDescriptor pattern - * @property {string|null} [nameField] ResourceDescriptor nameField - * @property {google.api.ResourceDescriptor.History|null} [history] ResourceDescriptor history - * @property {string|null} [plural] ResourceDescriptor plural - * @property {string|null} [singular] ResourceDescriptor singular - * @property {Array.|null} [style] ResourceDescriptor style - */ - - /** - * Constructs a new ResourceDescriptor. - * @memberof google.api - * @classdesc Represents a ResourceDescriptor. - * @implements IResourceDescriptor - * @constructor - * @param {google.api.IResourceDescriptor=} [properties] Properties to set - */ - function ResourceDescriptor(properties) { - this.pattern = []; - this.style = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ResourceDescriptor type. - * @member {string} type - * @memberof google.api.ResourceDescriptor - * @instance - */ - ResourceDescriptor.prototype.type = ""; - - /** - * ResourceDescriptor pattern. - * @member {Array.} pattern - * @memberof google.api.ResourceDescriptor - * @instance - */ - ResourceDescriptor.prototype.pattern = $util.emptyArray; - - /** - * ResourceDescriptor nameField. - * @member {string} nameField - * @memberof google.api.ResourceDescriptor - * @instance - */ - ResourceDescriptor.prototype.nameField = ""; - - /** - * ResourceDescriptor history. - * @member {google.api.ResourceDescriptor.History} history - * @memberof google.api.ResourceDescriptor - * @instance - */ - ResourceDescriptor.prototype.history = 0; - - /** - * ResourceDescriptor plural. - * @member {string} plural - * @memberof google.api.ResourceDescriptor - * @instance - */ - ResourceDescriptor.prototype.plural = ""; - - /** - * ResourceDescriptor singular. - * @member {string} singular - * @memberof google.api.ResourceDescriptor - * @instance - */ - ResourceDescriptor.prototype.singular = ""; - - /** - * ResourceDescriptor style. - * @member {Array.} style - * @memberof google.api.ResourceDescriptor - * @instance - */ - ResourceDescriptor.prototype.style = $util.emptyArray; - - /** - * Creates a new ResourceDescriptor instance using the specified properties. - * @function create - * @memberof google.api.ResourceDescriptor - * @static - * @param {google.api.IResourceDescriptor=} [properties] Properties to set - * @returns {google.api.ResourceDescriptor} ResourceDescriptor instance - */ - ResourceDescriptor.create = function create(properties) { - return new ResourceDescriptor(properties); - }; - - /** - * Encodes the specified ResourceDescriptor message. Does not implicitly {@link google.api.ResourceDescriptor.verify|verify} messages. - * @function encode - * @memberof google.api.ResourceDescriptor - * @static - * @param {google.api.IResourceDescriptor} message ResourceDescriptor message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ResourceDescriptor.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.type != null && Object.hasOwnProperty.call(message, "type")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.type); - if (message.pattern != null && message.pattern.length) - for (var i = 0; i < message.pattern.length; ++i) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.pattern[i]); - if (message.nameField != null && Object.hasOwnProperty.call(message, "nameField")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.nameField); - if (message.history != null && Object.hasOwnProperty.call(message, "history")) - writer.uint32(/* id 4, wireType 0 =*/32).int32(message.history); - if (message.plural != null && Object.hasOwnProperty.call(message, "plural")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.plural); - if (message.singular != null && Object.hasOwnProperty.call(message, "singular")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.singular); - if (message.style != null && message.style.length) { - writer.uint32(/* id 10, wireType 2 =*/82).fork(); - for (var i = 0; i < message.style.length; ++i) - writer.int32(message.style[i]); - writer.ldelim(); - } - return writer; - }; - - /** - * Encodes the specified ResourceDescriptor message, length delimited. Does not implicitly {@link google.api.ResourceDescriptor.verify|verify} messages. - * @function encodeDelimited - * @memberof google.api.ResourceDescriptor - * @static - * @param {google.api.IResourceDescriptor} message ResourceDescriptor message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ResourceDescriptor.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a ResourceDescriptor message from the specified reader or buffer. - * @function decode - * @memberof google.api.ResourceDescriptor - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.api.ResourceDescriptor} ResourceDescriptor - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ResourceDescriptor.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.ResourceDescriptor(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.type = reader.string(); + message.type = reader.string(); break; } case 2: { @@ -27870,7 +27006,6 @@ * @name google.protobuf.Edition * @enum {number} * @property {number} EDITION_UNKNOWN=0 EDITION_UNKNOWN value - * @property {number} EDITION_LEGACY=900 EDITION_LEGACY value * @property {number} EDITION_PROTO2=998 EDITION_PROTO2 value * @property {number} EDITION_PROTO3=999 EDITION_PROTO3 value * @property {number} EDITION_2023=1000 EDITION_2023 value @@ -27885,7 +27020,6 @@ protobuf.Edition = (function() { var valuesById = {}, values = Object.create(valuesById); values[valuesById[0] = "EDITION_UNKNOWN"] = 0; - values[valuesById[900] = "EDITION_LEGACY"] = 900; values[valuesById[998] = "EDITION_PROTO2"] = 998; values[valuesById[999] = "EDITION_PROTO3"] = 999; values[valuesById[1000] = "EDITION_2023"] = 1000; @@ -27910,7 +27044,6 @@ * @property {Array.|null} [dependency] FileDescriptorProto dependency * @property {Array.|null} [publicDependency] FileDescriptorProto publicDependency * @property {Array.|null} [weakDependency] FileDescriptorProto weakDependency - * @property {Array.|null} [optionDependency] FileDescriptorProto optionDependency * @property {Array.|null} [messageType] FileDescriptorProto messageType * @property {Array.|null} [enumType] FileDescriptorProto enumType * @property {Array.|null} [service] FileDescriptorProto service @@ -27933,7 +27066,6 @@ this.dependency = []; this.publicDependency = []; this.weakDependency = []; - this.optionDependency = []; this.messageType = []; this.enumType = []; this.service = []; @@ -27984,14 +27116,6 @@ */ FileDescriptorProto.prototype.weakDependency = $util.emptyArray; - /** - * FileDescriptorProto optionDependency. - * @member {Array.} optionDependency - * @memberof google.protobuf.FileDescriptorProto - * @instance - */ - FileDescriptorProto.prototype.optionDependency = $util.emptyArray; - /** * FileDescriptorProto messageType. * @member {Array.} messageType @@ -28113,9 +27237,6 @@ writer.uint32(/* id 12, wireType 2 =*/98).string(message.syntax); if (message.edition != null && Object.hasOwnProperty.call(message, "edition")) writer.uint32(/* id 14, wireType 0 =*/112).int32(message.edition); - if (message.optionDependency != null && message.optionDependency.length) - for (var i = 0; i < message.optionDependency.length; ++i) - writer.uint32(/* id 15, wireType 2 =*/122).string(message.optionDependency[i]); return writer; }; @@ -28188,12 +27309,6 @@ message.weakDependency.push(reader.int32()); break; } - case 15: { - if (!(message.optionDependency && message.optionDependency.length)) - message.optionDependency = []; - message.optionDependency.push(reader.string()); - break; - } case 4: { if (!(message.messageType && message.messageType.length)) message.messageType = []; @@ -28296,13 +27411,6 @@ if (!$util.isInteger(message.weakDependency[i])) return "weakDependency: integer[] expected"; } - if (message.optionDependency != null && message.hasOwnProperty("optionDependency")) { - if (!Array.isArray(message.optionDependency)) - return "optionDependency: array expected"; - for (var i = 0; i < message.optionDependency.length; ++i) - if (!$util.isString(message.optionDependency[i])) - return "optionDependency: string[] expected"; - } if (message.messageType != null && message.hasOwnProperty("messageType")) { if (!Array.isArray(message.messageType)) return "messageType: array expected"; @@ -28357,7 +27465,6 @@ default: return "edition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -28410,13 +27517,6 @@ for (var i = 0; i < object.weakDependency.length; ++i) message.weakDependency[i] = object.weakDependency[i] | 0; } - if (object.optionDependency) { - if (!Array.isArray(object.optionDependency)) - throw TypeError(".google.protobuf.FileDescriptorProto.optionDependency: array expected"); - message.optionDependency = []; - for (var i = 0; i < object.optionDependency.length; ++i) - message.optionDependency[i] = String(object.optionDependency[i]); - } if (object.messageType) { if (!Array.isArray(object.messageType)) throw TypeError(".google.protobuf.FileDescriptorProto.messageType: array expected"); @@ -28480,10 +27580,6 @@ case 0: message.edition = 0; break; - case "EDITION_LEGACY": - case 900: - message.edition = 900; - break; case "EDITION_PROTO2": case 998: message.edition = 998; @@ -28549,7 +27645,6 @@ object.extension = []; object.publicDependency = []; object.weakDependency = []; - object.optionDependency = []; } if (options.defaults) { object.name = ""; @@ -28606,11 +27701,6 @@ object.syntax = message.syntax; if (message.edition != null && message.hasOwnProperty("edition")) object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; - if (message.optionDependency && message.optionDependency.length) { - object.optionDependency = []; - for (var j = 0; j < message.optionDependency.length; ++j) - object.optionDependency[j] = message.optionDependency[j]; - } return object; }; @@ -28659,7 +27749,6 @@ * @property {google.protobuf.IMessageOptions|null} [options] DescriptorProto options * @property {Array.|null} [reservedRange] DescriptorProto reservedRange * @property {Array.|null} [reservedName] DescriptorProto reservedName - * @property {google.protobuf.SymbolVisibility|null} [visibility] DescriptorProto visibility */ /** @@ -28765,14 +27854,6 @@ */ DescriptorProto.prototype.reservedName = $util.emptyArray; - /** - * DescriptorProto visibility. - * @member {google.protobuf.SymbolVisibility} visibility - * @memberof google.protobuf.DescriptorProto - * @instance - */ - DescriptorProto.prototype.visibility = 0; - /** * Creates a new DescriptorProto instance using the specified properties. * @function create @@ -28825,8 +27906,6 @@ if (message.reservedName != null && message.reservedName.length) for (var i = 0; i < message.reservedName.length; ++i) writer.uint32(/* id 10, wireType 2 =*/82).string(message.reservedName[i]); - if (message.visibility != null && Object.hasOwnProperty.call(message, "visibility")) - writer.uint32(/* id 11, wireType 0 =*/88).int32(message.visibility); return writer; }; @@ -28919,10 +27998,6 @@ message.reservedName.push(reader.string()); break; } - case 11: { - message.visibility = reader.int32(); - break; - } default: reader.skipType(tag & 7); break; @@ -29036,15 +28111,6 @@ if (!$util.isString(message.reservedName[i])) return "reservedName: string[] expected"; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - switch (message.visibility) { - default: - return "visibility: enum value expected"; - case 0: - case 1: - case 2: - break; - } return null; }; @@ -29144,26 +28210,6 @@ for (var i = 0; i < object.reservedName.length; ++i) message.reservedName[i] = String(object.reservedName[i]); } - switch (object.visibility) { - default: - if (typeof object.visibility === "number") { - message.visibility = object.visibility; - break; - } - break; - case "VISIBILITY_UNSET": - case 0: - message.visibility = 0; - break; - case "VISIBILITY_LOCAL": - case 1: - message.visibility = 1; - break; - case "VISIBILITY_EXPORT": - case 2: - message.visibility = 2; - break; - } return message; }; @@ -29193,7 +28239,6 @@ if (options.defaults) { object.name = ""; object.options = null; - object.visibility = options.enums === String ? "VISIBILITY_UNSET" : 0; } if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; @@ -29239,8 +28284,6 @@ for (var j = 0; j < message.reservedName.length; ++j) object.reservedName[j] = message.reservedName[j]; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - object.visibility = options.enums === String ? $root.google.protobuf.SymbolVisibility[message.visibility] === undefined ? message.visibility : $root.google.protobuf.SymbolVisibility[message.visibility] : message.visibility; return object; }; @@ -31285,7 +30328,6 @@ * @property {google.protobuf.IEnumOptions|null} [options] EnumDescriptorProto options * @property {Array.|null} [reservedRange] EnumDescriptorProto reservedRange * @property {Array.|null} [reservedName] EnumDescriptorProto reservedName - * @property {google.protobuf.SymbolVisibility|null} [visibility] EnumDescriptorProto visibility */ /** @@ -31346,14 +30388,6 @@ */ EnumDescriptorProto.prototype.reservedName = $util.emptyArray; - /** - * EnumDescriptorProto visibility. - * @member {google.protobuf.SymbolVisibility} visibility - * @memberof google.protobuf.EnumDescriptorProto - * @instance - */ - EnumDescriptorProto.prototype.visibility = 0; - /** * Creates a new EnumDescriptorProto instance using the specified properties. * @function create @@ -31391,8 +30425,6 @@ if (message.reservedName != null && message.reservedName.length) for (var i = 0; i < message.reservedName.length; ++i) writer.uint32(/* id 5, wireType 2 =*/42).string(message.reservedName[i]); - if (message.visibility != null && Object.hasOwnProperty.call(message, "visibility")) - writer.uint32(/* id 6, wireType 0 =*/48).int32(message.visibility); return writer; }; @@ -31455,10 +30487,6 @@ message.reservedName.push(reader.string()); break; } - case 6: { - message.visibility = reader.int32(); - break; - } default: reader.skipType(tag & 7); break; @@ -31527,15 +30555,6 @@ if (!$util.isString(message.reservedName[i])) return "reservedName: string[] expected"; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - switch (message.visibility) { - default: - return "visibility: enum value expected"; - case 0: - case 1: - case 2: - break; - } return null; }; @@ -31585,26 +30604,6 @@ for (var i = 0; i < object.reservedName.length; ++i) message.reservedName[i] = String(object.reservedName[i]); } - switch (object.visibility) { - default: - if (typeof object.visibility === "number") { - message.visibility = object.visibility; - break; - } - break; - case "VISIBILITY_UNSET": - case 0: - message.visibility = 0; - break; - case "VISIBILITY_LOCAL": - case 1: - message.visibility = 1; - break; - case "VISIBILITY_EXPORT": - case 2: - message.visibility = 2; - break; - } return message; }; @@ -31629,7 +30628,6 @@ if (options.defaults) { object.name = ""; object.options = null; - object.visibility = options.enums === String ? "VISIBILITY_UNSET" : 0; } if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; @@ -31650,8 +30648,6 @@ for (var j = 0; j < message.reservedName.length; ++j) object.reservedName[j] = message.reservedName[j]; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - object.visibility = options.enums === String ? $root.google.protobuf.SymbolVisibility[message.visibility] === undefined ? message.visibility : $root.google.protobuf.SymbolVisibility[message.visibility] : message.visibility; return object; }; @@ -33970,7 +32966,6 @@ * @property {Array.|null} [targets] FieldOptions targets * @property {Array.|null} [editionDefaults] FieldOptions editionDefaults * @property {google.protobuf.IFeatureSet|null} [features] FieldOptions features - * @property {google.protobuf.FieldOptions.IFeatureSupport|null} [featureSupport] FieldOptions featureSupport * @property {Array.|null} [uninterpretedOption] FieldOptions uninterpretedOption * @property {Array.|null} [".google.api.fieldBehavior"] FieldOptions .google.api.fieldBehavior * @property {google.api.IFieldInfo|null} [".google.api.fieldInfo"] FieldOptions .google.api.fieldInfo @@ -34092,14 +33087,6 @@ */ FieldOptions.prototype.features = null; - /** - * FieldOptions featureSupport. - * @member {google.protobuf.FieldOptions.IFeatureSupport|null|undefined} featureSupport - * @memberof google.protobuf.FieldOptions - * @instance - */ - FieldOptions.prototype.featureSupport = null; - /** * FieldOptions uninterpretedOption. * @member {Array.} uninterpretedOption @@ -34182,8 +33169,6 @@ $root.google.protobuf.FieldOptions.EditionDefault.encode(message.editionDefaults[i], writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim(); if (message.features != null && Object.hasOwnProperty.call(message, "features")) $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim(); - if (message.featureSupport != null && Object.hasOwnProperty.call(message, "featureSupport")) - $root.google.protobuf.FieldOptions.FeatureSupport.encode(message.featureSupport, writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim(); if (message.uninterpretedOption != null && message.uninterpretedOption.length) for (var i = 0; i < message.uninterpretedOption.length; ++i) $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim(); @@ -34287,10 +33272,6 @@ message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); break; } - case 22: { - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.decode(reader, reader.uint32()); - break; - } case 999: { if (!(message.uninterpretedOption && message.uninterpretedOption.length)) message.uninterpretedOption = []; @@ -34430,11 +33411,6 @@ if (error) return "features." + error; } - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) { - var error = $root.google.protobuf.FieldOptions.FeatureSupport.verify(message.featureSupport); - if (error) - return "featureSupport." + error; - } if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) { if (!Array.isArray(message.uninterpretedOption)) return "uninterpretedOption: array expected"; @@ -34628,11 +33604,6 @@ throw TypeError(".google.protobuf.FieldOptions.features: object expected"); message.features = $root.google.protobuf.FeatureSet.fromObject(object.features); } - if (object.featureSupport != null) { - if (typeof object.featureSupport !== "object") - throw TypeError(".google.protobuf.FieldOptions.featureSupport: object expected"); - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.fromObject(object.featureSupport); - } if (object.uninterpretedOption) { if (!Array.isArray(object.uninterpretedOption)) throw TypeError(".google.protobuf.FieldOptions.uninterpretedOption: array expected"); @@ -34735,7 +33706,6 @@ object.debugRedact = false; object.retention = options.enums === String ? "RETENTION_UNKNOWN" : 0; object.features = null; - object.featureSupport = null; object[".google.api.resourceReference"] = null; object[".google.api.fieldInfo"] = null; } @@ -34769,8 +33739,6 @@ } if (message.features != null && message.hasOwnProperty("features")) object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options); - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) - object.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.toObject(message.featureSupport, options); if (message.uninterpretedOption && message.uninterpretedOption.length) { object.uninterpretedOption = []; for (var j = 0; j < message.uninterpretedOption.length; ++j) @@ -35045,7 +34013,6 @@ default: return "edition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -35087,589 +34054,103 @@ case 0: message.edition = 0; break; - case "EDITION_LEGACY": - case 900: - message.edition = 900; - break; case "EDITION_PROTO2": case 998: message.edition = 998; break; case "EDITION_PROTO3": case 999: - message.edition = 999; - break; - case "EDITION_2023": - case 1000: - message.edition = 1000; - break; - case "EDITION_2024": - case 1001: - message.edition = 1001; - break; - case "EDITION_1_TEST_ONLY": - case 1: - message.edition = 1; - break; - case "EDITION_2_TEST_ONLY": - case 2: - message.edition = 2; - break; - case "EDITION_99997_TEST_ONLY": - case 99997: - message.edition = 99997; - break; - case "EDITION_99998_TEST_ONLY": - case 99998: - message.edition = 99998; - break; - case "EDITION_99999_TEST_ONLY": - case 99999: - message.edition = 99999; - break; - case "EDITION_MAX": - case 2147483647: - message.edition = 2147483647; - break; - } - if (object.value != null) - message.value = String(object.value); - return message; - }; - - /** - * Creates a plain object from an EditionDefault message. Also converts values to other types if specified. - * @function toObject - * @memberof google.protobuf.FieldOptions.EditionDefault - * @static - * @param {google.protobuf.FieldOptions.EditionDefault} message EditionDefault - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - EditionDefault.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.value = ""; - object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0; - } - if (message.value != null && message.hasOwnProperty("value")) - object.value = message.value; - if (message.edition != null && message.hasOwnProperty("edition")) - object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; - return object; - }; - - /** - * Converts this EditionDefault to JSON. - * @function toJSON - * @memberof google.protobuf.FieldOptions.EditionDefault - * @instance - * @returns {Object.} JSON object - */ - EditionDefault.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for EditionDefault - * @function getTypeUrl - * @memberof google.protobuf.FieldOptions.EditionDefault - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - EditionDefault.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.FieldOptions.EditionDefault"; - }; - - return EditionDefault; - })(); - - FieldOptions.FeatureSupport = (function() { - - /** - * Properties of a FeatureSupport. - * @memberof google.protobuf.FieldOptions - * @interface IFeatureSupport - * @property {google.protobuf.Edition|null} [editionIntroduced] FeatureSupport editionIntroduced - * @property {google.protobuf.Edition|null} [editionDeprecated] FeatureSupport editionDeprecated - * @property {string|null} [deprecationWarning] FeatureSupport deprecationWarning - * @property {google.protobuf.Edition|null} [editionRemoved] FeatureSupport editionRemoved - */ - - /** - * Constructs a new FeatureSupport. - * @memberof google.protobuf.FieldOptions - * @classdesc Represents a FeatureSupport. - * @implements IFeatureSupport - * @constructor - * @param {google.protobuf.FieldOptions.IFeatureSupport=} [properties] Properties to set - */ - function FeatureSupport(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * FeatureSupport editionIntroduced. - * @member {google.protobuf.Edition} editionIntroduced - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @instance - */ - FeatureSupport.prototype.editionIntroduced = 0; - - /** - * FeatureSupport editionDeprecated. - * @member {google.protobuf.Edition} editionDeprecated - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @instance - */ - FeatureSupport.prototype.editionDeprecated = 0; - - /** - * FeatureSupport deprecationWarning. - * @member {string} deprecationWarning - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @instance - */ - FeatureSupport.prototype.deprecationWarning = ""; - - /** - * FeatureSupport editionRemoved. - * @member {google.protobuf.Edition} editionRemoved - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @instance - */ - FeatureSupport.prototype.editionRemoved = 0; - - /** - * Creates a new FeatureSupport instance using the specified properties. - * @function create - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {google.protobuf.FieldOptions.IFeatureSupport=} [properties] Properties to set - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport instance - */ - FeatureSupport.create = function create(properties) { - return new FeatureSupport(properties); - }; - - /** - * Encodes the specified FeatureSupport message. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. - * @function encode - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {google.protobuf.FieldOptions.IFeatureSupport} message FeatureSupport message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - FeatureSupport.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.editionIntroduced != null && Object.hasOwnProperty.call(message, "editionIntroduced")) - writer.uint32(/* id 1, wireType 0 =*/8).int32(message.editionIntroduced); - if (message.editionDeprecated != null && Object.hasOwnProperty.call(message, "editionDeprecated")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.editionDeprecated); - if (message.deprecationWarning != null && Object.hasOwnProperty.call(message, "deprecationWarning")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.deprecationWarning); - if (message.editionRemoved != null && Object.hasOwnProperty.call(message, "editionRemoved")) - writer.uint32(/* id 4, wireType 0 =*/32).int32(message.editionRemoved); - return writer; - }; - - /** - * Encodes the specified FeatureSupport message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. - * @function encodeDelimited - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {google.protobuf.FieldOptions.IFeatureSupport} message FeatureSupport message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - FeatureSupport.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a FeatureSupport message from the specified reader or buffer. - * @function decode - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - FeatureSupport.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FieldOptions.FeatureSupport(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.editionIntroduced = reader.int32(); - break; - } - case 2: { - message.editionDeprecated = reader.int32(); - break; - } - case 3: { - message.deprecationWarning = reader.string(); - break; - } - case 4: { - message.editionRemoved = reader.int32(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a FeatureSupport message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - FeatureSupport.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a FeatureSupport message. - * @function verify - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - FeatureSupport.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.editionIntroduced != null && message.hasOwnProperty("editionIntroduced")) - switch (message.editionIntroduced) { - default: - return "editionIntroduced: enum value expected"; - case 0: - case 900: - case 998: - case 999: - case 1000: - case 1001: - case 1: - case 2: - case 99997: - case 99998: - case 99999: - case 2147483647: - break; - } - if (message.editionDeprecated != null && message.hasOwnProperty("editionDeprecated")) - switch (message.editionDeprecated) { - default: - return "editionDeprecated: enum value expected"; - case 0: - case 900: - case 998: - case 999: - case 1000: - case 1001: - case 1: - case 2: - case 99997: - case 99998: - case 99999: - case 2147483647: - break; - } - if (message.deprecationWarning != null && message.hasOwnProperty("deprecationWarning")) - if (!$util.isString(message.deprecationWarning)) - return "deprecationWarning: string expected"; - if (message.editionRemoved != null && message.hasOwnProperty("editionRemoved")) - switch (message.editionRemoved) { - default: - return "editionRemoved: enum value expected"; - case 0: - case 900: - case 998: - case 999: - case 1000: - case 1001: - case 1: - case 2: - case 99997: - case 99998: - case 99999: - case 2147483647: - break; - } - return null; - }; - - /** - * Creates a FeatureSupport message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {Object.} object Plain object - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport - */ - FeatureSupport.fromObject = function fromObject(object) { - if (object instanceof $root.google.protobuf.FieldOptions.FeatureSupport) - return object; - var message = new $root.google.protobuf.FieldOptions.FeatureSupport(); - switch (object.editionIntroduced) { - default: - if (typeof object.editionIntroduced === "number") { - message.editionIntroduced = object.editionIntroduced; - break; - } - break; - case "EDITION_UNKNOWN": - case 0: - message.editionIntroduced = 0; - break; - case "EDITION_LEGACY": - case 900: - message.editionIntroduced = 900; - break; - case "EDITION_PROTO2": - case 998: - message.editionIntroduced = 998; - break; - case "EDITION_PROTO3": - case 999: - message.editionIntroduced = 999; - break; - case "EDITION_2023": - case 1000: - message.editionIntroduced = 1000; - break; - case "EDITION_2024": - case 1001: - message.editionIntroduced = 1001; - break; - case "EDITION_1_TEST_ONLY": - case 1: - message.editionIntroduced = 1; - break; - case "EDITION_2_TEST_ONLY": - case 2: - message.editionIntroduced = 2; - break; - case "EDITION_99997_TEST_ONLY": - case 99997: - message.editionIntroduced = 99997; - break; - case "EDITION_99998_TEST_ONLY": - case 99998: - message.editionIntroduced = 99998; - break; - case "EDITION_99999_TEST_ONLY": - case 99999: - message.editionIntroduced = 99999; - break; - case "EDITION_MAX": - case 2147483647: - message.editionIntroduced = 2147483647; - break; - } - switch (object.editionDeprecated) { - default: - if (typeof object.editionDeprecated === "number") { - message.editionDeprecated = object.editionDeprecated; - break; - } - break; - case "EDITION_UNKNOWN": - case 0: - message.editionDeprecated = 0; - break; - case "EDITION_LEGACY": - case 900: - message.editionDeprecated = 900; - break; - case "EDITION_PROTO2": - case 998: - message.editionDeprecated = 998; - break; - case "EDITION_PROTO3": - case 999: - message.editionDeprecated = 999; - break; - case "EDITION_2023": - case 1000: - message.editionDeprecated = 1000; - break; - case "EDITION_2024": - case 1001: - message.editionDeprecated = 1001; - break; - case "EDITION_1_TEST_ONLY": - case 1: - message.editionDeprecated = 1; - break; - case "EDITION_2_TEST_ONLY": - case 2: - message.editionDeprecated = 2; - break; - case "EDITION_99997_TEST_ONLY": - case 99997: - message.editionDeprecated = 99997; - break; - case "EDITION_99998_TEST_ONLY": - case 99998: - message.editionDeprecated = 99998; - break; - case "EDITION_99999_TEST_ONLY": - case 99999: - message.editionDeprecated = 99999; - break; - case "EDITION_MAX": - case 2147483647: - message.editionDeprecated = 2147483647; - break; - } - if (object.deprecationWarning != null) - message.deprecationWarning = String(object.deprecationWarning); - switch (object.editionRemoved) { - default: - if (typeof object.editionRemoved === "number") { - message.editionRemoved = object.editionRemoved; - break; - } - break; - case "EDITION_UNKNOWN": - case 0: - message.editionRemoved = 0; - break; - case "EDITION_LEGACY": - case 900: - message.editionRemoved = 900; - break; - case "EDITION_PROTO2": - case 998: - message.editionRemoved = 998; - break; - case "EDITION_PROTO3": - case 999: - message.editionRemoved = 999; + message.edition = 999; break; case "EDITION_2023": case 1000: - message.editionRemoved = 1000; + message.edition = 1000; break; case "EDITION_2024": case 1001: - message.editionRemoved = 1001; + message.edition = 1001; break; case "EDITION_1_TEST_ONLY": case 1: - message.editionRemoved = 1; + message.edition = 1; break; case "EDITION_2_TEST_ONLY": case 2: - message.editionRemoved = 2; + message.edition = 2; break; case "EDITION_99997_TEST_ONLY": case 99997: - message.editionRemoved = 99997; + message.edition = 99997; break; case "EDITION_99998_TEST_ONLY": case 99998: - message.editionRemoved = 99998; + message.edition = 99998; break; case "EDITION_99999_TEST_ONLY": case 99999: - message.editionRemoved = 99999; + message.edition = 99999; break; case "EDITION_MAX": case 2147483647: - message.editionRemoved = 2147483647; + message.edition = 2147483647; break; } + if (object.value != null) + message.value = String(object.value); return message; }; /** - * Creates a plain object from a FeatureSupport message. Also converts values to other types if specified. + * Creates a plain object from an EditionDefault message. Also converts values to other types if specified. * @function toObject - * @memberof google.protobuf.FieldOptions.FeatureSupport + * @memberof google.protobuf.FieldOptions.EditionDefault * @static - * @param {google.protobuf.FieldOptions.FeatureSupport} message FeatureSupport + * @param {google.protobuf.FieldOptions.EditionDefault} message EditionDefault * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - FeatureSupport.toObject = function toObject(message, options) { + EditionDefault.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; if (options.defaults) { - object.editionIntroduced = options.enums === String ? "EDITION_UNKNOWN" : 0; - object.editionDeprecated = options.enums === String ? "EDITION_UNKNOWN" : 0; - object.deprecationWarning = ""; - object.editionRemoved = options.enums === String ? "EDITION_UNKNOWN" : 0; - } - if (message.editionIntroduced != null && message.hasOwnProperty("editionIntroduced")) - object.editionIntroduced = options.enums === String ? $root.google.protobuf.Edition[message.editionIntroduced] === undefined ? message.editionIntroduced : $root.google.protobuf.Edition[message.editionIntroduced] : message.editionIntroduced; - if (message.editionDeprecated != null && message.hasOwnProperty("editionDeprecated")) - object.editionDeprecated = options.enums === String ? $root.google.protobuf.Edition[message.editionDeprecated] === undefined ? message.editionDeprecated : $root.google.protobuf.Edition[message.editionDeprecated] : message.editionDeprecated; - if (message.deprecationWarning != null && message.hasOwnProperty("deprecationWarning")) - object.deprecationWarning = message.deprecationWarning; - if (message.editionRemoved != null && message.hasOwnProperty("editionRemoved")) - object.editionRemoved = options.enums === String ? $root.google.protobuf.Edition[message.editionRemoved] === undefined ? message.editionRemoved : $root.google.protobuf.Edition[message.editionRemoved] : message.editionRemoved; + object.value = ""; + object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0; + } + if (message.value != null && message.hasOwnProperty("value")) + object.value = message.value; + if (message.edition != null && message.hasOwnProperty("edition")) + object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; return object; }; /** - * Converts this FeatureSupport to JSON. + * Converts this EditionDefault to JSON. * @function toJSON - * @memberof google.protobuf.FieldOptions.FeatureSupport + * @memberof google.protobuf.FieldOptions.EditionDefault * @instance * @returns {Object.} JSON object */ - FeatureSupport.prototype.toJSON = function toJSON() { + EditionDefault.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for FeatureSupport + * Gets the default type url for EditionDefault * @function getTypeUrl - * @memberof google.protobuf.FieldOptions.FeatureSupport + * @memberof google.protobuf.FieldOptions.EditionDefault * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - FeatureSupport.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + EditionDefault.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.protobuf.FieldOptions.FeatureSupport"; + return typeUrlPrefix + "/google.protobuf.FieldOptions.EditionDefault"; }; - return FeatureSupport; + return EditionDefault; })(); return FieldOptions; @@ -36264,7 +34745,6 @@ * @property {boolean|null} [deprecated] EnumValueOptions deprecated * @property {google.protobuf.IFeatureSet|null} [features] EnumValueOptions features * @property {boolean|null} [debugRedact] EnumValueOptions debugRedact - * @property {google.protobuf.FieldOptions.IFeatureSupport|null} [featureSupport] EnumValueOptions featureSupport * @property {Array.|null} [uninterpretedOption] EnumValueOptions uninterpretedOption */ @@ -36308,14 +34788,6 @@ */ EnumValueOptions.prototype.debugRedact = false; - /** - * EnumValueOptions featureSupport. - * @member {google.protobuf.FieldOptions.IFeatureSupport|null|undefined} featureSupport - * @memberof google.protobuf.EnumValueOptions - * @instance - */ - EnumValueOptions.prototype.featureSupport = null; - /** * EnumValueOptions uninterpretedOption. * @member {Array.} uninterpretedOption @@ -36354,8 +34826,6 @@ $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); if (message.debugRedact != null && Object.hasOwnProperty.call(message, "debugRedact")) writer.uint32(/* id 3, wireType 0 =*/24).bool(message.debugRedact); - if (message.featureSupport != null && Object.hasOwnProperty.call(message, "featureSupport")) - $root.google.protobuf.FieldOptions.FeatureSupport.encode(message.featureSupport, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); if (message.uninterpretedOption != null && message.uninterpretedOption.length) for (var i = 0; i < message.uninterpretedOption.length; ++i) $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim(); @@ -36407,10 +34877,6 @@ message.debugRedact = reader.bool(); break; } - case 4: { - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.decode(reader, reader.uint32()); - break; - } case 999: { if (!(message.uninterpretedOption && message.uninterpretedOption.length)) message.uninterpretedOption = []; @@ -36463,11 +34929,6 @@ if (message.debugRedact != null && message.hasOwnProperty("debugRedact")) if (typeof message.debugRedact !== "boolean") return "debugRedact: boolean expected"; - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) { - var error = $root.google.protobuf.FieldOptions.FeatureSupport.verify(message.featureSupport); - if (error) - return "featureSupport." + error; - } if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) { if (!Array.isArray(message.uninterpretedOption)) return "uninterpretedOption: array expected"; @@ -36501,11 +34962,6 @@ } if (object.debugRedact != null) message.debugRedact = Boolean(object.debugRedact); - if (object.featureSupport != null) { - if (typeof object.featureSupport !== "object") - throw TypeError(".google.protobuf.EnumValueOptions.featureSupport: object expected"); - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.fromObject(object.featureSupport); - } if (object.uninterpretedOption) { if (!Array.isArray(object.uninterpretedOption)) throw TypeError(".google.protobuf.EnumValueOptions.uninterpretedOption: array expected"); @@ -36538,7 +34994,6 @@ object.deprecated = false; object.features = null; object.debugRedact = false; - object.featureSupport = null; } if (message.deprecated != null && message.hasOwnProperty("deprecated")) object.deprecated = message.deprecated; @@ -36546,8 +35001,6 @@ object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options); if (message.debugRedact != null && message.hasOwnProperty("debugRedact")) object.debugRedact = message.debugRedact; - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) - object.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.toObject(message.featureSupport, options); if (message.uninterpretedOption && message.uninterpretedOption.length) { object.uninterpretedOption = []; for (var j = 0; j < message.uninterpretedOption.length; ++j) @@ -38015,8 +36468,6 @@ * @property {google.protobuf.FeatureSet.Utf8Validation|null} [utf8Validation] FeatureSet utf8Validation * @property {google.protobuf.FeatureSet.MessageEncoding|null} [messageEncoding] FeatureSet messageEncoding * @property {google.protobuf.FeatureSet.JsonFormat|null} [jsonFormat] FeatureSet jsonFormat - * @property {google.protobuf.FeatureSet.EnforceNamingStyle|null} [enforceNamingStyle] FeatureSet enforceNamingStyle - * @property {google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|null} [defaultSymbolVisibility] FeatureSet defaultSymbolVisibility */ /** @@ -38082,22 +36533,6 @@ */ FeatureSet.prototype.jsonFormat = 0; - /** - * FeatureSet enforceNamingStyle. - * @member {google.protobuf.FeatureSet.EnforceNamingStyle} enforceNamingStyle - * @memberof google.protobuf.FeatureSet - * @instance - */ - FeatureSet.prototype.enforceNamingStyle = 0; - - /** - * FeatureSet defaultSymbolVisibility. - * @member {google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility} defaultSymbolVisibility - * @memberof google.protobuf.FeatureSet - * @instance - */ - FeatureSet.prototype.defaultSymbolVisibility = 0; - /** * Creates a new FeatureSet instance using the specified properties. * @function create @@ -38134,10 +36569,6 @@ writer.uint32(/* id 5, wireType 0 =*/40).int32(message.messageEncoding); if (message.jsonFormat != null && Object.hasOwnProperty.call(message, "jsonFormat")) writer.uint32(/* id 6, wireType 0 =*/48).int32(message.jsonFormat); - if (message.enforceNamingStyle != null && Object.hasOwnProperty.call(message, "enforceNamingStyle")) - writer.uint32(/* id 7, wireType 0 =*/56).int32(message.enforceNamingStyle); - if (message.defaultSymbolVisibility != null && Object.hasOwnProperty.call(message, "defaultSymbolVisibility")) - writer.uint32(/* id 8, wireType 0 =*/64).int32(message.defaultSymbolVisibility); return writer; }; @@ -38198,14 +36629,6 @@ message.jsonFormat = reader.int32(); break; } - case 7: { - message.enforceNamingStyle = reader.int32(); - break; - } - case 8: { - message.defaultSymbolVisibility = reader.int32(); - break; - } default: reader.skipType(tag & 7); break; @@ -38296,26 +36719,6 @@ case 2: break; } - if (message.enforceNamingStyle != null && message.hasOwnProperty("enforceNamingStyle")) - switch (message.enforceNamingStyle) { - default: - return "enforceNamingStyle: enum value expected"; - case 0: - case 1: - case 2: - break; - } - if (message.defaultSymbolVisibility != null && message.hasOwnProperty("defaultSymbolVisibility")) - switch (message.defaultSymbolVisibility) { - default: - return "defaultSymbolVisibility: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } return null; }; @@ -38455,54 +36858,6 @@ message.jsonFormat = 2; break; } - switch (object.enforceNamingStyle) { - default: - if (typeof object.enforceNamingStyle === "number") { - message.enforceNamingStyle = object.enforceNamingStyle; - break; - } - break; - case "ENFORCE_NAMING_STYLE_UNKNOWN": - case 0: - message.enforceNamingStyle = 0; - break; - case "STYLE2024": - case 1: - message.enforceNamingStyle = 1; - break; - case "STYLE_LEGACY": - case 2: - message.enforceNamingStyle = 2; - break; - } - switch (object.defaultSymbolVisibility) { - default: - if (typeof object.defaultSymbolVisibility === "number") { - message.defaultSymbolVisibility = object.defaultSymbolVisibility; - break; - } - break; - case "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN": - case 0: - message.defaultSymbolVisibility = 0; - break; - case "EXPORT_ALL": - case 1: - message.defaultSymbolVisibility = 1; - break; - case "EXPORT_TOP_LEVEL": - case 2: - message.defaultSymbolVisibility = 2; - break; - case "LOCAL_ALL": - case 3: - message.defaultSymbolVisibility = 3; - break; - case "STRICT": - case 4: - message.defaultSymbolVisibility = 4; - break; - } return message; }; @@ -38526,8 +36881,6 @@ object.utf8Validation = options.enums === String ? "UTF8_VALIDATION_UNKNOWN" : 0; object.messageEncoding = options.enums === String ? "MESSAGE_ENCODING_UNKNOWN" : 0; object.jsonFormat = options.enums === String ? "JSON_FORMAT_UNKNOWN" : 0; - object.enforceNamingStyle = options.enums === String ? "ENFORCE_NAMING_STYLE_UNKNOWN" : 0; - object.defaultSymbolVisibility = options.enums === String ? "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN" : 0; } if (message.fieldPresence != null && message.hasOwnProperty("fieldPresence")) object.fieldPresence = options.enums === String ? $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] === undefined ? message.fieldPresence : $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] : message.fieldPresence; @@ -38541,10 +36894,6 @@ object.messageEncoding = options.enums === String ? $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] === undefined ? message.messageEncoding : $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] : message.messageEncoding; if (message.jsonFormat != null && message.hasOwnProperty("jsonFormat")) object.jsonFormat = options.enums === String ? $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] === undefined ? message.jsonFormat : $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] : message.jsonFormat; - if (message.enforceNamingStyle != null && message.hasOwnProperty("enforceNamingStyle")) - object.enforceNamingStyle = options.enums === String ? $root.google.protobuf.FeatureSet.EnforceNamingStyle[message.enforceNamingStyle] === undefined ? message.enforceNamingStyle : $root.google.protobuf.FeatureSet.EnforceNamingStyle[message.enforceNamingStyle] : message.enforceNamingStyle; - if (message.defaultSymbolVisibility != null && message.hasOwnProperty("defaultSymbolVisibility")) - object.defaultSymbolVisibility = options.enums === String ? $root.google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility[message.defaultSymbolVisibility] === undefined ? message.defaultSymbolVisibility : $root.google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility[message.defaultSymbolVisibility] : message.defaultSymbolVisibility; return object; }; @@ -38672,219 +37021,6 @@ return values; })(); - /** - * EnforceNamingStyle enum. - * @name google.protobuf.FeatureSet.EnforceNamingStyle - * @enum {number} - * @property {number} ENFORCE_NAMING_STYLE_UNKNOWN=0 ENFORCE_NAMING_STYLE_UNKNOWN value - * @property {number} STYLE2024=1 STYLE2024 value - * @property {number} STYLE_LEGACY=2 STYLE_LEGACY value - */ - FeatureSet.EnforceNamingStyle = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "ENFORCE_NAMING_STYLE_UNKNOWN"] = 0; - values[valuesById[1] = "STYLE2024"] = 1; - values[valuesById[2] = "STYLE_LEGACY"] = 2; - return values; - })(); - - FeatureSet.VisibilityFeature = (function() { - - /** - * Properties of a VisibilityFeature. - * @memberof google.protobuf.FeatureSet - * @interface IVisibilityFeature - */ - - /** - * Constructs a new VisibilityFeature. - * @memberof google.protobuf.FeatureSet - * @classdesc Represents a VisibilityFeature. - * @implements IVisibilityFeature - * @constructor - * @param {google.protobuf.FeatureSet.IVisibilityFeature=} [properties] Properties to set - */ - function VisibilityFeature(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Creates a new VisibilityFeature instance using the specified properties. - * @function create - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.IVisibilityFeature=} [properties] Properties to set - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature instance - */ - VisibilityFeature.create = function create(properties) { - return new VisibilityFeature(properties); - }; - - /** - * Encodes the specified VisibilityFeature message. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @function encode - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.IVisibilityFeature} message VisibilityFeature message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - VisibilityFeature.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - return writer; - }; - - /** - * Encodes the specified VisibilityFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @function encodeDelimited - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.IVisibilityFeature} message VisibilityFeature message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - VisibilityFeature.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer. - * @function decode - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - VisibilityFeature.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FeatureSet.VisibilityFeature(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - VisibilityFeature.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a VisibilityFeature message. - * @function verify - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - VisibilityFeature.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - return null; - }; - - /** - * Creates a VisibilityFeature message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {Object.} object Plain object - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature - */ - VisibilityFeature.fromObject = function fromObject(object) { - if (object instanceof $root.google.protobuf.FeatureSet.VisibilityFeature) - return object; - return new $root.google.protobuf.FeatureSet.VisibilityFeature(); - }; - - /** - * Creates a plain object from a VisibilityFeature message. Also converts values to other types if specified. - * @function toObject - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.VisibilityFeature} message VisibilityFeature - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - VisibilityFeature.toObject = function toObject() { - return {}; - }; - - /** - * Converts this VisibilityFeature to JSON. - * @function toJSON - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @instance - * @returns {Object.} JSON object - */ - VisibilityFeature.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for VisibilityFeature - * @function getTypeUrl - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - VisibilityFeature.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.FeatureSet.VisibilityFeature"; - }; - - /** - * DefaultSymbolVisibility enum. - * @name google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility - * @enum {number} - * @property {number} DEFAULT_SYMBOL_VISIBILITY_UNKNOWN=0 DEFAULT_SYMBOL_VISIBILITY_UNKNOWN value - * @property {number} EXPORT_ALL=1 EXPORT_ALL value - * @property {number} EXPORT_TOP_LEVEL=2 EXPORT_TOP_LEVEL value - * @property {number} LOCAL_ALL=3 LOCAL_ALL value - * @property {number} STRICT=4 STRICT value - */ - VisibilityFeature.DefaultSymbolVisibility = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN"] = 0; - values[valuesById[1] = "EXPORT_ALL"] = 1; - values[valuesById[2] = "EXPORT_TOP_LEVEL"] = 2; - values[valuesById[3] = "LOCAL_ALL"] = 3; - values[valuesById[4] = "STRICT"] = 4; - return values; - })(); - - return VisibilityFeature; - })(); - return FeatureSet; })(); @@ -39069,7 +37205,6 @@ default: return "minimumEdition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -39087,7 +37222,6 @@ default: return "maximumEdition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -39136,10 +37270,6 @@ case 0: message.minimumEdition = 0; break; - case "EDITION_LEGACY": - case 900: - message.minimumEdition = 900; - break; case "EDITION_PROTO2": case 998: message.minimumEdition = 998; @@ -39192,10 +37322,6 @@ case 0: message.maximumEdition = 0; break; - case "EDITION_LEGACY": - case 900: - message.maximumEdition = 900; - break; case "EDITION_PROTO2": case 998: message.maximumEdition = 998; @@ -39304,8 +37430,7 @@ * @memberof google.protobuf.FeatureSetDefaults * @interface IFeatureSetEditionDefault * @property {google.protobuf.Edition|null} [edition] FeatureSetEditionDefault edition - * @property {google.protobuf.IFeatureSet|null} [overridableFeatures] FeatureSetEditionDefault overridableFeatures - * @property {google.protobuf.IFeatureSet|null} [fixedFeatures] FeatureSetEditionDefault fixedFeatures + * @property {google.protobuf.IFeatureSet|null} [features] FeatureSetEditionDefault features */ /** @@ -39332,20 +37457,12 @@ FeatureSetEditionDefault.prototype.edition = 0; /** - * FeatureSetEditionDefault overridableFeatures. - * @member {google.protobuf.IFeatureSet|null|undefined} overridableFeatures - * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault - * @instance - */ - FeatureSetEditionDefault.prototype.overridableFeatures = null; - - /** - * FeatureSetEditionDefault fixedFeatures. - * @member {google.protobuf.IFeatureSet|null|undefined} fixedFeatures + * FeatureSetEditionDefault features. + * @member {google.protobuf.IFeatureSet|null|undefined} features * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault * @instance */ - FeatureSetEditionDefault.prototype.fixedFeatures = null; + FeatureSetEditionDefault.prototype.features = null; /** * Creates a new FeatureSetEditionDefault instance using the specified properties. @@ -39371,12 +37488,10 @@ FeatureSetEditionDefault.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); + if (message.features != null && Object.hasOwnProperty.call(message, "features")) + $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); if (message.edition != null && Object.hasOwnProperty.call(message, "edition")) writer.uint32(/* id 3, wireType 0 =*/24).int32(message.edition); - if (message.overridableFeatures != null && Object.hasOwnProperty.call(message, "overridableFeatures")) - $root.google.protobuf.FeatureSet.encode(message.overridableFeatures, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.fixedFeatures != null && Object.hasOwnProperty.call(message, "fixedFeatures")) - $root.google.protobuf.FeatureSet.encode(message.fixedFeatures, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); return writer; }; @@ -39417,12 +37532,8 @@ message.edition = reader.int32(); break; } - case 4: { - message.overridableFeatures = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); - break; - } - case 5: { - message.fixedFeatures = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); + case 2: { + message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); break; } default: @@ -39465,7 +37576,6 @@ default: return "edition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -39478,15 +37588,10 @@ case 2147483647: break; } - if (message.overridableFeatures != null && message.hasOwnProperty("overridableFeatures")) { - var error = $root.google.protobuf.FeatureSet.verify(message.overridableFeatures); - if (error) - return "overridableFeatures." + error; - } - if (message.fixedFeatures != null && message.hasOwnProperty("fixedFeatures")) { - var error = $root.google.protobuf.FeatureSet.verify(message.fixedFeatures); + if (message.features != null && message.hasOwnProperty("features")) { + var error = $root.google.protobuf.FeatureSet.verify(message.features); if (error) - return "fixedFeatures." + error; + return "features." + error; } return null; }; @@ -39514,10 +37619,6 @@ case 0: message.edition = 0; break; - case "EDITION_LEGACY": - case 900: - message.edition = 900; - break; case "EDITION_PROTO2": case 998: message.edition = 998; @@ -39559,15 +37660,10 @@ message.edition = 2147483647; break; } - if (object.overridableFeatures != null) { - if (typeof object.overridableFeatures !== "object") - throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.overridableFeatures: object expected"); - message.overridableFeatures = $root.google.protobuf.FeatureSet.fromObject(object.overridableFeatures); - } - if (object.fixedFeatures != null) { - if (typeof object.fixedFeatures !== "object") - throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.fixedFeatures: object expected"); - message.fixedFeatures = $root.google.protobuf.FeatureSet.fromObject(object.fixedFeatures); + if (object.features != null) { + if (typeof object.features !== "object") + throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.features: object expected"); + message.features = $root.google.protobuf.FeatureSet.fromObject(object.features); } return message; }; @@ -39586,16 +37682,13 @@ options = {}; var object = {}; if (options.defaults) { + object.features = null; object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0; - object.overridableFeatures = null; - object.fixedFeatures = null; } + if (message.features != null && message.hasOwnProperty("features")) + object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options); if (message.edition != null && message.hasOwnProperty("edition")) object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; - if (message.overridableFeatures != null && message.hasOwnProperty("overridableFeatures")) - object.overridableFeatures = $root.google.protobuf.FeatureSet.toObject(message.overridableFeatures, options); - if (message.fixedFeatures != null && message.hasOwnProperty("fixedFeatures")) - object.fixedFeatures = $root.google.protobuf.FeatureSet.toObject(message.fixedFeatures, options); return object; }; @@ -40810,22 +38903,6 @@ return GeneratedCodeInfo; })(); - /** - * SymbolVisibility enum. - * @name google.protobuf.SymbolVisibility - * @enum {number} - * @property {number} VISIBILITY_UNSET=0 VISIBILITY_UNSET value - * @property {number} VISIBILITY_LOCAL=1 VISIBILITY_LOCAL value - * @property {number} VISIBILITY_EXPORT=2 VISIBILITY_EXPORT value - */ - protobuf.SymbolVisibility = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "VISIBILITY_UNSET"] = 0; - values[valuesById[1] = "VISIBILITY_LOCAL"] = 1; - values[valuesById[2] = "VISIBILITY_EXPORT"] = 2; - return values; - })(); - protobuf.Duration = (function() { /** diff --git a/packages/google-cloud-developerconnect/protos/protos.json b/packages/google-cloud-developerconnect/protos/protos.json index 29069bf14edb..ddf1d86d56eb 100644 --- a/packages/google-cloud-developerconnect/protos/protos.json +++ b/packages/google-cloud-developerconnect/protos/protos.json @@ -2847,7 +2847,8 @@ "java_multiple_files": true, "java_outer_classname": "ResourceProto", "java_package": "com.google.api", - "objc_class_prefix": "GAPI" + "objc_class_prefix": "GAPI", + "cc_enable_arenas": true }, "nested": { "http": { @@ -2971,10 +2972,6 @@ "rule": "repeated", "type": "ClientLibraryDestination", "id": 2 - }, - "selectiveGapicGeneration": { - "type": "SelectiveGapicGeneration", - "id": 3 } } }, @@ -3115,28 +3112,6 @@ "common": { "type": "CommonLanguageSettings", "id": 1 - }, - "experimentalFeatures": { - "type": "ExperimentalFeatures", - "id": 2 - } - }, - "nested": { - "ExperimentalFeatures": { - "fields": { - "restAsyncIoEnabled": { - "type": "bool", - "id": 1 - }, - "protobufPythonicTypesEnabled": { - "type": "bool", - "id": 2 - }, - "unversionedPackageDisabled": { - "type": "bool", - "id": 3 - } - } } } }, @@ -3194,11 +3169,6 @@ "common": { "type": "CommonLanguageSettings", "id": 1 - }, - "renamedServices": { - "keyType": "string", - "type": "string", - "id": 2 } } }, @@ -3260,19 +3230,6 @@ "PACKAGE_MANAGER": 20 } }, - "SelectiveGapicGeneration": { - "fields": { - "methods": { - "rule": "repeated", - "type": "string", - "id": 1 - }, - "generateOmittedAsInternal": { - "type": "bool", - "id": 2 - } - } - }, "LaunchStage": { "values": { "LAUNCH_STAGE_UNSPECIFIED": 0, @@ -3317,11 +3274,6 @@ "format": { "type": "Format", "id": 1 - }, - "referencedTypes": { - "rule": "repeated", - "type": "TypeReference", - "id": 2 } }, "nested": { @@ -3336,14 +3288,6 @@ } } }, - "TypeReference": { - "fields": { - "typeName": { - "type": "string", - "id": 1 - } - } - }, "resourceReference": { "type": "google.api.ResourceReference", "id": 1055, @@ -3442,19 +3386,12 @@ "type": "FileDescriptorProto", "id": 1 } - }, - "extensions": [ - [ - 536000000, - 536000000 - ] - ] + } }, "Edition": { "edition": "proto2", "values": { "EDITION_UNKNOWN": 0, - "EDITION_LEGACY": 900, "EDITION_PROTO2": 998, "EDITION_PROTO3": 999, "EDITION_2023": 1000, @@ -3493,11 +3430,6 @@ "type": "int32", "id": 11 }, - "optionDependency": { - "rule": "repeated", - "type": "string", - "id": 15 - }, "messageType": { "rule": "repeated", "type": "DescriptorProto", @@ -3586,10 +3518,6 @@ "rule": "repeated", "type": "string", "id": 10 - }, - "visibility": { - "type": "SymbolVisibility", - "id": 11 } }, "nested": { @@ -3815,10 +3743,6 @@ "rule": "repeated", "type": "string", "id": 5 - }, - "visibility": { - "type": "SymbolVisibility", - "id": 6 } }, "nested": { @@ -4033,7 +3957,6 @@ 42, 42 ], - "php_generic_services", [ 38, 38 @@ -4169,8 +4092,7 @@ "type": "bool", "id": 10, "options": { - "default": false, - "deprecated": true + "default": false } }, "debugRedact": { @@ -4198,10 +4120,6 @@ "type": "FeatureSet", "id": 21 }, - "featureSupport": { - "type": "FeatureSupport", - "id": 22 - }, "uninterpretedOption": { "rule": "repeated", "type": "UninterpretedOption", @@ -4271,26 +4189,6 @@ "id": 2 } } - }, - "FeatureSupport": { - "fields": { - "editionIntroduced": { - "type": "Edition", - "id": 1 - }, - "editionDeprecated": { - "type": "Edition", - "id": 2 - }, - "deprecationWarning": { - "type": "string", - "id": 3 - }, - "editionRemoved": { - "type": "Edition", - "id": 4 - } - } } } }, @@ -4379,10 +4277,6 @@ "default": false } }, - "featureSupport": { - "type": "FieldOptions.FeatureSupport", - "id": 4 - }, "uninterpretedOption": { "rule": "repeated", "type": "UninterpretedOption", @@ -4525,7 +4419,6 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_2023", "edition_defaults.value": "EXPLICIT" } @@ -4536,7 +4429,6 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_PROTO3", "edition_defaults.value": "OPEN" } @@ -4547,7 +4439,6 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_PROTO3", "edition_defaults.value": "PACKED" } @@ -4558,7 +4449,6 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_PROTO3", "edition_defaults.value": "VERIFY" } @@ -4569,8 +4459,7 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", - "edition_defaults.edition": "EDITION_LEGACY", + "edition_defaults.edition": "EDITION_PROTO2", "edition_defaults.value": "LENGTH_PREFIXED" } }, @@ -4580,38 +4469,27 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_PROTO3", "edition_defaults.value": "ALLOW" } - }, - "enforceNamingStyle": { - "type": "EnforceNamingStyle", - "id": 7, - "options": { - "retention": "RETENTION_SOURCE", - "targets": "TARGET_TYPE_METHOD", - "feature_support.edition_introduced": "EDITION_2024", - "edition_defaults.edition": "EDITION_2024", - "edition_defaults.value": "STYLE2024" - } - }, - "defaultSymbolVisibility": { - "type": "VisibilityFeature.DefaultSymbolVisibility", - "id": 8, - "options": { - "retention": "RETENTION_SOURCE", - "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2024", - "edition_defaults.edition": "EDITION_2024", - "edition_defaults.value": "EXPORT_TOP_LEVEL" - } } }, "extensions": [ [ 1000, - 9994 + 1000 + ], + [ + 1001, + 1001 + ], + [ + 1002, + 1002 + ], + [ + 9990, + 9990 ], [ 9995, @@ -4656,13 +4534,7 @@ "UTF8_VALIDATION_UNKNOWN": 0, "VERIFY": 2, "NONE": 3 - }, - "reserved": [ - [ - 1, - 1 - ] - ] + } }, "MessageEncoding": { "values": { @@ -4677,33 +4549,6 @@ "ALLOW": 1, "LEGACY_BEST_EFFORT": 2 } - }, - "EnforceNamingStyle": { - "values": { - "ENFORCE_NAMING_STYLE_UNKNOWN": 0, - "STYLE2024": 1, - "STYLE_LEGACY": 2 - } - }, - "VisibilityFeature": { - "fields": {}, - "reserved": [ - [ - 1, - 536870911 - ] - ], - "nested": { - "DefaultSymbolVisibility": { - "values": { - "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN": 0, - "EXPORT_ALL": 1, - "EXPORT_TOP_LEVEL": 2, - "LOCAL_ALL": 3, - "STRICT": 4 - } - } - } } } }, @@ -4731,26 +4576,11 @@ "type": "Edition", "id": 3 }, - "overridableFeatures": { + "features": { "type": "FeatureSet", - "id": 4 - }, - "fixedFeatures": { - "type": "FeatureSet", - "id": 5 + "id": 2 } - }, - "reserved": [ - [ - 1, - 1 - ], - [ - 2, - 2 - ], - "features" - ] + } } } }, @@ -4763,12 +4593,6 @@ "id": 1 } }, - "extensions": [ - [ - 536000000, - 536000000 - ] - ], "nested": { "Location": { "fields": { @@ -4854,14 +4678,6 @@ } } }, - "SymbolVisibility": { - "edition": "proto2", - "values": { - "VISIBILITY_UNSET": 0, - "VISIBILITY_LOCAL": 1, - "VISIBILITY_EXPORT": 2 - } - }, "Duration": { "fields": { "seconds": { @@ -4920,7 +4736,6 @@ "java_multiple_files": true, "java_outer_classname": "OperationsProto", "java_package": "com.google.longrunning", - "objc_class_prefix": "GLRUN", "php_namespace": "Google\\LongRunning" }, "nested": { diff --git a/packages/google-cloud-developerconnect/samples/generated/v1/snippet_metadata_google.cloud.developerconnect.v1.json b/packages/google-cloud-developerconnect/samples/generated/v1/snippet_metadata_google.cloud.developerconnect.v1.json index 68589bc2823a..ae2d56c2594e 100644 --- a/packages/google-cloud-developerconnect/samples/generated/v1/snippet_metadata_google.cloud.developerconnect.v1.json +++ b/packages/google-cloud-developerconnect/samples/generated/v1/snippet_metadata_google.cloud.developerconnect.v1.json @@ -1,1443 +1,1443 @@ { - "clientLibrary": { - "name": "nodejs-developerconnect", - "version": "0.6.0", - "language": "TYPESCRIPT", - "apis": [ - { - "id": "google.cloud.developerconnect.v1", - "version": "v1" - } - ] - }, - "snippets": [ + "clientLibrary": { + "name": "nodejs-developerconnect", + "version": "0.1.0", + "language": "TYPESCRIPT", + "apis": [ + { + "id": "google.cloud.developerconnect.v1", + "version": "v1" + } + ] + }, + "snippets": [ + { + "regionTag": "developerconnect_v1_generated_DeveloperConnect_ListConnections_async", + "title": "DeveloperConnect listConnections Sample", + "origin": "API_DEFINITION", + "description": " Lists Connections in a given project and location.", + "canonical": true, + "file": "developer_connect.list_connections.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_ListConnections_async", - "title": "DeveloperConnect listConnections Sample", - "origin": "API_DEFINITION", - "description": " Lists Connections in a given project and location.", - "canonical": true, - "file": "developer_connect.list_connections.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 72, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListConnections", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.ListConnections", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.developerconnect.v1.ListConnectionsResponse", - "client": { - "shortName": "DeveloperConnectClient", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" - }, - "method": { - "shortName": "ListConnections", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.ListConnections", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } - } + "start": 25, + "end": 72, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListConnections", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.ListConnections", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.developerconnect.v1.ListConnectionsResponse", + "client": { + "shortName": "DeveloperConnectClient", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" }, + "method": { + "shortName": "ListConnections", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.ListConnections", + "service": { + "shortName": "DeveloperConnect", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" + } + } + } + }, + { + "regionTag": "developerconnect_v1_generated_DeveloperConnect_GetConnection_async", + "title": "DeveloperConnect getConnection Sample", + "origin": "API_DEFINITION", + "description": " Gets details of a single Connection.", + "canonical": true, + "file": "developer_connect.get_connection.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_GetConnection_async", - "title": "DeveloperConnect getConnection Sample", - "origin": "API_DEFINITION", - "description": " Gets details of a single Connection.", - "canonical": true, - "file": "developer_connect.get_connection.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 53, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetConnection", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.GetConnection", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.developerconnect.v1.Connection", - "client": { - "shortName": "DeveloperConnectClient", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" - }, - "method": { - "shortName": "GetConnection", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.GetConnection", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } - } + "start": 25, + "end": 53, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetConnection", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.GetConnection", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.developerconnect.v1.Connection", + "client": { + "shortName": "DeveloperConnectClient", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" }, + "method": { + "shortName": "GetConnection", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.GetConnection", + "service": { + "shortName": "DeveloperConnect", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" + } + } + } + }, + { + "regionTag": "developerconnect_v1_generated_DeveloperConnect_CreateConnection_async", + "title": "DeveloperConnect createConnection Sample", + "origin": "API_DEFINITION", + "description": " Creates a new Connection in a given project and location.", + "canonical": true, + "file": "developer_connect.create_connection.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_CreateConnection_async", - "title": "DeveloperConnect createConnection Sample", - "origin": "API_DEFINITION", - "description": " Creates a new Connection in a given project and location.", - "canonical": true, - "file": "developer_connect.create_connection.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 84, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateConnection", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.CreateConnection", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "connection_id", - "type": "TYPE_STRING" - }, - { - "name": "connection", - "type": ".google.cloud.developerconnect.v1.Connection" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - }, - { - "name": "validate_only", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DeveloperConnectClient", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" - }, - "method": { - "shortName": "CreateConnection", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.CreateConnection", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } - } + "start": 25, + "end": 84, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateConnection", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.CreateConnection", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "connection_id", + "type": "TYPE_STRING" + }, + { + "name": "connection", + "type": ".google.cloud.developerconnect.v1.Connection" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + }, + { + "name": "validate_only", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DeveloperConnectClient", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" }, + "method": { + "shortName": "CreateConnection", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.CreateConnection", + "service": { + "shortName": "DeveloperConnect", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" + } + } + } + }, + { + "regionTag": "developerconnect_v1_generated_DeveloperConnect_UpdateConnection_async", + "title": "DeveloperConnect updateConnection Sample", + "origin": "API_DEFINITION", + "description": " Updates the parameters of a single Connection.", + "canonical": true, + "file": "developer_connect.update_connection.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_UpdateConnection_async", - "title": "DeveloperConnect updateConnection Sample", - "origin": "API_DEFINITION", - "description": " Updates the parameters of a single Connection.", - "canonical": true, - "file": "developer_connect.update_connection.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 89, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateConnection", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.UpdateConnection", - "async": true, - "parameters": [ - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - }, - { - "name": "connection", - "type": ".google.cloud.developerconnect.v1.Connection" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - }, - { - "name": "allow_missing", - "type": "TYPE_BOOL" - }, - { - "name": "validate_only", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DeveloperConnectClient", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" - }, - "method": { - "shortName": "UpdateConnection", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.UpdateConnection", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } - } + "start": 25, + "end": 89, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateConnection", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.UpdateConnection", + "async": true, + "parameters": [ + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + }, + { + "name": "connection", + "type": ".google.cloud.developerconnect.v1.Connection" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + }, + { + "name": "allow_missing", + "type": "TYPE_BOOL" + }, + { + "name": "validate_only", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DeveloperConnectClient", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" }, + "method": { + "shortName": "UpdateConnection", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.UpdateConnection", + "service": { + "shortName": "DeveloperConnect", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" + } + } + } + }, + { + "regionTag": "developerconnect_v1_generated_DeveloperConnect_DeleteConnection_async", + "title": "DeveloperConnect deleteConnection Sample", + "origin": "API_DEFINITION", + "description": " Deletes a single Connection.", + "canonical": true, + "file": "developer_connect.delete_connection.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_DeleteConnection_async", - "title": "DeveloperConnect deleteConnection Sample", - "origin": "API_DEFINITION", - "description": " Deletes a single Connection.", - "canonical": true, - "file": "developer_connect.delete_connection.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 78, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteConnection", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.DeleteConnection", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - }, - { - "name": "validate_only", - "type": "TYPE_BOOL" - }, - { - "name": "etag", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DeveloperConnectClient", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" - }, - "method": { - "shortName": "DeleteConnection", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.DeleteConnection", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } - } + "start": 25, + "end": 78, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteConnection", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.DeleteConnection", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + }, + { + "name": "validate_only", + "type": "TYPE_BOOL" + }, + { + "name": "etag", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DeveloperConnectClient", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" }, + "method": { + "shortName": "DeleteConnection", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.DeleteConnection", + "service": { + "shortName": "DeveloperConnect", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" + } + } + } + }, + { + "regionTag": "developerconnect_v1_generated_DeveloperConnect_CreateGitRepositoryLink_async", + "title": "DeveloperConnect createGitRepositoryLink Sample", + "origin": "API_DEFINITION", + "description": " Creates a GitRepositoryLink. Upon linking a Git Repository, Developer Connect will configure the Git Repository to send webhook events to Developer Connect. Connections that use Firebase GitHub Application will have events forwarded to the Firebase service. All other Connections will have events forwarded to Cloud Build.", + "canonical": true, + "file": "developer_connect.create_git_repository_link.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_CreateGitRepositoryLink_async", - "title": "DeveloperConnect createGitRepositoryLink Sample", - "origin": "API_DEFINITION", - "description": " Creates a GitRepositoryLink. Upon linking a Git Repository, Developer Connect will configure the Git Repository to send webhook events to Developer Connect. Connections that use Firebase GitHub Application will have events forwarded to the Firebase service. All other Connections will have events forwarded to Cloud Build.", - "canonical": true, - "file": "developer_connect.create_git_repository_link.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 85, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateGitRepositoryLink", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.CreateGitRepositoryLink", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "git_repository_link", - "type": ".google.cloud.developerconnect.v1.GitRepositoryLink" - }, - { - "name": "git_repository_link_id", - "type": "TYPE_STRING" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - }, - { - "name": "validate_only", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DeveloperConnectClient", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" - }, - "method": { - "shortName": "CreateGitRepositoryLink", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.CreateGitRepositoryLink", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } - } + "start": 25, + "end": 85, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateGitRepositoryLink", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.CreateGitRepositoryLink", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "git_repository_link", + "type": ".google.cloud.developerconnect.v1.GitRepositoryLink" + }, + { + "name": "git_repository_link_id", + "type": "TYPE_STRING" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + }, + { + "name": "validate_only", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DeveloperConnectClient", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" }, + "method": { + "shortName": "CreateGitRepositoryLink", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.CreateGitRepositoryLink", + "service": { + "shortName": "DeveloperConnect", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" + } + } + } + }, + { + "regionTag": "developerconnect_v1_generated_DeveloperConnect_DeleteGitRepositoryLink_async", + "title": "DeveloperConnect deleteGitRepositoryLink Sample", + "origin": "API_DEFINITION", + "description": " Deletes a single GitRepositoryLink.", + "canonical": true, + "file": "developer_connect.delete_git_repository_link.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_DeleteGitRepositoryLink_async", - "title": "DeveloperConnect deleteGitRepositoryLink Sample", - "origin": "API_DEFINITION", - "description": " Deletes a single GitRepositoryLink.", - "canonical": true, - "file": "developer_connect.delete_git_repository_link.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 78, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteGitRepositoryLink", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.DeleteGitRepositoryLink", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - }, - { - "name": "validate_only", - "type": "TYPE_BOOL" - }, - { - "name": "etag", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DeveloperConnectClient", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" - }, - "method": { - "shortName": "DeleteGitRepositoryLink", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.DeleteGitRepositoryLink", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } - } + "start": 25, + "end": 78, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteGitRepositoryLink", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.DeleteGitRepositoryLink", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + }, + { + "name": "validate_only", + "type": "TYPE_BOOL" + }, + { + "name": "etag", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DeveloperConnectClient", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" }, + "method": { + "shortName": "DeleteGitRepositoryLink", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.DeleteGitRepositoryLink", + "service": { + "shortName": "DeveloperConnect", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" + } + } + } + }, + { + "regionTag": "developerconnect_v1_generated_DeveloperConnect_ListGitRepositoryLinks_async", + "title": "DeveloperConnect listGitRepositoryLinks Sample", + "origin": "API_DEFINITION", + "description": " Lists GitRepositoryLinks in a given project, location, and connection.", + "canonical": true, + "file": "developer_connect.list_git_repository_links.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_ListGitRepositoryLinks_async", - "title": "DeveloperConnect listGitRepositoryLinks Sample", - "origin": "API_DEFINITION", - "description": " Lists GitRepositoryLinks in a given project, location, and connection.", - "canonical": true, - "file": "developer_connect.list_git_repository_links.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 72, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListGitRepositoryLinks", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.ListGitRepositoryLinks", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.developerconnect.v1.ListGitRepositoryLinksResponse", - "client": { - "shortName": "DeveloperConnectClient", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" - }, - "method": { - "shortName": "ListGitRepositoryLinks", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.ListGitRepositoryLinks", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } - } + "start": 25, + "end": 72, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListGitRepositoryLinks", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.ListGitRepositoryLinks", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.developerconnect.v1.ListGitRepositoryLinksResponse", + "client": { + "shortName": "DeveloperConnectClient", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" }, + "method": { + "shortName": "ListGitRepositoryLinks", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.ListGitRepositoryLinks", + "service": { + "shortName": "DeveloperConnect", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" + } + } + } + }, + { + "regionTag": "developerconnect_v1_generated_DeveloperConnect_GetGitRepositoryLink_async", + "title": "DeveloperConnect getGitRepositoryLink Sample", + "origin": "API_DEFINITION", + "description": " Gets details of a single GitRepositoryLink.", + "canonical": true, + "file": "developer_connect.get_git_repository_link.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_GetGitRepositoryLink_async", - "title": "DeveloperConnect getGitRepositoryLink Sample", - "origin": "API_DEFINITION", - "description": " Gets details of a single GitRepositoryLink.", - "canonical": true, - "file": "developer_connect.get_git_repository_link.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 53, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetGitRepositoryLink", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.GetGitRepositoryLink", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.developerconnect.v1.GitRepositoryLink", - "client": { - "shortName": "DeveloperConnectClient", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" - }, - "method": { - "shortName": "GetGitRepositoryLink", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.GetGitRepositoryLink", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } - } + "start": 25, + "end": 53, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetGitRepositoryLink", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.GetGitRepositoryLink", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.developerconnect.v1.GitRepositoryLink", + "client": { + "shortName": "DeveloperConnectClient", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" }, + "method": { + "shortName": "GetGitRepositoryLink", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.GetGitRepositoryLink", + "service": { + "shortName": "DeveloperConnect", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" + } + } + } + }, + { + "regionTag": "developerconnect_v1_generated_DeveloperConnect_FetchReadWriteToken_async", + "title": "DeveloperConnect fetchReadWriteToken Sample", + "origin": "API_DEFINITION", + "description": " Fetches read/write token of a given gitRepositoryLink.", + "canonical": true, + "file": "developer_connect.fetch_read_write_token.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_FetchReadWriteToken_async", - "title": "DeveloperConnect fetchReadWriteToken Sample", - "origin": "API_DEFINITION", - "description": " Fetches read/write token of a given gitRepositoryLink.", - "canonical": true, - "file": "developer_connect.fetch_read_write_token.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "FetchReadWriteToken", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FetchReadWriteToken", - "async": true, - "parameters": [ - { - "name": "git_repository_link", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.developerconnect.v1.FetchReadWriteTokenResponse", - "client": { - "shortName": "DeveloperConnectClient", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" - }, - "method": { - "shortName": "FetchReadWriteToken", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FetchReadWriteToken", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "FetchReadWriteToken", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FetchReadWriteToken", + "async": true, + "parameters": [ + { + "name": "git_repository_link", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.developerconnect.v1.FetchReadWriteTokenResponse", + "client": { + "shortName": "DeveloperConnectClient", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" }, + "method": { + "shortName": "FetchReadWriteToken", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FetchReadWriteToken", + "service": { + "shortName": "DeveloperConnect", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" + } + } + } + }, + { + "regionTag": "developerconnect_v1_generated_DeveloperConnect_FetchReadToken_async", + "title": "DeveloperConnect fetchReadToken Sample", + "origin": "API_DEFINITION", + "description": " Fetches read token of a given gitRepositoryLink.", + "canonical": true, + "file": "developer_connect.fetch_read_token.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_FetchReadToken_async", - "title": "DeveloperConnect fetchReadToken Sample", - "origin": "API_DEFINITION", - "description": " Fetches read token of a given gitRepositoryLink.", - "canonical": true, - "file": "developer_connect.fetch_read_token.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "FetchReadToken", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FetchReadToken", - "async": true, - "parameters": [ - { - "name": "git_repository_link", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.developerconnect.v1.FetchReadTokenResponse", - "client": { - "shortName": "DeveloperConnectClient", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" - }, - "method": { - "shortName": "FetchReadToken", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FetchReadToken", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "FetchReadToken", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FetchReadToken", + "async": true, + "parameters": [ + { + "name": "git_repository_link", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.developerconnect.v1.FetchReadTokenResponse", + "client": { + "shortName": "DeveloperConnectClient", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" }, + "method": { + "shortName": "FetchReadToken", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FetchReadToken", + "service": { + "shortName": "DeveloperConnect", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" + } + } + } + }, + { + "regionTag": "developerconnect_v1_generated_DeveloperConnect_FetchLinkableGitRepositories_async", + "title": "DeveloperConnect fetchLinkableGitRepositories Sample", + "origin": "API_DEFINITION", + "description": " FetchLinkableGitRepositories returns a list of git repositories from an SCM that are available to be added to a Connection.", + "canonical": true, + "file": "developer_connect.fetch_linkable_git_repositories.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_FetchLinkableGitRepositories_async", - "title": "DeveloperConnect fetchLinkableGitRepositories Sample", - "origin": "API_DEFINITION", - "description": " FetchLinkableGitRepositories returns a list of git repositories from an SCM that are available to be added to a Connection.", - "canonical": true, - "file": "developer_connect.fetch_linkable_git_repositories.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 64, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "FetchLinkableGitRepositories", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FetchLinkableGitRepositories", - "async": true, - "parameters": [ - { - "name": "connection", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.developerconnect.v1.FetchLinkableGitRepositoriesResponse", - "client": { - "shortName": "DeveloperConnectClient", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" - }, - "method": { - "shortName": "FetchLinkableGitRepositories", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FetchLinkableGitRepositories", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } - } + "start": 25, + "end": 64, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "FetchLinkableGitRepositories", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FetchLinkableGitRepositories", + "async": true, + "parameters": [ + { + "name": "connection", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.developerconnect.v1.FetchLinkableGitRepositoriesResponse", + "client": { + "shortName": "DeveloperConnectClient", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" }, + "method": { + "shortName": "FetchLinkableGitRepositories", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FetchLinkableGitRepositories", + "service": { + "shortName": "DeveloperConnect", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" + } + } + } + }, + { + "regionTag": "developerconnect_v1_generated_DeveloperConnect_FetchGitHubInstallations_async", + "title": "DeveloperConnect fetchGitHubInstallations Sample", + "origin": "API_DEFINITION", + "description": " FetchGitHubInstallations returns the list of GitHub Installations that are available to be added to a Connection. For github.com, only installations accessible to the authorizer token are returned. For GitHub Enterprise, all installations are returned.", + "canonical": true, + "file": "developer_connect.fetch_git_hub_installations.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_FetchGitHubInstallations_async", - "title": "DeveloperConnect fetchGitHubInstallations Sample", - "origin": "API_DEFINITION", - "description": " FetchGitHubInstallations returns the list of GitHub Installations that are available to be added to a Connection. For github.com, only installations accessible to the authorizer token are returned. For GitHub Enterprise, all installations are returned.", - "canonical": true, - "file": "developer_connect.fetch_git_hub_installations.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "FetchGitHubInstallations", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FetchGitHubInstallations", - "async": true, - "parameters": [ - { - "name": "connection", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.developerconnect.v1.FetchGitHubInstallationsResponse", - "client": { - "shortName": "DeveloperConnectClient", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" - }, - "method": { - "shortName": "FetchGitHubInstallations", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FetchGitHubInstallations", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "FetchGitHubInstallations", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FetchGitHubInstallations", + "async": true, + "parameters": [ + { + "name": "connection", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.developerconnect.v1.FetchGitHubInstallationsResponse", + "client": { + "shortName": "DeveloperConnectClient", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" }, + "method": { + "shortName": "FetchGitHubInstallations", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FetchGitHubInstallations", + "service": { + "shortName": "DeveloperConnect", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" + } + } + } + }, + { + "regionTag": "developerconnect_v1_generated_DeveloperConnect_FetchGitRefs_async", + "title": "DeveloperConnect fetchGitRefs Sample", + "origin": "API_DEFINITION", + "description": " Fetch the list of branches or tags for a given repository.", + "canonical": true, + "file": "developer_connect.fetch_git_refs.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_FetchGitRefs_async", - "title": "DeveloperConnect fetchGitRefs Sample", - "origin": "API_DEFINITION", - "description": " Fetch the list of branches or tags for a given repository.", - "canonical": true, - "file": "developer_connect.fetch_git_refs.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 69, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "FetchGitRefs", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FetchGitRefs", - "async": true, - "parameters": [ - { - "name": "git_repository_link", - "type": "TYPE_STRING" - }, - { - "name": "ref_type", - "type": ".google.cloud.developerconnect.v1.FetchGitRefsRequest.RefType" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.developerconnect.v1.FetchGitRefsResponse", - "client": { - "shortName": "DeveloperConnectClient", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" - }, - "method": { - "shortName": "FetchGitRefs", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FetchGitRefs", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } - } + "start": 25, + "end": 69, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "FetchGitRefs", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FetchGitRefs", + "async": true, + "parameters": [ + { + "name": "git_repository_link", + "type": "TYPE_STRING" + }, + { + "name": "ref_type", + "type": ".google.cloud.developerconnect.v1.FetchGitRefsRequest.RefType" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.developerconnect.v1.FetchGitRefsResponse", + "client": { + "shortName": "DeveloperConnectClient", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" }, + "method": { + "shortName": "FetchGitRefs", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FetchGitRefs", + "service": { + "shortName": "DeveloperConnect", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" + } + } + } + }, + { + "regionTag": "developerconnect_v1_generated_DeveloperConnect_ListAccountConnectors_async", + "title": "DeveloperConnect listAccountConnectors Sample", + "origin": "API_DEFINITION", + "description": " Lists AccountConnectors in a given project and location.", + "canonical": true, + "file": "developer_connect.list_account_connectors.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_ListAccountConnectors_async", - "title": "DeveloperConnect listAccountConnectors Sample", - "origin": "API_DEFINITION", - "description": " Lists AccountConnectors in a given project and location.", - "canonical": true, - "file": "developer_connect.list_account_connectors.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 72, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListAccountConnectors", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.ListAccountConnectors", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.developerconnect.v1.ListAccountConnectorsResponse", - "client": { - "shortName": "DeveloperConnectClient", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" - }, - "method": { - "shortName": "ListAccountConnectors", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.ListAccountConnectors", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } - } + "start": 25, + "end": 72, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListAccountConnectors", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.ListAccountConnectors", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.developerconnect.v1.ListAccountConnectorsResponse", + "client": { + "shortName": "DeveloperConnectClient", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" }, + "method": { + "shortName": "ListAccountConnectors", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.ListAccountConnectors", + "service": { + "shortName": "DeveloperConnect", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" + } + } + } + }, + { + "regionTag": "developerconnect_v1_generated_DeveloperConnect_GetAccountConnector_async", + "title": "DeveloperConnect getAccountConnector Sample", + "origin": "API_DEFINITION", + "description": " Gets details of a single AccountConnector.", + "canonical": true, + "file": "developer_connect.get_account_connector.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_GetAccountConnector_async", - "title": "DeveloperConnect getAccountConnector Sample", - "origin": "API_DEFINITION", - "description": " Gets details of a single AccountConnector.", - "canonical": true, - "file": "developer_connect.get_account_connector.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 53, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetAccountConnector", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.GetAccountConnector", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.developerconnect.v1.AccountConnector", - "client": { - "shortName": "DeveloperConnectClient", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" - }, - "method": { - "shortName": "GetAccountConnector", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.GetAccountConnector", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } - } + "start": 25, + "end": 53, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetAccountConnector", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.GetAccountConnector", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.developerconnect.v1.AccountConnector", + "client": { + "shortName": "DeveloperConnectClient", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" }, + "method": { + "shortName": "GetAccountConnector", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.GetAccountConnector", + "service": { + "shortName": "DeveloperConnect", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" + } + } + } + }, + { + "regionTag": "developerconnect_v1_generated_DeveloperConnect_CreateAccountConnector_async", + "title": "DeveloperConnect createAccountConnector Sample", + "origin": "API_DEFINITION", + "description": " Creates a new AccountConnector in a given project and location.", + "canonical": true, + "file": "developer_connect.create_account_connector.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_CreateAccountConnector_async", - "title": "DeveloperConnect createAccountConnector Sample", - "origin": "API_DEFINITION", - "description": " Creates a new AccountConnector in a given project and location.", - "canonical": true, - "file": "developer_connect.create_account_connector.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 85, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateAccountConnector", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.CreateAccountConnector", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "account_connector_id", - "type": "TYPE_STRING" - }, - { - "name": "account_connector", - "type": ".google.cloud.developerconnect.v1.AccountConnector" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - }, - { - "name": "validate_only", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DeveloperConnectClient", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" - }, - "method": { - "shortName": "CreateAccountConnector", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.CreateAccountConnector", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } - } + "start": 25, + "end": 85, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateAccountConnector", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.CreateAccountConnector", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "account_connector_id", + "type": "TYPE_STRING" + }, + { + "name": "account_connector", + "type": ".google.cloud.developerconnect.v1.AccountConnector" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + }, + { + "name": "validate_only", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DeveloperConnectClient", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" }, + "method": { + "shortName": "CreateAccountConnector", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.CreateAccountConnector", + "service": { + "shortName": "DeveloperConnect", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" + } + } + } + }, + { + "regionTag": "developerconnect_v1_generated_DeveloperConnect_UpdateAccountConnector_async", + "title": "DeveloperConnect updateAccountConnector Sample", + "origin": "API_DEFINITION", + "description": " Updates the parameters of a single AccountConnector.", + "canonical": true, + "file": "developer_connect.update_account_connector.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_UpdateAccountConnector_async", - "title": "DeveloperConnect updateAccountConnector Sample", - "origin": "API_DEFINITION", - "description": " Updates the parameters of a single AccountConnector.", - "canonical": true, - "file": "developer_connect.update_account_connector.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 83, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateAccountConnector", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.UpdateAccountConnector", - "async": true, - "parameters": [ - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - }, - { - "name": "account_connector", - "type": ".google.cloud.developerconnect.v1.AccountConnector" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - }, - { - "name": "allow_missing", - "type": "TYPE_BOOL" - }, - { - "name": "validate_only", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DeveloperConnectClient", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" - }, - "method": { - "shortName": "UpdateAccountConnector", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.UpdateAccountConnector", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } - } + "start": 25, + "end": 83, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateAccountConnector", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.UpdateAccountConnector", + "async": true, + "parameters": [ + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + }, + { + "name": "account_connector", + "type": ".google.cloud.developerconnect.v1.AccountConnector" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + }, + { + "name": "allow_missing", + "type": "TYPE_BOOL" + }, + { + "name": "validate_only", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DeveloperConnectClient", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" }, + "method": { + "shortName": "UpdateAccountConnector", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.UpdateAccountConnector", + "service": { + "shortName": "DeveloperConnect", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" + } + } + } + }, + { + "regionTag": "developerconnect_v1_generated_DeveloperConnect_DeleteAccountConnector_async", + "title": "DeveloperConnect deleteAccountConnector Sample", + "origin": "API_DEFINITION", + "description": " Deletes a single AccountConnector.", + "canonical": true, + "file": "developer_connect.delete_account_connector.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_DeleteAccountConnector_async", - "title": "DeveloperConnect deleteAccountConnector Sample", - "origin": "API_DEFINITION", - "description": " Deletes a single AccountConnector.", - "canonical": true, - "file": "developer_connect.delete_account_connector.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 85, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteAccountConnector", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.DeleteAccountConnector", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - }, - { - "name": "validate_only", - "type": "TYPE_BOOL" - }, - { - "name": "etag", - "type": "TYPE_STRING" - }, - { - "name": "force", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DeveloperConnectClient", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" - }, - "method": { - "shortName": "DeleteAccountConnector", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.DeleteAccountConnector", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } - } + "start": 25, + "end": 85, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteAccountConnector", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.DeleteAccountConnector", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + }, + { + "name": "validate_only", + "type": "TYPE_BOOL" + }, + { + "name": "etag", + "type": "TYPE_STRING" + }, + { + "name": "force", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DeveloperConnectClient", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" }, + "method": { + "shortName": "DeleteAccountConnector", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.DeleteAccountConnector", + "service": { + "shortName": "DeveloperConnect", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" + } + } + } + }, + { + "regionTag": "developerconnect_v1_generated_DeveloperConnect_FetchAccessToken_async", + "title": "DeveloperConnect fetchAccessToken Sample", + "origin": "API_DEFINITION", + "description": " Fetches OAuth access token based on end user credentials.", + "canonical": true, + "file": "developer_connect.fetch_access_token.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_FetchAccessToken_async", - "title": "DeveloperConnect fetchAccessToken Sample", - "origin": "API_DEFINITION", - "description": " Fetches OAuth access token based on end user credentials.", - "canonical": true, - "file": "developer_connect.fetch_access_token.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "FetchAccessToken", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FetchAccessToken", - "async": true, - "parameters": [ - { - "name": "account_connector", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.developerconnect.v1.FetchAccessTokenResponse", - "client": { - "shortName": "DeveloperConnectClient", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" - }, - "method": { - "shortName": "FetchAccessToken", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FetchAccessToken", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "FetchAccessToken", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FetchAccessToken", + "async": true, + "parameters": [ + { + "name": "account_connector", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.developerconnect.v1.FetchAccessTokenResponse", + "client": { + "shortName": "DeveloperConnectClient", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" }, + "method": { + "shortName": "FetchAccessToken", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FetchAccessToken", + "service": { + "shortName": "DeveloperConnect", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" + } + } + } + }, + { + "regionTag": "developerconnect_v1_generated_DeveloperConnect_ListUsers_async", + "title": "DeveloperConnect listUsers Sample", + "origin": "API_DEFINITION", + "description": " Lists Users in a given project, location, and account_connector.", + "canonical": true, + "file": "developer_connect.list_users.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_ListUsers_async", - "title": "DeveloperConnect listUsers Sample", - "origin": "API_DEFINITION", - "description": " Lists Users in a given project, location, and account_connector.", - "canonical": true, - "file": "developer_connect.list_users.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 72, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListUsers", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.ListUsers", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.developerconnect.v1.ListUsersResponse", - "client": { - "shortName": "DeveloperConnectClient", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" - }, - "method": { - "shortName": "ListUsers", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.ListUsers", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } - } + "start": 25, + "end": 72, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListUsers", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.ListUsers", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.developerconnect.v1.ListUsersResponse", + "client": { + "shortName": "DeveloperConnectClient", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" }, + "method": { + "shortName": "ListUsers", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.ListUsers", + "service": { + "shortName": "DeveloperConnect", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" + } + } + } + }, + { + "regionTag": "developerconnect_v1_generated_DeveloperConnect_DeleteUser_async", + "title": "DeveloperConnect deleteUser Sample", + "origin": "API_DEFINITION", + "description": " Deletes a single User.", + "canonical": true, + "file": "developer_connect.delete_user.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_DeleteUser_async", - "title": "DeveloperConnect deleteUser Sample", - "origin": "API_DEFINITION", - "description": " Deletes a single User.", - "canonical": true, - "file": "developer_connect.delete_user.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 78, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteUser", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.DeleteUser", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - }, - { - "name": "validate_only", - "type": "TYPE_BOOL" - }, - { - "name": "etag", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DeveloperConnectClient", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" - }, - "method": { - "shortName": "DeleteUser", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.DeleteUser", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } - } + "start": 25, + "end": 78, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteUser", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.DeleteUser", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + }, + { + "name": "validate_only", + "type": "TYPE_BOOL" + }, + { + "name": "etag", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DeveloperConnectClient", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" }, + "method": { + "shortName": "DeleteUser", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.DeleteUser", + "service": { + "shortName": "DeveloperConnect", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" + } + } + } + }, + { + "regionTag": "developerconnect_v1_generated_DeveloperConnect_FetchSelf_async", + "title": "DeveloperConnect fetchSelf Sample", + "origin": "API_DEFINITION", + "description": " Fetch the User based on the user credentials.", + "canonical": true, + "file": "developer_connect.fetch_self.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_FetchSelf_async", - "title": "DeveloperConnect fetchSelf Sample", - "origin": "API_DEFINITION", - "description": " Fetch the User based on the user credentials.", - "canonical": true, - "file": "developer_connect.fetch_self.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 53, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "FetchSelf", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FetchSelf", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.developerconnect.v1.User", - "client": { - "shortName": "DeveloperConnectClient", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" - }, - "method": { - "shortName": "FetchSelf", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FetchSelf", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } - } + "start": 25, + "end": 53, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "FetchSelf", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FetchSelf", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.developerconnect.v1.User", + "client": { + "shortName": "DeveloperConnectClient", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" }, + "method": { + "shortName": "FetchSelf", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.FetchSelf", + "service": { + "shortName": "DeveloperConnect", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" + } + } + } + }, + { + "regionTag": "developerconnect_v1_generated_DeveloperConnect_DeleteSelf_async", + "title": "DeveloperConnect deleteSelf Sample", + "origin": "API_DEFINITION", + "description": " Delete the User based on the user credentials.", + "canonical": true, + "file": "developer_connect.delete_self.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "developerconnect_v1_generated_DeveloperConnect_DeleteSelf_async", - "title": "DeveloperConnect deleteSelf Sample", - "origin": "API_DEFINITION", - "description": " Delete the User based on the user credentials.", - "canonical": true, - "file": "developer_connect.delete_self.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteSelf", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.DeleteSelf", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DeveloperConnectClient", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" - }, - "method": { - "shortName": "DeleteSelf", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.DeleteSelf", - "service": { - "shortName": "DeveloperConnect", - "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteSelf", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.DeleteSelf", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DeveloperConnectClient", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnectClient" }, + "method": { + "shortName": "DeleteSelf", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect.DeleteSelf", + "service": { + "shortName": "DeveloperConnect", + "fullName": "google.cloud.developerconnect.v1.DeveloperConnect" + } + } + } + }, + { + "regionTag": "developerconnect_v1_generated_InsightsConfigService_ListInsightsConfigs_async", + "title": "DeveloperConnect listInsightsConfigs Sample", + "origin": "API_DEFINITION", + "description": " Lists InsightsConfigs in a given project and location.", + "canonical": true, + "file": "insights_config_service.list_insights_configs.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "developerconnect_v1_generated_InsightsConfigService_ListInsightsConfigs_async", - "title": "DeveloperConnect listInsightsConfigs Sample", - "origin": "API_DEFINITION", - "description": " Lists InsightsConfigs in a given project and location.", - "canonical": true, - "file": "insights_config_service.list_insights_configs.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 75, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListInsightsConfigs", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigService.ListInsightsConfigs", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.developerconnect.v1.ListInsightsConfigsResponse", - "client": { - "shortName": "InsightsConfigServiceClient", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigServiceClient" - }, - "method": { - "shortName": "ListInsightsConfigs", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigService.ListInsightsConfigs", - "service": { - "shortName": "InsightsConfigService", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigService" - } - } - } + "start": 25, + "end": 75, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListInsightsConfigs", + "fullName": "google.cloud.developerconnect.v1.InsightsConfigService.ListInsightsConfigs", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.developerconnect.v1.ListInsightsConfigsResponse", + "client": { + "shortName": "InsightsConfigServiceClient", + "fullName": "google.cloud.developerconnect.v1.InsightsConfigServiceClient" }, + "method": { + "shortName": "ListInsightsConfigs", + "fullName": "google.cloud.developerconnect.v1.InsightsConfigService.ListInsightsConfigs", + "service": { + "shortName": "InsightsConfigService", + "fullName": "google.cloud.developerconnect.v1.InsightsConfigService" + } + } + } + }, + { + "regionTag": "developerconnect_v1_generated_InsightsConfigService_CreateInsightsConfig_async", + "title": "DeveloperConnect createInsightsConfig Sample", + "origin": "API_DEFINITION", + "description": " Creates a new InsightsConfig in a given project and location.", + "canonical": true, + "file": "insights_config_service.create_insights_config.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "developerconnect_v1_generated_InsightsConfigService_CreateInsightsConfig_async", - "title": "DeveloperConnect createInsightsConfig Sample", - "origin": "API_DEFINITION", - "description": " Creates a new InsightsConfig in a given project and location.", - "canonical": true, - "file": "insights_config_service.create_insights_config.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 68, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateInsightsConfig", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigService.CreateInsightsConfig", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "insights_config_id", - "type": "TYPE_STRING" - }, - { - "name": "insights_config", - "type": ".google.cloud.developerconnect.v1.InsightsConfig" - }, - { - "name": "validate_only", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "InsightsConfigServiceClient", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigServiceClient" - }, - "method": { - "shortName": "CreateInsightsConfig", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigService.CreateInsightsConfig", - "service": { - "shortName": "InsightsConfigService", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigService" - } - } - } + "start": 25, + "end": 68, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateInsightsConfig", + "fullName": "google.cloud.developerconnect.v1.InsightsConfigService.CreateInsightsConfig", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "insights_config_id", + "type": "TYPE_STRING" + }, + { + "name": "insights_config", + "type": ".google.cloud.developerconnect.v1.InsightsConfig" + }, + { + "name": "validate_only", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "InsightsConfigServiceClient", + "fullName": "google.cloud.developerconnect.v1.InsightsConfigServiceClient" }, + "method": { + "shortName": "CreateInsightsConfig", + "fullName": "google.cloud.developerconnect.v1.InsightsConfigService.CreateInsightsConfig", + "service": { + "shortName": "InsightsConfigService", + "fullName": "google.cloud.developerconnect.v1.InsightsConfigService" + } + } + } + }, + { + "regionTag": "developerconnect_v1_generated_InsightsConfigService_GetInsightsConfig_async", + "title": "DeveloperConnect getInsightsConfig Sample", + "origin": "API_DEFINITION", + "description": " Gets details of a single Insight.", + "canonical": true, + "file": "insights_config_service.get_insights_config.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "developerconnect_v1_generated_InsightsConfigService_GetInsightsConfig_async", - "title": "DeveloperConnect getInsightsConfig Sample", - "origin": "API_DEFINITION", - "description": " Gets details of a single Insight.", - "canonical": true, - "file": "insights_config_service.get_insights_config.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 53, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetInsightsConfig", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigService.GetInsightsConfig", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.developerconnect.v1.InsightsConfig", - "client": { - "shortName": "InsightsConfigServiceClient", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigServiceClient" - }, - "method": { - "shortName": "GetInsightsConfig", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigService.GetInsightsConfig", - "service": { - "shortName": "InsightsConfigService", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigService" - } - } - } + "start": 25, + "end": 53, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetInsightsConfig", + "fullName": "google.cloud.developerconnect.v1.InsightsConfigService.GetInsightsConfig", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.developerconnect.v1.InsightsConfig", + "client": { + "shortName": "InsightsConfigServiceClient", + "fullName": "google.cloud.developerconnect.v1.InsightsConfigServiceClient" }, + "method": { + "shortName": "GetInsightsConfig", + "fullName": "google.cloud.developerconnect.v1.InsightsConfigService.GetInsightsConfig", + "service": { + "shortName": "InsightsConfigService", + "fullName": "google.cloud.developerconnect.v1.InsightsConfigService" + } + } + } + }, + { + "regionTag": "developerconnect_v1_generated_InsightsConfigService_UpdateInsightsConfig_async", + "title": "DeveloperConnect updateInsightsConfig Sample", + "origin": "API_DEFINITION", + "description": " Updates the parameters of a single InsightsConfig.", + "canonical": true, + "file": "insights_config_service.update_insights_config.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "developerconnect_v1_generated_InsightsConfigService_UpdateInsightsConfig_async", - "title": "DeveloperConnect updateInsightsConfig Sample", - "origin": "API_DEFINITION", - "description": " Updates the parameters of a single InsightsConfig.", - "canonical": true, - "file": "insights_config_service.update_insights_config.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 80, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateInsightsConfig", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigService.UpdateInsightsConfig", - "async": true, - "parameters": [ - { - "name": "insights_config", - "type": ".google.cloud.developerconnect.v1.InsightsConfig" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - }, - { - "name": "allow_missing", - "type": "TYPE_BOOL" - }, - { - "name": "validate_only", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "InsightsConfigServiceClient", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigServiceClient" - }, - "method": { - "shortName": "UpdateInsightsConfig", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigService.UpdateInsightsConfig", - "service": { - "shortName": "InsightsConfigService", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigService" - } - } - } + "start": 25, + "end": 80, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateInsightsConfig", + "fullName": "google.cloud.developerconnect.v1.InsightsConfigService.UpdateInsightsConfig", + "async": true, + "parameters": [ + { + "name": "insights_config", + "type": ".google.cloud.developerconnect.v1.InsightsConfig" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + }, + { + "name": "allow_missing", + "type": "TYPE_BOOL" + }, + { + "name": "validate_only", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "InsightsConfigServiceClient", + "fullName": "google.cloud.developerconnect.v1.InsightsConfigServiceClient" }, + "method": { + "shortName": "UpdateInsightsConfig", + "fullName": "google.cloud.developerconnect.v1.InsightsConfigService.UpdateInsightsConfig", + "service": { + "shortName": "InsightsConfigService", + "fullName": "google.cloud.developerconnect.v1.InsightsConfigService" + } + } + } + }, + { + "regionTag": "developerconnect_v1_generated_InsightsConfigService_DeleteInsightsConfig_async", + "title": "DeveloperConnect deleteInsightsConfig Sample", + "origin": "API_DEFINITION", + "description": " Delete a single Insight.", + "canonical": true, + "file": "insights_config_service.delete_insights_config.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "developerconnect_v1_generated_InsightsConfigService_DeleteInsightsConfig_async", - "title": "DeveloperConnect deleteInsightsConfig Sample", - "origin": "API_DEFINITION", - "description": " Delete a single Insight.", - "canonical": true, - "file": "insights_config_service.delete_insights_config.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 78, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteInsightsConfig", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigService.DeleteInsightsConfig", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - }, - { - "name": "validate_only", - "type": "TYPE_BOOL" - }, - { - "name": "etag", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "InsightsConfigServiceClient", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigServiceClient" - }, - "method": { - "shortName": "DeleteInsightsConfig", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigService.DeleteInsightsConfig", - "service": { - "shortName": "InsightsConfigService", - "fullName": "google.cloud.developerconnect.v1.InsightsConfigService" - } - } - } + "start": 25, + "end": 78, + "type": "FULL" } - ] -} \ No newline at end of file + ], + "clientMethod": { + "shortName": "DeleteInsightsConfig", + "fullName": "google.cloud.developerconnect.v1.InsightsConfigService.DeleteInsightsConfig", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + }, + { + "name": "validate_only", + "type": "TYPE_BOOL" + }, + { + "name": "etag", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "InsightsConfigServiceClient", + "fullName": "google.cloud.developerconnect.v1.InsightsConfigServiceClient" + }, + "method": { + "shortName": "DeleteInsightsConfig", + "fullName": "google.cloud.developerconnect.v1.InsightsConfigService.DeleteInsightsConfig", + "service": { + "shortName": "InsightsConfigService", + "fullName": "google.cloud.developerconnect.v1.InsightsConfigService" + } + } + } + } + ] +} diff --git a/packages/google-cloud-devicestreaming/.eslintignore b/packages/google-cloud-devicestreaming/.eslintignore index ea5b04aebe68..cfc348ec4d11 100644 --- a/packages/google-cloud-devicestreaming/.eslintignore +++ b/packages/google-cloud-devicestreaming/.eslintignore @@ -1,7 +1,7 @@ **/node_modules -**/coverage -test/fixtures +**/.coverage build/ docs/ protos/ +system-test/ samples/generated/ diff --git a/packages/google-cloud-devicestreaming/.mocharc.js b/packages/google-cloud-devicestreaming/.mocharc.js index eef6173ab449..24e9d15257f9 100644 --- a/packages/google-cloud-devicestreaming/.mocharc.js +++ b/packages/google-cloud-devicestreaming/.mocharc.js @@ -4,18 +4,22 @@ // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // -// http://www.apache.org/licenses/LICENSE-2.0 +// https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// ** This file is automatically generated by gapic-generator-typescript. ** +// ** https://github.com/googleapis/gapic-generator-typescript ** +// ** All changes to this file may be overwritten. ** + const config = { "enable-source-maps": true, "throw-deprecation": true, - "timeout": 10000, - "recursive": true + "timeout": 10000 } if (process.env.MOCHA_THROW_DEPRECATION === 'false') { delete config['throw-deprecation']; diff --git a/packages/google-cloud-devicestreaming/.nycrc b/packages/google-cloud-devicestreaming/.nycrc index b18d5472b62b..81a95fc94b00 100644 --- a/packages/google-cloud-devicestreaming/.nycrc +++ b/packages/google-cloud-devicestreaming/.nycrc @@ -21,4 +21,4 @@ ], "exclude-after-remap": false, "all": true -} +} \ No newline at end of file diff --git a/packages/google-cloud-devicestreaming/.prettierrc.js b/packages/google-cloud-devicestreaming/.prettierrc.js index b189724933b2..d89a632f90b0 100644 --- a/packages/google-cloud-devicestreaming/.prettierrc.js +++ b/packages/google-cloud-devicestreaming/.prettierrc.js @@ -4,13 +4,18 @@ // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // -// https://www.apache.org/licenses/LICENSE-2.0 +// https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// ** This file is automatically generated by gapic-generator-typescript. ** +// ** https://github.com/googleapis/gapic-generator-typescript ** +// ** All changes to this file may be overwritten. ** + module.exports = { ...require('gts/.prettierrc.json') diff --git a/packages/google-cloud-devicestreaming/CONTRIBUTING.md b/packages/google-cloud-devicestreaming/CONTRIBUTING.md index 37fd58269d70..d157a305f1df 100644 --- a/packages/google-cloud-devicestreaming/CONTRIBUTING.md +++ b/packages/google-cloud-devicestreaming/CONTRIBUTING.md @@ -40,8 +40,8 @@ accept your pull requests. ### Before you begin 1. [Select or create a Cloud Platform project][projects]. -1. [Enable billing for your project][billing]. -1. [Enable the Device Streaming API API][enable_api]. +1. [Enable billing for your project][billing]. +1. [Enable the Devicestreaming API][enable_api]. 1. [Set up authentication with a service account][auth] so you can access the API from your local workstation. diff --git a/packages/google-cloud-devicestreaming/README.md b/packages/google-cloud-devicestreaming/README.md index 984dea8f84bd..ebd0f81684e7 100644 --- a/packages/google-cloud-devicestreaming/README.md +++ b/packages/google-cloud-devicestreaming/README.md @@ -1,24 +1,24 @@ [//]: # "This README.md file is auto-generated, all changes to this file will be lost." -[//]: # "To regenerate it, use `python -m synthtool`." +[//]: # "The comments you see below are used to generate those parts of the template in later states." Google Cloud Platform logo -# [Device Streaming API: Node.js Client](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-devicestreaming) - -[![release level](https://img.shields.io/badge/release%20level-preview-yellow.svg?style=flat)](https://cloud.google.com/terms/launch-stages) -[![npm version](https://img.shields.io/npm/v/@google-cloud/devicestreaming.svg)](https://www.npmjs.org/package/@google-cloud/devicestreaming) - +# [Device Streaming API: Nodejs Client][homepage] +This library is considered to be in **preview**. This means it is still a +work-in-progress and under active development. Any release is subject to +backwards-incompatible changes at any time. +[![npm version](https://img.shields.io/npm/v/@google-cloud/devicestreaming.svg)](https://www.npmjs.org/package/@google-cloud/devicestreaming) Device Streaming API client for Node.js +[//]: # "partials.introduction" A comprehensive list of changes in each version may be found in -[the CHANGELOG](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-devicestreaming/CHANGELOG.md). +[the CHANGELOG][homepage_changelog]. -* [Device Streaming API Node.js Client API Reference][client-docs] -* [Device Streaming API Documentation][product-docs] -* [github.com/googleapis/google-cloud-node/packages/google-cloud-devicestreaming](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-devicestreaming) +* [Device Streaming API Nodejs Client API Reference](https://cloud.google.com/nodejs/docs/reference/devicestreaming/latest) +* [Device Streaming API Documentation](https://cloud.google.com/device-streaming/docs) Read more about the client libraries for Cloud APIs, including the older Google APIs Client Libraries, in [Client Libraries Explained][explained]. @@ -27,18 +27,15 @@ Google APIs Client Libraries, in [Client Libraries Explained][explained]. **Table of contents:** - * [Quickstart](#quickstart) * [Before you begin](#before-you-begin) * [Installing the client library](#installing-the-client-library) - * [Using the client library](#using-the-client-library) -* [Samples](#samples) + * [Versioning](#versioning) * [Contributing](#contributing) * [License](#license) ## Quickstart - ### Before you begin 1. [Select or create a Cloud Platform project][projects]. @@ -46,86 +43,29 @@ Google APIs Client Libraries, in [Client Libraries Explained][explained]. 1. [Enable the Device Streaming API API][enable_api]. 1. [Set up authentication][auth] so you can access the API from your local workstation. - ### Installing the client library ```bash npm install @google-cloud/devicestreaming ``` - -### Using the client library - -```javascript -/** - * This snippet has been automatically generated and should be regarded as a code template only. - * It will require modifications to work. - * It may require correct/in-range values for request initialization. - * TODO(developer): Uncomment these variables before running the sample. - */ -/** - * Required. The name of the parent to request, e.g. "projects/{project_id}" - */ -// const parent = 'abc123' -/** - * Optional. The maximum number of DeviceSessions to return. - */ -// const pageSize = 1234 -/** - * Optional. A continuation token for paging. - */ -// const pageToken = 'abc123' -/** - * Optional. If specified, responses will be filtered by the given filter. - * Allowed fields are: session_state. - */ -// const filter = 'abc123' - -// Imports the Devicestreaming library -const {DirectAccessServiceClient} = - require('@google-cloud/devicestreaming').v1; - -// Instantiates a client -const devicestreamingClient = new DirectAccessServiceClient(); - -async function callListDeviceSessions() { - // Construct request - const request = { - parent, - }; - - // Run request - const iterable = devicestreamingClient.listDeviceSessionsAsync(request); - for await (const response of iterable) { - console.log(response); - } -} - -callListDeviceSessions(); - -``` - - +[//]: # "partials.body" ## Samples -Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-devicestreaming/samples) directory. Each sample's `README.md` has instructions for running its sample. +Samples are in the [`samples/`][homepage_samples] directory. Each sample's `README.md` has instructions for running its sample. -| Sample | Source Code | Try it | -| --------------------------- | --------------------------------- | ------ | -| Direct_access_service.adb_connect | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-devicestreaming/samples/generated/v1/direct_access_service.adb_connect.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-devicestreaming/samples/generated/v1/direct_access_service.adb_connect.js,packages/google-cloud-devicestreaming/samples/README.md) | -| Direct_access_service.cancel_device_session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-devicestreaming/samples/generated/v1/direct_access_service.cancel_device_session.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-devicestreaming/samples/generated/v1/direct_access_service.cancel_device_session.js,packages/google-cloud-devicestreaming/samples/README.md) | -| Direct_access_service.create_device_session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-devicestreaming/samples/generated/v1/direct_access_service.create_device_session.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-devicestreaming/samples/generated/v1/direct_access_service.create_device_session.js,packages/google-cloud-devicestreaming/samples/README.md) | -| Direct_access_service.get_device_session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-devicestreaming/samples/generated/v1/direct_access_service.get_device_session.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-devicestreaming/samples/generated/v1/direct_access_service.get_device_session.js,packages/google-cloud-devicestreaming/samples/README.md) | -| Direct_access_service.list_device_sessions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-devicestreaming/samples/generated/v1/direct_access_service.list_device_sessions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-devicestreaming/samples/generated/v1/direct_access_service.list_device_sessions.js,packages/google-cloud-devicestreaming/samples/README.md) | -| Direct_access_service.update_device_session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-devicestreaming/samples/generated/v1/direct_access_service.update_device_session.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-devicestreaming/samples/generated/v1/direct_access_service.update_device_session.js,packages/google-cloud-devicestreaming/samples/README.md) | -| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-devicestreaming/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-devicestreaming/samples/quickstart.js,packages/google-cloud-devicestreaming/samples/README.md) | +| Sample | Source Code | +| --------------------------- | --------------------------------- | +| adb connect | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-devicestreaming/samples/generated/v1/direct_access_service.adb_connect.js) | +| cancel device session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-devicestreaming/samples/generated/v1/direct_access_service.cancel_device_session.js) | +| create device session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-devicestreaming/samples/generated/v1/direct_access_service.create_device_session.js) | +| get device session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-devicestreaming/samples/generated/v1/direct_access_service.get_device_session.js) | +| list device sessions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-devicestreaming/samples/generated/v1/direct_access_service.list_device_sessions.js) | +| update device session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-devicestreaming/samples/generated/v1/direct_access_service.update_device_session.js) | +| cloud | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-devicestreaming/samples/generated/v1/snippet_metadata_google.cloud.devicestreaming.v1.json) | - -The [Device Streaming API Node.js Client API Reference][client-docs] documentation -also contains samples. - ## Supported Node.js Versions Our client libraries follow the [Node.js release schedule](https://github.com/nodejs/release#release-schedule). @@ -151,44 +91,29 @@ for versions compatible with Node.js 8. This library follows [Semantic Versioning](http://semver.org/). - - - - - - -This library is considered to be in **preview**. This means it is still a -work-in-progress and under active development. Any release is subject to -backwards-incompatible changes at any time. - - More Information: [Google Cloud Platform Launch Stages][launch_stages] [launch_stages]: https://cloud.google.com/terms/launch-stages ## Contributing -Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/google-cloud-node/blob/main/CONTRIBUTING.md). +Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-devicestreaming/CONTRIBUTING.md). -Please note that this `README.md`, the `samples/README.md`, +Please note that this `README.md` and a variety of configuration files in this repository (including `.nycrc` and `tsconfig.json`) -are generated from a central template. To edit one of these files, make an edit -to its templates in -[directory](https://github.com/googleapis/synthtool). +are generated from a central template. ## License Apache Version 2.0 -See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/LICENSE) +See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-devicestreaming/LICENSE) -[client-docs]: https://cloud.google.com/nodejs/docs/reference/devicestreaming/latest -[product-docs]: https://cloud.google.com/device-streaming/docs [shell_img]: https://gstatic.com/cloudssh/images/open-btn.png [projects]: https://console.cloud.google.com/project [billing]: https://support.google.com/cloud/answer/6293499#enable-billing [enable_api]: https://console.cloud.google.com/flows/enableapi?apiid=devicestreaming.googleapis.com [auth]: https://cloud.google.com/docs/authentication/external/set-up-adc-local - - -[//]: # "partials.introduction" \ No newline at end of file +[homepage_samples]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-devicestreaming/samples +[homepage_changelog]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-devicestreaming/CHANGELOG.md +[homepage]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-devicestreaming diff --git a/packages/google-cloud-devicestreaming/protos/protos.d.ts b/packages/google-cloud-devicestreaming/protos/protos.d.ts index 0de46f997e28..ba7f05e8190d 100644 --- a/packages/google-cloud-devicestreaming/protos/protos.d.ts +++ b/packages/google-cloud-devicestreaming/protos/protos.d.ts @@ -2530,9 +2530,6 @@ export namespace google { /** CommonLanguageSettings destinations */ destinations?: (google.api.ClientLibraryDestination[]|null); - - /** CommonLanguageSettings selectiveGapicGeneration */ - selectiveGapicGeneration?: (google.api.ISelectiveGapicGeneration|null); } /** Represents a CommonLanguageSettings. */ @@ -2550,9 +2547,6 @@ export namespace google { /** CommonLanguageSettings destinations. */ public destinations: google.api.ClientLibraryDestination[]; - /** CommonLanguageSettings selectiveGapicGeneration. */ - public selectiveGapicGeneration?: (google.api.ISelectiveGapicGeneration|null); - /** * Creates a new CommonLanguageSettings instance using the specified properties. * @param [properties] Properties to set @@ -3253,9 +3247,6 @@ export namespace google { /** PythonSettings common */ common?: (google.api.ICommonLanguageSettings|null); - - /** PythonSettings experimentalFeatures */ - experimentalFeatures?: (google.api.PythonSettings.IExperimentalFeatures|null); } /** Represents a PythonSettings. */ @@ -3270,9 +3261,6 @@ export namespace google { /** PythonSettings common. */ public common?: (google.api.ICommonLanguageSettings|null); - /** PythonSettings experimentalFeatures. */ - public experimentalFeatures?: (google.api.PythonSettings.IExperimentalFeatures|null); - /** * Creates a new PythonSettings instance using the specified properties. * @param [properties] Properties to set @@ -3351,118 +3339,6 @@ export namespace google { public static getTypeUrl(typeUrlPrefix?: string): string; } - namespace PythonSettings { - - /** Properties of an ExperimentalFeatures. */ - interface IExperimentalFeatures { - - /** ExperimentalFeatures restAsyncIoEnabled */ - restAsyncIoEnabled?: (boolean|null); - - /** ExperimentalFeatures protobufPythonicTypesEnabled */ - protobufPythonicTypesEnabled?: (boolean|null); - - /** ExperimentalFeatures unversionedPackageDisabled */ - unversionedPackageDisabled?: (boolean|null); - } - - /** Represents an ExperimentalFeatures. */ - class ExperimentalFeatures implements IExperimentalFeatures { - - /** - * Constructs a new ExperimentalFeatures. - * @param [properties] Properties to set - */ - constructor(properties?: google.api.PythonSettings.IExperimentalFeatures); - - /** ExperimentalFeatures restAsyncIoEnabled. */ - public restAsyncIoEnabled: boolean; - - /** ExperimentalFeatures protobufPythonicTypesEnabled. */ - public protobufPythonicTypesEnabled: boolean; - - /** ExperimentalFeatures unversionedPackageDisabled. */ - public unversionedPackageDisabled: boolean; - - /** - * Creates a new ExperimentalFeatures instance using the specified properties. - * @param [properties] Properties to set - * @returns ExperimentalFeatures instance - */ - public static create(properties?: google.api.PythonSettings.IExperimentalFeatures): google.api.PythonSettings.ExperimentalFeatures; - - /** - * Encodes the specified ExperimentalFeatures message. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @param message ExperimentalFeatures message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.api.PythonSettings.IExperimentalFeatures, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ExperimentalFeatures message, length delimited. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @param message ExperimentalFeatures message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.api.PythonSettings.IExperimentalFeatures, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.PythonSettings.ExperimentalFeatures; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.PythonSettings.ExperimentalFeatures; - - /** - * Verifies an ExperimentalFeatures message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an ExperimentalFeatures message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ExperimentalFeatures - */ - public static fromObject(object: { [k: string]: any }): google.api.PythonSettings.ExperimentalFeatures; - - /** - * Creates a plain object from an ExperimentalFeatures message. Also converts values to other types if specified. - * @param message ExperimentalFeatures - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.api.PythonSettings.ExperimentalFeatures, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ExperimentalFeatures to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ExperimentalFeatures - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - } - /** Properties of a NodeSettings. */ interface INodeSettings { @@ -3789,9 +3665,6 @@ export namespace google { /** GoSettings common */ common?: (google.api.ICommonLanguageSettings|null); - - /** GoSettings renamedServices */ - renamedServices?: ({ [k: string]: string }|null); } /** Represents a GoSettings. */ @@ -3806,9 +3679,6 @@ export namespace google { /** GoSettings common. */ public common?: (google.api.ICommonLanguageSettings|null); - /** GoSettings renamedServices. */ - public renamedServices: { [k: string]: string }; - /** * Creates a new GoSettings instance using the specified properties. * @param [properties] Properties to set @@ -4133,109 +4003,6 @@ export namespace google { PACKAGE_MANAGER = 20 } - /** Properties of a SelectiveGapicGeneration. */ - interface ISelectiveGapicGeneration { - - /** SelectiveGapicGeneration methods */ - methods?: (string[]|null); - - /** SelectiveGapicGeneration generateOmittedAsInternal */ - generateOmittedAsInternal?: (boolean|null); - } - - /** Represents a SelectiveGapicGeneration. */ - class SelectiveGapicGeneration implements ISelectiveGapicGeneration { - - /** - * Constructs a new SelectiveGapicGeneration. - * @param [properties] Properties to set - */ - constructor(properties?: google.api.ISelectiveGapicGeneration); - - /** SelectiveGapicGeneration methods. */ - public methods: string[]; - - /** SelectiveGapicGeneration generateOmittedAsInternal. */ - public generateOmittedAsInternal: boolean; - - /** - * Creates a new SelectiveGapicGeneration instance using the specified properties. - * @param [properties] Properties to set - * @returns SelectiveGapicGeneration instance - */ - public static create(properties?: google.api.ISelectiveGapicGeneration): google.api.SelectiveGapicGeneration; - - /** - * Encodes the specified SelectiveGapicGeneration message. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @param message SelectiveGapicGeneration message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.api.ISelectiveGapicGeneration, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified SelectiveGapicGeneration message, length delimited. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @param message SelectiveGapicGeneration message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.api.ISelectiveGapicGeneration, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.SelectiveGapicGeneration; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.SelectiveGapicGeneration; - - /** - * Verifies a SelectiveGapicGeneration message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a SelectiveGapicGeneration message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns SelectiveGapicGeneration - */ - public static fromObject(object: { [k: string]: any }): google.api.SelectiveGapicGeneration; - - /** - * Creates a plain object from a SelectiveGapicGeneration message. Also converts values to other types if specified. - * @param message SelectiveGapicGeneration - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.api.SelectiveGapicGeneration, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this SelectiveGapicGeneration to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for SelectiveGapicGeneration - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - /** LaunchStage enum. */ enum LaunchStage { LAUNCH_STAGE_UNSPECIFIED = 0, @@ -4604,7 +4371,6 @@ export namespace google { /** Edition enum. */ enum Edition { EDITION_UNKNOWN = 0, - EDITION_LEGACY = 900, EDITION_PROTO2 = 998, EDITION_PROTO3 = 999, EDITION_2023 = 1000, @@ -4635,9 +4401,6 @@ export namespace google { /** FileDescriptorProto weakDependency */ weakDependency?: (number[]|null); - /** FileDescriptorProto optionDependency */ - optionDependency?: (string[]|null); - /** FileDescriptorProto messageType */ messageType?: (google.protobuf.IDescriptorProto[]|null); @@ -4687,9 +4450,6 @@ export namespace google { /** FileDescriptorProto weakDependency. */ public weakDependency: number[]; - /** FileDescriptorProto optionDependency. */ - public optionDependency: string[]; - /** FileDescriptorProto messageType. */ public messageType: google.protobuf.IDescriptorProto[]; @@ -4824,9 +4584,6 @@ export namespace google { /** DescriptorProto reservedName */ reservedName?: (string[]|null); - - /** DescriptorProto visibility */ - visibility?: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility|null); } /** Represents a DescriptorProto. */ @@ -4868,9 +4625,6 @@ export namespace google { /** DescriptorProto reservedName. */ public reservedName: string[]; - /** DescriptorProto visibility. */ - public visibility: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility); - /** * Creates a new DescriptorProto instance using the specified properties. * @param [properties] Properties to set @@ -5718,9 +5472,6 @@ export namespace google { /** EnumDescriptorProto reservedName */ reservedName?: (string[]|null); - - /** EnumDescriptorProto visibility */ - visibility?: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility|null); } /** Represents an EnumDescriptorProto. */ @@ -5747,9 +5498,6 @@ export namespace google { /** EnumDescriptorProto reservedName. */ public reservedName: string[]; - /** EnumDescriptorProto visibility. */ - public visibility: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility); - /** * Creates a new EnumDescriptorProto instance using the specified properties. * @param [properties] Properties to set @@ -6684,9 +6432,6 @@ export namespace google { /** FieldOptions features */ features?: (google.protobuf.IFeatureSet|null); - /** FieldOptions featureSupport */ - featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** FieldOptions uninterpretedOption */ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); @@ -6742,9 +6487,6 @@ export namespace google { /** FieldOptions features. */ public features?: (google.protobuf.IFeatureSet|null); - /** FieldOptions featureSupport. */ - public featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** FieldOptions uninterpretedOption. */ public uninterpretedOption: google.protobuf.IUninterpretedOption[]; @@ -6965,121 +6707,6 @@ export namespace google { */ public static getTypeUrl(typeUrlPrefix?: string): string; } - - /** Properties of a FeatureSupport. */ - interface IFeatureSupport { - - /** FeatureSupport editionIntroduced */ - editionIntroduced?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - - /** FeatureSupport editionDeprecated */ - editionDeprecated?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - - /** FeatureSupport deprecationWarning */ - deprecationWarning?: (string|null); - - /** FeatureSupport editionRemoved */ - editionRemoved?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - } - - /** Represents a FeatureSupport. */ - class FeatureSupport implements IFeatureSupport { - - /** - * Constructs a new FeatureSupport. - * @param [properties] Properties to set - */ - constructor(properties?: google.protobuf.FieldOptions.IFeatureSupport); - - /** FeatureSupport editionIntroduced. */ - public editionIntroduced: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - - /** FeatureSupport editionDeprecated. */ - public editionDeprecated: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - - /** FeatureSupport deprecationWarning. */ - public deprecationWarning: string; - - /** FeatureSupport editionRemoved. */ - public editionRemoved: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - - /** - * Creates a new FeatureSupport instance using the specified properties. - * @param [properties] Properties to set - * @returns FeatureSupport instance - */ - public static create(properties?: google.protobuf.FieldOptions.IFeatureSupport): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Encodes the specified FeatureSupport message. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. - * @param message FeatureSupport message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.protobuf.FieldOptions.IFeatureSupport, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified FeatureSupport message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. - * @param message FeatureSupport message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.protobuf.FieldOptions.IFeatureSupport, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a FeatureSupport message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns FeatureSupport - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Decodes a FeatureSupport message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns FeatureSupport - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Verifies a FeatureSupport message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a FeatureSupport message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns FeatureSupport - */ - public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Creates a plain object from a FeatureSupport message. Also converts values to other types if specified. - * @param message FeatureSupport - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.protobuf.FieldOptions.FeatureSupport, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this FeatureSupport to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for FeatureSupport - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } } /** Properties of an OneofOptions. */ @@ -7318,9 +6945,6 @@ export namespace google { /** EnumValueOptions debugRedact */ debugRedact?: (boolean|null); - /** EnumValueOptions featureSupport */ - featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** EnumValueOptions uninterpretedOption */ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); } @@ -7343,9 +6967,6 @@ export namespace google { /** EnumValueOptions debugRedact. */ public debugRedact: boolean; - /** EnumValueOptions featureSupport. */ - public featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** EnumValueOptions uninterpretedOption. */ public uninterpretedOption: google.protobuf.IUninterpretedOption[]; @@ -7935,12 +7556,6 @@ export namespace google { /** FeatureSet jsonFormat */ jsonFormat?: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat|null); - - /** FeatureSet enforceNamingStyle */ - enforceNamingStyle?: (google.protobuf.FeatureSet.EnforceNamingStyle|keyof typeof google.protobuf.FeatureSet.EnforceNamingStyle|null); - - /** FeatureSet defaultSymbolVisibility */ - defaultSymbolVisibility?: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|keyof typeof google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|null); } /** Represents a FeatureSet. */ @@ -7970,12 +7585,6 @@ export namespace google { /** FeatureSet jsonFormat. */ public jsonFormat: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat); - /** FeatureSet enforceNamingStyle. */ - public enforceNamingStyle: (google.protobuf.FeatureSet.EnforceNamingStyle|keyof typeof google.protobuf.FeatureSet.EnforceNamingStyle); - - /** FeatureSet defaultSymbolVisibility. */ - public defaultSymbolVisibility: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|keyof typeof google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility); - /** * Creates a new FeatureSet instance using the specified properties. * @param [properties] Properties to set @@ -8098,116 +7707,6 @@ export namespace google { ALLOW = 1, LEGACY_BEST_EFFORT = 2 } - - /** EnforceNamingStyle enum. */ - enum EnforceNamingStyle { - ENFORCE_NAMING_STYLE_UNKNOWN = 0, - STYLE2024 = 1, - STYLE_LEGACY = 2 - } - - /** Properties of a VisibilityFeature. */ - interface IVisibilityFeature { - } - - /** Represents a VisibilityFeature. */ - class VisibilityFeature implements IVisibilityFeature { - - /** - * Constructs a new VisibilityFeature. - * @param [properties] Properties to set - */ - constructor(properties?: google.protobuf.FeatureSet.IVisibilityFeature); - - /** - * Creates a new VisibilityFeature instance using the specified properties. - * @param [properties] Properties to set - * @returns VisibilityFeature instance - */ - public static create(properties?: google.protobuf.FeatureSet.IVisibilityFeature): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Encodes the specified VisibilityFeature message. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @param message VisibilityFeature message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.protobuf.FeatureSet.IVisibilityFeature, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified VisibilityFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @param message VisibilityFeature message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.protobuf.FeatureSet.IVisibilityFeature, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Verifies a VisibilityFeature message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a VisibilityFeature message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns VisibilityFeature - */ - public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Creates a plain object from a VisibilityFeature message. Also converts values to other types if specified. - * @param message VisibilityFeature - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.protobuf.FeatureSet.VisibilityFeature, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this VisibilityFeature to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for VisibilityFeature - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - namespace VisibilityFeature { - - /** DefaultSymbolVisibility enum. */ - enum DefaultSymbolVisibility { - DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0, - EXPORT_ALL = 1, - EXPORT_TOP_LEVEL = 2, - LOCAL_ALL = 3, - STRICT = 4 - } - } } /** Properties of a FeatureSetDefaults. */ @@ -8327,11 +7826,8 @@ export namespace google { /** FeatureSetEditionDefault edition */ edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - /** FeatureSetEditionDefault overridableFeatures */ - overridableFeatures?: (google.protobuf.IFeatureSet|null); - - /** FeatureSetEditionDefault fixedFeatures */ - fixedFeatures?: (google.protobuf.IFeatureSet|null); + /** FeatureSetEditionDefault features */ + features?: (google.protobuf.IFeatureSet|null); } /** Represents a FeatureSetEditionDefault. */ @@ -8346,11 +7842,8 @@ export namespace google { /** FeatureSetEditionDefault edition. */ public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - /** FeatureSetEditionDefault overridableFeatures. */ - public overridableFeatures?: (google.protobuf.IFeatureSet|null); - - /** FeatureSetEditionDefault fixedFeatures. */ - public fixedFeatures?: (google.protobuf.IFeatureSet|null); + /** FeatureSetEditionDefault features. */ + public features?: (google.protobuf.IFeatureSet|null); /** * Creates a new FeatureSetEditionDefault instance using the specified properties. @@ -8883,13 +8376,6 @@ export namespace google { } } - /** SymbolVisibility enum. */ - enum SymbolVisibility { - VISIBILITY_UNSET = 0, - VISIBILITY_LOCAL = 1, - VISIBILITY_EXPORT = 2 - } - /** Properties of a Duration. */ interface IDuration { diff --git a/packages/google-cloud-devicestreaming/protos/protos.js b/packages/google-cloud-devicestreaming/protos/protos.js index 050dcc71e3f5..c71143f34ea0 100644 --- a/packages/google-cloud-devicestreaming/protos/protos.js +++ b/packages/google-cloud-devicestreaming/protos/protos.js @@ -6202,7 +6202,6 @@ * @interface ICommonLanguageSettings * @property {string|null} [referenceDocsUri] CommonLanguageSettings referenceDocsUri * @property {Array.|null} [destinations] CommonLanguageSettings destinations - * @property {google.api.ISelectiveGapicGeneration|null} [selectiveGapicGeneration] CommonLanguageSettings selectiveGapicGeneration */ /** @@ -6237,14 +6236,6 @@ */ CommonLanguageSettings.prototype.destinations = $util.emptyArray; - /** - * CommonLanguageSettings selectiveGapicGeneration. - * @member {google.api.ISelectiveGapicGeneration|null|undefined} selectiveGapicGeneration - * @memberof google.api.CommonLanguageSettings - * @instance - */ - CommonLanguageSettings.prototype.selectiveGapicGeneration = null; - /** * Creates a new CommonLanguageSettings instance using the specified properties. * @function create @@ -6277,8 +6268,6 @@ writer.int32(message.destinations[i]); writer.ldelim(); } - if (message.selectiveGapicGeneration != null && Object.hasOwnProperty.call(message, "selectiveGapicGeneration")) - $root.google.api.SelectiveGapicGeneration.encode(message.selectiveGapicGeneration, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; @@ -6330,10 +6319,6 @@ message.destinations.push(reader.int32()); break; } - case 3: { - message.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.decode(reader, reader.uint32()); - break; - } default: reader.skipType(tag & 7); break; @@ -6385,11 +6370,6 @@ break; } } - if (message.selectiveGapicGeneration != null && message.hasOwnProperty("selectiveGapicGeneration")) { - var error = $root.google.api.SelectiveGapicGeneration.verify(message.selectiveGapicGeneration); - if (error) - return "selectiveGapicGeneration." + error; - } return null; }; @@ -6432,11 +6412,6 @@ break; } } - if (object.selectiveGapicGeneration != null) { - if (typeof object.selectiveGapicGeneration !== "object") - throw TypeError(".google.api.CommonLanguageSettings.selectiveGapicGeneration: object expected"); - message.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.fromObject(object.selectiveGapicGeneration); - } return message; }; @@ -6455,10 +6430,8 @@ var object = {}; if (options.arrays || options.defaults) object.destinations = []; - if (options.defaults) { + if (options.defaults) object.referenceDocsUri = ""; - object.selectiveGapicGeneration = null; - } if (message.referenceDocsUri != null && message.hasOwnProperty("referenceDocsUri")) object.referenceDocsUri = message.referenceDocsUri; if (message.destinations && message.destinations.length) { @@ -6466,8 +6439,6 @@ for (var j = 0; j < message.destinations.length; ++j) object.destinations[j] = options.enums === String ? $root.google.api.ClientLibraryDestination[message.destinations[j]] === undefined ? message.destinations[j] : $root.google.api.ClientLibraryDestination[message.destinations[j]] : message.destinations[j]; } - if (message.selectiveGapicGeneration != null && message.hasOwnProperty("selectiveGapicGeneration")) - object.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.toObject(message.selectiveGapicGeneration, options); return object; }; @@ -8290,7 +8261,6 @@ * @memberof google.api * @interface IPythonSettings * @property {google.api.ICommonLanguageSettings|null} [common] PythonSettings common - * @property {google.api.PythonSettings.IExperimentalFeatures|null} [experimentalFeatures] PythonSettings experimentalFeatures */ /** @@ -8316,14 +8286,6 @@ */ PythonSettings.prototype.common = null; - /** - * PythonSettings experimentalFeatures. - * @member {google.api.PythonSettings.IExperimentalFeatures|null|undefined} experimentalFeatures - * @memberof google.api.PythonSettings - * @instance - */ - PythonSettings.prototype.experimentalFeatures = null; - /** * Creates a new PythonSettings instance using the specified properties. * @function create @@ -8350,8 +8312,6 @@ writer = $Writer.create(); if (message.common != null && Object.hasOwnProperty.call(message, "common")) $root.google.api.CommonLanguageSettings.encode(message.common, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.experimentalFeatures != null && Object.hasOwnProperty.call(message, "experimentalFeatures")) - $root.google.api.PythonSettings.ExperimentalFeatures.encode(message.experimentalFeatures, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; @@ -8392,10 +8352,6 @@ message.common = $root.google.api.CommonLanguageSettings.decode(reader, reader.uint32()); break; } - case 2: { - message.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.decode(reader, reader.uint32()); - break; - } default: reader.skipType(tag & 7); break; @@ -8436,11 +8392,6 @@ if (error) return "common." + error; } - if (message.experimentalFeatures != null && message.hasOwnProperty("experimentalFeatures")) { - var error = $root.google.api.PythonSettings.ExperimentalFeatures.verify(message.experimentalFeatures); - if (error) - return "experimentalFeatures." + error; - } return null; }; @@ -8461,11 +8412,6 @@ throw TypeError(".google.api.PythonSettings.common: object expected"); message.common = $root.google.api.CommonLanguageSettings.fromObject(object.common); } - if (object.experimentalFeatures != null) { - if (typeof object.experimentalFeatures !== "object") - throw TypeError(".google.api.PythonSettings.experimentalFeatures: object expected"); - message.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.fromObject(object.experimentalFeatures); - } return message; }; @@ -8482,14 +8428,10 @@ if (!options) options = {}; var object = {}; - if (options.defaults) { + if (options.defaults) object.common = null; - object.experimentalFeatures = null; - } if (message.common != null && message.hasOwnProperty("common")) object.common = $root.google.api.CommonLanguageSettings.toObject(message.common, options); - if (message.experimentalFeatures != null && message.hasOwnProperty("experimentalFeatures")) - object.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.toObject(message.experimentalFeatures, options); return object; }; @@ -8519,258 +8461,6 @@ return typeUrlPrefix + "/google.api.PythonSettings"; }; - PythonSettings.ExperimentalFeatures = (function() { - - /** - * Properties of an ExperimentalFeatures. - * @memberof google.api.PythonSettings - * @interface IExperimentalFeatures - * @property {boolean|null} [restAsyncIoEnabled] ExperimentalFeatures restAsyncIoEnabled - * @property {boolean|null} [protobufPythonicTypesEnabled] ExperimentalFeatures protobufPythonicTypesEnabled - * @property {boolean|null} [unversionedPackageDisabled] ExperimentalFeatures unversionedPackageDisabled - */ - - /** - * Constructs a new ExperimentalFeatures. - * @memberof google.api.PythonSettings - * @classdesc Represents an ExperimentalFeatures. - * @implements IExperimentalFeatures - * @constructor - * @param {google.api.PythonSettings.IExperimentalFeatures=} [properties] Properties to set - */ - function ExperimentalFeatures(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ExperimentalFeatures restAsyncIoEnabled. - * @member {boolean} restAsyncIoEnabled - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - */ - ExperimentalFeatures.prototype.restAsyncIoEnabled = false; - - /** - * ExperimentalFeatures protobufPythonicTypesEnabled. - * @member {boolean} protobufPythonicTypesEnabled - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - */ - ExperimentalFeatures.prototype.protobufPythonicTypesEnabled = false; - - /** - * ExperimentalFeatures unversionedPackageDisabled. - * @member {boolean} unversionedPackageDisabled - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - */ - ExperimentalFeatures.prototype.unversionedPackageDisabled = false; - - /** - * Creates a new ExperimentalFeatures instance using the specified properties. - * @function create - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.IExperimentalFeatures=} [properties] Properties to set - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures instance - */ - ExperimentalFeatures.create = function create(properties) { - return new ExperimentalFeatures(properties); - }; - - /** - * Encodes the specified ExperimentalFeatures message. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @function encode - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.IExperimentalFeatures} message ExperimentalFeatures message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ExperimentalFeatures.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.restAsyncIoEnabled != null && Object.hasOwnProperty.call(message, "restAsyncIoEnabled")) - writer.uint32(/* id 1, wireType 0 =*/8).bool(message.restAsyncIoEnabled); - if (message.protobufPythonicTypesEnabled != null && Object.hasOwnProperty.call(message, "protobufPythonicTypesEnabled")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.protobufPythonicTypesEnabled); - if (message.unversionedPackageDisabled != null && Object.hasOwnProperty.call(message, "unversionedPackageDisabled")) - writer.uint32(/* id 3, wireType 0 =*/24).bool(message.unversionedPackageDisabled); - return writer; - }; - - /** - * Encodes the specified ExperimentalFeatures message, length delimited. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @function encodeDelimited - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.IExperimentalFeatures} message ExperimentalFeatures message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ExperimentalFeatures.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer. - * @function decode - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ExperimentalFeatures.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.PythonSettings.ExperimentalFeatures(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.restAsyncIoEnabled = reader.bool(); - break; - } - case 2: { - message.protobufPythonicTypesEnabled = reader.bool(); - break; - } - case 3: { - message.unversionedPackageDisabled = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ExperimentalFeatures.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an ExperimentalFeatures message. - * @function verify - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - ExperimentalFeatures.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.restAsyncIoEnabled != null && message.hasOwnProperty("restAsyncIoEnabled")) - if (typeof message.restAsyncIoEnabled !== "boolean") - return "restAsyncIoEnabled: boolean expected"; - if (message.protobufPythonicTypesEnabled != null && message.hasOwnProperty("protobufPythonicTypesEnabled")) - if (typeof message.protobufPythonicTypesEnabled !== "boolean") - return "protobufPythonicTypesEnabled: boolean expected"; - if (message.unversionedPackageDisabled != null && message.hasOwnProperty("unversionedPackageDisabled")) - if (typeof message.unversionedPackageDisabled !== "boolean") - return "unversionedPackageDisabled: boolean expected"; - return null; - }; - - /** - * Creates an ExperimentalFeatures message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {Object.} object Plain object - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures - */ - ExperimentalFeatures.fromObject = function fromObject(object) { - if (object instanceof $root.google.api.PythonSettings.ExperimentalFeatures) - return object; - var message = new $root.google.api.PythonSettings.ExperimentalFeatures(); - if (object.restAsyncIoEnabled != null) - message.restAsyncIoEnabled = Boolean(object.restAsyncIoEnabled); - if (object.protobufPythonicTypesEnabled != null) - message.protobufPythonicTypesEnabled = Boolean(object.protobufPythonicTypesEnabled); - if (object.unversionedPackageDisabled != null) - message.unversionedPackageDisabled = Boolean(object.unversionedPackageDisabled); - return message; - }; - - /** - * Creates a plain object from an ExperimentalFeatures message. Also converts values to other types if specified. - * @function toObject - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.ExperimentalFeatures} message ExperimentalFeatures - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ExperimentalFeatures.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.restAsyncIoEnabled = false; - object.protobufPythonicTypesEnabled = false; - object.unversionedPackageDisabled = false; - } - if (message.restAsyncIoEnabled != null && message.hasOwnProperty("restAsyncIoEnabled")) - object.restAsyncIoEnabled = message.restAsyncIoEnabled; - if (message.protobufPythonicTypesEnabled != null && message.hasOwnProperty("protobufPythonicTypesEnabled")) - object.protobufPythonicTypesEnabled = message.protobufPythonicTypesEnabled; - if (message.unversionedPackageDisabled != null && message.hasOwnProperty("unversionedPackageDisabled")) - object.unversionedPackageDisabled = message.unversionedPackageDisabled; - return object; - }; - - /** - * Converts this ExperimentalFeatures to JSON. - * @function toJSON - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - * @returns {Object.} JSON object - */ - ExperimentalFeatures.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ExperimentalFeatures - * @function getTypeUrl - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ExperimentalFeatures.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.api.PythonSettings.ExperimentalFeatures"; - }; - - return ExperimentalFeatures; - })(); - return PythonSettings; })(); @@ -9647,7 +9337,6 @@ * @memberof google.api * @interface IGoSettings * @property {google.api.ICommonLanguageSettings|null} [common] GoSettings common - * @property {Object.|null} [renamedServices] GoSettings renamedServices */ /** @@ -9659,7 +9348,6 @@ * @param {google.api.IGoSettings=} [properties] Properties to set */ function GoSettings(properties) { - this.renamedServices = {}; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -9674,14 +9362,6 @@ */ GoSettings.prototype.common = null; - /** - * GoSettings renamedServices. - * @member {Object.} renamedServices - * @memberof google.api.GoSettings - * @instance - */ - GoSettings.prototype.renamedServices = $util.emptyObject; - /** * Creates a new GoSettings instance using the specified properties. * @function create @@ -9708,9 +9388,6 @@ writer = $Writer.create(); if (message.common != null && Object.hasOwnProperty.call(message, "common")) $root.google.api.CommonLanguageSettings.encode(message.common, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.renamedServices != null && Object.hasOwnProperty.call(message, "renamedServices")) - for (var keys = Object.keys(message.renamedServices), i = 0; i < keys.length; ++i) - writer.uint32(/* id 2, wireType 2 =*/18).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.renamedServices[keys[i]]).ldelim(); return writer; }; @@ -9741,7 +9418,7 @@ GoSettings.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.GoSettings(), key, value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.GoSettings(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) @@ -9751,29 +9428,6 @@ message.common = $root.google.api.CommonLanguageSettings.decode(reader, reader.uint32()); break; } - case 2: { - if (message.renamedServices === $util.emptyObject) - message.renamedServices = {}; - var end2 = reader.uint32() + reader.pos; - key = ""; - value = ""; - while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { - case 1: - key = reader.string(); - break; - case 2: - value = reader.string(); - break; - default: - reader.skipType(tag2 & 7); - break; - } - } - message.renamedServices[key] = value; - break; - } default: reader.skipType(tag & 7); break; @@ -9814,14 +9468,6 @@ if (error) return "common." + error; } - if (message.renamedServices != null && message.hasOwnProperty("renamedServices")) { - if (!$util.isObject(message.renamedServices)) - return "renamedServices: object expected"; - var key = Object.keys(message.renamedServices); - for (var i = 0; i < key.length; ++i) - if (!$util.isString(message.renamedServices[key[i]])) - return "renamedServices: string{k:string} expected"; - } return null; }; @@ -9842,13 +9488,6 @@ throw TypeError(".google.api.GoSettings.common: object expected"); message.common = $root.google.api.CommonLanguageSettings.fromObject(object.common); } - if (object.renamedServices) { - if (typeof object.renamedServices !== "object") - throw TypeError(".google.api.GoSettings.renamedServices: object expected"); - message.renamedServices = {}; - for (var keys = Object.keys(object.renamedServices), i = 0; i < keys.length; ++i) - message.renamedServices[keys[i]] = String(object.renamedServices[keys[i]]); - } return message; }; @@ -9865,18 +9504,10 @@ if (!options) options = {}; var object = {}; - if (options.objects || options.defaults) - object.renamedServices = {}; if (options.defaults) object.common = null; if (message.common != null && message.hasOwnProperty("common")) object.common = $root.google.api.CommonLanguageSettings.toObject(message.common, options); - var keys2; - if (message.renamedServices && (keys2 = Object.keys(message.renamedServices)).length) { - object.renamedServices = {}; - for (var j = 0; j < keys2.length; ++j) - object.renamedServices[keys2[j]] = message.renamedServices[keys2[j]]; - } return object; }; @@ -10515,251 +10146,6 @@ return values; })(); - api.SelectiveGapicGeneration = (function() { - - /** - * Properties of a SelectiveGapicGeneration. - * @memberof google.api - * @interface ISelectiveGapicGeneration - * @property {Array.|null} [methods] SelectiveGapicGeneration methods - * @property {boolean|null} [generateOmittedAsInternal] SelectiveGapicGeneration generateOmittedAsInternal - */ - - /** - * Constructs a new SelectiveGapicGeneration. - * @memberof google.api - * @classdesc Represents a SelectiveGapicGeneration. - * @implements ISelectiveGapicGeneration - * @constructor - * @param {google.api.ISelectiveGapicGeneration=} [properties] Properties to set - */ - function SelectiveGapicGeneration(properties) { - this.methods = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * SelectiveGapicGeneration methods. - * @member {Array.} methods - * @memberof google.api.SelectiveGapicGeneration - * @instance - */ - SelectiveGapicGeneration.prototype.methods = $util.emptyArray; - - /** - * SelectiveGapicGeneration generateOmittedAsInternal. - * @member {boolean} generateOmittedAsInternal - * @memberof google.api.SelectiveGapicGeneration - * @instance - */ - SelectiveGapicGeneration.prototype.generateOmittedAsInternal = false; - - /** - * Creates a new SelectiveGapicGeneration instance using the specified properties. - * @function create - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.ISelectiveGapicGeneration=} [properties] Properties to set - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration instance - */ - SelectiveGapicGeneration.create = function create(properties) { - return new SelectiveGapicGeneration(properties); - }; - - /** - * Encodes the specified SelectiveGapicGeneration message. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @function encode - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.ISelectiveGapicGeneration} message SelectiveGapicGeneration message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - SelectiveGapicGeneration.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.methods != null && message.methods.length) - for (var i = 0; i < message.methods.length; ++i) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.methods[i]); - if (message.generateOmittedAsInternal != null && Object.hasOwnProperty.call(message, "generateOmittedAsInternal")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.generateOmittedAsInternal); - return writer; - }; - - /** - * Encodes the specified SelectiveGapicGeneration message, length delimited. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @function encodeDelimited - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.ISelectiveGapicGeneration} message SelectiveGapicGeneration message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - SelectiveGapicGeneration.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer. - * @function decode - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - SelectiveGapicGeneration.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.SelectiveGapicGeneration(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - if (!(message.methods && message.methods.length)) - message.methods = []; - message.methods.push(reader.string()); - break; - } - case 2: { - message.generateOmittedAsInternal = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - SelectiveGapicGeneration.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a SelectiveGapicGeneration message. - * @function verify - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - SelectiveGapicGeneration.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.methods != null && message.hasOwnProperty("methods")) { - if (!Array.isArray(message.methods)) - return "methods: array expected"; - for (var i = 0; i < message.methods.length; ++i) - if (!$util.isString(message.methods[i])) - return "methods: string[] expected"; - } - if (message.generateOmittedAsInternal != null && message.hasOwnProperty("generateOmittedAsInternal")) - if (typeof message.generateOmittedAsInternal !== "boolean") - return "generateOmittedAsInternal: boolean expected"; - return null; - }; - - /** - * Creates a SelectiveGapicGeneration message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {Object.} object Plain object - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration - */ - SelectiveGapicGeneration.fromObject = function fromObject(object) { - if (object instanceof $root.google.api.SelectiveGapicGeneration) - return object; - var message = new $root.google.api.SelectiveGapicGeneration(); - if (object.methods) { - if (!Array.isArray(object.methods)) - throw TypeError(".google.api.SelectiveGapicGeneration.methods: array expected"); - message.methods = []; - for (var i = 0; i < object.methods.length; ++i) - message.methods[i] = String(object.methods[i]); - } - if (object.generateOmittedAsInternal != null) - message.generateOmittedAsInternal = Boolean(object.generateOmittedAsInternal); - return message; - }; - - /** - * Creates a plain object from a SelectiveGapicGeneration message. Also converts values to other types if specified. - * @function toObject - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.SelectiveGapicGeneration} message SelectiveGapicGeneration - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - SelectiveGapicGeneration.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.methods = []; - if (options.defaults) - object.generateOmittedAsInternal = false; - if (message.methods && message.methods.length) { - object.methods = []; - for (var j = 0; j < message.methods.length; ++j) - object.methods[j] = message.methods[j]; - } - if (message.generateOmittedAsInternal != null && message.hasOwnProperty("generateOmittedAsInternal")) - object.generateOmittedAsInternal = message.generateOmittedAsInternal; - return object; - }; - - /** - * Converts this SelectiveGapicGeneration to JSON. - * @function toJSON - * @memberof google.api.SelectiveGapicGeneration - * @instance - * @returns {Object.} JSON object - */ - SelectiveGapicGeneration.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for SelectiveGapicGeneration - * @function getTypeUrl - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - SelectiveGapicGeneration.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.api.SelectiveGapicGeneration"; - }; - - return SelectiveGapicGeneration; - })(); - /** * LaunchStage enum. * @name google.api.LaunchStage @@ -11717,7 +11103,6 @@ * @name google.protobuf.Edition * @enum {number} * @property {number} EDITION_UNKNOWN=0 EDITION_UNKNOWN value - * @property {number} EDITION_LEGACY=900 EDITION_LEGACY value * @property {number} EDITION_PROTO2=998 EDITION_PROTO2 value * @property {number} EDITION_PROTO3=999 EDITION_PROTO3 value * @property {number} EDITION_2023=1000 EDITION_2023 value @@ -11732,7 +11117,6 @@ protobuf.Edition = (function() { var valuesById = {}, values = Object.create(valuesById); values[valuesById[0] = "EDITION_UNKNOWN"] = 0; - values[valuesById[900] = "EDITION_LEGACY"] = 900; values[valuesById[998] = "EDITION_PROTO2"] = 998; values[valuesById[999] = "EDITION_PROTO3"] = 999; values[valuesById[1000] = "EDITION_2023"] = 1000; @@ -11757,7 +11141,6 @@ * @property {Array.|null} [dependency] FileDescriptorProto dependency * @property {Array.|null} [publicDependency] FileDescriptorProto publicDependency * @property {Array.|null} [weakDependency] FileDescriptorProto weakDependency - * @property {Array.|null} [optionDependency] FileDescriptorProto optionDependency * @property {Array.|null} [messageType] FileDescriptorProto messageType * @property {Array.|null} [enumType] FileDescriptorProto enumType * @property {Array.|null} [service] FileDescriptorProto service @@ -11780,7 +11163,6 @@ this.dependency = []; this.publicDependency = []; this.weakDependency = []; - this.optionDependency = []; this.messageType = []; this.enumType = []; this.service = []; @@ -11831,14 +11213,6 @@ */ FileDescriptorProto.prototype.weakDependency = $util.emptyArray; - /** - * FileDescriptorProto optionDependency. - * @member {Array.} optionDependency - * @memberof google.protobuf.FileDescriptorProto - * @instance - */ - FileDescriptorProto.prototype.optionDependency = $util.emptyArray; - /** * FileDescriptorProto messageType. * @member {Array.} messageType @@ -11960,9 +11334,6 @@ writer.uint32(/* id 12, wireType 2 =*/98).string(message.syntax); if (message.edition != null && Object.hasOwnProperty.call(message, "edition")) writer.uint32(/* id 14, wireType 0 =*/112).int32(message.edition); - if (message.optionDependency != null && message.optionDependency.length) - for (var i = 0; i < message.optionDependency.length; ++i) - writer.uint32(/* id 15, wireType 2 =*/122).string(message.optionDependency[i]); return writer; }; @@ -12035,12 +11406,6 @@ message.weakDependency.push(reader.int32()); break; } - case 15: { - if (!(message.optionDependency && message.optionDependency.length)) - message.optionDependency = []; - message.optionDependency.push(reader.string()); - break; - } case 4: { if (!(message.messageType && message.messageType.length)) message.messageType = []; @@ -12143,13 +11508,6 @@ if (!$util.isInteger(message.weakDependency[i])) return "weakDependency: integer[] expected"; } - if (message.optionDependency != null && message.hasOwnProperty("optionDependency")) { - if (!Array.isArray(message.optionDependency)) - return "optionDependency: array expected"; - for (var i = 0; i < message.optionDependency.length; ++i) - if (!$util.isString(message.optionDependency[i])) - return "optionDependency: string[] expected"; - } if (message.messageType != null && message.hasOwnProperty("messageType")) { if (!Array.isArray(message.messageType)) return "messageType: array expected"; @@ -12204,7 +11562,6 @@ default: return "edition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -12257,13 +11614,6 @@ for (var i = 0; i < object.weakDependency.length; ++i) message.weakDependency[i] = object.weakDependency[i] | 0; } - if (object.optionDependency) { - if (!Array.isArray(object.optionDependency)) - throw TypeError(".google.protobuf.FileDescriptorProto.optionDependency: array expected"); - message.optionDependency = []; - for (var i = 0; i < object.optionDependency.length; ++i) - message.optionDependency[i] = String(object.optionDependency[i]); - } if (object.messageType) { if (!Array.isArray(object.messageType)) throw TypeError(".google.protobuf.FileDescriptorProto.messageType: array expected"); @@ -12327,10 +11677,6 @@ case 0: message.edition = 0; break; - case "EDITION_LEGACY": - case 900: - message.edition = 900; - break; case "EDITION_PROTO2": case 998: message.edition = 998; @@ -12396,7 +11742,6 @@ object.extension = []; object.publicDependency = []; object.weakDependency = []; - object.optionDependency = []; } if (options.defaults) { object.name = ""; @@ -12453,11 +11798,6 @@ object.syntax = message.syntax; if (message.edition != null && message.hasOwnProperty("edition")) object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; - if (message.optionDependency && message.optionDependency.length) { - object.optionDependency = []; - for (var j = 0; j < message.optionDependency.length; ++j) - object.optionDependency[j] = message.optionDependency[j]; - } return object; }; @@ -12506,7 +11846,6 @@ * @property {google.protobuf.IMessageOptions|null} [options] DescriptorProto options * @property {Array.|null} [reservedRange] DescriptorProto reservedRange * @property {Array.|null} [reservedName] DescriptorProto reservedName - * @property {google.protobuf.SymbolVisibility|null} [visibility] DescriptorProto visibility */ /** @@ -12612,14 +11951,6 @@ */ DescriptorProto.prototype.reservedName = $util.emptyArray; - /** - * DescriptorProto visibility. - * @member {google.protobuf.SymbolVisibility} visibility - * @memberof google.protobuf.DescriptorProto - * @instance - */ - DescriptorProto.prototype.visibility = 0; - /** * Creates a new DescriptorProto instance using the specified properties. * @function create @@ -12672,8 +12003,6 @@ if (message.reservedName != null && message.reservedName.length) for (var i = 0; i < message.reservedName.length; ++i) writer.uint32(/* id 10, wireType 2 =*/82).string(message.reservedName[i]); - if (message.visibility != null && Object.hasOwnProperty.call(message, "visibility")) - writer.uint32(/* id 11, wireType 0 =*/88).int32(message.visibility); return writer; }; @@ -12766,10 +12095,6 @@ message.reservedName.push(reader.string()); break; } - case 11: { - message.visibility = reader.int32(); - break; - } default: reader.skipType(tag & 7); break; @@ -12883,15 +12208,6 @@ if (!$util.isString(message.reservedName[i])) return "reservedName: string[] expected"; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - switch (message.visibility) { - default: - return "visibility: enum value expected"; - case 0: - case 1: - case 2: - break; - } return null; }; @@ -12991,26 +12307,6 @@ for (var i = 0; i < object.reservedName.length; ++i) message.reservedName[i] = String(object.reservedName[i]); } - switch (object.visibility) { - default: - if (typeof object.visibility === "number") { - message.visibility = object.visibility; - break; - } - break; - case "VISIBILITY_UNSET": - case 0: - message.visibility = 0; - break; - case "VISIBILITY_LOCAL": - case 1: - message.visibility = 1; - break; - case "VISIBILITY_EXPORT": - case 2: - message.visibility = 2; - break; - } return message; }; @@ -13040,7 +12336,6 @@ if (options.defaults) { object.name = ""; object.options = null; - object.visibility = options.enums === String ? "VISIBILITY_UNSET" : 0; } if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; @@ -13086,8 +12381,6 @@ for (var j = 0; j < message.reservedName.length; ++j) object.reservedName[j] = message.reservedName[j]; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - object.visibility = options.enums === String ? $root.google.protobuf.SymbolVisibility[message.visibility] === undefined ? message.visibility : $root.google.protobuf.SymbolVisibility[message.visibility] : message.visibility; return object; }; @@ -15132,7 +14425,6 @@ * @property {google.protobuf.IEnumOptions|null} [options] EnumDescriptorProto options * @property {Array.|null} [reservedRange] EnumDescriptorProto reservedRange * @property {Array.|null} [reservedName] EnumDescriptorProto reservedName - * @property {google.protobuf.SymbolVisibility|null} [visibility] EnumDescriptorProto visibility */ /** @@ -15193,14 +14485,6 @@ */ EnumDescriptorProto.prototype.reservedName = $util.emptyArray; - /** - * EnumDescriptorProto visibility. - * @member {google.protobuf.SymbolVisibility} visibility - * @memberof google.protobuf.EnumDescriptorProto - * @instance - */ - EnumDescriptorProto.prototype.visibility = 0; - /** * Creates a new EnumDescriptorProto instance using the specified properties. * @function create @@ -15238,8 +14522,6 @@ if (message.reservedName != null && message.reservedName.length) for (var i = 0; i < message.reservedName.length; ++i) writer.uint32(/* id 5, wireType 2 =*/42).string(message.reservedName[i]); - if (message.visibility != null && Object.hasOwnProperty.call(message, "visibility")) - writer.uint32(/* id 6, wireType 0 =*/48).int32(message.visibility); return writer; }; @@ -15302,10 +14584,6 @@ message.reservedName.push(reader.string()); break; } - case 6: { - message.visibility = reader.int32(); - break; - } default: reader.skipType(tag & 7); break; @@ -15374,15 +14652,6 @@ if (!$util.isString(message.reservedName[i])) return "reservedName: string[] expected"; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - switch (message.visibility) { - default: - return "visibility: enum value expected"; - case 0: - case 1: - case 2: - break; - } return null; }; @@ -15432,26 +14701,6 @@ for (var i = 0; i < object.reservedName.length; ++i) message.reservedName[i] = String(object.reservedName[i]); } - switch (object.visibility) { - default: - if (typeof object.visibility === "number") { - message.visibility = object.visibility; - break; - } - break; - case "VISIBILITY_UNSET": - case 0: - message.visibility = 0; - break; - case "VISIBILITY_LOCAL": - case 1: - message.visibility = 1; - break; - case "VISIBILITY_EXPORT": - case 2: - message.visibility = 2; - break; - } return message; }; @@ -15476,7 +14725,6 @@ if (options.defaults) { object.name = ""; object.options = null; - object.visibility = options.enums === String ? "VISIBILITY_UNSET" : 0; } if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; @@ -15497,8 +14745,6 @@ for (var j = 0; j < message.reservedName.length; ++j) object.reservedName[j] = message.reservedName[j]; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - object.visibility = options.enums === String ? $root.google.protobuf.SymbolVisibility[message.visibility] === undefined ? message.visibility : $root.google.protobuf.SymbolVisibility[message.visibility] : message.visibility; return object; }; @@ -17817,7 +17063,6 @@ * @property {Array.|null} [targets] FieldOptions targets * @property {Array.|null} [editionDefaults] FieldOptions editionDefaults * @property {google.protobuf.IFeatureSet|null} [features] FieldOptions features - * @property {google.protobuf.FieldOptions.IFeatureSupport|null} [featureSupport] FieldOptions featureSupport * @property {Array.|null} [uninterpretedOption] FieldOptions uninterpretedOption * @property {Array.|null} [".google.api.fieldBehavior"] FieldOptions .google.api.fieldBehavior * @property {google.api.IResourceReference|null} [".google.api.resourceReference"] FieldOptions .google.api.resourceReference @@ -17938,14 +17183,6 @@ */ FieldOptions.prototype.features = null; - /** - * FieldOptions featureSupport. - * @member {google.protobuf.FieldOptions.IFeatureSupport|null|undefined} featureSupport - * @memberof google.protobuf.FieldOptions - * @instance - */ - FieldOptions.prototype.featureSupport = null; - /** * FieldOptions uninterpretedOption. * @member {Array.} uninterpretedOption @@ -18020,8 +17257,6 @@ $root.google.protobuf.FieldOptions.EditionDefault.encode(message.editionDefaults[i], writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim(); if (message.features != null && Object.hasOwnProperty.call(message, "features")) $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim(); - if (message.featureSupport != null && Object.hasOwnProperty.call(message, "featureSupport")) - $root.google.protobuf.FieldOptions.FeatureSupport.encode(message.featureSupport, writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim(); if (message.uninterpretedOption != null && message.uninterpretedOption.length) for (var i = 0; i < message.uninterpretedOption.length; ++i) $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim(); @@ -18123,10 +17358,6 @@ message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); break; } - case 22: { - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.decode(reader, reader.uint32()); - break; - } case 999: { if (!(message.uninterpretedOption && message.uninterpretedOption.length)) message.uninterpretedOption = []; @@ -18262,11 +17493,6 @@ if (error) return "features." + error; } - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) { - var error = $root.google.protobuf.FieldOptions.FeatureSupport.verify(message.featureSupport); - if (error) - return "featureSupport." + error; - } if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) { if (!Array.isArray(message.uninterpretedOption)) return "uninterpretedOption: array expected"; @@ -18455,11 +17681,6 @@ throw TypeError(".google.protobuf.FieldOptions.features: object expected"); message.features = $root.google.protobuf.FeatureSet.fromObject(object.features); } - if (object.featureSupport != null) { - if (typeof object.featureSupport !== "object") - throw TypeError(".google.protobuf.FieldOptions.featureSupport: object expected"); - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.fromObject(object.featureSupport); - } if (object.uninterpretedOption) { if (!Array.isArray(object.uninterpretedOption)) throw TypeError(".google.protobuf.FieldOptions.uninterpretedOption: array expected"); @@ -18557,7 +17778,6 @@ object.debugRedact = false; object.retention = options.enums === String ? "RETENTION_UNKNOWN" : 0; object.features = null; - object.featureSupport = null; object[".google.api.resourceReference"] = null; } if (message.ctype != null && message.hasOwnProperty("ctype")) @@ -18590,8 +17810,6 @@ } if (message.features != null && message.hasOwnProperty("features")) object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options); - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) - object.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.toObject(message.featureSupport, options); if (message.uninterpretedOption && message.uninterpretedOption.length) { object.uninterpretedOption = []; for (var j = 0; j < message.uninterpretedOption.length; ++j) @@ -18864,7 +18082,6 @@ default: return "edition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -18906,589 +18123,103 @@ case 0: message.edition = 0; break; - case "EDITION_LEGACY": - case 900: - message.edition = 900; - break; - case "EDITION_PROTO2": - case 998: - message.edition = 998; - break; - case "EDITION_PROTO3": - case 999: - message.edition = 999; - break; - case "EDITION_2023": - case 1000: - message.edition = 1000; - break; - case "EDITION_2024": - case 1001: - message.edition = 1001; - break; - case "EDITION_1_TEST_ONLY": - case 1: - message.edition = 1; - break; - case "EDITION_2_TEST_ONLY": - case 2: - message.edition = 2; - break; - case "EDITION_99997_TEST_ONLY": - case 99997: - message.edition = 99997; - break; - case "EDITION_99998_TEST_ONLY": - case 99998: - message.edition = 99998; - break; - case "EDITION_99999_TEST_ONLY": - case 99999: - message.edition = 99999; - break; - case "EDITION_MAX": - case 2147483647: - message.edition = 2147483647; - break; - } - if (object.value != null) - message.value = String(object.value); - return message; - }; - - /** - * Creates a plain object from an EditionDefault message. Also converts values to other types if specified. - * @function toObject - * @memberof google.protobuf.FieldOptions.EditionDefault - * @static - * @param {google.protobuf.FieldOptions.EditionDefault} message EditionDefault - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - EditionDefault.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.value = ""; - object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0; - } - if (message.value != null && message.hasOwnProperty("value")) - object.value = message.value; - if (message.edition != null && message.hasOwnProperty("edition")) - object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; - return object; - }; - - /** - * Converts this EditionDefault to JSON. - * @function toJSON - * @memberof google.protobuf.FieldOptions.EditionDefault - * @instance - * @returns {Object.} JSON object - */ - EditionDefault.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for EditionDefault - * @function getTypeUrl - * @memberof google.protobuf.FieldOptions.EditionDefault - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - EditionDefault.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.FieldOptions.EditionDefault"; - }; - - return EditionDefault; - })(); - - FieldOptions.FeatureSupport = (function() { - - /** - * Properties of a FeatureSupport. - * @memberof google.protobuf.FieldOptions - * @interface IFeatureSupport - * @property {google.protobuf.Edition|null} [editionIntroduced] FeatureSupport editionIntroduced - * @property {google.protobuf.Edition|null} [editionDeprecated] FeatureSupport editionDeprecated - * @property {string|null} [deprecationWarning] FeatureSupport deprecationWarning - * @property {google.protobuf.Edition|null} [editionRemoved] FeatureSupport editionRemoved - */ - - /** - * Constructs a new FeatureSupport. - * @memberof google.protobuf.FieldOptions - * @classdesc Represents a FeatureSupport. - * @implements IFeatureSupport - * @constructor - * @param {google.protobuf.FieldOptions.IFeatureSupport=} [properties] Properties to set - */ - function FeatureSupport(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * FeatureSupport editionIntroduced. - * @member {google.protobuf.Edition} editionIntroduced - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @instance - */ - FeatureSupport.prototype.editionIntroduced = 0; - - /** - * FeatureSupport editionDeprecated. - * @member {google.protobuf.Edition} editionDeprecated - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @instance - */ - FeatureSupport.prototype.editionDeprecated = 0; - - /** - * FeatureSupport deprecationWarning. - * @member {string} deprecationWarning - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @instance - */ - FeatureSupport.prototype.deprecationWarning = ""; - - /** - * FeatureSupport editionRemoved. - * @member {google.protobuf.Edition} editionRemoved - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @instance - */ - FeatureSupport.prototype.editionRemoved = 0; - - /** - * Creates a new FeatureSupport instance using the specified properties. - * @function create - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {google.protobuf.FieldOptions.IFeatureSupport=} [properties] Properties to set - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport instance - */ - FeatureSupport.create = function create(properties) { - return new FeatureSupport(properties); - }; - - /** - * Encodes the specified FeatureSupport message. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. - * @function encode - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {google.protobuf.FieldOptions.IFeatureSupport} message FeatureSupport message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - FeatureSupport.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.editionIntroduced != null && Object.hasOwnProperty.call(message, "editionIntroduced")) - writer.uint32(/* id 1, wireType 0 =*/8).int32(message.editionIntroduced); - if (message.editionDeprecated != null && Object.hasOwnProperty.call(message, "editionDeprecated")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.editionDeprecated); - if (message.deprecationWarning != null && Object.hasOwnProperty.call(message, "deprecationWarning")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.deprecationWarning); - if (message.editionRemoved != null && Object.hasOwnProperty.call(message, "editionRemoved")) - writer.uint32(/* id 4, wireType 0 =*/32).int32(message.editionRemoved); - return writer; - }; - - /** - * Encodes the specified FeatureSupport message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. - * @function encodeDelimited - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {google.protobuf.FieldOptions.IFeatureSupport} message FeatureSupport message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - FeatureSupport.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a FeatureSupport message from the specified reader or buffer. - * @function decode - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - FeatureSupport.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FieldOptions.FeatureSupport(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.editionIntroduced = reader.int32(); - break; - } - case 2: { - message.editionDeprecated = reader.int32(); - break; - } - case 3: { - message.deprecationWarning = reader.string(); - break; - } - case 4: { - message.editionRemoved = reader.int32(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a FeatureSupport message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - FeatureSupport.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a FeatureSupport message. - * @function verify - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - FeatureSupport.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.editionIntroduced != null && message.hasOwnProperty("editionIntroduced")) - switch (message.editionIntroduced) { - default: - return "editionIntroduced: enum value expected"; - case 0: - case 900: - case 998: - case 999: - case 1000: - case 1001: - case 1: - case 2: - case 99997: - case 99998: - case 99999: - case 2147483647: - break; - } - if (message.editionDeprecated != null && message.hasOwnProperty("editionDeprecated")) - switch (message.editionDeprecated) { - default: - return "editionDeprecated: enum value expected"; - case 0: - case 900: - case 998: - case 999: - case 1000: - case 1001: - case 1: - case 2: - case 99997: - case 99998: - case 99999: - case 2147483647: - break; - } - if (message.deprecationWarning != null && message.hasOwnProperty("deprecationWarning")) - if (!$util.isString(message.deprecationWarning)) - return "deprecationWarning: string expected"; - if (message.editionRemoved != null && message.hasOwnProperty("editionRemoved")) - switch (message.editionRemoved) { - default: - return "editionRemoved: enum value expected"; - case 0: - case 900: - case 998: - case 999: - case 1000: - case 1001: - case 1: - case 2: - case 99997: - case 99998: - case 99999: - case 2147483647: - break; - } - return null; - }; - - /** - * Creates a FeatureSupport message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {Object.} object Plain object - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport - */ - FeatureSupport.fromObject = function fromObject(object) { - if (object instanceof $root.google.protobuf.FieldOptions.FeatureSupport) - return object; - var message = new $root.google.protobuf.FieldOptions.FeatureSupport(); - switch (object.editionIntroduced) { - default: - if (typeof object.editionIntroduced === "number") { - message.editionIntroduced = object.editionIntroduced; - break; - } - break; - case "EDITION_UNKNOWN": - case 0: - message.editionIntroduced = 0; - break; - case "EDITION_LEGACY": - case 900: - message.editionIntroduced = 900; - break; - case "EDITION_PROTO2": - case 998: - message.editionIntroduced = 998; - break; - case "EDITION_PROTO3": - case 999: - message.editionIntroduced = 999; - break; - case "EDITION_2023": - case 1000: - message.editionIntroduced = 1000; - break; - case "EDITION_2024": - case 1001: - message.editionIntroduced = 1001; - break; - case "EDITION_1_TEST_ONLY": - case 1: - message.editionIntroduced = 1; - break; - case "EDITION_2_TEST_ONLY": - case 2: - message.editionIntroduced = 2; - break; - case "EDITION_99997_TEST_ONLY": - case 99997: - message.editionIntroduced = 99997; - break; - case "EDITION_99998_TEST_ONLY": - case 99998: - message.editionIntroduced = 99998; - break; - case "EDITION_99999_TEST_ONLY": - case 99999: - message.editionIntroduced = 99999; - break; - case "EDITION_MAX": - case 2147483647: - message.editionIntroduced = 2147483647; - break; - } - switch (object.editionDeprecated) { - default: - if (typeof object.editionDeprecated === "number") { - message.editionDeprecated = object.editionDeprecated; - break; - } - break; - case "EDITION_UNKNOWN": - case 0: - message.editionDeprecated = 0; - break; - case "EDITION_LEGACY": - case 900: - message.editionDeprecated = 900; - break; - case "EDITION_PROTO2": - case 998: - message.editionDeprecated = 998; - break; - case "EDITION_PROTO3": - case 999: - message.editionDeprecated = 999; - break; - case "EDITION_2023": - case 1000: - message.editionDeprecated = 1000; - break; - case "EDITION_2024": - case 1001: - message.editionDeprecated = 1001; - break; - case "EDITION_1_TEST_ONLY": - case 1: - message.editionDeprecated = 1; - break; - case "EDITION_2_TEST_ONLY": - case 2: - message.editionDeprecated = 2; - break; - case "EDITION_99997_TEST_ONLY": - case 99997: - message.editionDeprecated = 99997; - break; - case "EDITION_99998_TEST_ONLY": - case 99998: - message.editionDeprecated = 99998; - break; - case "EDITION_99999_TEST_ONLY": - case 99999: - message.editionDeprecated = 99999; - break; - case "EDITION_MAX": - case 2147483647: - message.editionDeprecated = 2147483647; - break; - } - if (object.deprecationWarning != null) - message.deprecationWarning = String(object.deprecationWarning); - switch (object.editionRemoved) { - default: - if (typeof object.editionRemoved === "number") { - message.editionRemoved = object.editionRemoved; - break; - } - break; - case "EDITION_UNKNOWN": - case 0: - message.editionRemoved = 0; - break; - case "EDITION_LEGACY": - case 900: - message.editionRemoved = 900; - break; case "EDITION_PROTO2": case 998: - message.editionRemoved = 998; + message.edition = 998; break; case "EDITION_PROTO3": case 999: - message.editionRemoved = 999; + message.edition = 999; break; case "EDITION_2023": case 1000: - message.editionRemoved = 1000; + message.edition = 1000; break; case "EDITION_2024": case 1001: - message.editionRemoved = 1001; + message.edition = 1001; break; case "EDITION_1_TEST_ONLY": case 1: - message.editionRemoved = 1; + message.edition = 1; break; case "EDITION_2_TEST_ONLY": case 2: - message.editionRemoved = 2; + message.edition = 2; break; case "EDITION_99997_TEST_ONLY": case 99997: - message.editionRemoved = 99997; + message.edition = 99997; break; case "EDITION_99998_TEST_ONLY": case 99998: - message.editionRemoved = 99998; + message.edition = 99998; break; case "EDITION_99999_TEST_ONLY": case 99999: - message.editionRemoved = 99999; + message.edition = 99999; break; case "EDITION_MAX": case 2147483647: - message.editionRemoved = 2147483647; + message.edition = 2147483647; break; } + if (object.value != null) + message.value = String(object.value); return message; }; /** - * Creates a plain object from a FeatureSupport message. Also converts values to other types if specified. + * Creates a plain object from an EditionDefault message. Also converts values to other types if specified. * @function toObject - * @memberof google.protobuf.FieldOptions.FeatureSupport + * @memberof google.protobuf.FieldOptions.EditionDefault * @static - * @param {google.protobuf.FieldOptions.FeatureSupport} message FeatureSupport + * @param {google.protobuf.FieldOptions.EditionDefault} message EditionDefault * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - FeatureSupport.toObject = function toObject(message, options) { + EditionDefault.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; if (options.defaults) { - object.editionIntroduced = options.enums === String ? "EDITION_UNKNOWN" : 0; - object.editionDeprecated = options.enums === String ? "EDITION_UNKNOWN" : 0; - object.deprecationWarning = ""; - object.editionRemoved = options.enums === String ? "EDITION_UNKNOWN" : 0; + object.value = ""; + object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0; } - if (message.editionIntroduced != null && message.hasOwnProperty("editionIntroduced")) - object.editionIntroduced = options.enums === String ? $root.google.protobuf.Edition[message.editionIntroduced] === undefined ? message.editionIntroduced : $root.google.protobuf.Edition[message.editionIntroduced] : message.editionIntroduced; - if (message.editionDeprecated != null && message.hasOwnProperty("editionDeprecated")) - object.editionDeprecated = options.enums === String ? $root.google.protobuf.Edition[message.editionDeprecated] === undefined ? message.editionDeprecated : $root.google.protobuf.Edition[message.editionDeprecated] : message.editionDeprecated; - if (message.deprecationWarning != null && message.hasOwnProperty("deprecationWarning")) - object.deprecationWarning = message.deprecationWarning; - if (message.editionRemoved != null && message.hasOwnProperty("editionRemoved")) - object.editionRemoved = options.enums === String ? $root.google.protobuf.Edition[message.editionRemoved] === undefined ? message.editionRemoved : $root.google.protobuf.Edition[message.editionRemoved] : message.editionRemoved; + if (message.value != null && message.hasOwnProperty("value")) + object.value = message.value; + if (message.edition != null && message.hasOwnProperty("edition")) + object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; return object; }; /** - * Converts this FeatureSupport to JSON. + * Converts this EditionDefault to JSON. * @function toJSON - * @memberof google.protobuf.FieldOptions.FeatureSupport + * @memberof google.protobuf.FieldOptions.EditionDefault * @instance * @returns {Object.} JSON object */ - FeatureSupport.prototype.toJSON = function toJSON() { + EditionDefault.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for FeatureSupport + * Gets the default type url for EditionDefault * @function getTypeUrl - * @memberof google.protobuf.FieldOptions.FeatureSupport + * @memberof google.protobuf.FieldOptions.EditionDefault * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - FeatureSupport.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + EditionDefault.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.protobuf.FieldOptions.FeatureSupport"; + return typeUrlPrefix + "/google.protobuf.FieldOptions.EditionDefault"; }; - return FeatureSupport; + return EditionDefault; })(); return FieldOptions; @@ -20083,7 +18814,6 @@ * @property {boolean|null} [deprecated] EnumValueOptions deprecated * @property {google.protobuf.IFeatureSet|null} [features] EnumValueOptions features * @property {boolean|null} [debugRedact] EnumValueOptions debugRedact - * @property {google.protobuf.FieldOptions.IFeatureSupport|null} [featureSupport] EnumValueOptions featureSupport * @property {Array.|null} [uninterpretedOption] EnumValueOptions uninterpretedOption */ @@ -20127,14 +18857,6 @@ */ EnumValueOptions.prototype.debugRedact = false; - /** - * EnumValueOptions featureSupport. - * @member {google.protobuf.FieldOptions.IFeatureSupport|null|undefined} featureSupport - * @memberof google.protobuf.EnumValueOptions - * @instance - */ - EnumValueOptions.prototype.featureSupport = null; - /** * EnumValueOptions uninterpretedOption. * @member {Array.} uninterpretedOption @@ -20173,8 +18895,6 @@ $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); if (message.debugRedact != null && Object.hasOwnProperty.call(message, "debugRedact")) writer.uint32(/* id 3, wireType 0 =*/24).bool(message.debugRedact); - if (message.featureSupport != null && Object.hasOwnProperty.call(message, "featureSupport")) - $root.google.protobuf.FieldOptions.FeatureSupport.encode(message.featureSupport, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); if (message.uninterpretedOption != null && message.uninterpretedOption.length) for (var i = 0; i < message.uninterpretedOption.length; ++i) $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim(); @@ -20226,10 +18946,6 @@ message.debugRedact = reader.bool(); break; } - case 4: { - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.decode(reader, reader.uint32()); - break; - } case 999: { if (!(message.uninterpretedOption && message.uninterpretedOption.length)) message.uninterpretedOption = []; @@ -20282,11 +18998,6 @@ if (message.debugRedact != null && message.hasOwnProperty("debugRedact")) if (typeof message.debugRedact !== "boolean") return "debugRedact: boolean expected"; - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) { - var error = $root.google.protobuf.FieldOptions.FeatureSupport.verify(message.featureSupport); - if (error) - return "featureSupport." + error; - } if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) { if (!Array.isArray(message.uninterpretedOption)) return "uninterpretedOption: array expected"; @@ -20320,11 +19031,6 @@ } if (object.debugRedact != null) message.debugRedact = Boolean(object.debugRedact); - if (object.featureSupport != null) { - if (typeof object.featureSupport !== "object") - throw TypeError(".google.protobuf.EnumValueOptions.featureSupport: object expected"); - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.fromObject(object.featureSupport); - } if (object.uninterpretedOption) { if (!Array.isArray(object.uninterpretedOption)) throw TypeError(".google.protobuf.EnumValueOptions.uninterpretedOption: array expected"); @@ -20357,7 +19063,6 @@ object.deprecated = false; object.features = null; object.debugRedact = false; - object.featureSupport = null; } if (message.deprecated != null && message.hasOwnProperty("deprecated")) object.deprecated = message.deprecated; @@ -20365,8 +19070,6 @@ object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options); if (message.debugRedact != null && message.hasOwnProperty("debugRedact")) object.debugRedact = message.debugRedact; - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) - object.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.toObject(message.featureSupport, options); if (message.uninterpretedOption && message.uninterpretedOption.length) { object.uninterpretedOption = []; for (var j = 0; j < message.uninterpretedOption.length; ++j) @@ -21806,8 +20509,6 @@ * @property {google.protobuf.FeatureSet.Utf8Validation|null} [utf8Validation] FeatureSet utf8Validation * @property {google.protobuf.FeatureSet.MessageEncoding|null} [messageEncoding] FeatureSet messageEncoding * @property {google.protobuf.FeatureSet.JsonFormat|null} [jsonFormat] FeatureSet jsonFormat - * @property {google.protobuf.FeatureSet.EnforceNamingStyle|null} [enforceNamingStyle] FeatureSet enforceNamingStyle - * @property {google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|null} [defaultSymbolVisibility] FeatureSet defaultSymbolVisibility */ /** @@ -21873,22 +20574,6 @@ */ FeatureSet.prototype.jsonFormat = 0; - /** - * FeatureSet enforceNamingStyle. - * @member {google.protobuf.FeatureSet.EnforceNamingStyle} enforceNamingStyle - * @memberof google.protobuf.FeatureSet - * @instance - */ - FeatureSet.prototype.enforceNamingStyle = 0; - - /** - * FeatureSet defaultSymbolVisibility. - * @member {google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility} defaultSymbolVisibility - * @memberof google.protobuf.FeatureSet - * @instance - */ - FeatureSet.prototype.defaultSymbolVisibility = 0; - /** * Creates a new FeatureSet instance using the specified properties. * @function create @@ -21925,10 +20610,6 @@ writer.uint32(/* id 5, wireType 0 =*/40).int32(message.messageEncoding); if (message.jsonFormat != null && Object.hasOwnProperty.call(message, "jsonFormat")) writer.uint32(/* id 6, wireType 0 =*/48).int32(message.jsonFormat); - if (message.enforceNamingStyle != null && Object.hasOwnProperty.call(message, "enforceNamingStyle")) - writer.uint32(/* id 7, wireType 0 =*/56).int32(message.enforceNamingStyle); - if (message.defaultSymbolVisibility != null && Object.hasOwnProperty.call(message, "defaultSymbolVisibility")) - writer.uint32(/* id 8, wireType 0 =*/64).int32(message.defaultSymbolVisibility); return writer; }; @@ -21989,14 +20670,6 @@ message.jsonFormat = reader.int32(); break; } - case 7: { - message.enforceNamingStyle = reader.int32(); - break; - } - case 8: { - message.defaultSymbolVisibility = reader.int32(); - break; - } default: reader.skipType(tag & 7); break; @@ -22087,26 +20760,6 @@ case 2: break; } - if (message.enforceNamingStyle != null && message.hasOwnProperty("enforceNamingStyle")) - switch (message.enforceNamingStyle) { - default: - return "enforceNamingStyle: enum value expected"; - case 0: - case 1: - case 2: - break; - } - if (message.defaultSymbolVisibility != null && message.hasOwnProperty("defaultSymbolVisibility")) - switch (message.defaultSymbolVisibility) { - default: - return "defaultSymbolVisibility: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } return null; }; @@ -22246,54 +20899,6 @@ message.jsonFormat = 2; break; } - switch (object.enforceNamingStyle) { - default: - if (typeof object.enforceNamingStyle === "number") { - message.enforceNamingStyle = object.enforceNamingStyle; - break; - } - break; - case "ENFORCE_NAMING_STYLE_UNKNOWN": - case 0: - message.enforceNamingStyle = 0; - break; - case "STYLE2024": - case 1: - message.enforceNamingStyle = 1; - break; - case "STYLE_LEGACY": - case 2: - message.enforceNamingStyle = 2; - break; - } - switch (object.defaultSymbolVisibility) { - default: - if (typeof object.defaultSymbolVisibility === "number") { - message.defaultSymbolVisibility = object.defaultSymbolVisibility; - break; - } - break; - case "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN": - case 0: - message.defaultSymbolVisibility = 0; - break; - case "EXPORT_ALL": - case 1: - message.defaultSymbolVisibility = 1; - break; - case "EXPORT_TOP_LEVEL": - case 2: - message.defaultSymbolVisibility = 2; - break; - case "LOCAL_ALL": - case 3: - message.defaultSymbolVisibility = 3; - break; - case "STRICT": - case 4: - message.defaultSymbolVisibility = 4; - break; - } return message; }; @@ -22317,8 +20922,6 @@ object.utf8Validation = options.enums === String ? "UTF8_VALIDATION_UNKNOWN" : 0; object.messageEncoding = options.enums === String ? "MESSAGE_ENCODING_UNKNOWN" : 0; object.jsonFormat = options.enums === String ? "JSON_FORMAT_UNKNOWN" : 0; - object.enforceNamingStyle = options.enums === String ? "ENFORCE_NAMING_STYLE_UNKNOWN" : 0; - object.defaultSymbolVisibility = options.enums === String ? "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN" : 0; } if (message.fieldPresence != null && message.hasOwnProperty("fieldPresence")) object.fieldPresence = options.enums === String ? $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] === undefined ? message.fieldPresence : $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] : message.fieldPresence; @@ -22332,10 +20935,6 @@ object.messageEncoding = options.enums === String ? $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] === undefined ? message.messageEncoding : $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] : message.messageEncoding; if (message.jsonFormat != null && message.hasOwnProperty("jsonFormat")) object.jsonFormat = options.enums === String ? $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] === undefined ? message.jsonFormat : $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] : message.jsonFormat; - if (message.enforceNamingStyle != null && message.hasOwnProperty("enforceNamingStyle")) - object.enforceNamingStyle = options.enums === String ? $root.google.protobuf.FeatureSet.EnforceNamingStyle[message.enforceNamingStyle] === undefined ? message.enforceNamingStyle : $root.google.protobuf.FeatureSet.EnforceNamingStyle[message.enforceNamingStyle] : message.enforceNamingStyle; - if (message.defaultSymbolVisibility != null && message.hasOwnProperty("defaultSymbolVisibility")) - object.defaultSymbolVisibility = options.enums === String ? $root.google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility[message.defaultSymbolVisibility] === undefined ? message.defaultSymbolVisibility : $root.google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility[message.defaultSymbolVisibility] : message.defaultSymbolVisibility; return object; }; @@ -22463,219 +21062,6 @@ return values; })(); - /** - * EnforceNamingStyle enum. - * @name google.protobuf.FeatureSet.EnforceNamingStyle - * @enum {number} - * @property {number} ENFORCE_NAMING_STYLE_UNKNOWN=0 ENFORCE_NAMING_STYLE_UNKNOWN value - * @property {number} STYLE2024=1 STYLE2024 value - * @property {number} STYLE_LEGACY=2 STYLE_LEGACY value - */ - FeatureSet.EnforceNamingStyle = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "ENFORCE_NAMING_STYLE_UNKNOWN"] = 0; - values[valuesById[1] = "STYLE2024"] = 1; - values[valuesById[2] = "STYLE_LEGACY"] = 2; - return values; - })(); - - FeatureSet.VisibilityFeature = (function() { - - /** - * Properties of a VisibilityFeature. - * @memberof google.protobuf.FeatureSet - * @interface IVisibilityFeature - */ - - /** - * Constructs a new VisibilityFeature. - * @memberof google.protobuf.FeatureSet - * @classdesc Represents a VisibilityFeature. - * @implements IVisibilityFeature - * @constructor - * @param {google.protobuf.FeatureSet.IVisibilityFeature=} [properties] Properties to set - */ - function VisibilityFeature(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Creates a new VisibilityFeature instance using the specified properties. - * @function create - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.IVisibilityFeature=} [properties] Properties to set - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature instance - */ - VisibilityFeature.create = function create(properties) { - return new VisibilityFeature(properties); - }; - - /** - * Encodes the specified VisibilityFeature message. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @function encode - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.IVisibilityFeature} message VisibilityFeature message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - VisibilityFeature.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - return writer; - }; - - /** - * Encodes the specified VisibilityFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @function encodeDelimited - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.IVisibilityFeature} message VisibilityFeature message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - VisibilityFeature.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer. - * @function decode - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - VisibilityFeature.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FeatureSet.VisibilityFeature(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - VisibilityFeature.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a VisibilityFeature message. - * @function verify - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - VisibilityFeature.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - return null; - }; - - /** - * Creates a VisibilityFeature message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {Object.} object Plain object - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature - */ - VisibilityFeature.fromObject = function fromObject(object) { - if (object instanceof $root.google.protobuf.FeatureSet.VisibilityFeature) - return object; - return new $root.google.protobuf.FeatureSet.VisibilityFeature(); - }; - - /** - * Creates a plain object from a VisibilityFeature message. Also converts values to other types if specified. - * @function toObject - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.VisibilityFeature} message VisibilityFeature - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - VisibilityFeature.toObject = function toObject() { - return {}; - }; - - /** - * Converts this VisibilityFeature to JSON. - * @function toJSON - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @instance - * @returns {Object.} JSON object - */ - VisibilityFeature.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for VisibilityFeature - * @function getTypeUrl - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - VisibilityFeature.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.FeatureSet.VisibilityFeature"; - }; - - /** - * DefaultSymbolVisibility enum. - * @name google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility - * @enum {number} - * @property {number} DEFAULT_SYMBOL_VISIBILITY_UNKNOWN=0 DEFAULT_SYMBOL_VISIBILITY_UNKNOWN value - * @property {number} EXPORT_ALL=1 EXPORT_ALL value - * @property {number} EXPORT_TOP_LEVEL=2 EXPORT_TOP_LEVEL value - * @property {number} LOCAL_ALL=3 LOCAL_ALL value - * @property {number} STRICT=4 STRICT value - */ - VisibilityFeature.DefaultSymbolVisibility = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN"] = 0; - values[valuesById[1] = "EXPORT_ALL"] = 1; - values[valuesById[2] = "EXPORT_TOP_LEVEL"] = 2; - values[valuesById[3] = "LOCAL_ALL"] = 3; - values[valuesById[4] = "STRICT"] = 4; - return values; - })(); - - return VisibilityFeature; - })(); - return FeatureSet; })(); @@ -22860,7 +21246,6 @@ default: return "minimumEdition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -22878,7 +21263,6 @@ default: return "maximumEdition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -22927,10 +21311,6 @@ case 0: message.minimumEdition = 0; break; - case "EDITION_LEGACY": - case 900: - message.minimumEdition = 900; - break; case "EDITION_PROTO2": case 998: message.minimumEdition = 998; @@ -22983,10 +21363,6 @@ case 0: message.maximumEdition = 0; break; - case "EDITION_LEGACY": - case 900: - message.maximumEdition = 900; - break; case "EDITION_PROTO2": case 998: message.maximumEdition = 998; @@ -23095,8 +21471,7 @@ * @memberof google.protobuf.FeatureSetDefaults * @interface IFeatureSetEditionDefault * @property {google.protobuf.Edition|null} [edition] FeatureSetEditionDefault edition - * @property {google.protobuf.IFeatureSet|null} [overridableFeatures] FeatureSetEditionDefault overridableFeatures - * @property {google.protobuf.IFeatureSet|null} [fixedFeatures] FeatureSetEditionDefault fixedFeatures + * @property {google.protobuf.IFeatureSet|null} [features] FeatureSetEditionDefault features */ /** @@ -23123,20 +21498,12 @@ FeatureSetEditionDefault.prototype.edition = 0; /** - * FeatureSetEditionDefault overridableFeatures. - * @member {google.protobuf.IFeatureSet|null|undefined} overridableFeatures - * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault - * @instance - */ - FeatureSetEditionDefault.prototype.overridableFeatures = null; - - /** - * FeatureSetEditionDefault fixedFeatures. - * @member {google.protobuf.IFeatureSet|null|undefined} fixedFeatures + * FeatureSetEditionDefault features. + * @member {google.protobuf.IFeatureSet|null|undefined} features * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault * @instance */ - FeatureSetEditionDefault.prototype.fixedFeatures = null; + FeatureSetEditionDefault.prototype.features = null; /** * Creates a new FeatureSetEditionDefault instance using the specified properties. @@ -23162,12 +21529,10 @@ FeatureSetEditionDefault.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); + if (message.features != null && Object.hasOwnProperty.call(message, "features")) + $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); if (message.edition != null && Object.hasOwnProperty.call(message, "edition")) writer.uint32(/* id 3, wireType 0 =*/24).int32(message.edition); - if (message.overridableFeatures != null && Object.hasOwnProperty.call(message, "overridableFeatures")) - $root.google.protobuf.FeatureSet.encode(message.overridableFeatures, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.fixedFeatures != null && Object.hasOwnProperty.call(message, "fixedFeatures")) - $root.google.protobuf.FeatureSet.encode(message.fixedFeatures, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); return writer; }; @@ -23208,12 +21573,8 @@ message.edition = reader.int32(); break; } - case 4: { - message.overridableFeatures = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); - break; - } - case 5: { - message.fixedFeatures = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); + case 2: { + message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); break; } default: @@ -23256,7 +21617,6 @@ default: return "edition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -23269,15 +21629,10 @@ case 2147483647: break; } - if (message.overridableFeatures != null && message.hasOwnProperty("overridableFeatures")) { - var error = $root.google.protobuf.FeatureSet.verify(message.overridableFeatures); - if (error) - return "overridableFeatures." + error; - } - if (message.fixedFeatures != null && message.hasOwnProperty("fixedFeatures")) { - var error = $root.google.protobuf.FeatureSet.verify(message.fixedFeatures); + if (message.features != null && message.hasOwnProperty("features")) { + var error = $root.google.protobuf.FeatureSet.verify(message.features); if (error) - return "fixedFeatures." + error; + return "features." + error; } return null; }; @@ -23305,10 +21660,6 @@ case 0: message.edition = 0; break; - case "EDITION_LEGACY": - case 900: - message.edition = 900; - break; case "EDITION_PROTO2": case 998: message.edition = 998; @@ -23350,15 +21701,10 @@ message.edition = 2147483647; break; } - if (object.overridableFeatures != null) { - if (typeof object.overridableFeatures !== "object") - throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.overridableFeatures: object expected"); - message.overridableFeatures = $root.google.protobuf.FeatureSet.fromObject(object.overridableFeatures); - } - if (object.fixedFeatures != null) { - if (typeof object.fixedFeatures !== "object") - throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.fixedFeatures: object expected"); - message.fixedFeatures = $root.google.protobuf.FeatureSet.fromObject(object.fixedFeatures); + if (object.features != null) { + if (typeof object.features !== "object") + throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.features: object expected"); + message.features = $root.google.protobuf.FeatureSet.fromObject(object.features); } return message; }; @@ -23377,16 +21723,13 @@ options = {}; var object = {}; if (options.defaults) { + object.features = null; object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0; - object.overridableFeatures = null; - object.fixedFeatures = null; } + if (message.features != null && message.hasOwnProperty("features")) + object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options); if (message.edition != null && message.hasOwnProperty("edition")) object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; - if (message.overridableFeatures != null && message.hasOwnProperty("overridableFeatures")) - object.overridableFeatures = $root.google.protobuf.FeatureSet.toObject(message.overridableFeatures, options); - if (message.fixedFeatures != null && message.hasOwnProperty("fixedFeatures")) - object.fixedFeatures = $root.google.protobuf.FeatureSet.toObject(message.fixedFeatures, options); return object; }; @@ -24601,22 +22944,6 @@ return GeneratedCodeInfo; })(); - /** - * SymbolVisibility enum. - * @name google.protobuf.SymbolVisibility - * @enum {number} - * @property {number} VISIBILITY_UNSET=0 VISIBILITY_UNSET value - * @property {number} VISIBILITY_LOCAL=1 VISIBILITY_LOCAL value - * @property {number} VISIBILITY_EXPORT=2 VISIBILITY_EXPORT value - */ - protobuf.SymbolVisibility = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "VISIBILITY_UNSET"] = 0; - values[valuesById[1] = "VISIBILITY_LOCAL"] = 1; - values[valuesById[2] = "VISIBILITY_EXPORT"] = 2; - return values; - })(); - protobuf.Duration = (function() { /** diff --git a/packages/google-cloud-devicestreaming/protos/protos.json b/packages/google-cloud-devicestreaming/protos/protos.json index 0fec4c74202b..18b2fcfc377e 100644 --- a/packages/google-cloud-devicestreaming/protos/protos.json +++ b/packages/google-cloud-devicestreaming/protos/protos.json @@ -570,7 +570,8 @@ "java_multiple_files": true, "java_outer_classname": "ResourceProto", "java_package": "com.google.api", - "objc_class_prefix": "GAPI" + "objc_class_prefix": "GAPI", + "cc_enable_arenas": true }, "nested": { "fieldBehavior": { @@ -716,10 +717,6 @@ "rule": "repeated", "type": "ClientLibraryDestination", "id": 2 - }, - "selectiveGapicGeneration": { - "type": "SelectiveGapicGeneration", - "id": 3 } } }, @@ -860,28 +857,6 @@ "common": { "type": "CommonLanguageSettings", "id": 1 - }, - "experimentalFeatures": { - "type": "ExperimentalFeatures", - "id": 2 - } - }, - "nested": { - "ExperimentalFeatures": { - "fields": { - "restAsyncIoEnabled": { - "type": "bool", - "id": 1 - }, - "protobufPythonicTypesEnabled": { - "type": "bool", - "id": 2 - }, - "unversionedPackageDisabled": { - "type": "bool", - "id": 3 - } - } } } }, @@ -939,11 +914,6 @@ "common": { "type": "CommonLanguageSettings", "id": 1 - }, - "renamedServices": { - "keyType": "string", - "type": "string", - "id": 2 } } }, @@ -1005,19 +975,6 @@ "PACKAGE_MANAGER": 20 } }, - "SelectiveGapicGeneration": { - "fields": { - "methods": { - "rule": "repeated", - "type": "string", - "id": 1 - }, - "generateOmittedAsInternal": { - "type": "bool", - "id": 2 - } - } - }, "LaunchStage": { "values": { "LAUNCH_STAGE_UNSPECIFIED": 0, @@ -1128,19 +1085,12 @@ "type": "FileDescriptorProto", "id": 1 } - }, - "extensions": [ - [ - 536000000, - 536000000 - ] - ] + } }, "Edition": { "edition": "proto2", "values": { "EDITION_UNKNOWN": 0, - "EDITION_LEGACY": 900, "EDITION_PROTO2": 998, "EDITION_PROTO3": 999, "EDITION_2023": 1000, @@ -1179,11 +1129,6 @@ "type": "int32", "id": 11 }, - "optionDependency": { - "rule": "repeated", - "type": "string", - "id": 15 - }, "messageType": { "rule": "repeated", "type": "DescriptorProto", @@ -1272,10 +1217,6 @@ "rule": "repeated", "type": "string", "id": 10 - }, - "visibility": { - "type": "SymbolVisibility", - "id": 11 } }, "nested": { @@ -1501,10 +1442,6 @@ "rule": "repeated", "type": "string", "id": 5 - }, - "visibility": { - "type": "SymbolVisibility", - "id": 6 } }, "nested": { @@ -1719,7 +1656,6 @@ 42, 42 ], - "php_generic_services", [ 38, 38 @@ -1855,8 +1791,7 @@ "type": "bool", "id": 10, "options": { - "default": false, - "deprecated": true + "default": false } }, "debugRedact": { @@ -1884,10 +1819,6 @@ "type": "FeatureSet", "id": 21 }, - "featureSupport": { - "type": "FeatureSupport", - "id": 22 - }, "uninterpretedOption": { "rule": "repeated", "type": "UninterpretedOption", @@ -1957,26 +1888,6 @@ "id": 2 } } - }, - "FeatureSupport": { - "fields": { - "editionIntroduced": { - "type": "Edition", - "id": 1 - }, - "editionDeprecated": { - "type": "Edition", - "id": 2 - }, - "deprecationWarning": { - "type": "string", - "id": 3 - }, - "editionRemoved": { - "type": "Edition", - "id": 4 - } - } } } }, @@ -2065,10 +1976,6 @@ "default": false } }, - "featureSupport": { - "type": "FieldOptions.FeatureSupport", - "id": 4 - }, "uninterpretedOption": { "rule": "repeated", "type": "UninterpretedOption", @@ -2211,7 +2118,6 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_2023", "edition_defaults.value": "EXPLICIT" } @@ -2222,7 +2128,6 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_PROTO3", "edition_defaults.value": "OPEN" } @@ -2233,7 +2138,6 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_PROTO3", "edition_defaults.value": "PACKED" } @@ -2244,7 +2148,6 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_PROTO3", "edition_defaults.value": "VERIFY" } @@ -2255,8 +2158,7 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", - "edition_defaults.edition": "EDITION_LEGACY", + "edition_defaults.edition": "EDITION_PROTO2", "edition_defaults.value": "LENGTH_PREFIXED" } }, @@ -2266,38 +2168,27 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_PROTO3", "edition_defaults.value": "ALLOW" } - }, - "enforceNamingStyle": { - "type": "EnforceNamingStyle", - "id": 7, - "options": { - "retention": "RETENTION_SOURCE", - "targets": "TARGET_TYPE_METHOD", - "feature_support.edition_introduced": "EDITION_2024", - "edition_defaults.edition": "EDITION_2024", - "edition_defaults.value": "STYLE2024" - } - }, - "defaultSymbolVisibility": { - "type": "VisibilityFeature.DefaultSymbolVisibility", - "id": 8, - "options": { - "retention": "RETENTION_SOURCE", - "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2024", - "edition_defaults.edition": "EDITION_2024", - "edition_defaults.value": "EXPORT_TOP_LEVEL" - } } }, "extensions": [ [ 1000, - 9994 + 1000 + ], + [ + 1001, + 1001 + ], + [ + 1002, + 1002 + ], + [ + 9990, + 9990 ], [ 9995, @@ -2342,13 +2233,7 @@ "UTF8_VALIDATION_UNKNOWN": 0, "VERIFY": 2, "NONE": 3 - }, - "reserved": [ - [ - 1, - 1 - ] - ] + } }, "MessageEncoding": { "values": { @@ -2363,33 +2248,6 @@ "ALLOW": 1, "LEGACY_BEST_EFFORT": 2 } - }, - "EnforceNamingStyle": { - "values": { - "ENFORCE_NAMING_STYLE_UNKNOWN": 0, - "STYLE2024": 1, - "STYLE_LEGACY": 2 - } - }, - "VisibilityFeature": { - "fields": {}, - "reserved": [ - [ - 1, - 536870911 - ] - ], - "nested": { - "DefaultSymbolVisibility": { - "values": { - "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN": 0, - "EXPORT_ALL": 1, - "EXPORT_TOP_LEVEL": 2, - "LOCAL_ALL": 3, - "STRICT": 4 - } - } - } } } }, @@ -2417,26 +2275,11 @@ "type": "Edition", "id": 3 }, - "overridableFeatures": { + "features": { "type": "FeatureSet", - "id": 4 - }, - "fixedFeatures": { - "type": "FeatureSet", - "id": 5 + "id": 2 } - }, - "reserved": [ - [ - 1, - 1 - ], - [ - 2, - 2 - ], - "features" - ] + } } } }, @@ -2449,12 +2292,6 @@ "id": 1 } }, - "extensions": [ - [ - 536000000, - 536000000 - ] - ], "nested": { "Location": { "fields": { @@ -2540,14 +2377,6 @@ } } }, - "SymbolVisibility": { - "edition": "proto2", - "values": { - "VISIBILITY_UNSET": 0, - "VISIBILITY_LOCAL": 1, - "VISIBILITY_EXPORT": 2 - } - }, "Duration": { "fields": { "seconds": { diff --git a/packages/google-cloud-devicestreaming/samples/generated/v1/snippet_metadata_google.cloud.devicestreaming.v1.json b/packages/google-cloud-devicestreaming/samples/generated/v1/snippet_metadata_google.cloud.devicestreaming.v1.json index cc2d7aca4de6..bebdcba01dd3 100644 --- a/packages/google-cloud-devicestreaming/samples/generated/v1/snippet_metadata_google.cloud.devicestreaming.v1.json +++ b/packages/google-cloud-devicestreaming/samples/generated/v1/snippet_metadata_google.cloud.devicestreaming.v1.json @@ -1,283 +1,283 @@ { - "clientLibrary": { - "name": "nodejs-devicestreaming", - "version": "0.2.0", - "language": "TYPESCRIPT", - "apis": [ - { - "id": "google.cloud.devicestreaming.v1", - "version": "v1" - } - ] - }, - "snippets": [ + "clientLibrary": { + "name": "nodejs-devicestreaming", + "version": "0.1.0", + "language": "TYPESCRIPT", + "apis": [ + { + "id": "google.cloud.devicestreaming.v1", + "version": "v1" + } + ] + }, + "snippets": [ + { + "regionTag": "devicestreaming_v1_generated_DirectAccessService_CreateDeviceSession_async", + "title": "DirectAccessService createDeviceSession Sample", + "origin": "API_DEFINITION", + "description": " Creates a DeviceSession.", + "canonical": true, + "file": "direct_access_service.create_device_session.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "devicestreaming_v1_generated_DirectAccessService_CreateDeviceSession_async", - "title": "DirectAccessService createDeviceSession Sample", - "origin": "API_DEFINITION", - "description": " Creates a DeviceSession.", - "canonical": true, - "file": "direct_access_service.create_device_session.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 66, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateDeviceSession", - "fullName": "google.cloud.devicestreaming.v1.DirectAccessService.CreateDeviceSession", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "device_session", - "type": ".google.cloud.devicestreaming.v1.DeviceSession" - }, - { - "name": "device_session_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.devicestreaming.v1.DeviceSession", - "client": { - "shortName": "DirectAccessServiceClient", - "fullName": "google.cloud.devicestreaming.v1.DirectAccessServiceClient" - }, - "method": { - "shortName": "CreateDeviceSession", - "fullName": "google.cloud.devicestreaming.v1.DirectAccessService.CreateDeviceSession", - "service": { - "shortName": "DirectAccessService", - "fullName": "google.cloud.devicestreaming.v1.DirectAccessService" - } - } - } + "start": 25, + "end": 66, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateDeviceSession", + "fullName": "google.cloud.devicestreaming.v1.DirectAccessService.CreateDeviceSession", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "device_session", + "type": ".google.cloud.devicestreaming.v1.DeviceSession" + }, + { + "name": "device_session_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.devicestreaming.v1.DeviceSession", + "client": { + "shortName": "DirectAccessServiceClient", + "fullName": "google.cloud.devicestreaming.v1.DirectAccessServiceClient" }, + "method": { + "shortName": "CreateDeviceSession", + "fullName": "google.cloud.devicestreaming.v1.DirectAccessService.CreateDeviceSession", + "service": { + "shortName": "DirectAccessService", + "fullName": "google.cloud.devicestreaming.v1.DirectAccessService" + } + } + } + }, + { + "regionTag": "devicestreaming_v1_generated_DirectAccessService_ListDeviceSessions_async", + "title": "DirectAccessService listDeviceSessions Sample", + "origin": "API_DEFINITION", + "description": " Lists DeviceSessions owned by the project user.", + "canonical": true, + "file": "direct_access_service.list_device_sessions.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "devicestreaming_v1_generated_DirectAccessService_ListDeviceSessions_async", - "title": "DirectAccessService listDeviceSessions Sample", - "origin": "API_DEFINITION", - "description": " Lists DeviceSessions owned by the project user.", - "canonical": true, - "file": "direct_access_service.list_device_sessions.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 68, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListDeviceSessions", - "fullName": "google.cloud.devicestreaming.v1.DirectAccessService.ListDeviceSessions", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.devicestreaming.v1.ListDeviceSessionsResponse", - "client": { - "shortName": "DirectAccessServiceClient", - "fullName": "google.cloud.devicestreaming.v1.DirectAccessServiceClient" - }, - "method": { - "shortName": "ListDeviceSessions", - "fullName": "google.cloud.devicestreaming.v1.DirectAccessService.ListDeviceSessions", - "service": { - "shortName": "DirectAccessService", - "fullName": "google.cloud.devicestreaming.v1.DirectAccessService" - } - } - } + "start": 25, + "end": 68, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListDeviceSessions", + "fullName": "google.cloud.devicestreaming.v1.DirectAccessService.ListDeviceSessions", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.devicestreaming.v1.ListDeviceSessionsResponse", + "client": { + "shortName": "DirectAccessServiceClient", + "fullName": "google.cloud.devicestreaming.v1.DirectAccessServiceClient" }, + "method": { + "shortName": "ListDeviceSessions", + "fullName": "google.cloud.devicestreaming.v1.DirectAccessService.ListDeviceSessions", + "service": { + "shortName": "DirectAccessService", + "fullName": "google.cloud.devicestreaming.v1.DirectAccessService" + } + } + } + }, + { + "regionTag": "devicestreaming_v1_generated_DirectAccessService_GetDeviceSession_async", + "title": "DirectAccessService getDeviceSession Sample", + "origin": "API_DEFINITION", + "description": " Gets a DeviceSession, which documents the allocation status and whether the device is allocated. Clients making requests from this API must poll GetDeviceSession.", + "canonical": true, + "file": "direct_access_service.get_device_session.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "devicestreaming_v1_generated_DirectAccessService_GetDeviceSession_async", - "title": "DirectAccessService getDeviceSession Sample", - "origin": "API_DEFINITION", - "description": " Gets a DeviceSession, which documents the allocation status and whether the device is allocated. Clients making requests from this API must poll GetDeviceSession.", - "canonical": true, - "file": "direct_access_service.get_device_session.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetDeviceSession", - "fullName": "google.cloud.devicestreaming.v1.DirectAccessService.GetDeviceSession", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.devicestreaming.v1.DeviceSession", - "client": { - "shortName": "DirectAccessServiceClient", - "fullName": "google.cloud.devicestreaming.v1.DirectAccessServiceClient" - }, - "method": { - "shortName": "GetDeviceSession", - "fullName": "google.cloud.devicestreaming.v1.DirectAccessService.GetDeviceSession", - "service": { - "shortName": "DirectAccessService", - "fullName": "google.cloud.devicestreaming.v1.DirectAccessService" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetDeviceSession", + "fullName": "google.cloud.devicestreaming.v1.DirectAccessService.GetDeviceSession", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.devicestreaming.v1.DeviceSession", + "client": { + "shortName": "DirectAccessServiceClient", + "fullName": "google.cloud.devicestreaming.v1.DirectAccessServiceClient" }, + "method": { + "shortName": "GetDeviceSession", + "fullName": "google.cloud.devicestreaming.v1.DirectAccessService.GetDeviceSession", + "service": { + "shortName": "DirectAccessService", + "fullName": "google.cloud.devicestreaming.v1.DirectAccessService" + } + } + } + }, + { + "regionTag": "devicestreaming_v1_generated_DirectAccessService_CancelDeviceSession_async", + "title": "DirectAccessService cancelDeviceSession Sample", + "origin": "API_DEFINITION", + "description": " Cancel a DeviceSession. This RPC changes the DeviceSession to state FINISHED and terminates all connections. Canceled sessions are not deleted and can be retrieved or listed by the user until they expire based on the 28 day deletion policy.", + "canonical": true, + "file": "direct_access_service.cancel_device_session.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "devicestreaming_v1_generated_DirectAccessService_CancelDeviceSession_async", - "title": "DirectAccessService cancelDeviceSession Sample", - "origin": "API_DEFINITION", - "description": " Cancel a DeviceSession. This RPC changes the DeviceSession to state FINISHED and terminates all connections. Canceled sessions are not deleted and can be retrieved or listed by the user until they expire based on the 28 day deletion policy.", - "canonical": true, - "file": "direct_access_service.cancel_device_session.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CancelDeviceSession", - "fullName": "google.cloud.devicestreaming.v1.DirectAccessService.CancelDeviceSession", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "DirectAccessServiceClient", - "fullName": "google.cloud.devicestreaming.v1.DirectAccessServiceClient" - }, - "method": { - "shortName": "CancelDeviceSession", - "fullName": "google.cloud.devicestreaming.v1.DirectAccessService.CancelDeviceSession", - "service": { - "shortName": "DirectAccessService", - "fullName": "google.cloud.devicestreaming.v1.DirectAccessService" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CancelDeviceSession", + "fullName": "google.cloud.devicestreaming.v1.DirectAccessService.CancelDeviceSession", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "DirectAccessServiceClient", + "fullName": "google.cloud.devicestreaming.v1.DirectAccessServiceClient" }, + "method": { + "shortName": "CancelDeviceSession", + "fullName": "google.cloud.devicestreaming.v1.DirectAccessService.CancelDeviceSession", + "service": { + "shortName": "DirectAccessService", + "fullName": "google.cloud.devicestreaming.v1.DirectAccessService" + } + } + } + }, + { + "regionTag": "devicestreaming_v1_generated_DirectAccessService_UpdateDeviceSession_async", + "title": "DirectAccessService updateDeviceSession Sample", + "origin": "API_DEFINITION", + "description": " Updates the current DeviceSession to the fields described by the update_mask.", + "canonical": true, + "file": "direct_access_service.update_device_session.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "devicestreaming_v1_generated_DirectAccessService_UpdateDeviceSession_async", - "title": "DirectAccessService updateDeviceSession Sample", - "origin": "API_DEFINITION", - "description": " Updates the current DeviceSession to the fields described by the update_mask.", - "canonical": true, - "file": "direct_access_service.update_device_session.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateDeviceSession", - "fullName": "google.cloud.devicestreaming.v1.DirectAccessService.UpdateDeviceSession", - "async": true, - "parameters": [ - { - "name": "device_session", - "type": ".google.cloud.devicestreaming.v1.DeviceSession" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.devicestreaming.v1.DeviceSession", - "client": { - "shortName": "DirectAccessServiceClient", - "fullName": "google.cloud.devicestreaming.v1.DirectAccessServiceClient" - }, - "method": { - "shortName": "UpdateDeviceSession", - "fullName": "google.cloud.devicestreaming.v1.DirectAccessService.UpdateDeviceSession", - "service": { - "shortName": "DirectAccessService", - "fullName": "google.cloud.devicestreaming.v1.DirectAccessService" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateDeviceSession", + "fullName": "google.cloud.devicestreaming.v1.DirectAccessService.UpdateDeviceSession", + "async": true, + "parameters": [ + { + "name": "device_session", + "type": ".google.cloud.devicestreaming.v1.DeviceSession" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.devicestreaming.v1.DeviceSession", + "client": { + "shortName": "DirectAccessServiceClient", + "fullName": "google.cloud.devicestreaming.v1.DirectAccessServiceClient" }, + "method": { + "shortName": "UpdateDeviceSession", + "fullName": "google.cloud.devicestreaming.v1.DirectAccessService.UpdateDeviceSession", + "service": { + "shortName": "DirectAccessService", + "fullName": "google.cloud.devicestreaming.v1.DirectAccessService" + } + } + } + }, + { + "regionTag": "devicestreaming_v1_generated_DirectAccessService_AdbConnect_async", + "title": "DirectAccessService adbConnect Sample", + "origin": "API_DEFINITION", + "description": " Exposes an ADB connection if the device supports ADB. gRPC headers are used to authenticate the Connect RPC, as well as associate to a particular DeviceSession. In particular, the user must specify the \"X-Omnilab-Session-Name\" header.", + "canonical": true, + "file": "direct_access_service.adb_connect.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "devicestreaming_v1_generated_DirectAccessService_AdbConnect_async", - "title": "DirectAccessService adbConnect Sample", - "origin": "API_DEFINITION", - "description": " Exposes an ADB connection if the device supports ADB. gRPC headers are used to authenticate the Connect RPC, as well as associate to a particular DeviceSession. In particular, the user must specify the \"X-Omnilab-Session-Name\" header.", - "canonical": true, - "file": "direct_access_service.adb_connect.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 60, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "AdbConnect", - "fullName": "google.cloud.devicestreaming.v1.DirectAccessService.AdbConnect", - "async": true, - "parameters": [ - { - "name": "open", - "type": ".google.cloud.devicestreaming.v1.Open" - }, - { - "name": "stream_data", - "type": ".google.cloud.devicestreaming.v1.StreamData" - } - ], - "resultType": ".google.cloud.devicestreaming.v1.DeviceMessage", - "client": { - "shortName": "DirectAccessServiceClient", - "fullName": "google.cloud.devicestreaming.v1.DirectAccessServiceClient" - }, - "method": { - "shortName": "AdbConnect", - "fullName": "google.cloud.devicestreaming.v1.DirectAccessService.AdbConnect", - "service": { - "shortName": "DirectAccessService", - "fullName": "google.cloud.devicestreaming.v1.DirectAccessService" - } - } - } + "start": 25, + "end": 60, + "type": "FULL" } - ] -} \ No newline at end of file + ], + "clientMethod": { + "shortName": "AdbConnect", + "fullName": "google.cloud.devicestreaming.v1.DirectAccessService.AdbConnect", + "async": true, + "parameters": [ + { + "name": "open", + "type": ".google.cloud.devicestreaming.v1.Open" + }, + { + "name": "stream_data", + "type": ".google.cloud.devicestreaming.v1.StreamData" + } + ], + "resultType": ".google.cloud.devicestreaming.v1.DeviceMessage", + "client": { + "shortName": "DirectAccessServiceClient", + "fullName": "google.cloud.devicestreaming.v1.DirectAccessServiceClient" + }, + "method": { + "shortName": "AdbConnect", + "fullName": "google.cloud.devicestreaming.v1.DirectAccessService.AdbConnect", + "service": { + "shortName": "DirectAccessService", + "fullName": "google.cloud.devicestreaming.v1.DirectAccessService" + } + } + } + } + ] +} diff --git a/packages/google-cloud-dialogflow-cx/.OwlBot.yaml b/packages/google-cloud-dialogflow-cx/.OwlBot.yaml index b49e1ee0d012..18004150206c 100644 --- a/packages/google-cloud-dialogflow-cx/.OwlBot.yaml +++ b/packages/google-cloud-dialogflow-cx/.OwlBot.yaml @@ -1,10 +1,10 @@ -# Copyright 2021 Google LLC +# Copyright 2025 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -12,9 +12,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -deep-remove-regex: - - /owl-bot-staging deep-copy-regex: - - source: /google/cloud/dialogflow/cx/google-cloud-dialogflow-cx-nodejs - dest: /owl-bot-staging/google-cloud-dialogflow-cx -api-name: dialogflow-cx + - source: /google/cloud/dialogflow/cx/google-cloud-dialogflow-cx-nodejs + dest: /owl-bot-staging/google-cloud-dialogflow-cx + +api-name: cx \ No newline at end of file diff --git a/packages/google-cloud-dialogflow-cx/.eslintignore b/packages/google-cloud-dialogflow-cx/.eslintignore index ea5b04aebe68..cfc348ec4d11 100644 --- a/packages/google-cloud-dialogflow-cx/.eslintignore +++ b/packages/google-cloud-dialogflow-cx/.eslintignore @@ -1,7 +1,7 @@ **/node_modules -**/coverage -test/fixtures +**/.coverage build/ docs/ protos/ +system-test/ samples/generated/ diff --git a/packages/google-cloud-dialogflow-cx/.mocharc.js b/packages/google-cloud-dialogflow-cx/.mocharc.js index eef6173ab449..24e9d15257f9 100644 --- a/packages/google-cloud-dialogflow-cx/.mocharc.js +++ b/packages/google-cloud-dialogflow-cx/.mocharc.js @@ -4,18 +4,22 @@ // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // -// http://www.apache.org/licenses/LICENSE-2.0 +// https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// ** This file is automatically generated by gapic-generator-typescript. ** +// ** https://github.com/googleapis/gapic-generator-typescript ** +// ** All changes to this file may be overwritten. ** + const config = { "enable-source-maps": true, "throw-deprecation": true, - "timeout": 10000, - "recursive": true + "timeout": 10000 } if (process.env.MOCHA_THROW_DEPRECATION === 'false') { delete config['throw-deprecation']; diff --git a/packages/google-cloud-dialogflow-cx/.nycrc b/packages/google-cloud-dialogflow-cx/.nycrc index b18d5472b62b..81a95fc94b00 100644 --- a/packages/google-cloud-dialogflow-cx/.nycrc +++ b/packages/google-cloud-dialogflow-cx/.nycrc @@ -21,4 +21,4 @@ ], "exclude-after-remap": false, "all": true -} +} \ No newline at end of file diff --git a/packages/google-cloud-dialogflow-cx/.prettierrc.js b/packages/google-cloud-dialogflow-cx/.prettierrc.js index b189724933b2..d89a632f90b0 100644 --- a/packages/google-cloud-dialogflow-cx/.prettierrc.js +++ b/packages/google-cloud-dialogflow-cx/.prettierrc.js @@ -4,13 +4,18 @@ // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // -// https://www.apache.org/licenses/LICENSE-2.0 +// https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// ** This file is automatically generated by gapic-generator-typescript. ** +// ** https://github.com/googleapis/gapic-generator-typescript ** +// ** All changes to this file may be overwritten. ** + module.exports = { ...require('gts/.prettierrc.json') diff --git a/packages/google-cloud-dialogflow-cx/CONTRIBUTING.md b/packages/google-cloud-dialogflow-cx/CONTRIBUTING.md index 6041041f28ae..a827587a49fc 100644 --- a/packages/google-cloud-dialogflow-cx/CONTRIBUTING.md +++ b/packages/google-cloud-dialogflow-cx/CONTRIBUTING.md @@ -40,8 +40,8 @@ accept your pull requests. ### Before you begin 1. [Select or create a Cloud Platform project][projects]. -1. [Enable billing for your project][billing]. -1. [Enable the Dialogflow CX API API][enable_api]. +1. [Enable billing for your project][billing]. +1. [Enable the Cx API][enable_api]. 1. [Set up authentication with a service account][auth] so you can access the API from your local workstation. diff --git a/packages/google-cloud-dialogflow-cx/README.md b/packages/google-cloud-dialogflow-cx/README.md index 6dbacbcffc74..cba34c4e1fb7 100644 --- a/packages/google-cloud-dialogflow-cx/README.md +++ b/packages/google-cloud-dialogflow-cx/README.md @@ -1,24 +1,25 @@ [//]: # "This README.md file is auto-generated, all changes to this file will be lost." -[//]: # "To regenerate it, use `python -m synthtool`." +[//]: # "The comments you see below are used to generate those parts of the template in later states." Google Cloud Platform logo -# [Dialogflow CX API: Node.js Client](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-dialogflow-cx) - -[![release level](https://img.shields.io/badge/release%20level-stable-brightgreen.svg?style=flat)](https://cloud.google.com/terms/launch-stages) -[![npm version](https://img.shields.io/npm/v/@google-cloud/dialogflow-cx.svg)](https://www.npmjs.org/package/@google-cloud/dialogflow-cx) - +# [Dialogflow API: Nodejs Client][homepage] +This library is considered to be **stable**. The code surface will not change in backwards-incompatible ways +unless absolutely necessary (e.g. because of critical security issues) or with +an extensive deprecation period. Issues and requests against **stable** libraries +are addressed with the highest priority +[![npm version](https://img.shields.io/npm/v/@google-cloud/dialogflow-cx.svg)](https://www.npmjs.org/package/@google-cloud/dialogflow-cx) -Cx client for Node.js +Dialogflow API client for Node.js +[//]: # "partials.introduction" A comprehensive list of changes in each version may be found in -[the CHANGELOG](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-dialogflow-cx/CHANGELOG.md). +[the CHANGELOG][homepage_changelog]. + +* [Dialogflow API Nodejs Client API Reference](https://cloud.google.com/nodejs/docs/reference/cx/latest) -* [Dialogflow CX API Node.js Client API Reference][client-docs] -* [Dialogflow CX API Documentation][product-docs] -* [github.com/googleapis/google-cloud-node/packages/google-cloud-dialogflow-cx](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-dialogflow-cx) Read more about the client libraries for Cloud APIs, including the older Google APIs Client Libraries, in [Client Libraries Explained][explained]. @@ -27,371 +28,287 @@ Google APIs Client Libraries, in [Client Libraries Explained][explained]. **Table of contents:** - * [Quickstart](#quickstart) * [Before you begin](#before-you-begin) * [Installing the client library](#installing-the-client-library) - * [Using the client library](#using-the-client-library) -* [Samples](#samples) + * [Versioning](#versioning) * [Contributing](#contributing) * [License](#license) ## Quickstart - ### Before you begin 1. [Select or create a Cloud Platform project][projects]. 1. [Enable billing for your project][billing]. -1. [Enable the Dialogflow CX API API][enable_api]. +1. [Enable the Dialogflow API API][enable_api]. 1. [Set up authentication][auth] so you can access the API from your local workstation. - ### Installing the client library ```bash npm install @google-cloud/dialogflow-cx ``` - -### Using the client library - -```javascript -/** - * TODO(developer): Uncomment these variables before running the sample. - */ -// const projectId = 'my-project'; -// const location = 'global'; -// const agentId = 'my-agent'; -// const audioFileName = '/path/to/audio.raw'; -// const encoding = 'AUDIO_ENCODING_LINEAR_16'; -// const sampleRateHertz = 16000; -// const languageCode = 'en' - -// Imports the Google Cloud Some API library -const {SessionsClient} = require('@google-cloud/dialogflow-cx'); -/** - * Example for regional endpoint: - * const location = 'us-central1' - * const client = new SessionsClient({apiEndpoint: 'us-central1-dialogflow.googleapis.com'}) - */ -const client = new SessionsClient(); - -const fs = require('fs'); -const util = require('util'); -// Assumes uuid module has been installed from npm, -// npm i uuid: -const {v4} = require('uuid'); - -async function detectIntentAudio() { - const sessionId = v4(); - const sessionPath = client.projectLocationAgentSessionPath( - projectId, - location, - agentId, - sessionId - ); - - // Read the content of the audio file and send it as part of the request. - const readFile = util.promisify(fs.readFile); - const inputAudio = await readFile(audioFileName); - - const request = { - session: sessionPath, - queryInput: { - audio: { - config: { - audioEncoding: encoding, - sampleRateHertz: sampleRateHertz, - }, - audio: inputAudio, - }, - languageCode, - }, - }; - const [response] = await client.detectIntent(request); - console.log(`User Query: ${response.queryResult.transcript}`); - for (const message of response.queryResult.responseMessages) { - if (message.text) { - console.log(`Agent Response: ${message.text.text}`); - } - } - if (response.queryResult.match.intent) { - console.log( - `Matched Intent: ${response.queryResult.match.intent.displayName}` - ); - } - console.log( - `Current Page: ${response.queryResult.currentPage.displayName}` - ); -} - -detectIntentAudio(); - -``` - - +[//]: # "partials.body" ## Samples -Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-dialogflow-cx/samples) directory. Each sample's `README.md` has instructions for running its sample. - -| Sample | Source Code | Try it | -| --------------------------- | --------------------------------- | ------ | -| Agents.create_agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/agents.create_agent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/agents.create_agent.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Agents.delete_agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/agents.delete_agent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/agents.delete_agent.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Agents.export_agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/agents.export_agent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/agents.export_agent.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Agents.get_agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/agents.get_agent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/agents.get_agent.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Agents.get_agent_validation_result | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/agents.get_agent_validation_result.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/agents.get_agent_validation_result.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Agents.get_generative_settings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/agents.get_generative_settings.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/agents.get_generative_settings.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Agents.list_agents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/agents.list_agents.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/agents.list_agents.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Agents.restore_agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/agents.restore_agent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/agents.restore_agent.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Agents.update_agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/agents.update_agent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/agents.update_agent.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Agents.update_generative_settings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/agents.update_generative_settings.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/agents.update_generative_settings.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Agents.validate_agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/agents.validate_agent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/agents.validate_agent.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Changelogs.get_changelog | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/changelogs.get_changelog.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/changelogs.get_changelog.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Changelogs.list_changelogs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/changelogs.list_changelogs.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/changelogs.list_changelogs.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Deployments.get_deployment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/deployments.get_deployment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/deployments.get_deployment.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Deployments.list_deployments | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/deployments.list_deployments.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/deployments.list_deployments.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Entity_types.create_entity_type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/entity_types.create_entity_type.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/entity_types.create_entity_type.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Entity_types.delete_entity_type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/entity_types.delete_entity_type.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/entity_types.delete_entity_type.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Entity_types.export_entity_types | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/entity_types.export_entity_types.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/entity_types.export_entity_types.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Entity_types.get_entity_type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/entity_types.get_entity_type.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/entity_types.get_entity_type.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Entity_types.import_entity_types | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/entity_types.import_entity_types.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/entity_types.import_entity_types.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Entity_types.list_entity_types | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/entity_types.list_entity_types.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/entity_types.list_entity_types.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Entity_types.update_entity_type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/entity_types.update_entity_type.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/entity_types.update_entity_type.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Environments.create_environment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/environments.create_environment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/environments.create_environment.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Environments.delete_environment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/environments.delete_environment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/environments.delete_environment.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Environments.deploy_flow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/environments.deploy_flow.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/environments.deploy_flow.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Environments.get_environment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/environments.get_environment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/environments.get_environment.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Environments.list_continuous_test_results | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/environments.list_continuous_test_results.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/environments.list_continuous_test_results.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Environments.list_environments | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/environments.list_environments.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/environments.list_environments.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Environments.lookup_environment_history | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/environments.lookup_environment_history.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/environments.lookup_environment_history.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Environments.run_continuous_test | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/environments.run_continuous_test.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/environments.run_continuous_test.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Environments.update_environment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/environments.update_environment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/environments.update_environment.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Experiments.create_experiment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/experiments.create_experiment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/experiments.create_experiment.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Experiments.delete_experiment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/experiments.delete_experiment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/experiments.delete_experiment.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Experiments.get_experiment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/experiments.get_experiment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/experiments.get_experiment.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Experiments.list_experiments | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/experiments.list_experiments.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/experiments.list_experiments.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Experiments.start_experiment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/experiments.start_experiment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/experiments.start_experiment.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Experiments.stop_experiment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/experiments.stop_experiment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/experiments.stop_experiment.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Experiments.update_experiment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/experiments.update_experiment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/experiments.update_experiment.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Flows.create_flow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/flows.create_flow.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/flows.create_flow.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Flows.delete_flow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/flows.delete_flow.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/flows.delete_flow.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Flows.export_flow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/flows.export_flow.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/flows.export_flow.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Flows.get_flow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/flows.get_flow.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/flows.get_flow.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Flows.get_flow_validation_result | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/flows.get_flow_validation_result.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/flows.get_flow_validation_result.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Flows.import_flow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/flows.import_flow.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/flows.import_flow.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Flows.list_flows | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/flows.list_flows.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/flows.list_flows.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Flows.train_flow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/flows.train_flow.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/flows.train_flow.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Flows.update_flow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/flows.update_flow.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/flows.update_flow.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Flows.validate_flow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/flows.validate_flow.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/flows.validate_flow.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Generators.create_generator | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/generators.create_generator.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/generators.create_generator.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Generators.delete_generator | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/generators.delete_generator.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/generators.delete_generator.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Generators.get_generator | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/generators.get_generator.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/generators.get_generator.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Generators.list_generators | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/generators.list_generators.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/generators.list_generators.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Generators.update_generator | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/generators.update_generator.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/generators.update_generator.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Intents.create_intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/intents.create_intent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/intents.create_intent.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Intents.delete_intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/intents.delete_intent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/intents.delete_intent.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Intents.export_intents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/intents.export_intents.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/intents.export_intents.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Intents.get_intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/intents.get_intent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/intents.get_intent.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Intents.import_intents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/intents.import_intents.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/intents.import_intents.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Intents.list_intents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/intents.list_intents.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/intents.list_intents.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Intents.update_intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/intents.update_intent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/intents.update_intent.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Pages.create_page | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/pages.create_page.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/pages.create_page.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Pages.delete_page | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/pages.delete_page.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/pages.delete_page.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Pages.get_page | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/pages.get_page.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/pages.get_page.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Pages.list_pages | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/pages.list_pages.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/pages.list_pages.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Pages.update_page | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/pages.update_page.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/pages.update_page.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Security_settings_service.create_security_settings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/security_settings_service.create_security_settings.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/security_settings_service.create_security_settings.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Security_settings_service.delete_security_settings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/security_settings_service.delete_security_settings.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/security_settings_service.delete_security_settings.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Security_settings_service.get_security_settings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/security_settings_service.get_security_settings.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/security_settings_service.get_security_settings.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Security_settings_service.list_security_settings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/security_settings_service.list_security_settings.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/security_settings_service.list_security_settings.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Security_settings_service.update_security_settings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/security_settings_service.update_security_settings.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/security_settings_service.update_security_settings.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Session_entity_types.create_session_entity_type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/session_entity_types.create_session_entity_type.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/session_entity_types.create_session_entity_type.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Session_entity_types.delete_session_entity_type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/session_entity_types.delete_session_entity_type.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/session_entity_types.delete_session_entity_type.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Session_entity_types.get_session_entity_type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/session_entity_types.get_session_entity_type.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/session_entity_types.get_session_entity_type.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Session_entity_types.list_session_entity_types | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/session_entity_types.list_session_entity_types.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/session_entity_types.list_session_entity_types.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Session_entity_types.update_session_entity_type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/session_entity_types.update_session_entity_type.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/session_entity_types.update_session_entity_type.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Sessions.detect_intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/sessions.detect_intent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/sessions.detect_intent.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Sessions.fulfill_intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/sessions.fulfill_intent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/sessions.fulfill_intent.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Sessions.match_intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/sessions.match_intent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/sessions.match_intent.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Sessions.server_streaming_detect_intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/sessions.server_streaming_detect_intent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/sessions.server_streaming_detect_intent.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Sessions.streaming_detect_intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/sessions.streaming_detect_intent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/sessions.streaming_detect_intent.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Sessions.submit_answer_feedback | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/sessions.submit_answer_feedback.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/sessions.submit_answer_feedback.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Test_cases.batch_delete_test_cases | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/test_cases.batch_delete_test_cases.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/test_cases.batch_delete_test_cases.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Test_cases.batch_run_test_cases | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/test_cases.batch_run_test_cases.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/test_cases.batch_run_test_cases.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Test_cases.calculate_coverage | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/test_cases.calculate_coverage.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/test_cases.calculate_coverage.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Test_cases.create_test_case | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/test_cases.create_test_case.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/test_cases.create_test_case.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Test_cases.export_test_cases | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/test_cases.export_test_cases.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/test_cases.export_test_cases.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Test_cases.get_test_case | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/test_cases.get_test_case.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/test_cases.get_test_case.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Test_cases.get_test_case_result | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/test_cases.get_test_case_result.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/test_cases.get_test_case_result.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Test_cases.import_test_cases | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/test_cases.import_test_cases.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/test_cases.import_test_cases.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Test_cases.list_test_case_results | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/test_cases.list_test_case_results.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/test_cases.list_test_case_results.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Test_cases.list_test_cases | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/test_cases.list_test_cases.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/test_cases.list_test_cases.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Test_cases.run_test_case | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/test_cases.run_test_case.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/test_cases.run_test_case.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Test_cases.update_test_case | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/test_cases.update_test_case.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/test_cases.update_test_case.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Transition_route_groups.create_transition_route_group | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/transition_route_groups.create_transition_route_group.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/transition_route_groups.create_transition_route_group.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Transition_route_groups.delete_transition_route_group | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/transition_route_groups.delete_transition_route_group.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/transition_route_groups.delete_transition_route_group.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Transition_route_groups.get_transition_route_group | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/transition_route_groups.get_transition_route_group.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/transition_route_groups.get_transition_route_group.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Transition_route_groups.list_transition_route_groups | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/transition_route_groups.list_transition_route_groups.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/transition_route_groups.list_transition_route_groups.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Transition_route_groups.update_transition_route_group | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/transition_route_groups.update_transition_route_group.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/transition_route_groups.update_transition_route_group.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Versions.compare_versions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/versions.compare_versions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/versions.compare_versions.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Versions.create_version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/versions.create_version.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/versions.create_version.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Versions.delete_version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/versions.delete_version.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/versions.delete_version.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Versions.get_version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/versions.get_version.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/versions.get_version.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Versions.list_versions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/versions.list_versions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/versions.list_versions.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Versions.load_version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/versions.load_version.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/versions.load_version.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Versions.update_version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/versions.update_version.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/versions.update_version.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Webhooks.create_webhook | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/webhooks.create_webhook.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/webhooks.create_webhook.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Webhooks.delete_webhook | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/webhooks.delete_webhook.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/webhooks.delete_webhook.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Webhooks.get_webhook | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/webhooks.get_webhook.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/webhooks.get_webhook.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Webhooks.list_webhooks | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/webhooks.list_webhooks.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/webhooks.list_webhooks.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Webhooks.update_webhook | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/webhooks.update_webhook.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3/webhooks.update_webhook.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Agents.create_agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/agents.create_agent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/agents.create_agent.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Agents.delete_agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/agents.delete_agent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/agents.delete_agent.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Agents.export_agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/agents.export_agent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/agents.export_agent.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Agents.get_agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/agents.get_agent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/agents.get_agent.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Agents.get_agent_validation_result | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/agents.get_agent_validation_result.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/agents.get_agent_validation_result.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Agents.get_generative_settings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/agents.get_generative_settings.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/agents.get_generative_settings.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Agents.list_agents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/agents.list_agents.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/agents.list_agents.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Agents.restore_agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/agents.restore_agent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/agents.restore_agent.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Agents.update_agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/agents.update_agent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/agents.update_agent.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Agents.update_generative_settings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/agents.update_generative_settings.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/agents.update_generative_settings.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Agents.validate_agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/agents.validate_agent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/agents.validate_agent.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Changelogs.get_changelog | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/changelogs.get_changelog.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/changelogs.get_changelog.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Changelogs.list_changelogs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/changelogs.list_changelogs.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/changelogs.list_changelogs.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Conversation_history.delete_conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/conversation_history.delete_conversation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/conversation_history.delete_conversation.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Conversation_history.get_conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/conversation_history.get_conversation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/conversation_history.get_conversation.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Conversation_history.list_conversations | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/conversation_history.list_conversations.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/conversation_history.list_conversations.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Deployments.get_deployment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/deployments.get_deployment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/deployments.get_deployment.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Deployments.list_deployments | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/deployments.list_deployments.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/deployments.list_deployments.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Entity_types.create_entity_type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/entity_types.create_entity_type.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/entity_types.create_entity_type.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Entity_types.delete_entity_type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/entity_types.delete_entity_type.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/entity_types.delete_entity_type.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Entity_types.export_entity_types | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/entity_types.export_entity_types.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/entity_types.export_entity_types.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Entity_types.get_entity_type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/entity_types.get_entity_type.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/entity_types.get_entity_type.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Entity_types.import_entity_types | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/entity_types.import_entity_types.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/entity_types.import_entity_types.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Entity_types.list_entity_types | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/entity_types.list_entity_types.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/entity_types.list_entity_types.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Entity_types.update_entity_type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/entity_types.update_entity_type.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/entity_types.update_entity_type.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Environments.create_environment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/environments.create_environment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/environments.create_environment.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Environments.delete_environment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/environments.delete_environment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/environments.delete_environment.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Environments.deploy_flow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/environments.deploy_flow.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/environments.deploy_flow.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Environments.get_environment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/environments.get_environment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/environments.get_environment.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Environments.list_continuous_test_results | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/environments.list_continuous_test_results.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/environments.list_continuous_test_results.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Environments.list_environments | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/environments.list_environments.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/environments.list_environments.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Environments.lookup_environment_history | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/environments.lookup_environment_history.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/environments.lookup_environment_history.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Environments.run_continuous_test | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/environments.run_continuous_test.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/environments.run_continuous_test.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Environments.update_environment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/environments.update_environment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/environments.update_environment.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Examples.create_example | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/examples.create_example.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/examples.create_example.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Examples.delete_example | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/examples.delete_example.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/examples.delete_example.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Examples.get_example | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/examples.get_example.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/examples.get_example.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Examples.list_examples | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/examples.list_examples.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/examples.list_examples.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Examples.update_example | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/examples.update_example.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/examples.update_example.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Experiments.create_experiment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/experiments.create_experiment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/experiments.create_experiment.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Experiments.delete_experiment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/experiments.delete_experiment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/experiments.delete_experiment.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Experiments.get_experiment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/experiments.get_experiment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/experiments.get_experiment.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Experiments.list_experiments | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/experiments.list_experiments.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/experiments.list_experiments.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Experiments.start_experiment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/experiments.start_experiment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/experiments.start_experiment.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Experiments.stop_experiment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/experiments.stop_experiment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/experiments.stop_experiment.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Experiments.update_experiment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/experiments.update_experiment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/experiments.update_experiment.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Flows.create_flow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/flows.create_flow.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/flows.create_flow.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Flows.delete_flow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/flows.delete_flow.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/flows.delete_flow.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Flows.export_flow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/flows.export_flow.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/flows.export_flow.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Flows.get_flow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/flows.get_flow.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/flows.get_flow.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Flows.get_flow_validation_result | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/flows.get_flow_validation_result.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/flows.get_flow_validation_result.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Flows.import_flow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/flows.import_flow.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/flows.import_flow.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Flows.list_flows | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/flows.list_flows.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/flows.list_flows.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Flows.train_flow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/flows.train_flow.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/flows.train_flow.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Flows.update_flow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/flows.update_flow.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/flows.update_flow.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Flows.validate_flow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/flows.validate_flow.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/flows.validate_flow.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Generators.create_generator | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/generators.create_generator.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/generators.create_generator.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Generators.delete_generator | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/generators.delete_generator.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/generators.delete_generator.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Generators.get_generator | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/generators.get_generator.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/generators.get_generator.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Generators.list_generators | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/generators.list_generators.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/generators.list_generators.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Generators.update_generator | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/generators.update_generator.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/generators.update_generator.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Intents.create_intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/intents.create_intent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/intents.create_intent.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Intents.delete_intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/intents.delete_intent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/intents.delete_intent.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Intents.export_intents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/intents.export_intents.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/intents.export_intents.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Intents.get_intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/intents.get_intent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/intents.get_intent.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Intents.import_intents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/intents.import_intents.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/intents.import_intents.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Intents.list_intents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/intents.list_intents.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/intents.list_intents.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Intents.update_intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/intents.update_intent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/intents.update_intent.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Pages.create_page | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/pages.create_page.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/pages.create_page.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Pages.delete_page | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/pages.delete_page.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/pages.delete_page.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Pages.get_page | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/pages.get_page.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/pages.get_page.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Pages.list_pages | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/pages.list_pages.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/pages.list_pages.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Pages.update_page | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/pages.update_page.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/pages.update_page.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Playbooks.create_playbook | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/playbooks.create_playbook.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/playbooks.create_playbook.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Playbooks.create_playbook_version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/playbooks.create_playbook_version.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/playbooks.create_playbook_version.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Playbooks.delete_playbook | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/playbooks.delete_playbook.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/playbooks.delete_playbook.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Playbooks.delete_playbook_version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/playbooks.delete_playbook_version.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/playbooks.delete_playbook_version.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Playbooks.get_playbook | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/playbooks.get_playbook.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/playbooks.get_playbook.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Playbooks.get_playbook_version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/playbooks.get_playbook_version.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/playbooks.get_playbook_version.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Playbooks.list_playbook_versions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/playbooks.list_playbook_versions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/playbooks.list_playbook_versions.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Playbooks.list_playbooks | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/playbooks.list_playbooks.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/playbooks.list_playbooks.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Playbooks.update_playbook | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/playbooks.update_playbook.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/playbooks.update_playbook.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Security_settings_service.create_security_settings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/security_settings_service.create_security_settings.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/security_settings_service.create_security_settings.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Security_settings_service.delete_security_settings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/security_settings_service.delete_security_settings.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/security_settings_service.delete_security_settings.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Security_settings_service.get_security_settings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/security_settings_service.get_security_settings.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/security_settings_service.get_security_settings.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Security_settings_service.list_security_settings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/security_settings_service.list_security_settings.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/security_settings_service.list_security_settings.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Security_settings_service.update_security_settings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/security_settings_service.update_security_settings.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/security_settings_service.update_security_settings.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Session_entity_types.create_session_entity_type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/session_entity_types.create_session_entity_type.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/session_entity_types.create_session_entity_type.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Session_entity_types.delete_session_entity_type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/session_entity_types.delete_session_entity_type.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/session_entity_types.delete_session_entity_type.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Session_entity_types.get_session_entity_type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/session_entity_types.get_session_entity_type.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/session_entity_types.get_session_entity_type.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Session_entity_types.list_session_entity_types | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/session_entity_types.list_session_entity_types.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/session_entity_types.list_session_entity_types.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Session_entity_types.update_session_entity_type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/session_entity_types.update_session_entity_type.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/session_entity_types.update_session_entity_type.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Sessions.detect_intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/sessions.detect_intent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/sessions.detect_intent.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Sessions.fulfill_intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/sessions.fulfill_intent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/sessions.fulfill_intent.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Sessions.match_intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/sessions.match_intent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/sessions.match_intent.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Sessions.server_streaming_detect_intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/sessions.server_streaming_detect_intent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/sessions.server_streaming_detect_intent.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Sessions.streaming_detect_intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/sessions.streaming_detect_intent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/sessions.streaming_detect_intent.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Sessions.submit_answer_feedback | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/sessions.submit_answer_feedback.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/sessions.submit_answer_feedback.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Test_cases.batch_delete_test_cases | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/test_cases.batch_delete_test_cases.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/test_cases.batch_delete_test_cases.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Test_cases.batch_run_test_cases | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/test_cases.batch_run_test_cases.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/test_cases.batch_run_test_cases.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Test_cases.calculate_coverage | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/test_cases.calculate_coverage.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/test_cases.calculate_coverage.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Test_cases.create_test_case | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/test_cases.create_test_case.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/test_cases.create_test_case.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Test_cases.export_test_cases | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/test_cases.export_test_cases.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/test_cases.export_test_cases.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Test_cases.get_test_case | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/test_cases.get_test_case.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/test_cases.get_test_case.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Test_cases.get_test_case_result | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/test_cases.get_test_case_result.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/test_cases.get_test_case_result.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Test_cases.import_test_cases | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/test_cases.import_test_cases.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/test_cases.import_test_cases.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Test_cases.list_test_case_results | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/test_cases.list_test_case_results.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/test_cases.list_test_case_results.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Test_cases.list_test_cases | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/test_cases.list_test_cases.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/test_cases.list_test_cases.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Test_cases.run_test_case | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/test_cases.run_test_case.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/test_cases.run_test_case.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Test_cases.update_test_case | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/test_cases.update_test_case.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/test_cases.update_test_case.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Tools.create_tool | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/tools.create_tool.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/tools.create_tool.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Tools.create_tool_version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/tools.create_tool_version.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/tools.create_tool_version.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Tools.delete_tool | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/tools.delete_tool.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/tools.delete_tool.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Tools.delete_tool_version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/tools.delete_tool_version.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/tools.delete_tool_version.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Tools.export_tools | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/tools.export_tools.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/tools.export_tools.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Tools.get_tool | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/tools.get_tool.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/tools.get_tool.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Tools.get_tool_version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/tools.get_tool_version.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/tools.get_tool_version.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Tools.list_tool_versions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/tools.list_tool_versions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/tools.list_tool_versions.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Tools.list_tools | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/tools.list_tools.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/tools.list_tools.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Tools.restore_tool_version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/tools.restore_tool_version.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/tools.restore_tool_version.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Tools.update_tool | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/tools.update_tool.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/tools.update_tool.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Transition_route_groups.create_transition_route_group | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/transition_route_groups.create_transition_route_group.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/transition_route_groups.create_transition_route_group.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Transition_route_groups.delete_transition_route_group | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/transition_route_groups.delete_transition_route_group.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/transition_route_groups.delete_transition_route_group.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Transition_route_groups.get_transition_route_group | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/transition_route_groups.get_transition_route_group.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/transition_route_groups.get_transition_route_group.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Transition_route_groups.list_transition_route_groups | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/transition_route_groups.list_transition_route_groups.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/transition_route_groups.list_transition_route_groups.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Transition_route_groups.update_transition_route_group | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/transition_route_groups.update_transition_route_group.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/transition_route_groups.update_transition_route_group.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Versions.compare_versions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/versions.compare_versions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/versions.compare_versions.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Versions.create_version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/versions.create_version.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/versions.create_version.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Versions.delete_version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/versions.delete_version.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/versions.delete_version.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Versions.get_version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/versions.get_version.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/versions.get_version.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Versions.list_versions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/versions.list_versions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/versions.list_versions.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Versions.load_version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/versions.load_version.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/versions.load_version.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Versions.update_version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/versions.update_version.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/versions.update_version.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Webhooks.create_webhook | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/webhooks.create_webhook.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/webhooks.create_webhook.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Webhooks.delete_webhook | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/webhooks.delete_webhook.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/webhooks.delete_webhook.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Webhooks.get_webhook | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/webhooks.get_webhook.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/webhooks.get_webhook.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Webhooks.list_webhooks | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/webhooks.list_webhooks.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/webhooks.list_webhooks.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Webhooks.update_webhook | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/webhooks.update_webhook.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/webhooks.update_webhook.js,packages/google-cloud-dialogflow-cx/samples/README.md) | -| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow-cx/samples/quickstart.js,packages/google-cloud-dialogflow-cx/samples/README.md) | - - - -The [Dialogflow CX API Node.js Client API Reference][client-docs] documentation -also contains samples. +Samples are in the [`samples/`][homepage_samples] directory. Each sample's `README.md` has instructions for running its sample. + +| Sample | Source Code | +| --------------------------- | --------------------------------- | +| create agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/agents.create_agent.js) | +| delete agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/agents.delete_agent.js) | +| export agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/agents.export_agent.js) | +| get agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/agents.get_agent.js) | +| get agent validation result | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/agents.get_agent_validation_result.js) | +| get generative settings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/agents.get_generative_settings.js) | +| list agents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/agents.list_agents.js) | +| restore agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/agents.restore_agent.js) | +| update agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/agents.update_agent.js) | +| update generative settings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/agents.update_generative_settings.js) | +| validate agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/agents.validate_agent.js) | +| get changelog | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/changelogs.get_changelog.js) | +| list changelogs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/changelogs.list_changelogs.js) | +| get deployment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/deployments.get_deployment.js) | +| list deployments | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/deployments.list_deployments.js) | +| create entity type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/entity_types.create_entity_type.js) | +| delete entity type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/entity_types.delete_entity_type.js) | +| export entity types | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/entity_types.export_entity_types.js) | +| get entity type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/entity_types.get_entity_type.js) | +| import entity types | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/entity_types.import_entity_types.js) | +| list entity types | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/entity_types.list_entity_types.js) | +| update entity type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/entity_types.update_entity_type.js) | +| create environment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/environments.create_environment.js) | +| delete environment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/environments.delete_environment.js) | +| deploy flow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/environments.deploy_flow.js) | +| get environment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/environments.get_environment.js) | +| list continuous test results | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/environments.list_continuous_test_results.js) | +| list environments | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/environments.list_environments.js) | +| lookup environment history | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/environments.lookup_environment_history.js) | +| run continuous test | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/environments.run_continuous_test.js) | +| update environment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/environments.update_environment.js) | +| create experiment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/experiments.create_experiment.js) | +| delete experiment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/experiments.delete_experiment.js) | +| get experiment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/experiments.get_experiment.js) | +| list experiments | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/experiments.list_experiments.js) | +| start experiment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/experiments.start_experiment.js) | +| stop experiment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/experiments.stop_experiment.js) | +| update experiment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/experiments.update_experiment.js) | +| create flow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/flows.create_flow.js) | +| delete flow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/flows.delete_flow.js) | +| export flow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/flows.export_flow.js) | +| get flow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/flows.get_flow.js) | +| get flow validation result | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/flows.get_flow_validation_result.js) | +| import flow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/flows.import_flow.js) | +| list flows | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/flows.list_flows.js) | +| train flow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/flows.train_flow.js) | +| update flow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/flows.update_flow.js) | +| validate flow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/flows.validate_flow.js) | +| create generator | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/generators.create_generator.js) | +| delete generator | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/generators.delete_generator.js) | +| get generator | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/generators.get_generator.js) | +| list generators | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/generators.list_generators.js) | +| update generator | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/generators.update_generator.js) | +| create intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/intents.create_intent.js) | +| delete intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/intents.delete_intent.js) | +| export intents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/intents.export_intents.js) | +| get intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/intents.get_intent.js) | +| import intents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/intents.import_intents.js) | +| list intents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/intents.list_intents.js) | +| update intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/intents.update_intent.js) | +| create page | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/pages.create_page.js) | +| delete page | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/pages.delete_page.js) | +| get page | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/pages.get_page.js) | +| list pages | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/pages.list_pages.js) | +| update page | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/pages.update_page.js) | +| create security settings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/security_settings_service.create_security_settings.js) | +| delete security settings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/security_settings_service.delete_security_settings.js) | +| get security settings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/security_settings_service.get_security_settings.js) | +| list security settings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/security_settings_service.list_security_settings.js) | +| update security settings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/security_settings_service.update_security_settings.js) | +| create session entity type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/session_entity_types.create_session_entity_type.js) | +| delete session entity type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/session_entity_types.delete_session_entity_type.js) | +| get session entity type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/session_entity_types.get_session_entity_type.js) | +| list session entity types | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/session_entity_types.list_session_entity_types.js) | +| update session entity type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/session_entity_types.update_session_entity_type.js) | +| detect intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/sessions.detect_intent.js) | +| fulfill intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/sessions.fulfill_intent.js) | +| match intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/sessions.match_intent.js) | +| server streaming detect intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/sessions.server_streaming_detect_intent.js) | +| streaming detect intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/sessions.streaming_detect_intent.js) | +| submit answer feedback | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/sessions.submit_answer_feedback.js) | +| cloud | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/snippet_metadata_google.cloud.dialogflow.cx.v3.json) | +| batch delete test cases | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/test_cases.batch_delete_test_cases.js) | +| batch run test cases | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/test_cases.batch_run_test_cases.js) | +| calculate coverage | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/test_cases.calculate_coverage.js) | +| create test case | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/test_cases.create_test_case.js) | +| export test cases | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/test_cases.export_test_cases.js) | +| get test case | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/test_cases.get_test_case.js) | +| get test case result | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/test_cases.get_test_case_result.js) | +| import test cases | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/test_cases.import_test_cases.js) | +| list test case results | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/test_cases.list_test_case_results.js) | +| list test cases | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/test_cases.list_test_cases.js) | +| run test case | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/test_cases.run_test_case.js) | +| update test case | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/test_cases.update_test_case.js) | +| create transition route group | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/transition_route_groups.create_transition_route_group.js) | +| delete transition route group | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/transition_route_groups.delete_transition_route_group.js) | +| get transition route group | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/transition_route_groups.get_transition_route_group.js) | +| list transition route groups | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/transition_route_groups.list_transition_route_groups.js) | +| update transition route group | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/transition_route_groups.update_transition_route_group.js) | +| compare versions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/versions.compare_versions.js) | +| create version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/versions.create_version.js) | +| delete version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/versions.delete_version.js) | +| get version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/versions.get_version.js) | +| list versions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/versions.list_versions.js) | +| load version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/versions.load_version.js) | +| update version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/versions.update_version.js) | +| create webhook | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/webhooks.create_webhook.js) | +| delete webhook | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/webhooks.delete_webhook.js) | +| get webhook | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/webhooks.get_webhook.js) | +| list webhooks | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/webhooks.list_webhooks.js) | +| update webhook | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3/webhooks.update_webhook.js) | +| create agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/agents.create_agent.js) | +| delete agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/agents.delete_agent.js) | +| export agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/agents.export_agent.js) | +| get agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/agents.get_agent.js) | +| get agent validation result | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/agents.get_agent_validation_result.js) | +| get generative settings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/agents.get_generative_settings.js) | +| list agents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/agents.list_agents.js) | +| restore agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/agents.restore_agent.js) | +| update agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/agents.update_agent.js) | +| update generative settings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/agents.update_generative_settings.js) | +| validate agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/agents.validate_agent.js) | +| get changelog | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/changelogs.get_changelog.js) | +| list changelogs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/changelogs.list_changelogs.js) | +| delete conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/conversation_history.delete_conversation.js) | +| get conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/conversation_history.get_conversation.js) | +| list conversations | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/conversation_history.list_conversations.js) | +| get deployment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/deployments.get_deployment.js) | +| list deployments | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/deployments.list_deployments.js) | +| create entity type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/entity_types.create_entity_type.js) | +| delete entity type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/entity_types.delete_entity_type.js) | +| export entity types | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/entity_types.export_entity_types.js) | +| get entity type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/entity_types.get_entity_type.js) | +| import entity types | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/entity_types.import_entity_types.js) | +| list entity types | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/entity_types.list_entity_types.js) | +| update entity type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/entity_types.update_entity_type.js) | +| create environment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/environments.create_environment.js) | +| delete environment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/environments.delete_environment.js) | +| deploy flow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/environments.deploy_flow.js) | +| get environment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/environments.get_environment.js) | +| list continuous test results | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/environments.list_continuous_test_results.js) | +| list environments | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/environments.list_environments.js) | +| lookup environment history | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/environments.lookup_environment_history.js) | +| run continuous test | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/environments.run_continuous_test.js) | +| update environment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/environments.update_environment.js) | +| create example | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/examples.create_example.js) | +| delete example | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/examples.delete_example.js) | +| get example | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/examples.get_example.js) | +| list examples | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/examples.list_examples.js) | +| update example | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/examples.update_example.js) | +| create experiment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/experiments.create_experiment.js) | +| delete experiment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/experiments.delete_experiment.js) | +| get experiment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/experiments.get_experiment.js) | +| list experiments | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/experiments.list_experiments.js) | +| start experiment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/experiments.start_experiment.js) | +| stop experiment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/experiments.stop_experiment.js) | +| update experiment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/experiments.update_experiment.js) | +| create flow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/flows.create_flow.js) | +| delete flow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/flows.delete_flow.js) | +| export flow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/flows.export_flow.js) | +| get flow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/flows.get_flow.js) | +| get flow validation result | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/flows.get_flow_validation_result.js) | +| import flow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/flows.import_flow.js) | +| list flows | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/flows.list_flows.js) | +| train flow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/flows.train_flow.js) | +| update flow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/flows.update_flow.js) | +| validate flow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/flows.validate_flow.js) | +| create generator | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/generators.create_generator.js) | +| delete generator | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/generators.delete_generator.js) | +| get generator | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/generators.get_generator.js) | +| list generators | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/generators.list_generators.js) | +| update generator | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/generators.update_generator.js) | +| create intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/intents.create_intent.js) | +| delete intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/intents.delete_intent.js) | +| export intents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/intents.export_intents.js) | +| get intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/intents.get_intent.js) | +| import intents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/intents.import_intents.js) | +| list intents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/intents.list_intents.js) | +| update intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/intents.update_intent.js) | +| create page | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/pages.create_page.js) | +| delete page | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/pages.delete_page.js) | +| get page | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/pages.get_page.js) | +| list pages | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/pages.list_pages.js) | +| update page | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/pages.update_page.js) | +| create playbook | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/playbooks.create_playbook.js) | +| create playbook version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/playbooks.create_playbook_version.js) | +| delete playbook | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/playbooks.delete_playbook.js) | +| delete playbook version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/playbooks.delete_playbook_version.js) | +| get playbook | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/playbooks.get_playbook.js) | +| get playbook version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/playbooks.get_playbook_version.js) | +| list playbook versions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/playbooks.list_playbook_versions.js) | +| list playbooks | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/playbooks.list_playbooks.js) | +| update playbook | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/playbooks.update_playbook.js) | +| create security settings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/security_settings_service.create_security_settings.js) | +| delete security settings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/security_settings_service.delete_security_settings.js) | +| get security settings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/security_settings_service.get_security_settings.js) | +| list security settings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/security_settings_service.list_security_settings.js) | +| update security settings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/security_settings_service.update_security_settings.js) | +| create session entity type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/session_entity_types.create_session_entity_type.js) | +| delete session entity type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/session_entity_types.delete_session_entity_type.js) | +| get session entity type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/session_entity_types.get_session_entity_type.js) | +| list session entity types | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/session_entity_types.list_session_entity_types.js) | +| update session entity type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/session_entity_types.update_session_entity_type.js) | +| detect intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/sessions.detect_intent.js) | +| fulfill intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/sessions.fulfill_intent.js) | +| match intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/sessions.match_intent.js) | +| server streaming detect intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/sessions.server_streaming_detect_intent.js) | +| streaming detect intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/sessions.streaming_detect_intent.js) | +| submit answer feedback | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/sessions.submit_answer_feedback.js) | +| cloud | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/snippet_metadata_google.cloud.dialogflow.cx.v3beta1.json) | +| batch delete test cases | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/test_cases.batch_delete_test_cases.js) | +| batch run test cases | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/test_cases.batch_run_test_cases.js) | +| calculate coverage | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/test_cases.calculate_coverage.js) | +| create test case | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/test_cases.create_test_case.js) | +| export test cases | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/test_cases.export_test_cases.js) | +| get test case | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/test_cases.get_test_case.js) | +| get test case result | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/test_cases.get_test_case_result.js) | +| import test cases | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/test_cases.import_test_cases.js) | +| list test case results | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/test_cases.list_test_case_results.js) | +| list test cases | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/test_cases.list_test_cases.js) | +| run test case | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/test_cases.run_test_case.js) | +| update test case | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/test_cases.update_test_case.js) | +| create tool | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/tools.create_tool.js) | +| create tool version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/tools.create_tool_version.js) | +| delete tool | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/tools.delete_tool.js) | +| delete tool version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/tools.delete_tool_version.js) | +| export tools | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/tools.export_tools.js) | +| get tool | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/tools.get_tool.js) | +| get tool version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/tools.get_tool_version.js) | +| list tool versions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/tools.list_tool_versions.js) | +| list tools | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/tools.list_tools.js) | +| restore tool version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/tools.restore_tool_version.js) | +| update tool | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/tools.update_tool.js) | +| create transition route group | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/transition_route_groups.create_transition_route_group.js) | +| delete transition route group | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/transition_route_groups.delete_transition_route_group.js) | +| get transition route group | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/transition_route_groups.get_transition_route_group.js) | +| list transition route groups | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/transition_route_groups.list_transition_route_groups.js) | +| update transition route group | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/transition_route_groups.update_transition_route_group.js) | +| compare versions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/versions.compare_versions.js) | +| create version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/versions.create_version.js) | +| delete version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/versions.delete_version.js) | +| get version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/versions.get_version.js) | +| list versions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/versions.list_versions.js) | +| load version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/versions.load_version.js) | +| update version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/versions.update_version.js) | +| create webhook | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/webhooks.create_webhook.js) | +| delete webhook | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/webhooks.delete_webhook.js) | +| get webhook | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/webhooks.get_webhook.js) | +| list webhooks | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/webhooks.list_webhooks.js) | +| update webhook | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/webhooks.update_webhook.js) | + ## Supported Node.js Versions @@ -418,45 +335,29 @@ for versions compatible with Node.js 8. This library follows [Semantic Versioning](http://semver.org/). - - -This library is considered to be **stable**. The code surface will not change in backwards-incompatible ways -unless absolutely necessary (e.g. because of critical security issues) or with -an extensive deprecation period. Issues and requests against **stable** libraries -are addressed with the highest priority. - - - - - - More Information: [Google Cloud Platform Launch Stages][launch_stages] [launch_stages]: https://cloud.google.com/terms/launch-stages ## Contributing -Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/google-cloud-node/blob/main/CONTRIBUTING.md). +Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/CONTRIBUTING.md). -Please note that this `README.md`, the `samples/README.md`, +Please note that this `README.md` and a variety of configuration files in this repository (including `.nycrc` and `tsconfig.json`) -are generated from a central template. To edit one of these files, make an edit -to its templates in -[directory](https://github.com/googleapis/synthtool). +are generated from a central template. ## License Apache Version 2.0 -See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/LICENSE) +See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/LICENSE) -[client-docs]: https://googleapis.dev/nodejs/dialogflow-cx/latest -[product-docs]: https://cloud.google.com/dialogflow-enterprise/ [shell_img]: https://gstatic.com/cloudssh/images/open-btn.png [projects]: https://console.cloud.google.com/project [billing]: https://support.google.com/cloud/answer/6293499#enable-billing [enable_api]: https://console.cloud.google.com/flows/enableapi?apiid=dialogflow.googleapis.com [auth]: https://cloud.google.com/docs/authentication/external/set-up-adc-local - - -[//]: # "partials.introduction" \ No newline at end of file +[homepage_samples]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/samples +[homepage_changelog]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx/CHANGELOG.md +[homepage]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow-cx diff --git a/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3beta1/data_store_connection.proto b/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3beta1/data_store_connection.proto index c88489d8fe4e..c021a0b0f407 100644 --- a/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3beta1/data_store_connection.proto +++ b/packages/google-cloud-dialogflow-cx/protos/google/cloud/dialogflow/cx/v3beta1/data_store_connection.proto @@ -26,8 +26,6 @@ option java_package = "com.google.cloud.dialogflow.cx.v3beta1"; option objc_class_prefix = "DF"; option ruby_package = "Google::Cloud::Dialogflow::CX::V3beta1"; -// LINT: LEGACY_NAMES - // A data store connection. It represents a data store in Discovery Engine and // the type of the contents it contains. message DataStoreConnection { diff --git a/packages/google-cloud-dialogflow-cx/protos/protos.d.ts b/packages/google-cloud-dialogflow-cx/protos/protos.d.ts index 50563d770e62..f7f0096b80ed 100644 --- a/packages/google-cloud-dialogflow-cx/protos/protos.d.ts +++ b/packages/google-cloud-dialogflow-cx/protos/protos.d.ts @@ -88402,9 +88402,6 @@ export namespace google { /** CommonLanguageSettings destinations */ destinations?: (google.api.ClientLibraryDestination[]|null); - - /** CommonLanguageSettings selectiveGapicGeneration */ - selectiveGapicGeneration?: (google.api.ISelectiveGapicGeneration|null); } /** Represents a CommonLanguageSettings. */ @@ -88422,9 +88419,6 @@ export namespace google { /** CommonLanguageSettings destinations. */ public destinations: google.api.ClientLibraryDestination[]; - /** CommonLanguageSettings selectiveGapicGeneration. */ - public selectiveGapicGeneration?: (google.api.ISelectiveGapicGeneration|null); - /** * Creates a new CommonLanguageSettings instance using the specified properties. * @param [properties] Properties to set @@ -89125,9 +89119,6 @@ export namespace google { /** PythonSettings common */ common?: (google.api.ICommonLanguageSettings|null); - - /** PythonSettings experimentalFeatures */ - experimentalFeatures?: (google.api.PythonSettings.IExperimentalFeatures|null); } /** Represents a PythonSettings. */ @@ -89142,9 +89133,6 @@ export namespace google { /** PythonSettings common. */ public common?: (google.api.ICommonLanguageSettings|null); - /** PythonSettings experimentalFeatures. */ - public experimentalFeatures?: (google.api.PythonSettings.IExperimentalFeatures|null); - /** * Creates a new PythonSettings instance using the specified properties. * @param [properties] Properties to set @@ -89223,118 +89211,6 @@ export namespace google { public static getTypeUrl(typeUrlPrefix?: string): string; } - namespace PythonSettings { - - /** Properties of an ExperimentalFeatures. */ - interface IExperimentalFeatures { - - /** ExperimentalFeatures restAsyncIoEnabled */ - restAsyncIoEnabled?: (boolean|null); - - /** ExperimentalFeatures protobufPythonicTypesEnabled */ - protobufPythonicTypesEnabled?: (boolean|null); - - /** ExperimentalFeatures unversionedPackageDisabled */ - unversionedPackageDisabled?: (boolean|null); - } - - /** Represents an ExperimentalFeatures. */ - class ExperimentalFeatures implements IExperimentalFeatures { - - /** - * Constructs a new ExperimentalFeatures. - * @param [properties] Properties to set - */ - constructor(properties?: google.api.PythonSettings.IExperimentalFeatures); - - /** ExperimentalFeatures restAsyncIoEnabled. */ - public restAsyncIoEnabled: boolean; - - /** ExperimentalFeatures protobufPythonicTypesEnabled. */ - public protobufPythonicTypesEnabled: boolean; - - /** ExperimentalFeatures unversionedPackageDisabled. */ - public unversionedPackageDisabled: boolean; - - /** - * Creates a new ExperimentalFeatures instance using the specified properties. - * @param [properties] Properties to set - * @returns ExperimentalFeatures instance - */ - public static create(properties?: google.api.PythonSettings.IExperimentalFeatures): google.api.PythonSettings.ExperimentalFeatures; - - /** - * Encodes the specified ExperimentalFeatures message. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @param message ExperimentalFeatures message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.api.PythonSettings.IExperimentalFeatures, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ExperimentalFeatures message, length delimited. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @param message ExperimentalFeatures message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.api.PythonSettings.IExperimentalFeatures, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.PythonSettings.ExperimentalFeatures; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.PythonSettings.ExperimentalFeatures; - - /** - * Verifies an ExperimentalFeatures message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an ExperimentalFeatures message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ExperimentalFeatures - */ - public static fromObject(object: { [k: string]: any }): google.api.PythonSettings.ExperimentalFeatures; - - /** - * Creates a plain object from an ExperimentalFeatures message. Also converts values to other types if specified. - * @param message ExperimentalFeatures - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.api.PythonSettings.ExperimentalFeatures, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ExperimentalFeatures to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ExperimentalFeatures - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - } - /** Properties of a NodeSettings. */ interface INodeSettings { @@ -89661,9 +89537,6 @@ export namespace google { /** GoSettings common */ common?: (google.api.ICommonLanguageSettings|null); - - /** GoSettings renamedServices */ - renamedServices?: ({ [k: string]: string }|null); } /** Represents a GoSettings. */ @@ -89678,9 +89551,6 @@ export namespace google { /** GoSettings common. */ public common?: (google.api.ICommonLanguageSettings|null); - /** GoSettings renamedServices. */ - public renamedServices: { [k: string]: string }; - /** * Creates a new GoSettings instance using the specified properties. * @param [properties] Properties to set @@ -90005,109 +89875,6 @@ export namespace google { PACKAGE_MANAGER = 20 } - /** Properties of a SelectiveGapicGeneration. */ - interface ISelectiveGapicGeneration { - - /** SelectiveGapicGeneration methods */ - methods?: (string[]|null); - - /** SelectiveGapicGeneration generateOmittedAsInternal */ - generateOmittedAsInternal?: (boolean|null); - } - - /** Represents a SelectiveGapicGeneration. */ - class SelectiveGapicGeneration implements ISelectiveGapicGeneration { - - /** - * Constructs a new SelectiveGapicGeneration. - * @param [properties] Properties to set - */ - constructor(properties?: google.api.ISelectiveGapicGeneration); - - /** SelectiveGapicGeneration methods. */ - public methods: string[]; - - /** SelectiveGapicGeneration generateOmittedAsInternal. */ - public generateOmittedAsInternal: boolean; - - /** - * Creates a new SelectiveGapicGeneration instance using the specified properties. - * @param [properties] Properties to set - * @returns SelectiveGapicGeneration instance - */ - public static create(properties?: google.api.ISelectiveGapicGeneration): google.api.SelectiveGapicGeneration; - - /** - * Encodes the specified SelectiveGapicGeneration message. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @param message SelectiveGapicGeneration message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.api.ISelectiveGapicGeneration, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified SelectiveGapicGeneration message, length delimited. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @param message SelectiveGapicGeneration message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.api.ISelectiveGapicGeneration, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.SelectiveGapicGeneration; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.SelectiveGapicGeneration; - - /** - * Verifies a SelectiveGapicGeneration message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a SelectiveGapicGeneration message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns SelectiveGapicGeneration - */ - public static fromObject(object: { [k: string]: any }): google.api.SelectiveGapicGeneration; - - /** - * Creates a plain object from a SelectiveGapicGeneration message. Also converts values to other types if specified. - * @param message SelectiveGapicGeneration - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.api.SelectiveGapicGeneration, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this SelectiveGapicGeneration to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for SelectiveGapicGeneration - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - /** LaunchStage enum. */ enum LaunchStage { LAUNCH_STAGE_UNSPECIFIED = 0, @@ -90476,7 +90243,6 @@ export namespace google { /** Edition enum. */ enum Edition { EDITION_UNKNOWN = 0, - EDITION_LEGACY = 900, EDITION_PROTO2 = 998, EDITION_PROTO3 = 999, EDITION_2023 = 1000, @@ -90507,9 +90273,6 @@ export namespace google { /** FileDescriptorProto weakDependency */ weakDependency?: (number[]|null); - /** FileDescriptorProto optionDependency */ - optionDependency?: (string[]|null); - /** FileDescriptorProto messageType */ messageType?: (google.protobuf.IDescriptorProto[]|null); @@ -90559,9 +90322,6 @@ export namespace google { /** FileDescriptorProto weakDependency. */ public weakDependency: number[]; - /** FileDescriptorProto optionDependency. */ - public optionDependency: string[]; - /** FileDescriptorProto messageType. */ public messageType: google.protobuf.IDescriptorProto[]; @@ -90696,9 +90456,6 @@ export namespace google { /** DescriptorProto reservedName */ reservedName?: (string[]|null); - - /** DescriptorProto visibility */ - visibility?: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility|null); } /** Represents a DescriptorProto. */ @@ -90740,9 +90497,6 @@ export namespace google { /** DescriptorProto reservedName. */ public reservedName: string[]; - /** DescriptorProto visibility. */ - public visibility: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility); - /** * Creates a new DescriptorProto instance using the specified properties. * @param [properties] Properties to set @@ -91590,9 +91344,6 @@ export namespace google { /** EnumDescriptorProto reservedName */ reservedName?: (string[]|null); - - /** EnumDescriptorProto visibility */ - visibility?: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility|null); } /** Represents an EnumDescriptorProto. */ @@ -91619,9 +91370,6 @@ export namespace google { /** EnumDescriptorProto reservedName. */ public reservedName: string[]; - /** EnumDescriptorProto visibility. */ - public visibility: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility); - /** * Creates a new EnumDescriptorProto instance using the specified properties. * @param [properties] Properties to set @@ -92556,9 +92304,6 @@ export namespace google { /** FieldOptions features */ features?: (google.protobuf.IFeatureSet|null); - /** FieldOptions featureSupport */ - featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** FieldOptions uninterpretedOption */ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); @@ -92614,9 +92359,6 @@ export namespace google { /** FieldOptions features. */ public features?: (google.protobuf.IFeatureSet|null); - /** FieldOptions featureSupport. */ - public featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** FieldOptions uninterpretedOption. */ public uninterpretedOption: google.protobuf.IUninterpretedOption[]; @@ -92837,121 +92579,6 @@ export namespace google { */ public static getTypeUrl(typeUrlPrefix?: string): string; } - - /** Properties of a FeatureSupport. */ - interface IFeatureSupport { - - /** FeatureSupport editionIntroduced */ - editionIntroduced?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - - /** FeatureSupport editionDeprecated */ - editionDeprecated?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - - /** FeatureSupport deprecationWarning */ - deprecationWarning?: (string|null); - - /** FeatureSupport editionRemoved */ - editionRemoved?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - } - - /** Represents a FeatureSupport. */ - class FeatureSupport implements IFeatureSupport { - - /** - * Constructs a new FeatureSupport. - * @param [properties] Properties to set - */ - constructor(properties?: google.protobuf.FieldOptions.IFeatureSupport); - - /** FeatureSupport editionIntroduced. */ - public editionIntroduced: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - - /** FeatureSupport editionDeprecated. */ - public editionDeprecated: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - - /** FeatureSupport deprecationWarning. */ - public deprecationWarning: string; - - /** FeatureSupport editionRemoved. */ - public editionRemoved: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - - /** - * Creates a new FeatureSupport instance using the specified properties. - * @param [properties] Properties to set - * @returns FeatureSupport instance - */ - public static create(properties?: google.protobuf.FieldOptions.IFeatureSupport): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Encodes the specified FeatureSupport message. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. - * @param message FeatureSupport message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.protobuf.FieldOptions.IFeatureSupport, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified FeatureSupport message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. - * @param message FeatureSupport message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.protobuf.FieldOptions.IFeatureSupport, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a FeatureSupport message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns FeatureSupport - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Decodes a FeatureSupport message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns FeatureSupport - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Verifies a FeatureSupport message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a FeatureSupport message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns FeatureSupport - */ - public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Creates a plain object from a FeatureSupport message. Also converts values to other types if specified. - * @param message FeatureSupport - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.protobuf.FieldOptions.FeatureSupport, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this FeatureSupport to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for FeatureSupport - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } } /** Properties of an OneofOptions. */ @@ -93190,9 +92817,6 @@ export namespace google { /** EnumValueOptions debugRedact */ debugRedact?: (boolean|null); - /** EnumValueOptions featureSupport */ - featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** EnumValueOptions uninterpretedOption */ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); } @@ -93215,9 +92839,6 @@ export namespace google { /** EnumValueOptions debugRedact. */ public debugRedact: boolean; - /** EnumValueOptions featureSupport. */ - public featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** EnumValueOptions uninterpretedOption. */ public uninterpretedOption: google.protobuf.IUninterpretedOption[]; @@ -93810,12 +93431,6 @@ export namespace google { /** FeatureSet jsonFormat */ jsonFormat?: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat|null); - - /** FeatureSet enforceNamingStyle */ - enforceNamingStyle?: (google.protobuf.FeatureSet.EnforceNamingStyle|keyof typeof google.protobuf.FeatureSet.EnforceNamingStyle|null); - - /** FeatureSet defaultSymbolVisibility */ - defaultSymbolVisibility?: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|keyof typeof google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|null); } /** Represents a FeatureSet. */ @@ -93845,12 +93460,6 @@ export namespace google { /** FeatureSet jsonFormat. */ public jsonFormat: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat); - /** FeatureSet enforceNamingStyle. */ - public enforceNamingStyle: (google.protobuf.FeatureSet.EnforceNamingStyle|keyof typeof google.protobuf.FeatureSet.EnforceNamingStyle); - - /** FeatureSet defaultSymbolVisibility. */ - public defaultSymbolVisibility: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|keyof typeof google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility); - /** * Creates a new FeatureSet instance using the specified properties. * @param [properties] Properties to set @@ -93973,116 +93582,6 @@ export namespace google { ALLOW = 1, LEGACY_BEST_EFFORT = 2 } - - /** EnforceNamingStyle enum. */ - enum EnforceNamingStyle { - ENFORCE_NAMING_STYLE_UNKNOWN = 0, - STYLE2024 = 1, - STYLE_LEGACY = 2 - } - - /** Properties of a VisibilityFeature. */ - interface IVisibilityFeature { - } - - /** Represents a VisibilityFeature. */ - class VisibilityFeature implements IVisibilityFeature { - - /** - * Constructs a new VisibilityFeature. - * @param [properties] Properties to set - */ - constructor(properties?: google.protobuf.FeatureSet.IVisibilityFeature); - - /** - * Creates a new VisibilityFeature instance using the specified properties. - * @param [properties] Properties to set - * @returns VisibilityFeature instance - */ - public static create(properties?: google.protobuf.FeatureSet.IVisibilityFeature): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Encodes the specified VisibilityFeature message. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @param message VisibilityFeature message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.protobuf.FeatureSet.IVisibilityFeature, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified VisibilityFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @param message VisibilityFeature message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.protobuf.FeatureSet.IVisibilityFeature, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Verifies a VisibilityFeature message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a VisibilityFeature message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns VisibilityFeature - */ - public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Creates a plain object from a VisibilityFeature message. Also converts values to other types if specified. - * @param message VisibilityFeature - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.protobuf.FeatureSet.VisibilityFeature, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this VisibilityFeature to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for VisibilityFeature - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - namespace VisibilityFeature { - - /** DefaultSymbolVisibility enum. */ - enum DefaultSymbolVisibility { - DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0, - EXPORT_ALL = 1, - EXPORT_TOP_LEVEL = 2, - LOCAL_ALL = 3, - STRICT = 4 - } - } } /** Properties of a FeatureSetDefaults. */ @@ -94202,11 +93701,8 @@ export namespace google { /** FeatureSetEditionDefault edition */ edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - /** FeatureSetEditionDefault overridableFeatures */ - overridableFeatures?: (google.protobuf.IFeatureSet|null); - - /** FeatureSetEditionDefault fixedFeatures */ - fixedFeatures?: (google.protobuf.IFeatureSet|null); + /** FeatureSetEditionDefault features */ + features?: (google.protobuf.IFeatureSet|null); } /** Represents a FeatureSetEditionDefault. */ @@ -94221,11 +93717,8 @@ export namespace google { /** FeatureSetEditionDefault edition. */ public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - /** FeatureSetEditionDefault overridableFeatures. */ - public overridableFeatures?: (google.protobuf.IFeatureSet|null); - - /** FeatureSetEditionDefault fixedFeatures. */ - public fixedFeatures?: (google.protobuf.IFeatureSet|null); + /** FeatureSetEditionDefault features. */ + public features?: (google.protobuf.IFeatureSet|null); /** * Creates a new FeatureSetEditionDefault instance using the specified properties. @@ -94758,13 +94251,6 @@ export namespace google { } } - /** SymbolVisibility enum. */ - enum SymbolVisibility { - VISIBILITY_UNSET = 0, - VISIBILITY_LOCAL = 1, - VISIBILITY_EXPORT = 2 - } - /** Properties of a Duration. */ interface IDuration { diff --git a/packages/google-cloud-dialogflow-cx/protos/protos.js b/packages/google-cloud-dialogflow-cx/protos/protos.js index 13eb0e36c55c..29e8706927a1 100644 --- a/packages/google-cloud-dialogflow-cx/protos/protos.js +++ b/packages/google-cloud-dialogflow-cx/protos/protos.js @@ -214117,7 +214117,6 @@ * @interface ICommonLanguageSettings * @property {string|null} [referenceDocsUri] CommonLanguageSettings referenceDocsUri * @property {Array.|null} [destinations] CommonLanguageSettings destinations - * @property {google.api.ISelectiveGapicGeneration|null} [selectiveGapicGeneration] CommonLanguageSettings selectiveGapicGeneration */ /** @@ -214152,14 +214151,6 @@ */ CommonLanguageSettings.prototype.destinations = $util.emptyArray; - /** - * CommonLanguageSettings selectiveGapicGeneration. - * @member {google.api.ISelectiveGapicGeneration|null|undefined} selectiveGapicGeneration - * @memberof google.api.CommonLanguageSettings - * @instance - */ - CommonLanguageSettings.prototype.selectiveGapicGeneration = null; - /** * Creates a new CommonLanguageSettings instance using the specified properties. * @function create @@ -214192,8 +214183,6 @@ writer.int32(message.destinations[i]); writer.ldelim(); } - if (message.selectiveGapicGeneration != null && Object.hasOwnProperty.call(message, "selectiveGapicGeneration")) - $root.google.api.SelectiveGapicGeneration.encode(message.selectiveGapicGeneration, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; @@ -214245,10 +214234,6 @@ message.destinations.push(reader.int32()); break; } - case 3: { - message.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.decode(reader, reader.uint32()); - break; - } default: reader.skipType(tag & 7); break; @@ -214300,11 +214285,6 @@ break; } } - if (message.selectiveGapicGeneration != null && message.hasOwnProperty("selectiveGapicGeneration")) { - var error = $root.google.api.SelectiveGapicGeneration.verify(message.selectiveGapicGeneration); - if (error) - return "selectiveGapicGeneration." + error; - } return null; }; @@ -214347,11 +214327,6 @@ break; } } - if (object.selectiveGapicGeneration != null) { - if (typeof object.selectiveGapicGeneration !== "object") - throw TypeError(".google.api.CommonLanguageSettings.selectiveGapicGeneration: object expected"); - message.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.fromObject(object.selectiveGapicGeneration); - } return message; }; @@ -214370,10 +214345,8 @@ var object = {}; if (options.arrays || options.defaults) object.destinations = []; - if (options.defaults) { + if (options.defaults) object.referenceDocsUri = ""; - object.selectiveGapicGeneration = null; - } if (message.referenceDocsUri != null && message.hasOwnProperty("referenceDocsUri")) object.referenceDocsUri = message.referenceDocsUri; if (message.destinations && message.destinations.length) { @@ -214381,8 +214354,6 @@ for (var j = 0; j < message.destinations.length; ++j) object.destinations[j] = options.enums === String ? $root.google.api.ClientLibraryDestination[message.destinations[j]] === undefined ? message.destinations[j] : $root.google.api.ClientLibraryDestination[message.destinations[j]] : message.destinations[j]; } - if (message.selectiveGapicGeneration != null && message.hasOwnProperty("selectiveGapicGeneration")) - object.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.toObject(message.selectiveGapicGeneration, options); return object; }; @@ -216205,7 +216176,6 @@ * @memberof google.api * @interface IPythonSettings * @property {google.api.ICommonLanguageSettings|null} [common] PythonSettings common - * @property {google.api.PythonSettings.IExperimentalFeatures|null} [experimentalFeatures] PythonSettings experimentalFeatures */ /** @@ -216231,14 +216201,6 @@ */ PythonSettings.prototype.common = null; - /** - * PythonSettings experimentalFeatures. - * @member {google.api.PythonSettings.IExperimentalFeatures|null|undefined} experimentalFeatures - * @memberof google.api.PythonSettings - * @instance - */ - PythonSettings.prototype.experimentalFeatures = null; - /** * Creates a new PythonSettings instance using the specified properties. * @function create @@ -216265,8 +216227,6 @@ writer = $Writer.create(); if (message.common != null && Object.hasOwnProperty.call(message, "common")) $root.google.api.CommonLanguageSettings.encode(message.common, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.experimentalFeatures != null && Object.hasOwnProperty.call(message, "experimentalFeatures")) - $root.google.api.PythonSettings.ExperimentalFeatures.encode(message.experimentalFeatures, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; @@ -216307,10 +216267,6 @@ message.common = $root.google.api.CommonLanguageSettings.decode(reader, reader.uint32()); break; } - case 2: { - message.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.decode(reader, reader.uint32()); - break; - } default: reader.skipType(tag & 7); break; @@ -216351,11 +216307,6 @@ if (error) return "common." + error; } - if (message.experimentalFeatures != null && message.hasOwnProperty("experimentalFeatures")) { - var error = $root.google.api.PythonSettings.ExperimentalFeatures.verify(message.experimentalFeatures); - if (error) - return "experimentalFeatures." + error; - } return null; }; @@ -216376,11 +216327,6 @@ throw TypeError(".google.api.PythonSettings.common: object expected"); message.common = $root.google.api.CommonLanguageSettings.fromObject(object.common); } - if (object.experimentalFeatures != null) { - if (typeof object.experimentalFeatures !== "object") - throw TypeError(".google.api.PythonSettings.experimentalFeatures: object expected"); - message.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.fromObject(object.experimentalFeatures); - } return message; }; @@ -216397,14 +216343,10 @@ if (!options) options = {}; var object = {}; - if (options.defaults) { + if (options.defaults) object.common = null; - object.experimentalFeatures = null; - } if (message.common != null && message.hasOwnProperty("common")) object.common = $root.google.api.CommonLanguageSettings.toObject(message.common, options); - if (message.experimentalFeatures != null && message.hasOwnProperty("experimentalFeatures")) - object.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.toObject(message.experimentalFeatures, options); return object; }; @@ -216434,258 +216376,6 @@ return typeUrlPrefix + "/google.api.PythonSettings"; }; - PythonSettings.ExperimentalFeatures = (function() { - - /** - * Properties of an ExperimentalFeatures. - * @memberof google.api.PythonSettings - * @interface IExperimentalFeatures - * @property {boolean|null} [restAsyncIoEnabled] ExperimentalFeatures restAsyncIoEnabled - * @property {boolean|null} [protobufPythonicTypesEnabled] ExperimentalFeatures protobufPythonicTypesEnabled - * @property {boolean|null} [unversionedPackageDisabled] ExperimentalFeatures unversionedPackageDisabled - */ - - /** - * Constructs a new ExperimentalFeatures. - * @memberof google.api.PythonSettings - * @classdesc Represents an ExperimentalFeatures. - * @implements IExperimentalFeatures - * @constructor - * @param {google.api.PythonSettings.IExperimentalFeatures=} [properties] Properties to set - */ - function ExperimentalFeatures(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ExperimentalFeatures restAsyncIoEnabled. - * @member {boolean} restAsyncIoEnabled - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - */ - ExperimentalFeatures.prototype.restAsyncIoEnabled = false; - - /** - * ExperimentalFeatures protobufPythonicTypesEnabled. - * @member {boolean} protobufPythonicTypesEnabled - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - */ - ExperimentalFeatures.prototype.protobufPythonicTypesEnabled = false; - - /** - * ExperimentalFeatures unversionedPackageDisabled. - * @member {boolean} unversionedPackageDisabled - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - */ - ExperimentalFeatures.prototype.unversionedPackageDisabled = false; - - /** - * Creates a new ExperimentalFeatures instance using the specified properties. - * @function create - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.IExperimentalFeatures=} [properties] Properties to set - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures instance - */ - ExperimentalFeatures.create = function create(properties) { - return new ExperimentalFeatures(properties); - }; - - /** - * Encodes the specified ExperimentalFeatures message. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @function encode - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.IExperimentalFeatures} message ExperimentalFeatures message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ExperimentalFeatures.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.restAsyncIoEnabled != null && Object.hasOwnProperty.call(message, "restAsyncIoEnabled")) - writer.uint32(/* id 1, wireType 0 =*/8).bool(message.restAsyncIoEnabled); - if (message.protobufPythonicTypesEnabled != null && Object.hasOwnProperty.call(message, "protobufPythonicTypesEnabled")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.protobufPythonicTypesEnabled); - if (message.unversionedPackageDisabled != null && Object.hasOwnProperty.call(message, "unversionedPackageDisabled")) - writer.uint32(/* id 3, wireType 0 =*/24).bool(message.unversionedPackageDisabled); - return writer; - }; - - /** - * Encodes the specified ExperimentalFeatures message, length delimited. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @function encodeDelimited - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.IExperimentalFeatures} message ExperimentalFeatures message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ExperimentalFeatures.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer. - * @function decode - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ExperimentalFeatures.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.PythonSettings.ExperimentalFeatures(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.restAsyncIoEnabled = reader.bool(); - break; - } - case 2: { - message.protobufPythonicTypesEnabled = reader.bool(); - break; - } - case 3: { - message.unversionedPackageDisabled = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ExperimentalFeatures.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an ExperimentalFeatures message. - * @function verify - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - ExperimentalFeatures.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.restAsyncIoEnabled != null && message.hasOwnProperty("restAsyncIoEnabled")) - if (typeof message.restAsyncIoEnabled !== "boolean") - return "restAsyncIoEnabled: boolean expected"; - if (message.protobufPythonicTypesEnabled != null && message.hasOwnProperty("protobufPythonicTypesEnabled")) - if (typeof message.protobufPythonicTypesEnabled !== "boolean") - return "protobufPythonicTypesEnabled: boolean expected"; - if (message.unversionedPackageDisabled != null && message.hasOwnProperty("unversionedPackageDisabled")) - if (typeof message.unversionedPackageDisabled !== "boolean") - return "unversionedPackageDisabled: boolean expected"; - return null; - }; - - /** - * Creates an ExperimentalFeatures message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {Object.} object Plain object - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures - */ - ExperimentalFeatures.fromObject = function fromObject(object) { - if (object instanceof $root.google.api.PythonSettings.ExperimentalFeatures) - return object; - var message = new $root.google.api.PythonSettings.ExperimentalFeatures(); - if (object.restAsyncIoEnabled != null) - message.restAsyncIoEnabled = Boolean(object.restAsyncIoEnabled); - if (object.protobufPythonicTypesEnabled != null) - message.protobufPythonicTypesEnabled = Boolean(object.protobufPythonicTypesEnabled); - if (object.unversionedPackageDisabled != null) - message.unversionedPackageDisabled = Boolean(object.unversionedPackageDisabled); - return message; - }; - - /** - * Creates a plain object from an ExperimentalFeatures message. Also converts values to other types if specified. - * @function toObject - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.ExperimentalFeatures} message ExperimentalFeatures - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ExperimentalFeatures.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.restAsyncIoEnabled = false; - object.protobufPythonicTypesEnabled = false; - object.unversionedPackageDisabled = false; - } - if (message.restAsyncIoEnabled != null && message.hasOwnProperty("restAsyncIoEnabled")) - object.restAsyncIoEnabled = message.restAsyncIoEnabled; - if (message.protobufPythonicTypesEnabled != null && message.hasOwnProperty("protobufPythonicTypesEnabled")) - object.protobufPythonicTypesEnabled = message.protobufPythonicTypesEnabled; - if (message.unversionedPackageDisabled != null && message.hasOwnProperty("unversionedPackageDisabled")) - object.unversionedPackageDisabled = message.unversionedPackageDisabled; - return object; - }; - - /** - * Converts this ExperimentalFeatures to JSON. - * @function toJSON - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - * @returns {Object.} JSON object - */ - ExperimentalFeatures.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ExperimentalFeatures - * @function getTypeUrl - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ExperimentalFeatures.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.api.PythonSettings.ExperimentalFeatures"; - }; - - return ExperimentalFeatures; - })(); - return PythonSettings; })(); @@ -217562,7 +217252,6 @@ * @memberof google.api * @interface IGoSettings * @property {google.api.ICommonLanguageSettings|null} [common] GoSettings common - * @property {Object.|null} [renamedServices] GoSettings renamedServices */ /** @@ -217574,7 +217263,6 @@ * @param {google.api.IGoSettings=} [properties] Properties to set */ function GoSettings(properties) { - this.renamedServices = {}; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -217589,14 +217277,6 @@ */ GoSettings.prototype.common = null; - /** - * GoSettings renamedServices. - * @member {Object.} renamedServices - * @memberof google.api.GoSettings - * @instance - */ - GoSettings.prototype.renamedServices = $util.emptyObject; - /** * Creates a new GoSettings instance using the specified properties. * @function create @@ -217623,9 +217303,6 @@ writer = $Writer.create(); if (message.common != null && Object.hasOwnProperty.call(message, "common")) $root.google.api.CommonLanguageSettings.encode(message.common, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.renamedServices != null && Object.hasOwnProperty.call(message, "renamedServices")) - for (var keys = Object.keys(message.renamedServices), i = 0; i < keys.length; ++i) - writer.uint32(/* id 2, wireType 2 =*/18).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.renamedServices[keys[i]]).ldelim(); return writer; }; @@ -217656,7 +217333,7 @@ GoSettings.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.GoSettings(), key, value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.GoSettings(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) @@ -217666,29 +217343,6 @@ message.common = $root.google.api.CommonLanguageSettings.decode(reader, reader.uint32()); break; } - case 2: { - if (message.renamedServices === $util.emptyObject) - message.renamedServices = {}; - var end2 = reader.uint32() + reader.pos; - key = ""; - value = ""; - while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { - case 1: - key = reader.string(); - break; - case 2: - value = reader.string(); - break; - default: - reader.skipType(tag2 & 7); - break; - } - } - message.renamedServices[key] = value; - break; - } default: reader.skipType(tag & 7); break; @@ -217729,14 +217383,6 @@ if (error) return "common." + error; } - if (message.renamedServices != null && message.hasOwnProperty("renamedServices")) { - if (!$util.isObject(message.renamedServices)) - return "renamedServices: object expected"; - var key = Object.keys(message.renamedServices); - for (var i = 0; i < key.length; ++i) - if (!$util.isString(message.renamedServices[key[i]])) - return "renamedServices: string{k:string} expected"; - } return null; }; @@ -217757,13 +217403,6 @@ throw TypeError(".google.api.GoSettings.common: object expected"); message.common = $root.google.api.CommonLanguageSettings.fromObject(object.common); } - if (object.renamedServices) { - if (typeof object.renamedServices !== "object") - throw TypeError(".google.api.GoSettings.renamedServices: object expected"); - message.renamedServices = {}; - for (var keys = Object.keys(object.renamedServices), i = 0; i < keys.length; ++i) - message.renamedServices[keys[i]] = String(object.renamedServices[keys[i]]); - } return message; }; @@ -217780,18 +217419,10 @@ if (!options) options = {}; var object = {}; - if (options.objects || options.defaults) - object.renamedServices = {}; if (options.defaults) object.common = null; if (message.common != null && message.hasOwnProperty("common")) object.common = $root.google.api.CommonLanguageSettings.toObject(message.common, options); - var keys2; - if (message.renamedServices && (keys2 = Object.keys(message.renamedServices)).length) { - object.renamedServices = {}; - for (var j = 0; j < keys2.length; ++j) - object.renamedServices[keys2[j]] = message.renamedServices[keys2[j]]; - } return object; }; @@ -218430,251 +218061,6 @@ return values; })(); - api.SelectiveGapicGeneration = (function() { - - /** - * Properties of a SelectiveGapicGeneration. - * @memberof google.api - * @interface ISelectiveGapicGeneration - * @property {Array.|null} [methods] SelectiveGapicGeneration methods - * @property {boolean|null} [generateOmittedAsInternal] SelectiveGapicGeneration generateOmittedAsInternal - */ - - /** - * Constructs a new SelectiveGapicGeneration. - * @memberof google.api - * @classdesc Represents a SelectiveGapicGeneration. - * @implements ISelectiveGapicGeneration - * @constructor - * @param {google.api.ISelectiveGapicGeneration=} [properties] Properties to set - */ - function SelectiveGapicGeneration(properties) { - this.methods = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * SelectiveGapicGeneration methods. - * @member {Array.} methods - * @memberof google.api.SelectiveGapicGeneration - * @instance - */ - SelectiveGapicGeneration.prototype.methods = $util.emptyArray; - - /** - * SelectiveGapicGeneration generateOmittedAsInternal. - * @member {boolean} generateOmittedAsInternal - * @memberof google.api.SelectiveGapicGeneration - * @instance - */ - SelectiveGapicGeneration.prototype.generateOmittedAsInternal = false; - - /** - * Creates a new SelectiveGapicGeneration instance using the specified properties. - * @function create - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.ISelectiveGapicGeneration=} [properties] Properties to set - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration instance - */ - SelectiveGapicGeneration.create = function create(properties) { - return new SelectiveGapicGeneration(properties); - }; - - /** - * Encodes the specified SelectiveGapicGeneration message. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @function encode - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.ISelectiveGapicGeneration} message SelectiveGapicGeneration message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - SelectiveGapicGeneration.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.methods != null && message.methods.length) - for (var i = 0; i < message.methods.length; ++i) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.methods[i]); - if (message.generateOmittedAsInternal != null && Object.hasOwnProperty.call(message, "generateOmittedAsInternal")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.generateOmittedAsInternal); - return writer; - }; - - /** - * Encodes the specified SelectiveGapicGeneration message, length delimited. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @function encodeDelimited - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.ISelectiveGapicGeneration} message SelectiveGapicGeneration message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - SelectiveGapicGeneration.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer. - * @function decode - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - SelectiveGapicGeneration.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.SelectiveGapicGeneration(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - if (!(message.methods && message.methods.length)) - message.methods = []; - message.methods.push(reader.string()); - break; - } - case 2: { - message.generateOmittedAsInternal = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - SelectiveGapicGeneration.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a SelectiveGapicGeneration message. - * @function verify - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - SelectiveGapicGeneration.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.methods != null && message.hasOwnProperty("methods")) { - if (!Array.isArray(message.methods)) - return "methods: array expected"; - for (var i = 0; i < message.methods.length; ++i) - if (!$util.isString(message.methods[i])) - return "methods: string[] expected"; - } - if (message.generateOmittedAsInternal != null && message.hasOwnProperty("generateOmittedAsInternal")) - if (typeof message.generateOmittedAsInternal !== "boolean") - return "generateOmittedAsInternal: boolean expected"; - return null; - }; - - /** - * Creates a SelectiveGapicGeneration message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {Object.} object Plain object - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration - */ - SelectiveGapicGeneration.fromObject = function fromObject(object) { - if (object instanceof $root.google.api.SelectiveGapicGeneration) - return object; - var message = new $root.google.api.SelectiveGapicGeneration(); - if (object.methods) { - if (!Array.isArray(object.methods)) - throw TypeError(".google.api.SelectiveGapicGeneration.methods: array expected"); - message.methods = []; - for (var i = 0; i < object.methods.length; ++i) - message.methods[i] = String(object.methods[i]); - } - if (object.generateOmittedAsInternal != null) - message.generateOmittedAsInternal = Boolean(object.generateOmittedAsInternal); - return message; - }; - - /** - * Creates a plain object from a SelectiveGapicGeneration message. Also converts values to other types if specified. - * @function toObject - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.SelectiveGapicGeneration} message SelectiveGapicGeneration - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - SelectiveGapicGeneration.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.methods = []; - if (options.defaults) - object.generateOmittedAsInternal = false; - if (message.methods && message.methods.length) { - object.methods = []; - for (var j = 0; j < message.methods.length; ++j) - object.methods[j] = message.methods[j]; - } - if (message.generateOmittedAsInternal != null && message.hasOwnProperty("generateOmittedAsInternal")) - object.generateOmittedAsInternal = message.generateOmittedAsInternal; - return object; - }; - - /** - * Converts this SelectiveGapicGeneration to JSON. - * @function toJSON - * @memberof google.api.SelectiveGapicGeneration - * @instance - * @returns {Object.} JSON object - */ - SelectiveGapicGeneration.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for SelectiveGapicGeneration - * @function getTypeUrl - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - SelectiveGapicGeneration.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.api.SelectiveGapicGeneration"; - }; - - return SelectiveGapicGeneration; - })(); - /** * LaunchStage enum. * @name google.api.LaunchStage @@ -219632,7 +219018,6 @@ * @name google.protobuf.Edition * @enum {number} * @property {number} EDITION_UNKNOWN=0 EDITION_UNKNOWN value - * @property {number} EDITION_LEGACY=900 EDITION_LEGACY value * @property {number} EDITION_PROTO2=998 EDITION_PROTO2 value * @property {number} EDITION_PROTO3=999 EDITION_PROTO3 value * @property {number} EDITION_2023=1000 EDITION_2023 value @@ -219647,7 +219032,6 @@ protobuf.Edition = (function() { var valuesById = {}, values = Object.create(valuesById); values[valuesById[0] = "EDITION_UNKNOWN"] = 0; - values[valuesById[900] = "EDITION_LEGACY"] = 900; values[valuesById[998] = "EDITION_PROTO2"] = 998; values[valuesById[999] = "EDITION_PROTO3"] = 999; values[valuesById[1000] = "EDITION_2023"] = 1000; @@ -219672,7 +219056,6 @@ * @property {Array.|null} [dependency] FileDescriptorProto dependency * @property {Array.|null} [publicDependency] FileDescriptorProto publicDependency * @property {Array.|null} [weakDependency] FileDescriptorProto weakDependency - * @property {Array.|null} [optionDependency] FileDescriptorProto optionDependency * @property {Array.|null} [messageType] FileDescriptorProto messageType * @property {Array.|null} [enumType] FileDescriptorProto enumType * @property {Array.|null} [service] FileDescriptorProto service @@ -219695,7 +219078,6 @@ this.dependency = []; this.publicDependency = []; this.weakDependency = []; - this.optionDependency = []; this.messageType = []; this.enumType = []; this.service = []; @@ -219746,14 +219128,6 @@ */ FileDescriptorProto.prototype.weakDependency = $util.emptyArray; - /** - * FileDescriptorProto optionDependency. - * @member {Array.} optionDependency - * @memberof google.protobuf.FileDescriptorProto - * @instance - */ - FileDescriptorProto.prototype.optionDependency = $util.emptyArray; - /** * FileDescriptorProto messageType. * @member {Array.} messageType @@ -219875,9 +219249,6 @@ writer.uint32(/* id 12, wireType 2 =*/98).string(message.syntax); if (message.edition != null && Object.hasOwnProperty.call(message, "edition")) writer.uint32(/* id 14, wireType 0 =*/112).int32(message.edition); - if (message.optionDependency != null && message.optionDependency.length) - for (var i = 0; i < message.optionDependency.length; ++i) - writer.uint32(/* id 15, wireType 2 =*/122).string(message.optionDependency[i]); return writer; }; @@ -219950,12 +219321,6 @@ message.weakDependency.push(reader.int32()); break; } - case 15: { - if (!(message.optionDependency && message.optionDependency.length)) - message.optionDependency = []; - message.optionDependency.push(reader.string()); - break; - } case 4: { if (!(message.messageType && message.messageType.length)) message.messageType = []; @@ -220058,13 +219423,6 @@ if (!$util.isInteger(message.weakDependency[i])) return "weakDependency: integer[] expected"; } - if (message.optionDependency != null && message.hasOwnProperty("optionDependency")) { - if (!Array.isArray(message.optionDependency)) - return "optionDependency: array expected"; - for (var i = 0; i < message.optionDependency.length; ++i) - if (!$util.isString(message.optionDependency[i])) - return "optionDependency: string[] expected"; - } if (message.messageType != null && message.hasOwnProperty("messageType")) { if (!Array.isArray(message.messageType)) return "messageType: array expected"; @@ -220119,7 +219477,6 @@ default: return "edition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -220172,13 +219529,6 @@ for (var i = 0; i < object.weakDependency.length; ++i) message.weakDependency[i] = object.weakDependency[i] | 0; } - if (object.optionDependency) { - if (!Array.isArray(object.optionDependency)) - throw TypeError(".google.protobuf.FileDescriptorProto.optionDependency: array expected"); - message.optionDependency = []; - for (var i = 0; i < object.optionDependency.length; ++i) - message.optionDependency[i] = String(object.optionDependency[i]); - } if (object.messageType) { if (!Array.isArray(object.messageType)) throw TypeError(".google.protobuf.FileDescriptorProto.messageType: array expected"); @@ -220242,10 +219592,6 @@ case 0: message.edition = 0; break; - case "EDITION_LEGACY": - case 900: - message.edition = 900; - break; case "EDITION_PROTO2": case 998: message.edition = 998; @@ -220311,7 +219657,6 @@ object.extension = []; object.publicDependency = []; object.weakDependency = []; - object.optionDependency = []; } if (options.defaults) { object.name = ""; @@ -220368,11 +219713,6 @@ object.syntax = message.syntax; if (message.edition != null && message.hasOwnProperty("edition")) object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; - if (message.optionDependency && message.optionDependency.length) { - object.optionDependency = []; - for (var j = 0; j < message.optionDependency.length; ++j) - object.optionDependency[j] = message.optionDependency[j]; - } return object; }; @@ -220421,7 +219761,6 @@ * @property {google.protobuf.IMessageOptions|null} [options] DescriptorProto options * @property {Array.|null} [reservedRange] DescriptorProto reservedRange * @property {Array.|null} [reservedName] DescriptorProto reservedName - * @property {google.protobuf.SymbolVisibility|null} [visibility] DescriptorProto visibility */ /** @@ -220527,14 +219866,6 @@ */ DescriptorProto.prototype.reservedName = $util.emptyArray; - /** - * DescriptorProto visibility. - * @member {google.protobuf.SymbolVisibility} visibility - * @memberof google.protobuf.DescriptorProto - * @instance - */ - DescriptorProto.prototype.visibility = 0; - /** * Creates a new DescriptorProto instance using the specified properties. * @function create @@ -220587,8 +219918,6 @@ if (message.reservedName != null && message.reservedName.length) for (var i = 0; i < message.reservedName.length; ++i) writer.uint32(/* id 10, wireType 2 =*/82).string(message.reservedName[i]); - if (message.visibility != null && Object.hasOwnProperty.call(message, "visibility")) - writer.uint32(/* id 11, wireType 0 =*/88).int32(message.visibility); return writer; }; @@ -220681,10 +220010,6 @@ message.reservedName.push(reader.string()); break; } - case 11: { - message.visibility = reader.int32(); - break; - } default: reader.skipType(tag & 7); break; @@ -220798,15 +220123,6 @@ if (!$util.isString(message.reservedName[i])) return "reservedName: string[] expected"; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - switch (message.visibility) { - default: - return "visibility: enum value expected"; - case 0: - case 1: - case 2: - break; - } return null; }; @@ -220906,26 +220222,6 @@ for (var i = 0; i < object.reservedName.length; ++i) message.reservedName[i] = String(object.reservedName[i]); } - switch (object.visibility) { - default: - if (typeof object.visibility === "number") { - message.visibility = object.visibility; - break; - } - break; - case "VISIBILITY_UNSET": - case 0: - message.visibility = 0; - break; - case "VISIBILITY_LOCAL": - case 1: - message.visibility = 1; - break; - case "VISIBILITY_EXPORT": - case 2: - message.visibility = 2; - break; - } return message; }; @@ -220955,7 +220251,6 @@ if (options.defaults) { object.name = ""; object.options = null; - object.visibility = options.enums === String ? "VISIBILITY_UNSET" : 0; } if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; @@ -221001,8 +220296,6 @@ for (var j = 0; j < message.reservedName.length; ++j) object.reservedName[j] = message.reservedName[j]; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - object.visibility = options.enums === String ? $root.google.protobuf.SymbolVisibility[message.visibility] === undefined ? message.visibility : $root.google.protobuf.SymbolVisibility[message.visibility] : message.visibility; return object; }; @@ -223047,7 +222340,6 @@ * @property {google.protobuf.IEnumOptions|null} [options] EnumDescriptorProto options * @property {Array.|null} [reservedRange] EnumDescriptorProto reservedRange * @property {Array.|null} [reservedName] EnumDescriptorProto reservedName - * @property {google.protobuf.SymbolVisibility|null} [visibility] EnumDescriptorProto visibility */ /** @@ -223108,14 +222400,6 @@ */ EnumDescriptorProto.prototype.reservedName = $util.emptyArray; - /** - * EnumDescriptorProto visibility. - * @member {google.protobuf.SymbolVisibility} visibility - * @memberof google.protobuf.EnumDescriptorProto - * @instance - */ - EnumDescriptorProto.prototype.visibility = 0; - /** * Creates a new EnumDescriptorProto instance using the specified properties. * @function create @@ -223153,8 +222437,6 @@ if (message.reservedName != null && message.reservedName.length) for (var i = 0; i < message.reservedName.length; ++i) writer.uint32(/* id 5, wireType 2 =*/42).string(message.reservedName[i]); - if (message.visibility != null && Object.hasOwnProperty.call(message, "visibility")) - writer.uint32(/* id 6, wireType 0 =*/48).int32(message.visibility); return writer; }; @@ -223217,10 +222499,6 @@ message.reservedName.push(reader.string()); break; } - case 6: { - message.visibility = reader.int32(); - break; - } default: reader.skipType(tag & 7); break; @@ -223289,15 +222567,6 @@ if (!$util.isString(message.reservedName[i])) return "reservedName: string[] expected"; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - switch (message.visibility) { - default: - return "visibility: enum value expected"; - case 0: - case 1: - case 2: - break; - } return null; }; @@ -223347,26 +222616,6 @@ for (var i = 0; i < object.reservedName.length; ++i) message.reservedName[i] = String(object.reservedName[i]); } - switch (object.visibility) { - default: - if (typeof object.visibility === "number") { - message.visibility = object.visibility; - break; - } - break; - case "VISIBILITY_UNSET": - case 0: - message.visibility = 0; - break; - case "VISIBILITY_LOCAL": - case 1: - message.visibility = 1; - break; - case "VISIBILITY_EXPORT": - case 2: - message.visibility = 2; - break; - } return message; }; @@ -223391,7 +222640,6 @@ if (options.defaults) { object.name = ""; object.options = null; - object.visibility = options.enums === String ? "VISIBILITY_UNSET" : 0; } if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; @@ -223412,8 +222660,6 @@ for (var j = 0; j < message.reservedName.length; ++j) object.reservedName[j] = message.reservedName[j]; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - object.visibility = options.enums === String ? $root.google.protobuf.SymbolVisibility[message.visibility] === undefined ? message.visibility : $root.google.protobuf.SymbolVisibility[message.visibility] : message.visibility; return object; }; @@ -225732,7 +224978,6 @@ * @property {Array.|null} [targets] FieldOptions targets * @property {Array.|null} [editionDefaults] FieldOptions editionDefaults * @property {google.protobuf.IFeatureSet|null} [features] FieldOptions features - * @property {google.protobuf.FieldOptions.IFeatureSupport|null} [featureSupport] FieldOptions featureSupport * @property {Array.|null} [uninterpretedOption] FieldOptions uninterpretedOption * @property {Array.|null} [".google.api.fieldBehavior"] FieldOptions .google.api.fieldBehavior * @property {google.api.IResourceReference|null} [".google.api.resourceReference"] FieldOptions .google.api.resourceReference @@ -225853,14 +225098,6 @@ */ FieldOptions.prototype.features = null; - /** - * FieldOptions featureSupport. - * @member {google.protobuf.FieldOptions.IFeatureSupport|null|undefined} featureSupport - * @memberof google.protobuf.FieldOptions - * @instance - */ - FieldOptions.prototype.featureSupport = null; - /** * FieldOptions uninterpretedOption. * @member {Array.} uninterpretedOption @@ -225935,8 +225172,6 @@ $root.google.protobuf.FieldOptions.EditionDefault.encode(message.editionDefaults[i], writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim(); if (message.features != null && Object.hasOwnProperty.call(message, "features")) $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim(); - if (message.featureSupport != null && Object.hasOwnProperty.call(message, "featureSupport")) - $root.google.protobuf.FieldOptions.FeatureSupport.encode(message.featureSupport, writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim(); if (message.uninterpretedOption != null && message.uninterpretedOption.length) for (var i = 0; i < message.uninterpretedOption.length; ++i) $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim(); @@ -226038,10 +225273,6 @@ message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); break; } - case 22: { - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.decode(reader, reader.uint32()); - break; - } case 999: { if (!(message.uninterpretedOption && message.uninterpretedOption.length)) message.uninterpretedOption = []; @@ -226177,11 +225408,6 @@ if (error) return "features." + error; } - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) { - var error = $root.google.protobuf.FieldOptions.FeatureSupport.verify(message.featureSupport); - if (error) - return "featureSupport." + error; - } if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) { if (!Array.isArray(message.uninterpretedOption)) return "uninterpretedOption: array expected"; @@ -226370,11 +225596,6 @@ throw TypeError(".google.protobuf.FieldOptions.features: object expected"); message.features = $root.google.protobuf.FeatureSet.fromObject(object.features); } - if (object.featureSupport != null) { - if (typeof object.featureSupport !== "object") - throw TypeError(".google.protobuf.FieldOptions.featureSupport: object expected"); - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.fromObject(object.featureSupport); - } if (object.uninterpretedOption) { if (!Array.isArray(object.uninterpretedOption)) throw TypeError(".google.protobuf.FieldOptions.uninterpretedOption: array expected"); @@ -226472,7 +225693,6 @@ object.debugRedact = false; object.retention = options.enums === String ? "RETENTION_UNKNOWN" : 0; object.features = null; - object.featureSupport = null; object[".google.api.resourceReference"] = null; } if (message.ctype != null && message.hasOwnProperty("ctype")) @@ -226505,8 +225725,6 @@ } if (message.features != null && message.hasOwnProperty("features")) object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options); - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) - object.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.toObject(message.featureSupport, options); if (message.uninterpretedOption && message.uninterpretedOption.length) { object.uninterpretedOption = []; for (var j = 0; j < message.uninterpretedOption.length; ++j) @@ -226779,7 +225997,6 @@ default: return "edition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -226821,589 +226038,103 @@ case 0: message.edition = 0; break; - case "EDITION_LEGACY": - case 900: - message.edition = 900; - break; - case "EDITION_PROTO2": - case 998: - message.edition = 998; - break; - case "EDITION_PROTO3": - case 999: - message.edition = 999; - break; - case "EDITION_2023": - case 1000: - message.edition = 1000; - break; - case "EDITION_2024": - case 1001: - message.edition = 1001; - break; - case "EDITION_1_TEST_ONLY": - case 1: - message.edition = 1; - break; - case "EDITION_2_TEST_ONLY": - case 2: - message.edition = 2; - break; - case "EDITION_99997_TEST_ONLY": - case 99997: - message.edition = 99997; - break; - case "EDITION_99998_TEST_ONLY": - case 99998: - message.edition = 99998; - break; - case "EDITION_99999_TEST_ONLY": - case 99999: - message.edition = 99999; - break; - case "EDITION_MAX": - case 2147483647: - message.edition = 2147483647; - break; - } - if (object.value != null) - message.value = String(object.value); - return message; - }; - - /** - * Creates a plain object from an EditionDefault message. Also converts values to other types if specified. - * @function toObject - * @memberof google.protobuf.FieldOptions.EditionDefault - * @static - * @param {google.protobuf.FieldOptions.EditionDefault} message EditionDefault - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - EditionDefault.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.value = ""; - object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0; - } - if (message.value != null && message.hasOwnProperty("value")) - object.value = message.value; - if (message.edition != null && message.hasOwnProperty("edition")) - object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; - return object; - }; - - /** - * Converts this EditionDefault to JSON. - * @function toJSON - * @memberof google.protobuf.FieldOptions.EditionDefault - * @instance - * @returns {Object.} JSON object - */ - EditionDefault.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for EditionDefault - * @function getTypeUrl - * @memberof google.protobuf.FieldOptions.EditionDefault - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - EditionDefault.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.FieldOptions.EditionDefault"; - }; - - return EditionDefault; - })(); - - FieldOptions.FeatureSupport = (function() { - - /** - * Properties of a FeatureSupport. - * @memberof google.protobuf.FieldOptions - * @interface IFeatureSupport - * @property {google.protobuf.Edition|null} [editionIntroduced] FeatureSupport editionIntroduced - * @property {google.protobuf.Edition|null} [editionDeprecated] FeatureSupport editionDeprecated - * @property {string|null} [deprecationWarning] FeatureSupport deprecationWarning - * @property {google.protobuf.Edition|null} [editionRemoved] FeatureSupport editionRemoved - */ - - /** - * Constructs a new FeatureSupport. - * @memberof google.protobuf.FieldOptions - * @classdesc Represents a FeatureSupport. - * @implements IFeatureSupport - * @constructor - * @param {google.protobuf.FieldOptions.IFeatureSupport=} [properties] Properties to set - */ - function FeatureSupport(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * FeatureSupport editionIntroduced. - * @member {google.protobuf.Edition} editionIntroduced - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @instance - */ - FeatureSupport.prototype.editionIntroduced = 0; - - /** - * FeatureSupport editionDeprecated. - * @member {google.protobuf.Edition} editionDeprecated - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @instance - */ - FeatureSupport.prototype.editionDeprecated = 0; - - /** - * FeatureSupport deprecationWarning. - * @member {string} deprecationWarning - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @instance - */ - FeatureSupport.prototype.deprecationWarning = ""; - - /** - * FeatureSupport editionRemoved. - * @member {google.protobuf.Edition} editionRemoved - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @instance - */ - FeatureSupport.prototype.editionRemoved = 0; - - /** - * Creates a new FeatureSupport instance using the specified properties. - * @function create - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {google.protobuf.FieldOptions.IFeatureSupport=} [properties] Properties to set - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport instance - */ - FeatureSupport.create = function create(properties) { - return new FeatureSupport(properties); - }; - - /** - * Encodes the specified FeatureSupport message. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. - * @function encode - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {google.protobuf.FieldOptions.IFeatureSupport} message FeatureSupport message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - FeatureSupport.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.editionIntroduced != null && Object.hasOwnProperty.call(message, "editionIntroduced")) - writer.uint32(/* id 1, wireType 0 =*/8).int32(message.editionIntroduced); - if (message.editionDeprecated != null && Object.hasOwnProperty.call(message, "editionDeprecated")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.editionDeprecated); - if (message.deprecationWarning != null && Object.hasOwnProperty.call(message, "deprecationWarning")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.deprecationWarning); - if (message.editionRemoved != null && Object.hasOwnProperty.call(message, "editionRemoved")) - writer.uint32(/* id 4, wireType 0 =*/32).int32(message.editionRemoved); - return writer; - }; - - /** - * Encodes the specified FeatureSupport message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. - * @function encodeDelimited - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {google.protobuf.FieldOptions.IFeatureSupport} message FeatureSupport message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - FeatureSupport.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a FeatureSupport message from the specified reader or buffer. - * @function decode - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - FeatureSupport.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FieldOptions.FeatureSupport(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.editionIntroduced = reader.int32(); - break; - } - case 2: { - message.editionDeprecated = reader.int32(); - break; - } - case 3: { - message.deprecationWarning = reader.string(); - break; - } - case 4: { - message.editionRemoved = reader.int32(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a FeatureSupport message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - FeatureSupport.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a FeatureSupport message. - * @function verify - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - FeatureSupport.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.editionIntroduced != null && message.hasOwnProperty("editionIntroduced")) - switch (message.editionIntroduced) { - default: - return "editionIntroduced: enum value expected"; - case 0: - case 900: - case 998: - case 999: - case 1000: - case 1001: - case 1: - case 2: - case 99997: - case 99998: - case 99999: - case 2147483647: - break; - } - if (message.editionDeprecated != null && message.hasOwnProperty("editionDeprecated")) - switch (message.editionDeprecated) { - default: - return "editionDeprecated: enum value expected"; - case 0: - case 900: - case 998: - case 999: - case 1000: - case 1001: - case 1: - case 2: - case 99997: - case 99998: - case 99999: - case 2147483647: - break; - } - if (message.deprecationWarning != null && message.hasOwnProperty("deprecationWarning")) - if (!$util.isString(message.deprecationWarning)) - return "deprecationWarning: string expected"; - if (message.editionRemoved != null && message.hasOwnProperty("editionRemoved")) - switch (message.editionRemoved) { - default: - return "editionRemoved: enum value expected"; - case 0: - case 900: - case 998: - case 999: - case 1000: - case 1001: - case 1: - case 2: - case 99997: - case 99998: - case 99999: - case 2147483647: - break; - } - return null; - }; - - /** - * Creates a FeatureSupport message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {Object.} object Plain object - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport - */ - FeatureSupport.fromObject = function fromObject(object) { - if (object instanceof $root.google.protobuf.FieldOptions.FeatureSupport) - return object; - var message = new $root.google.protobuf.FieldOptions.FeatureSupport(); - switch (object.editionIntroduced) { - default: - if (typeof object.editionIntroduced === "number") { - message.editionIntroduced = object.editionIntroduced; - break; - } - break; - case "EDITION_UNKNOWN": - case 0: - message.editionIntroduced = 0; - break; - case "EDITION_LEGACY": - case 900: - message.editionIntroduced = 900; - break; - case "EDITION_PROTO2": - case 998: - message.editionIntroduced = 998; - break; - case "EDITION_PROTO3": - case 999: - message.editionIntroduced = 999; - break; - case "EDITION_2023": - case 1000: - message.editionIntroduced = 1000; - break; - case "EDITION_2024": - case 1001: - message.editionIntroduced = 1001; - break; - case "EDITION_1_TEST_ONLY": - case 1: - message.editionIntroduced = 1; - break; - case "EDITION_2_TEST_ONLY": - case 2: - message.editionIntroduced = 2; - break; - case "EDITION_99997_TEST_ONLY": - case 99997: - message.editionIntroduced = 99997; - break; - case "EDITION_99998_TEST_ONLY": - case 99998: - message.editionIntroduced = 99998; - break; - case "EDITION_99999_TEST_ONLY": - case 99999: - message.editionIntroduced = 99999; - break; - case "EDITION_MAX": - case 2147483647: - message.editionIntroduced = 2147483647; - break; - } - switch (object.editionDeprecated) { - default: - if (typeof object.editionDeprecated === "number") { - message.editionDeprecated = object.editionDeprecated; - break; - } - break; - case "EDITION_UNKNOWN": - case 0: - message.editionDeprecated = 0; - break; - case "EDITION_LEGACY": - case 900: - message.editionDeprecated = 900; - break; - case "EDITION_PROTO2": - case 998: - message.editionDeprecated = 998; - break; - case "EDITION_PROTO3": - case 999: - message.editionDeprecated = 999; - break; - case "EDITION_2023": - case 1000: - message.editionDeprecated = 1000; - break; - case "EDITION_2024": - case 1001: - message.editionDeprecated = 1001; - break; - case "EDITION_1_TEST_ONLY": - case 1: - message.editionDeprecated = 1; - break; - case "EDITION_2_TEST_ONLY": - case 2: - message.editionDeprecated = 2; - break; - case "EDITION_99997_TEST_ONLY": - case 99997: - message.editionDeprecated = 99997; - break; - case "EDITION_99998_TEST_ONLY": - case 99998: - message.editionDeprecated = 99998; - break; - case "EDITION_99999_TEST_ONLY": - case 99999: - message.editionDeprecated = 99999; - break; - case "EDITION_MAX": - case 2147483647: - message.editionDeprecated = 2147483647; - break; - } - if (object.deprecationWarning != null) - message.deprecationWarning = String(object.deprecationWarning); - switch (object.editionRemoved) { - default: - if (typeof object.editionRemoved === "number") { - message.editionRemoved = object.editionRemoved; - break; - } - break; - case "EDITION_UNKNOWN": - case 0: - message.editionRemoved = 0; - break; - case "EDITION_LEGACY": - case 900: - message.editionRemoved = 900; - break; case "EDITION_PROTO2": case 998: - message.editionRemoved = 998; + message.edition = 998; break; case "EDITION_PROTO3": case 999: - message.editionRemoved = 999; + message.edition = 999; break; case "EDITION_2023": case 1000: - message.editionRemoved = 1000; + message.edition = 1000; break; case "EDITION_2024": case 1001: - message.editionRemoved = 1001; + message.edition = 1001; break; case "EDITION_1_TEST_ONLY": case 1: - message.editionRemoved = 1; + message.edition = 1; break; case "EDITION_2_TEST_ONLY": case 2: - message.editionRemoved = 2; + message.edition = 2; break; case "EDITION_99997_TEST_ONLY": case 99997: - message.editionRemoved = 99997; + message.edition = 99997; break; case "EDITION_99998_TEST_ONLY": case 99998: - message.editionRemoved = 99998; + message.edition = 99998; break; case "EDITION_99999_TEST_ONLY": case 99999: - message.editionRemoved = 99999; + message.edition = 99999; break; case "EDITION_MAX": case 2147483647: - message.editionRemoved = 2147483647; + message.edition = 2147483647; break; } + if (object.value != null) + message.value = String(object.value); return message; }; /** - * Creates a plain object from a FeatureSupport message. Also converts values to other types if specified. + * Creates a plain object from an EditionDefault message. Also converts values to other types if specified. * @function toObject - * @memberof google.protobuf.FieldOptions.FeatureSupport + * @memberof google.protobuf.FieldOptions.EditionDefault * @static - * @param {google.protobuf.FieldOptions.FeatureSupport} message FeatureSupport + * @param {google.protobuf.FieldOptions.EditionDefault} message EditionDefault * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - FeatureSupport.toObject = function toObject(message, options) { + EditionDefault.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; if (options.defaults) { - object.editionIntroduced = options.enums === String ? "EDITION_UNKNOWN" : 0; - object.editionDeprecated = options.enums === String ? "EDITION_UNKNOWN" : 0; - object.deprecationWarning = ""; - object.editionRemoved = options.enums === String ? "EDITION_UNKNOWN" : 0; + object.value = ""; + object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0; } - if (message.editionIntroduced != null && message.hasOwnProperty("editionIntroduced")) - object.editionIntroduced = options.enums === String ? $root.google.protobuf.Edition[message.editionIntroduced] === undefined ? message.editionIntroduced : $root.google.protobuf.Edition[message.editionIntroduced] : message.editionIntroduced; - if (message.editionDeprecated != null && message.hasOwnProperty("editionDeprecated")) - object.editionDeprecated = options.enums === String ? $root.google.protobuf.Edition[message.editionDeprecated] === undefined ? message.editionDeprecated : $root.google.protobuf.Edition[message.editionDeprecated] : message.editionDeprecated; - if (message.deprecationWarning != null && message.hasOwnProperty("deprecationWarning")) - object.deprecationWarning = message.deprecationWarning; - if (message.editionRemoved != null && message.hasOwnProperty("editionRemoved")) - object.editionRemoved = options.enums === String ? $root.google.protobuf.Edition[message.editionRemoved] === undefined ? message.editionRemoved : $root.google.protobuf.Edition[message.editionRemoved] : message.editionRemoved; + if (message.value != null && message.hasOwnProperty("value")) + object.value = message.value; + if (message.edition != null && message.hasOwnProperty("edition")) + object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; return object; }; /** - * Converts this FeatureSupport to JSON. + * Converts this EditionDefault to JSON. * @function toJSON - * @memberof google.protobuf.FieldOptions.FeatureSupport + * @memberof google.protobuf.FieldOptions.EditionDefault * @instance * @returns {Object.} JSON object */ - FeatureSupport.prototype.toJSON = function toJSON() { + EditionDefault.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for FeatureSupport + * Gets the default type url for EditionDefault * @function getTypeUrl - * @memberof google.protobuf.FieldOptions.FeatureSupport + * @memberof google.protobuf.FieldOptions.EditionDefault * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - FeatureSupport.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + EditionDefault.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.protobuf.FieldOptions.FeatureSupport"; + return typeUrlPrefix + "/google.protobuf.FieldOptions.EditionDefault"; }; - return FeatureSupport; + return EditionDefault; })(); return FieldOptions; @@ -227998,7 +226729,6 @@ * @property {boolean|null} [deprecated] EnumValueOptions deprecated * @property {google.protobuf.IFeatureSet|null} [features] EnumValueOptions features * @property {boolean|null} [debugRedact] EnumValueOptions debugRedact - * @property {google.protobuf.FieldOptions.IFeatureSupport|null} [featureSupport] EnumValueOptions featureSupport * @property {Array.|null} [uninterpretedOption] EnumValueOptions uninterpretedOption */ @@ -228042,14 +226772,6 @@ */ EnumValueOptions.prototype.debugRedact = false; - /** - * EnumValueOptions featureSupport. - * @member {google.protobuf.FieldOptions.IFeatureSupport|null|undefined} featureSupport - * @memberof google.protobuf.EnumValueOptions - * @instance - */ - EnumValueOptions.prototype.featureSupport = null; - /** * EnumValueOptions uninterpretedOption. * @member {Array.} uninterpretedOption @@ -228088,8 +226810,6 @@ $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); if (message.debugRedact != null && Object.hasOwnProperty.call(message, "debugRedact")) writer.uint32(/* id 3, wireType 0 =*/24).bool(message.debugRedact); - if (message.featureSupport != null && Object.hasOwnProperty.call(message, "featureSupport")) - $root.google.protobuf.FieldOptions.FeatureSupport.encode(message.featureSupport, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); if (message.uninterpretedOption != null && message.uninterpretedOption.length) for (var i = 0; i < message.uninterpretedOption.length; ++i) $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim(); @@ -228141,10 +226861,6 @@ message.debugRedact = reader.bool(); break; } - case 4: { - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.decode(reader, reader.uint32()); - break; - } case 999: { if (!(message.uninterpretedOption && message.uninterpretedOption.length)) message.uninterpretedOption = []; @@ -228197,11 +226913,6 @@ if (message.debugRedact != null && message.hasOwnProperty("debugRedact")) if (typeof message.debugRedact !== "boolean") return "debugRedact: boolean expected"; - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) { - var error = $root.google.protobuf.FieldOptions.FeatureSupport.verify(message.featureSupport); - if (error) - return "featureSupport." + error; - } if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) { if (!Array.isArray(message.uninterpretedOption)) return "uninterpretedOption: array expected"; @@ -228235,11 +226946,6 @@ } if (object.debugRedact != null) message.debugRedact = Boolean(object.debugRedact); - if (object.featureSupport != null) { - if (typeof object.featureSupport !== "object") - throw TypeError(".google.protobuf.EnumValueOptions.featureSupport: object expected"); - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.fromObject(object.featureSupport); - } if (object.uninterpretedOption) { if (!Array.isArray(object.uninterpretedOption)) throw TypeError(".google.protobuf.EnumValueOptions.uninterpretedOption: array expected"); @@ -228272,7 +226978,6 @@ object.deprecated = false; object.features = null; object.debugRedact = false; - object.featureSupport = null; } if (message.deprecated != null && message.hasOwnProperty("deprecated")) object.deprecated = message.deprecated; @@ -228280,8 +226985,6 @@ object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options); if (message.debugRedact != null && message.hasOwnProperty("debugRedact")) object.debugRedact = message.debugRedact; - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) - object.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.toObject(message.featureSupport, options); if (message.uninterpretedOption && message.uninterpretedOption.length) { object.uninterpretedOption = []; for (var j = 0; j < message.uninterpretedOption.length; ++j) @@ -229749,8 +228452,6 @@ * @property {google.protobuf.FeatureSet.Utf8Validation|null} [utf8Validation] FeatureSet utf8Validation * @property {google.protobuf.FeatureSet.MessageEncoding|null} [messageEncoding] FeatureSet messageEncoding * @property {google.protobuf.FeatureSet.JsonFormat|null} [jsonFormat] FeatureSet jsonFormat - * @property {google.protobuf.FeatureSet.EnforceNamingStyle|null} [enforceNamingStyle] FeatureSet enforceNamingStyle - * @property {google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|null} [defaultSymbolVisibility] FeatureSet defaultSymbolVisibility */ /** @@ -229816,22 +228517,6 @@ */ FeatureSet.prototype.jsonFormat = 0; - /** - * FeatureSet enforceNamingStyle. - * @member {google.protobuf.FeatureSet.EnforceNamingStyle} enforceNamingStyle - * @memberof google.protobuf.FeatureSet - * @instance - */ - FeatureSet.prototype.enforceNamingStyle = 0; - - /** - * FeatureSet defaultSymbolVisibility. - * @member {google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility} defaultSymbolVisibility - * @memberof google.protobuf.FeatureSet - * @instance - */ - FeatureSet.prototype.defaultSymbolVisibility = 0; - /** * Creates a new FeatureSet instance using the specified properties. * @function create @@ -229868,10 +228553,6 @@ writer.uint32(/* id 5, wireType 0 =*/40).int32(message.messageEncoding); if (message.jsonFormat != null && Object.hasOwnProperty.call(message, "jsonFormat")) writer.uint32(/* id 6, wireType 0 =*/48).int32(message.jsonFormat); - if (message.enforceNamingStyle != null && Object.hasOwnProperty.call(message, "enforceNamingStyle")) - writer.uint32(/* id 7, wireType 0 =*/56).int32(message.enforceNamingStyle); - if (message.defaultSymbolVisibility != null && Object.hasOwnProperty.call(message, "defaultSymbolVisibility")) - writer.uint32(/* id 8, wireType 0 =*/64).int32(message.defaultSymbolVisibility); return writer; }; @@ -229932,14 +228613,6 @@ message.jsonFormat = reader.int32(); break; } - case 7: { - message.enforceNamingStyle = reader.int32(); - break; - } - case 8: { - message.defaultSymbolVisibility = reader.int32(); - break; - } default: reader.skipType(tag & 7); break; @@ -230030,26 +228703,6 @@ case 2: break; } - if (message.enforceNamingStyle != null && message.hasOwnProperty("enforceNamingStyle")) - switch (message.enforceNamingStyle) { - default: - return "enforceNamingStyle: enum value expected"; - case 0: - case 1: - case 2: - break; - } - if (message.defaultSymbolVisibility != null && message.hasOwnProperty("defaultSymbolVisibility")) - switch (message.defaultSymbolVisibility) { - default: - return "defaultSymbolVisibility: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } return null; }; @@ -230189,54 +228842,6 @@ message.jsonFormat = 2; break; } - switch (object.enforceNamingStyle) { - default: - if (typeof object.enforceNamingStyle === "number") { - message.enforceNamingStyle = object.enforceNamingStyle; - break; - } - break; - case "ENFORCE_NAMING_STYLE_UNKNOWN": - case 0: - message.enforceNamingStyle = 0; - break; - case "STYLE2024": - case 1: - message.enforceNamingStyle = 1; - break; - case "STYLE_LEGACY": - case 2: - message.enforceNamingStyle = 2; - break; - } - switch (object.defaultSymbolVisibility) { - default: - if (typeof object.defaultSymbolVisibility === "number") { - message.defaultSymbolVisibility = object.defaultSymbolVisibility; - break; - } - break; - case "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN": - case 0: - message.defaultSymbolVisibility = 0; - break; - case "EXPORT_ALL": - case 1: - message.defaultSymbolVisibility = 1; - break; - case "EXPORT_TOP_LEVEL": - case 2: - message.defaultSymbolVisibility = 2; - break; - case "LOCAL_ALL": - case 3: - message.defaultSymbolVisibility = 3; - break; - case "STRICT": - case 4: - message.defaultSymbolVisibility = 4; - break; - } return message; }; @@ -230260,8 +228865,6 @@ object.utf8Validation = options.enums === String ? "UTF8_VALIDATION_UNKNOWN" : 0; object.messageEncoding = options.enums === String ? "MESSAGE_ENCODING_UNKNOWN" : 0; object.jsonFormat = options.enums === String ? "JSON_FORMAT_UNKNOWN" : 0; - object.enforceNamingStyle = options.enums === String ? "ENFORCE_NAMING_STYLE_UNKNOWN" : 0; - object.defaultSymbolVisibility = options.enums === String ? "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN" : 0; } if (message.fieldPresence != null && message.hasOwnProperty("fieldPresence")) object.fieldPresence = options.enums === String ? $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] === undefined ? message.fieldPresence : $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] : message.fieldPresence; @@ -230275,10 +228878,6 @@ object.messageEncoding = options.enums === String ? $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] === undefined ? message.messageEncoding : $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] : message.messageEncoding; if (message.jsonFormat != null && message.hasOwnProperty("jsonFormat")) object.jsonFormat = options.enums === String ? $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] === undefined ? message.jsonFormat : $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] : message.jsonFormat; - if (message.enforceNamingStyle != null && message.hasOwnProperty("enforceNamingStyle")) - object.enforceNamingStyle = options.enums === String ? $root.google.protobuf.FeatureSet.EnforceNamingStyle[message.enforceNamingStyle] === undefined ? message.enforceNamingStyle : $root.google.protobuf.FeatureSet.EnforceNamingStyle[message.enforceNamingStyle] : message.enforceNamingStyle; - if (message.defaultSymbolVisibility != null && message.hasOwnProperty("defaultSymbolVisibility")) - object.defaultSymbolVisibility = options.enums === String ? $root.google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility[message.defaultSymbolVisibility] === undefined ? message.defaultSymbolVisibility : $root.google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility[message.defaultSymbolVisibility] : message.defaultSymbolVisibility; return object; }; @@ -230406,219 +229005,6 @@ return values; })(); - /** - * EnforceNamingStyle enum. - * @name google.protobuf.FeatureSet.EnforceNamingStyle - * @enum {number} - * @property {number} ENFORCE_NAMING_STYLE_UNKNOWN=0 ENFORCE_NAMING_STYLE_UNKNOWN value - * @property {number} STYLE2024=1 STYLE2024 value - * @property {number} STYLE_LEGACY=2 STYLE_LEGACY value - */ - FeatureSet.EnforceNamingStyle = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "ENFORCE_NAMING_STYLE_UNKNOWN"] = 0; - values[valuesById[1] = "STYLE2024"] = 1; - values[valuesById[2] = "STYLE_LEGACY"] = 2; - return values; - })(); - - FeatureSet.VisibilityFeature = (function() { - - /** - * Properties of a VisibilityFeature. - * @memberof google.protobuf.FeatureSet - * @interface IVisibilityFeature - */ - - /** - * Constructs a new VisibilityFeature. - * @memberof google.protobuf.FeatureSet - * @classdesc Represents a VisibilityFeature. - * @implements IVisibilityFeature - * @constructor - * @param {google.protobuf.FeatureSet.IVisibilityFeature=} [properties] Properties to set - */ - function VisibilityFeature(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Creates a new VisibilityFeature instance using the specified properties. - * @function create - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.IVisibilityFeature=} [properties] Properties to set - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature instance - */ - VisibilityFeature.create = function create(properties) { - return new VisibilityFeature(properties); - }; - - /** - * Encodes the specified VisibilityFeature message. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @function encode - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.IVisibilityFeature} message VisibilityFeature message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - VisibilityFeature.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - return writer; - }; - - /** - * Encodes the specified VisibilityFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @function encodeDelimited - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.IVisibilityFeature} message VisibilityFeature message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - VisibilityFeature.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer. - * @function decode - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - VisibilityFeature.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FeatureSet.VisibilityFeature(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - VisibilityFeature.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a VisibilityFeature message. - * @function verify - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - VisibilityFeature.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - return null; - }; - - /** - * Creates a VisibilityFeature message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {Object.} object Plain object - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature - */ - VisibilityFeature.fromObject = function fromObject(object) { - if (object instanceof $root.google.protobuf.FeatureSet.VisibilityFeature) - return object; - return new $root.google.protobuf.FeatureSet.VisibilityFeature(); - }; - - /** - * Creates a plain object from a VisibilityFeature message. Also converts values to other types if specified. - * @function toObject - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.VisibilityFeature} message VisibilityFeature - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - VisibilityFeature.toObject = function toObject() { - return {}; - }; - - /** - * Converts this VisibilityFeature to JSON. - * @function toJSON - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @instance - * @returns {Object.} JSON object - */ - VisibilityFeature.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for VisibilityFeature - * @function getTypeUrl - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - VisibilityFeature.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.FeatureSet.VisibilityFeature"; - }; - - /** - * DefaultSymbolVisibility enum. - * @name google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility - * @enum {number} - * @property {number} DEFAULT_SYMBOL_VISIBILITY_UNKNOWN=0 DEFAULT_SYMBOL_VISIBILITY_UNKNOWN value - * @property {number} EXPORT_ALL=1 EXPORT_ALL value - * @property {number} EXPORT_TOP_LEVEL=2 EXPORT_TOP_LEVEL value - * @property {number} LOCAL_ALL=3 LOCAL_ALL value - * @property {number} STRICT=4 STRICT value - */ - VisibilityFeature.DefaultSymbolVisibility = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN"] = 0; - values[valuesById[1] = "EXPORT_ALL"] = 1; - values[valuesById[2] = "EXPORT_TOP_LEVEL"] = 2; - values[valuesById[3] = "LOCAL_ALL"] = 3; - values[valuesById[4] = "STRICT"] = 4; - return values; - })(); - - return VisibilityFeature; - })(); - return FeatureSet; })(); @@ -230803,7 +229189,6 @@ default: return "minimumEdition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -230821,7 +229206,6 @@ default: return "maximumEdition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -230870,10 +229254,6 @@ case 0: message.minimumEdition = 0; break; - case "EDITION_LEGACY": - case 900: - message.minimumEdition = 900; - break; case "EDITION_PROTO2": case 998: message.minimumEdition = 998; @@ -230926,10 +229306,6 @@ case 0: message.maximumEdition = 0; break; - case "EDITION_LEGACY": - case 900: - message.maximumEdition = 900; - break; case "EDITION_PROTO2": case 998: message.maximumEdition = 998; @@ -231038,8 +229414,7 @@ * @memberof google.protobuf.FeatureSetDefaults * @interface IFeatureSetEditionDefault * @property {google.protobuf.Edition|null} [edition] FeatureSetEditionDefault edition - * @property {google.protobuf.IFeatureSet|null} [overridableFeatures] FeatureSetEditionDefault overridableFeatures - * @property {google.protobuf.IFeatureSet|null} [fixedFeatures] FeatureSetEditionDefault fixedFeatures + * @property {google.protobuf.IFeatureSet|null} [features] FeatureSetEditionDefault features */ /** @@ -231066,20 +229441,12 @@ FeatureSetEditionDefault.prototype.edition = 0; /** - * FeatureSetEditionDefault overridableFeatures. - * @member {google.protobuf.IFeatureSet|null|undefined} overridableFeatures - * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault - * @instance - */ - FeatureSetEditionDefault.prototype.overridableFeatures = null; - - /** - * FeatureSetEditionDefault fixedFeatures. - * @member {google.protobuf.IFeatureSet|null|undefined} fixedFeatures + * FeatureSetEditionDefault features. + * @member {google.protobuf.IFeatureSet|null|undefined} features * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault * @instance */ - FeatureSetEditionDefault.prototype.fixedFeatures = null; + FeatureSetEditionDefault.prototype.features = null; /** * Creates a new FeatureSetEditionDefault instance using the specified properties. @@ -231105,12 +229472,10 @@ FeatureSetEditionDefault.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); + if (message.features != null && Object.hasOwnProperty.call(message, "features")) + $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); if (message.edition != null && Object.hasOwnProperty.call(message, "edition")) writer.uint32(/* id 3, wireType 0 =*/24).int32(message.edition); - if (message.overridableFeatures != null && Object.hasOwnProperty.call(message, "overridableFeatures")) - $root.google.protobuf.FeatureSet.encode(message.overridableFeatures, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.fixedFeatures != null && Object.hasOwnProperty.call(message, "fixedFeatures")) - $root.google.protobuf.FeatureSet.encode(message.fixedFeatures, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); return writer; }; @@ -231151,12 +229516,8 @@ message.edition = reader.int32(); break; } - case 4: { - message.overridableFeatures = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); - break; - } - case 5: { - message.fixedFeatures = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); + case 2: { + message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); break; } default: @@ -231199,7 +229560,6 @@ default: return "edition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -231212,15 +229572,10 @@ case 2147483647: break; } - if (message.overridableFeatures != null && message.hasOwnProperty("overridableFeatures")) { - var error = $root.google.protobuf.FeatureSet.verify(message.overridableFeatures); - if (error) - return "overridableFeatures." + error; - } - if (message.fixedFeatures != null && message.hasOwnProperty("fixedFeatures")) { - var error = $root.google.protobuf.FeatureSet.verify(message.fixedFeatures); + if (message.features != null && message.hasOwnProperty("features")) { + var error = $root.google.protobuf.FeatureSet.verify(message.features); if (error) - return "fixedFeatures." + error; + return "features." + error; } return null; }; @@ -231248,10 +229603,6 @@ case 0: message.edition = 0; break; - case "EDITION_LEGACY": - case 900: - message.edition = 900; - break; case "EDITION_PROTO2": case 998: message.edition = 998; @@ -231293,15 +229644,10 @@ message.edition = 2147483647; break; } - if (object.overridableFeatures != null) { - if (typeof object.overridableFeatures !== "object") - throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.overridableFeatures: object expected"); - message.overridableFeatures = $root.google.protobuf.FeatureSet.fromObject(object.overridableFeatures); - } - if (object.fixedFeatures != null) { - if (typeof object.fixedFeatures !== "object") - throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.fixedFeatures: object expected"); - message.fixedFeatures = $root.google.protobuf.FeatureSet.fromObject(object.fixedFeatures); + if (object.features != null) { + if (typeof object.features !== "object") + throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.features: object expected"); + message.features = $root.google.protobuf.FeatureSet.fromObject(object.features); } return message; }; @@ -231320,16 +229666,13 @@ options = {}; var object = {}; if (options.defaults) { + object.features = null; object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0; - object.overridableFeatures = null; - object.fixedFeatures = null; } + if (message.features != null && message.hasOwnProperty("features")) + object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options); if (message.edition != null && message.hasOwnProperty("edition")) object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; - if (message.overridableFeatures != null && message.hasOwnProperty("overridableFeatures")) - object.overridableFeatures = $root.google.protobuf.FeatureSet.toObject(message.overridableFeatures, options); - if (message.fixedFeatures != null && message.hasOwnProperty("fixedFeatures")) - object.fixedFeatures = $root.google.protobuf.FeatureSet.toObject(message.fixedFeatures, options); return object; }; @@ -232544,22 +230887,6 @@ return GeneratedCodeInfo; })(); - /** - * SymbolVisibility enum. - * @name google.protobuf.SymbolVisibility - * @enum {number} - * @property {number} VISIBILITY_UNSET=0 VISIBILITY_UNSET value - * @property {number} VISIBILITY_LOCAL=1 VISIBILITY_LOCAL value - * @property {number} VISIBILITY_EXPORT=2 VISIBILITY_EXPORT value - */ - protobuf.SymbolVisibility = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "VISIBILITY_UNSET"] = 0; - values[valuesById[1] = "VISIBILITY_LOCAL"] = 1; - values[valuesById[2] = "VISIBILITY_EXPORT"] = 2; - return values; - })(); - protobuf.Duration = (function() { /** diff --git a/packages/google-cloud-dialogflow-cx/protos/protos.json b/packages/google-cloud-dialogflow-cx/protos/protos.json index a5da64fc92b3..a7ceb0b41257 100644 --- a/packages/google-cloud-dialogflow-cx/protos/protos.json +++ b/packages/google-cloud-dialogflow-cx/protos/protos.json @@ -22694,7 +22694,8 @@ "java_multiple_files": true, "java_outer_classname": "ResourceProto", "java_package": "com.google.api", - "objc_class_prefix": "GAPI" + "objc_class_prefix": "GAPI", + "cc_enable_arenas": true }, "nested": { "fieldBehavior": { @@ -22840,10 +22841,6 @@ "rule": "repeated", "type": "ClientLibraryDestination", "id": 2 - }, - "selectiveGapicGeneration": { - "type": "SelectiveGapicGeneration", - "id": 3 } } }, @@ -22984,28 +22981,6 @@ "common": { "type": "CommonLanguageSettings", "id": 1 - }, - "experimentalFeatures": { - "type": "ExperimentalFeatures", - "id": 2 - } - }, - "nested": { - "ExperimentalFeatures": { - "fields": { - "restAsyncIoEnabled": { - "type": "bool", - "id": 1 - }, - "protobufPythonicTypesEnabled": { - "type": "bool", - "id": 2 - }, - "unversionedPackageDisabled": { - "type": "bool", - "id": 3 - } - } } } }, @@ -23063,11 +23038,6 @@ "common": { "type": "CommonLanguageSettings", "id": 1 - }, - "renamedServices": { - "keyType": "string", - "type": "string", - "id": 2 } } }, @@ -23129,19 +23099,6 @@ "PACKAGE_MANAGER": 20 } }, - "SelectiveGapicGeneration": { - "fields": { - "methods": { - "rule": "repeated", - "type": "string", - "id": 1 - }, - "generateOmittedAsInternal": { - "type": "bool", - "id": 2 - } - } - }, "LaunchStage": { "values": { "LAUNCH_STAGE_UNSPECIFIED": 0, @@ -23252,19 +23209,12 @@ "type": "FileDescriptorProto", "id": 1 } - }, - "extensions": [ - [ - 536000000, - 536000000 - ] - ] + } }, "Edition": { "edition": "proto2", "values": { "EDITION_UNKNOWN": 0, - "EDITION_LEGACY": 900, "EDITION_PROTO2": 998, "EDITION_PROTO3": 999, "EDITION_2023": 1000, @@ -23303,11 +23253,6 @@ "type": "int32", "id": 11 }, - "optionDependency": { - "rule": "repeated", - "type": "string", - "id": 15 - }, "messageType": { "rule": "repeated", "type": "DescriptorProto", @@ -23396,10 +23341,6 @@ "rule": "repeated", "type": "string", "id": 10 - }, - "visibility": { - "type": "SymbolVisibility", - "id": 11 } }, "nested": { @@ -23625,10 +23566,6 @@ "rule": "repeated", "type": "string", "id": 5 - }, - "visibility": { - "type": "SymbolVisibility", - "id": 6 } }, "nested": { @@ -23843,7 +23780,6 @@ 42, 42 ], - "php_generic_services", [ 38, 38 @@ -23979,8 +23915,7 @@ "type": "bool", "id": 10, "options": { - "default": false, - "deprecated": true + "default": false } }, "debugRedact": { @@ -24008,10 +23943,6 @@ "type": "FeatureSet", "id": 21 }, - "featureSupport": { - "type": "FeatureSupport", - "id": 22 - }, "uninterpretedOption": { "rule": "repeated", "type": "UninterpretedOption", @@ -24081,26 +24012,6 @@ "id": 2 } } - }, - "FeatureSupport": { - "fields": { - "editionIntroduced": { - "type": "Edition", - "id": 1 - }, - "editionDeprecated": { - "type": "Edition", - "id": 2 - }, - "deprecationWarning": { - "type": "string", - "id": 3 - }, - "editionRemoved": { - "type": "Edition", - "id": 4 - } - } } } }, @@ -24189,10 +24100,6 @@ "default": false } }, - "featureSupport": { - "type": "FieldOptions.FeatureSupport", - "id": 4 - }, "uninterpretedOption": { "rule": "repeated", "type": "UninterpretedOption", @@ -24335,7 +24242,6 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_2023", "edition_defaults.value": "EXPLICIT" } @@ -24346,7 +24252,6 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_PROTO3", "edition_defaults.value": "OPEN" } @@ -24357,7 +24262,6 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_PROTO3", "edition_defaults.value": "PACKED" } @@ -24368,7 +24272,6 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_PROTO3", "edition_defaults.value": "VERIFY" } @@ -24379,8 +24282,7 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", - "edition_defaults.edition": "EDITION_LEGACY", + "edition_defaults.edition": "EDITION_PROTO2", "edition_defaults.value": "LENGTH_PREFIXED" } }, @@ -24390,38 +24292,27 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_PROTO3", "edition_defaults.value": "ALLOW" } - }, - "enforceNamingStyle": { - "type": "EnforceNamingStyle", - "id": 7, - "options": { - "retention": "RETENTION_SOURCE", - "targets": "TARGET_TYPE_METHOD", - "feature_support.edition_introduced": "EDITION_2024", - "edition_defaults.edition": "EDITION_2024", - "edition_defaults.value": "STYLE2024" - } - }, - "defaultSymbolVisibility": { - "type": "VisibilityFeature.DefaultSymbolVisibility", - "id": 8, - "options": { - "retention": "RETENTION_SOURCE", - "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2024", - "edition_defaults.edition": "EDITION_2024", - "edition_defaults.value": "EXPORT_TOP_LEVEL" - } } }, "extensions": [ [ 1000, - 9994 + 1000 + ], + [ + 1001, + 1001 + ], + [ + 1002, + 1002 + ], + [ + 9990, + 9990 ], [ 9995, @@ -24466,13 +24357,7 @@ "UTF8_VALIDATION_UNKNOWN": 0, "VERIFY": 2, "NONE": 3 - }, - "reserved": [ - [ - 1, - 1 - ] - ] + } }, "MessageEncoding": { "values": { @@ -24487,33 +24372,6 @@ "ALLOW": 1, "LEGACY_BEST_EFFORT": 2 } - }, - "EnforceNamingStyle": { - "values": { - "ENFORCE_NAMING_STYLE_UNKNOWN": 0, - "STYLE2024": 1, - "STYLE_LEGACY": 2 - } - }, - "VisibilityFeature": { - "fields": {}, - "reserved": [ - [ - 1, - 536870911 - ] - ], - "nested": { - "DefaultSymbolVisibility": { - "values": { - "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN": 0, - "EXPORT_ALL": 1, - "EXPORT_TOP_LEVEL": 2, - "LOCAL_ALL": 3, - "STRICT": 4 - } - } - } } } }, @@ -24541,26 +24399,11 @@ "type": "Edition", "id": 3 }, - "overridableFeatures": { + "features": { "type": "FeatureSet", - "id": 4 - }, - "fixedFeatures": { - "type": "FeatureSet", - "id": 5 + "id": 2 } - }, - "reserved": [ - [ - 1, - 1 - ], - [ - 2, - 2 - ], - "features" - ] + } } } }, @@ -24573,12 +24416,6 @@ "id": 1 } }, - "extensions": [ - [ - 536000000, - 536000000 - ] - ], "nested": { "Location": { "fields": { @@ -24664,14 +24501,6 @@ } } }, - "SymbolVisibility": { - "edition": "proto2", - "values": { - "VISIBILITY_UNSET": 0, - "VISIBILITY_LOCAL": 1, - "VISIBILITY_EXPORT": 2 - } - }, "Duration": { "fields": { "seconds": { @@ -24793,7 +24622,6 @@ "java_multiple_files": true, "java_outer_classname": "OperationsProto", "java_package": "com.google.longrunning", - "objc_class_prefix": "GLRUN", "php_namespace": "Google\\LongRunning" }, "nested": { diff --git a/packages/google-cloud-dialogflow-cx/samples/generated/v3/snippet_metadata_google.cloud.dialogflow.cx.v3.json b/packages/google-cloud-dialogflow-cx/samples/generated/v3/snippet_metadata_google.cloud.dialogflow.cx.v3.json index 049fefc08c70..f5ceec34ea3f 100644 --- a/packages/google-cloud-dialogflow-cx/samples/generated/v3/snippet_metadata_google.cloud.dialogflow.cx.v3.json +++ b/packages/google-cloud-dialogflow-cx/samples/generated/v3/snippet_metadata_google.cloud.dialogflow.cx.v3.json @@ -1,5095 +1,5095 @@ { - "clientLibrary": { - "name": "nodejs-cx", - "version": "5.3.0", - "language": "TYPESCRIPT", - "apis": [ - { - "id": "google.cloud.dialogflow.cx.v3", - "version": "v3" - } - ] - }, - "snippets": [ + "clientLibrary": { + "name": "nodejs-cx", + "version": "0.1.0", + "language": "TYPESCRIPT", + "apis": [ + { + "id": "google.cloud.dialogflow.cx.v3", + "version": "v3" + } + ] + }, + "snippets": [ + { + "regionTag": "dialogflow_v3_generated_Agents_ListAgents_async", + "title": "Agents listAgents Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all agents in the specified location.", + "canonical": true, + "file": "agents.list_agents.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Agents_ListAgents_async", - "title": "Agents listAgents Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all agents in the specified location.", - "canonical": true, - "file": "agents.list_agents.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 65, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListAgents", - "fullName": "google.cloud.dialogflow.cx.v3.Agents.ListAgents", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.ListAgentsResponse", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient" - }, - "method": { - "shortName": "ListAgents", - "fullName": "google.cloud.dialogflow.cx.v3.Agents.ListAgents", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3.Agents" - } - } - } + "start": 25, + "end": 65, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListAgents", + "fullName": "google.cloud.dialogflow.cx.v3.Agents.ListAgents", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.ListAgentsResponse", + "client": { + "shortName": "AgentsClient", + "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient" }, + "method": { + "shortName": "ListAgents", + "fullName": "google.cloud.dialogflow.cx.v3.Agents.ListAgents", + "service": { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.cx.v3.Agents" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Agents_GetAgent_async", + "title": "Agents getAgent Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified agent.", + "canonical": true, + "file": "agents.get_agent.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Agents_GetAgent_async", - "title": "Agents getAgent Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified agent.", - "canonical": true, - "file": "agents.get_agent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetAgent", - "fullName": "google.cloud.dialogflow.cx.v3.Agents.GetAgent", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.Agent", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient" - }, - "method": { - "shortName": "GetAgent", - "fullName": "google.cloud.dialogflow.cx.v3.Agents.GetAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3.Agents" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetAgent", + "fullName": "google.cloud.dialogflow.cx.v3.Agents.GetAgent", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.Agent", + "client": { + "shortName": "AgentsClient", + "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient" }, + "method": { + "shortName": "GetAgent", + "fullName": "google.cloud.dialogflow.cx.v3.Agents.GetAgent", + "service": { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.cx.v3.Agents" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Agents_CreateAgent_async", + "title": "Agents createAgent Sample", + "origin": "API_DEFINITION", + "description": " Creates an agent in the specified location. Note: You should always train flows prior to sending them queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", + "canonical": true, + "file": "agents.create_agent.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Agents_CreateAgent_async", - "title": "Agents createAgent Sample", - "origin": "API_DEFINITION", - "description": " Creates an agent in the specified location. Note: You should always train flows prior to sending them queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", - "canonical": true, - "file": "agents.create_agent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateAgent", - "fullName": "google.cloud.dialogflow.cx.v3.Agents.CreateAgent", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "agent", - "type": ".google.cloud.dialogflow.cx.v3.Agent" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.Agent", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient" - }, - "method": { - "shortName": "CreateAgent", - "fullName": "google.cloud.dialogflow.cx.v3.Agents.CreateAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3.Agents" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateAgent", + "fullName": "google.cloud.dialogflow.cx.v3.Agents.CreateAgent", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "agent", + "type": ".google.cloud.dialogflow.cx.v3.Agent" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.Agent", + "client": { + "shortName": "AgentsClient", + "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient" }, + "method": { + "shortName": "CreateAgent", + "fullName": "google.cloud.dialogflow.cx.v3.Agents.CreateAgent", + "service": { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.cx.v3.Agents" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Agents_UpdateAgent_async", + "title": "Agents updateAgent Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified agent. Note: You should always train flows prior to sending them queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", + "canonical": true, + "file": "agents.update_agent.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Agents_UpdateAgent_async", - "title": "Agents updateAgent Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified agent. Note: You should always train flows prior to sending them queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", - "canonical": true, - "file": "agents.update_agent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 58, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateAgent", - "fullName": "google.cloud.dialogflow.cx.v3.Agents.UpdateAgent", - "async": true, - "parameters": [ - { - "name": "agent", - "type": ".google.cloud.dialogflow.cx.v3.Agent" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.Agent", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient" - }, - "method": { - "shortName": "UpdateAgent", - "fullName": "google.cloud.dialogflow.cx.v3.Agents.UpdateAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3.Agents" - } - } - } + "start": 25, + "end": 58, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateAgent", + "fullName": "google.cloud.dialogflow.cx.v3.Agents.UpdateAgent", + "async": true, + "parameters": [ + { + "name": "agent", + "type": ".google.cloud.dialogflow.cx.v3.Agent" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.Agent", + "client": { + "shortName": "AgentsClient", + "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient" }, + "method": { + "shortName": "UpdateAgent", + "fullName": "google.cloud.dialogflow.cx.v3.Agents.UpdateAgent", + "service": { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.cx.v3.Agents" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Agents_DeleteAgent_async", + "title": "Agents deleteAgent Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified agent.", + "canonical": true, + "file": "agents.delete_agent.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Agents_DeleteAgent_async", - "title": "Agents deleteAgent Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified agent.", - "canonical": true, - "file": "agents.delete_agent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteAgent", - "fullName": "google.cloud.dialogflow.cx.v3.Agents.DeleteAgent", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient" - }, - "method": { - "shortName": "DeleteAgent", - "fullName": "google.cloud.dialogflow.cx.v3.Agents.DeleteAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3.Agents" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteAgent", + "fullName": "google.cloud.dialogflow.cx.v3.Agents.DeleteAgent", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "AgentsClient", + "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient" }, + "method": { + "shortName": "DeleteAgent", + "fullName": "google.cloud.dialogflow.cx.v3.Agents.DeleteAgent", + "service": { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.cx.v3.Agents" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Agents_ExportAgent_async", + "title": "Agents exportAgent Sample", + "origin": "API_DEFINITION", + "description": " Exports the specified agent to a binary file. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [ExportAgentResponse][google.cloud.dialogflow.cx.v3.ExportAgentResponse]", + "canonical": true, + "file": "agents.export_agent.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Agents_ExportAgent_async", - "title": "Agents exportAgent Sample", - "origin": "API_DEFINITION", - "description": " Exports the specified agent to a binary file. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [ExportAgentResponse][google.cloud.dialogflow.cx.v3.ExportAgentResponse]", - "canonical": true, - "file": "agents.export_agent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 86, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ExportAgent", - "fullName": "google.cloud.dialogflow.cx.v3.Agents.ExportAgent", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "agent_uri", - "type": "TYPE_STRING" - }, - { - "name": "data_format", - "type": ".google.cloud.dialogflow.cx.v3.ExportAgentRequest.DataFormat" - }, - { - "name": "environment", - "type": "TYPE_STRING" - }, - { - "name": "git_destination", - "type": ".google.cloud.dialogflow.cx.v3.ExportAgentRequest.GitDestination" - }, - { - "name": "include_bigquery_export_settings", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient" - }, - "method": { - "shortName": "ExportAgent", - "fullName": "google.cloud.dialogflow.cx.v3.Agents.ExportAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3.Agents" - } - } - } + "start": 25, + "end": 86, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ExportAgent", + "fullName": "google.cloud.dialogflow.cx.v3.Agents.ExportAgent", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "agent_uri", + "type": "TYPE_STRING" + }, + { + "name": "data_format", + "type": ".google.cloud.dialogflow.cx.v3.ExportAgentRequest.DataFormat" + }, + { + "name": "environment", + "type": "TYPE_STRING" + }, + { + "name": "git_destination", + "type": ".google.cloud.dialogflow.cx.v3.ExportAgentRequest.GitDestination" + }, + { + "name": "include_bigquery_export_settings", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "AgentsClient", + "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient" }, + "method": { + "shortName": "ExportAgent", + "fullName": "google.cloud.dialogflow.cx.v3.Agents.ExportAgent", + "service": { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.cx.v3.Agents" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Agents_RestoreAgent_async", + "title": "Agents restoreAgent Sample", + "origin": "API_DEFINITION", + "description": " Restores the specified agent from a binary file. Replaces the current agent with a new one. Note that all existing resources in agent (e.g. intents, entity types, flows) will be removed. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](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 documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", + "canonical": true, + "file": "agents.restore_agent.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Agents_RestoreAgent_async", - "title": "Agents restoreAgent Sample", - "origin": "API_DEFINITION", - "description": " Restores the specified agent from a binary file. Replaces the current agent with a new one. Note that all existing resources in agent (e.g. intents, entity types, flows) will be removed. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](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 documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", - "canonical": true, - "file": "agents.restore_agent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 78, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "RestoreAgent", - "fullName": "google.cloud.dialogflow.cx.v3.Agents.RestoreAgent", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "agent_uri", - "type": "TYPE_STRING" - }, - { - "name": "agent_content", - "type": "TYPE_BYTES" - }, - { - "name": "git_source", - "type": ".google.cloud.dialogflow.cx.v3.RestoreAgentRequest.GitSource" - }, - { - "name": "restore_option", - "type": ".google.cloud.dialogflow.cx.v3.RestoreAgentRequest.RestoreOption" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient" - }, - "method": { - "shortName": "RestoreAgent", - "fullName": "google.cloud.dialogflow.cx.v3.Agents.RestoreAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3.Agents" - } - } - } + "start": 25, + "end": 78, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "RestoreAgent", + "fullName": "google.cloud.dialogflow.cx.v3.Agents.RestoreAgent", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "agent_uri", + "type": "TYPE_STRING" + }, + { + "name": "agent_content", + "type": "TYPE_BYTES" + }, + { + "name": "git_source", + "type": ".google.cloud.dialogflow.cx.v3.RestoreAgentRequest.GitSource" + }, + { + "name": "restore_option", + "type": ".google.cloud.dialogflow.cx.v3.RestoreAgentRequest.RestoreOption" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "AgentsClient", + "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient" }, + "method": { + "shortName": "RestoreAgent", + "fullName": "google.cloud.dialogflow.cx.v3.Agents.RestoreAgent", + "service": { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.cx.v3.Agents" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Agents_ValidateAgent_async", + "title": "Agents validateAgent Sample", + "origin": "API_DEFINITION", + "description": " Validates the specified agent and creates or updates validation results. The agent in draft version is validated. Please call this API after the training is completed to get the complete validation results.", + "canonical": true, + "file": "agents.validate_agent.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Agents_ValidateAgent_async", - "title": "Agents validateAgent Sample", - "origin": "API_DEFINITION", - "description": " Validates the specified agent and creates or updates validation results. The agent in draft version is validated. Please call this API after the training is completed to get the complete validation results.", - "canonical": true, - "file": "agents.validate_agent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 58, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ValidateAgent", - "fullName": "google.cloud.dialogflow.cx.v3.Agents.ValidateAgent", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.AgentValidationResult", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient" - }, - "method": { - "shortName": "ValidateAgent", - "fullName": "google.cloud.dialogflow.cx.v3.Agents.ValidateAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3.Agents" - } - } - } + "start": 25, + "end": 58, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ValidateAgent", + "fullName": "google.cloud.dialogflow.cx.v3.Agents.ValidateAgent", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.AgentValidationResult", + "client": { + "shortName": "AgentsClient", + "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient" }, + "method": { + "shortName": "ValidateAgent", + "fullName": "google.cloud.dialogflow.cx.v3.Agents.ValidateAgent", + "service": { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.cx.v3.Agents" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Agents_GetAgentValidationResult_async", + "title": "Agents getAgentValidationResult Sample", + "origin": "API_DEFINITION", + "description": " Gets the latest agent validation result. Agent validation is performed when ValidateAgent is called.", + "canonical": true, + "file": "agents.get_agent_validation_result.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Agents_GetAgentValidationResult_async", - "title": "Agents getAgentValidationResult Sample", - "origin": "API_DEFINITION", - "description": " Gets the latest agent validation result. Agent validation is performed when ValidateAgent is called.", - "canonical": true, - "file": "agents.get_agent_validation_result.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetAgentValidationResult", - "fullName": "google.cloud.dialogflow.cx.v3.Agents.GetAgentValidationResult", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.AgentValidationResult", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient" - }, - "method": { - "shortName": "GetAgentValidationResult", - "fullName": "google.cloud.dialogflow.cx.v3.Agents.GetAgentValidationResult", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3.Agents" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetAgentValidationResult", + "fullName": "google.cloud.dialogflow.cx.v3.Agents.GetAgentValidationResult", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.AgentValidationResult", + "client": { + "shortName": "AgentsClient", + "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient" }, + "method": { + "shortName": "GetAgentValidationResult", + "fullName": "google.cloud.dialogflow.cx.v3.Agents.GetAgentValidationResult", + "service": { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.cx.v3.Agents" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Agents_GetGenerativeSettings_async", + "title": "Agents getGenerativeSettings Sample", + "origin": "API_DEFINITION", + "description": " Gets the generative settings for the agent.", + "canonical": true, + "file": "agents.get_generative_settings.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Agents_GetGenerativeSettings_async", - "title": "Agents getGenerativeSettings Sample", - "origin": "API_DEFINITION", - "description": " Gets the generative settings for the agent.", - "canonical": true, - "file": "agents.get_generative_settings.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetGenerativeSettings", - "fullName": "google.cloud.dialogflow.cx.v3.Agents.GetGenerativeSettings", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.GenerativeSettings", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient" - }, - "method": { - "shortName": "GetGenerativeSettings", - "fullName": "google.cloud.dialogflow.cx.v3.Agents.GetGenerativeSettings", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3.Agents" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetGenerativeSettings", + "fullName": "google.cloud.dialogflow.cx.v3.Agents.GetGenerativeSettings", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.GenerativeSettings", + "client": { + "shortName": "AgentsClient", + "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient" }, + "method": { + "shortName": "GetGenerativeSettings", + "fullName": "google.cloud.dialogflow.cx.v3.Agents.GetGenerativeSettings", + "service": { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.cx.v3.Agents" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Agents_UpdateGenerativeSettings_async", + "title": "Agents updateGenerativeSettings Sample", + "origin": "API_DEFINITION", + "description": " Updates the generative settings for the agent.", + "canonical": true, + "file": "agents.update_generative_settings.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Agents_UpdateGenerativeSettings_async", - "title": "Agents updateGenerativeSettings Sample", - "origin": "API_DEFINITION", - "description": " Updates the generative settings for the agent.", - "canonical": true, - "file": "agents.update_generative_settings.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 58, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateGenerativeSettings", - "fullName": "google.cloud.dialogflow.cx.v3.Agents.UpdateGenerativeSettings", - "async": true, - "parameters": [ - { - "name": "generative_settings", - "type": ".google.cloud.dialogflow.cx.v3.GenerativeSettings" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.GenerativeSettings", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient" - }, - "method": { - "shortName": "UpdateGenerativeSettings", - "fullName": "google.cloud.dialogflow.cx.v3.Agents.UpdateGenerativeSettings", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3.Agents" - } - } - } + "start": 25, + "end": 58, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateGenerativeSettings", + "fullName": "google.cloud.dialogflow.cx.v3.Agents.UpdateGenerativeSettings", + "async": true, + "parameters": [ + { + "name": "generative_settings", + "type": ".google.cloud.dialogflow.cx.v3.GenerativeSettings" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.GenerativeSettings", + "client": { + "shortName": "AgentsClient", + "fullName": "google.cloud.dialogflow.cx.v3.AgentsClient" }, + "method": { + "shortName": "UpdateGenerativeSettings", + "fullName": "google.cloud.dialogflow.cx.v3.Agents.UpdateGenerativeSettings", + "service": { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.cx.v3.Agents" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Changelogs_ListChangelogs_async", + "title": "Agents listChangelogs Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of Changelogs.", + "canonical": true, + "file": "changelogs.list_changelogs.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Changelogs_ListChangelogs_async", - "title": "Agents listChangelogs Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of Changelogs.", - "canonical": true, - "file": "changelogs.list_changelogs.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 88, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListChangelogs", - "fullName": "google.cloud.dialogflow.cx.v3.Changelogs.ListChangelogs", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.ListChangelogsResponse", - "client": { - "shortName": "ChangelogsClient", - "fullName": "google.cloud.dialogflow.cx.v3.ChangelogsClient" - }, - "method": { - "shortName": "ListChangelogs", - "fullName": "google.cloud.dialogflow.cx.v3.Changelogs.ListChangelogs", - "service": { - "shortName": "Changelogs", - "fullName": "google.cloud.dialogflow.cx.v3.Changelogs" - } - } - } + "start": 25, + "end": 88, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListChangelogs", + "fullName": "google.cloud.dialogflow.cx.v3.Changelogs.ListChangelogs", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.ListChangelogsResponse", + "client": { + "shortName": "ChangelogsClient", + "fullName": "google.cloud.dialogflow.cx.v3.ChangelogsClient" }, + "method": { + "shortName": "ListChangelogs", + "fullName": "google.cloud.dialogflow.cx.v3.Changelogs.ListChangelogs", + "service": { + "shortName": "Changelogs", + "fullName": "google.cloud.dialogflow.cx.v3.Changelogs" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Changelogs_GetChangelog_async", + "title": "Agents getChangelog Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified Changelog.", + "canonical": true, + "file": "changelogs.get_changelog.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Changelogs_GetChangelog_async", - "title": "Agents getChangelog Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified Changelog.", - "canonical": true, - "file": "changelogs.get_changelog.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetChangelog", - "fullName": "google.cloud.dialogflow.cx.v3.Changelogs.GetChangelog", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.Changelog", - "client": { - "shortName": "ChangelogsClient", - "fullName": "google.cloud.dialogflow.cx.v3.ChangelogsClient" - }, - "method": { - "shortName": "GetChangelog", - "fullName": "google.cloud.dialogflow.cx.v3.Changelogs.GetChangelog", - "service": { - "shortName": "Changelogs", - "fullName": "google.cloud.dialogflow.cx.v3.Changelogs" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetChangelog", + "fullName": "google.cloud.dialogflow.cx.v3.Changelogs.GetChangelog", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.Changelog", + "client": { + "shortName": "ChangelogsClient", + "fullName": "google.cloud.dialogflow.cx.v3.ChangelogsClient" }, + "method": { + "shortName": "GetChangelog", + "fullName": "google.cloud.dialogflow.cx.v3.Changelogs.GetChangelog", + "service": { + "shortName": "Changelogs", + "fullName": "google.cloud.dialogflow.cx.v3.Changelogs" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Deployments_ListDeployments_async", + "title": "Agents listDeployments Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all deployments in the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].", + "canonical": true, + "file": "deployments.list_deployments.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Deployments_ListDeployments_async", - "title": "Agents listDeployments Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all deployments in the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].", - "canonical": true, - "file": "deployments.list_deployments.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 66, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListDeployments", - "fullName": "google.cloud.dialogflow.cx.v3.Deployments.ListDeployments", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.ListDeploymentsResponse", - "client": { - "shortName": "DeploymentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.DeploymentsClient" - }, - "method": { - "shortName": "ListDeployments", - "fullName": "google.cloud.dialogflow.cx.v3.Deployments.ListDeployments", - "service": { - "shortName": "Deployments", - "fullName": "google.cloud.dialogflow.cx.v3.Deployments" - } - } - } + "start": 25, + "end": 66, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListDeployments", + "fullName": "google.cloud.dialogflow.cx.v3.Deployments.ListDeployments", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.ListDeploymentsResponse", + "client": { + "shortName": "DeploymentsClient", + "fullName": "google.cloud.dialogflow.cx.v3.DeploymentsClient" }, + "method": { + "shortName": "ListDeployments", + "fullName": "google.cloud.dialogflow.cx.v3.Deployments.ListDeployments", + "service": { + "shortName": "Deployments", + "fullName": "google.cloud.dialogflow.cx.v3.Deployments" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Deployments_GetDeployment_async", + "title": "Agents getDeployment Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified [Deployment][google.cloud.dialogflow.cx.v3.Deployment].", + "canonical": true, + "file": "deployments.get_deployment.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Deployments_GetDeployment_async", - "title": "Agents getDeployment Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified [Deployment][google.cloud.dialogflow.cx.v3.Deployment].", - "canonical": true, - "file": "deployments.get_deployment.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetDeployment", - "fullName": "google.cloud.dialogflow.cx.v3.Deployments.GetDeployment", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.Deployment", - "client": { - "shortName": "DeploymentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.DeploymentsClient" - }, - "method": { - "shortName": "GetDeployment", - "fullName": "google.cloud.dialogflow.cx.v3.Deployments.GetDeployment", - "service": { - "shortName": "Deployments", - "fullName": "google.cloud.dialogflow.cx.v3.Deployments" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetDeployment", + "fullName": "google.cloud.dialogflow.cx.v3.Deployments.GetDeployment", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.Deployment", + "client": { + "shortName": "DeploymentsClient", + "fullName": "google.cloud.dialogflow.cx.v3.DeploymentsClient" }, + "method": { + "shortName": "GetDeployment", + "fullName": "google.cloud.dialogflow.cx.v3.Deployments.GetDeployment", + "service": { + "shortName": "Deployments", + "fullName": "google.cloud.dialogflow.cx.v3.Deployments" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_EntityTypes_GetEntityType_async", + "title": "Agents getEntityType Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified entity type.", + "canonical": true, + "file": "entity_types.get_entity_type.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_EntityTypes_GetEntityType_async", - "title": "Agents getEntityType Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified entity type.", - "canonical": true, - "file": "entity_types.get_entity_type.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 68, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetEntityType", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.GetEntityType", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.EntityType", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient" - }, - "method": { - "shortName": "GetEntityType", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.GetEntityType", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes" - } - } - } + "start": 25, + "end": 68, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetEntityType", + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.GetEntityType", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.EntityType", + "client": { + "shortName": "EntityTypesClient", + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient" }, + "method": { + "shortName": "GetEntityType", + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.GetEntityType", + "service": { + "shortName": "EntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_EntityTypes_CreateEntityType_async", + "title": "Agents createEntityType Sample", + "origin": "API_DEFINITION", + "description": " Creates an entity type in the specified agent. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", + "canonical": true, + "file": "entity_types.create_entity_type.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_EntityTypes_CreateEntityType_async", - "title": "Agents createEntityType Sample", - "origin": "API_DEFINITION", - "description": " Creates an entity type in the specified agent. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", - "canonical": true, - "file": "entity_types.create_entity_type.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 71, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateEntityType", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.CreateEntityType", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "entity_type", - "type": ".google.cloud.dialogflow.cx.v3.EntityType" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.EntityType", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient" - }, - "method": { - "shortName": "CreateEntityType", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.CreateEntityType", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes" - } - } - } + "start": 25, + "end": 71, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateEntityType", + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.CreateEntityType", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "entity_type", + "type": ".google.cloud.dialogflow.cx.v3.EntityType" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.EntityType", + "client": { + "shortName": "EntityTypesClient", + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient" }, + "method": { + "shortName": "CreateEntityType", + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.CreateEntityType", + "service": { + "shortName": "EntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_EntityTypes_UpdateEntityType_async", + "title": "Agents updateEntityType Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified entity type. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", + "canonical": true, + "file": "entity_types.update_entity_type.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_EntityTypes_UpdateEntityType_async", - "title": "Agents updateEntityType Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified entity type. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", - "canonical": true, - "file": "entity_types.update_entity_type.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 69, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateEntityType", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.UpdateEntityType", - "async": true, - "parameters": [ - { - "name": "entity_type", - "type": ".google.cloud.dialogflow.cx.v3.EntityType" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.EntityType", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient" - }, - "method": { - "shortName": "UpdateEntityType", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.UpdateEntityType", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes" - } - } - } + "start": 25, + "end": 69, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateEntityType", + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.UpdateEntityType", + "async": true, + "parameters": [ + { + "name": "entity_type", + "type": ".google.cloud.dialogflow.cx.v3.EntityType" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.EntityType", + "client": { + "shortName": "EntityTypesClient", + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient" }, + "method": { + "shortName": "UpdateEntityType", + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.UpdateEntityType", + "service": { + "shortName": "EntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_EntityTypes_DeleteEntityType_async", + "title": "Agents deleteEntityType Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified entity type. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", + "canonical": true, + "file": "entity_types.delete_entity_type.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_EntityTypes_DeleteEntityType_async", - "title": "Agents deleteEntityType Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified entity type. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", - "canonical": true, - "file": "entity_types.delete_entity_type.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 69, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteEntityType", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.DeleteEntityType", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "force", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient" - }, - "method": { - "shortName": "DeleteEntityType", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.DeleteEntityType", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes" - } - } - } + "start": 25, + "end": 69, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteEntityType", + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.DeleteEntityType", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "force", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "EntityTypesClient", + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient" }, + "method": { + "shortName": "DeleteEntityType", + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.DeleteEntityType", + "service": { + "shortName": "EntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_EntityTypes_ListEntityTypes_async", + "title": "Agents listEntityTypes Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all entity types in the specified agent.", + "canonical": true, + "file": "entity_types.list_entity_types.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_EntityTypes_ListEntityTypes_async", - "title": "Agents listEntityTypes Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all entity types in the specified agent.", - "canonical": true, - "file": "entity_types.list_entity_types.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 78, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.ListEntityTypes", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.ListEntityTypesResponse", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient" - }, - "method": { - "shortName": "ListEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.ListEntityTypes", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes" - } - } - } + "start": 25, + "end": 78, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListEntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.ListEntityTypes", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.ListEntityTypesResponse", + "client": { + "shortName": "EntityTypesClient", + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient" }, + "method": { + "shortName": "ListEntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.ListEntityTypes", + "service": { + "shortName": "EntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_EntityTypes_ExportEntityTypes_async", + "title": "Agents exportEntityTypes Sample", + "origin": "API_DEFINITION", + "description": " Exports the selected entity types.", + "canonical": true, + "file": "entity_types.export_entity_types.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_EntityTypes_ExportEntityTypes_async", - "title": "Agents exportEntityTypes Sample", - "origin": "API_DEFINITION", - "description": " Exports the selected entity types.", - "canonical": true, - "file": "entity_types.export_entity_types.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 96, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ExportEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.ExportEntityTypes", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "entity_types", - "type": "TYPE_STRING[]" - }, - { - "name": "entity_types_uri", - "type": "TYPE_STRING" - }, - { - "name": "entity_types_content_inline", - "type": "TYPE_BOOL" - }, - { - "name": "data_format", - "type": ".google.cloud.dialogflow.cx.v3.ExportEntityTypesRequest.DataFormat" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient" - }, - "method": { - "shortName": "ExportEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.ExportEntityTypes", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes" - } - } - } + "start": 25, + "end": 96, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ExportEntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.ExportEntityTypes", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "entity_types", + "type": "TYPE_STRING[]" + }, + { + "name": "entity_types_uri", + "type": "TYPE_STRING" + }, + { + "name": "entity_types_content_inline", + "type": "TYPE_BOOL" + }, + { + "name": "data_format", + "type": ".google.cloud.dialogflow.cx.v3.ExportEntityTypesRequest.DataFormat" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EntityTypesClient", + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient" }, + "method": { + "shortName": "ExportEntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.ExportEntityTypes", + "service": { + "shortName": "EntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_EntityTypes_ImportEntityTypes_async", + "title": "Agents importEntityTypes Sample", + "origin": "API_DEFINITION", + "description": " Imports the specified entitytypes into the agent.", + "canonical": true, + "file": "entity_types.import_entity_types.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_EntityTypes_ImportEntityTypes_async", - "title": "Agents importEntityTypes Sample", - "origin": "API_DEFINITION", - "description": " Imports the specified entitytypes into the agent.", - "canonical": true, - "file": "entity_types.import_entity_types.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 86, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ImportEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.ImportEntityTypes", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "entity_types_uri", - "type": "TYPE_STRING" - }, - { - "name": "entity_types_content", - "type": ".google.cloud.dialogflow.cx.v3.InlineSource" - }, - { - "name": "merge_option", - "type": ".google.cloud.dialogflow.cx.v3.ImportEntityTypesRequest.MergeOption" - }, - { - "name": "target_entity_type", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient" - }, - "method": { - "shortName": "ImportEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.ImportEntityTypes", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes" - } - } - } + "start": 25, + "end": 86, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ImportEntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.ImportEntityTypes", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "entity_types_uri", + "type": "TYPE_STRING" + }, + { + "name": "entity_types_content", + "type": ".google.cloud.dialogflow.cx.v3.InlineSource" + }, + { + "name": "merge_option", + "type": ".google.cloud.dialogflow.cx.v3.ImportEntityTypesRequest.MergeOption" + }, + { + "name": "target_entity_type", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EntityTypesClient", + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypesClient" }, + "method": { + "shortName": "ImportEntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.ImportEntityTypes", + "service": { + "shortName": "EntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Environments_ListEnvironments_async", + "title": "Agents listEnvironments Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all environments in the specified [Agent][google.cloud.dialogflow.cx.v3.Agent].", + "canonical": true, + "file": "environments.list_environments.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Environments_ListEnvironments_async", - "title": "Agents listEnvironments Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all environments in the specified [Agent][google.cloud.dialogflow.cx.v3.Agent].", - "canonical": true, - "file": "environments.list_environments.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 66, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListEnvironments", - "fullName": "google.cloud.dialogflow.cx.v3.Environments.ListEnvironments", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.ListEnvironmentsResponse", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient" - }, - "method": { - "shortName": "ListEnvironments", - "fullName": "google.cloud.dialogflow.cx.v3.Environments.ListEnvironments", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.cx.v3.Environments" - } - } - } + "start": 25, + "end": 66, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListEnvironments", + "fullName": "google.cloud.dialogflow.cx.v3.Environments.ListEnvironments", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.ListEnvironmentsResponse", + "client": { + "shortName": "EnvironmentsClient", + "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient" }, + "method": { + "shortName": "ListEnvironments", + "fullName": "google.cloud.dialogflow.cx.v3.Environments.ListEnvironments", + "service": { + "shortName": "Environments", + "fullName": "google.cloud.dialogflow.cx.v3.Environments" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Environments_GetEnvironment_async", + "title": "Agents getEnvironment Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].", + "canonical": true, + "file": "environments.get_environment.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Environments_GetEnvironment_async", - "title": "Agents getEnvironment Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].", - "canonical": true, - "file": "environments.get_environment.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetEnvironment", - "fullName": "google.cloud.dialogflow.cx.v3.Environments.GetEnvironment", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.Environment", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient" - }, - "method": { - "shortName": "GetEnvironment", - "fullName": "google.cloud.dialogflow.cx.v3.Environments.GetEnvironment", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.cx.v3.Environments" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetEnvironment", + "fullName": "google.cloud.dialogflow.cx.v3.Environments.GetEnvironment", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.Environment", + "client": { + "shortName": "EnvironmentsClient", + "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient" }, + "method": { + "shortName": "GetEnvironment", + "fullName": "google.cloud.dialogflow.cx.v3.Environments.GetEnvironment", + "service": { + "shortName": "Environments", + "fullName": "google.cloud.dialogflow.cx.v3.Environments" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Environments_CreateEnvironment_async", + "title": "Agents createEnvironment Sample", + "origin": "API_DEFINITION", + "description": " Creates an [Environment][google.cloud.dialogflow.cx.v3.Environment] in the specified [Agent][google.cloud.dialogflow.cx.v3.Agent]. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [Environment][google.cloud.dialogflow.cx.v3.Environment]", + "canonical": true, + "file": "environments.create_environment.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Environments_CreateEnvironment_async", - "title": "Agents createEnvironment Sample", - "origin": "API_DEFINITION", - "description": " Creates an [Environment][google.cloud.dialogflow.cx.v3.Environment] in the specified [Agent][google.cloud.dialogflow.cx.v3.Agent]. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [Environment][google.cloud.dialogflow.cx.v3.Environment]", - "canonical": true, - "file": "environments.create_environment.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateEnvironment", - "fullName": "google.cloud.dialogflow.cx.v3.Environments.CreateEnvironment", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "environment", - "type": ".google.cloud.dialogflow.cx.v3.Environment" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient" - }, - "method": { - "shortName": "CreateEnvironment", - "fullName": "google.cloud.dialogflow.cx.v3.Environments.CreateEnvironment", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.cx.v3.Environments" - } - } - } + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateEnvironment", + "fullName": "google.cloud.dialogflow.cx.v3.Environments.CreateEnvironment", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "environment", + "type": ".google.cloud.dialogflow.cx.v3.Environment" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EnvironmentsClient", + "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient" }, + "method": { + "shortName": "CreateEnvironment", + "fullName": "google.cloud.dialogflow.cx.v3.Environments.CreateEnvironment", + "service": { + "shortName": "Environments", + "fullName": "google.cloud.dialogflow.cx.v3.Environments" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Environments_UpdateEnvironment_async", + "title": "Agents updateEnvironment Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified [Environment][google.cloud.dialogflow.cx.v3.Environment]. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [Environment][google.cloud.dialogflow.cx.v3.Environment]", + "canonical": true, + "file": "environments.update_environment.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Environments_UpdateEnvironment_async", - "title": "Agents updateEnvironment Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified [Environment][google.cloud.dialogflow.cx.v3.Environment]. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [Environment][google.cloud.dialogflow.cx.v3.Environment]", - "canonical": true, - "file": "environments.update_environment.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateEnvironment", - "fullName": "google.cloud.dialogflow.cx.v3.Environments.UpdateEnvironment", - "async": true, - "parameters": [ - { - "name": "environment", - "type": ".google.cloud.dialogflow.cx.v3.Environment" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient" - }, - "method": { - "shortName": "UpdateEnvironment", - "fullName": "google.cloud.dialogflow.cx.v3.Environments.UpdateEnvironment", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.cx.v3.Environments" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateEnvironment", + "fullName": "google.cloud.dialogflow.cx.v3.Environments.UpdateEnvironment", + "async": true, + "parameters": [ + { + "name": "environment", + "type": ".google.cloud.dialogflow.cx.v3.Environment" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EnvironmentsClient", + "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient" }, + "method": { + "shortName": "UpdateEnvironment", + "fullName": "google.cloud.dialogflow.cx.v3.Environments.UpdateEnvironment", + "service": { + "shortName": "Environments", + "fullName": "google.cloud.dialogflow.cx.v3.Environments" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Environments_DeleteEnvironment_async", + "title": "Agents deleteEnvironment Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].", + "canonical": true, + "file": "environments.delete_environment.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Environments_DeleteEnvironment_async", - "title": "Agents deleteEnvironment Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].", - "canonical": true, - "file": "environments.delete_environment.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteEnvironment", - "fullName": "google.cloud.dialogflow.cx.v3.Environments.DeleteEnvironment", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient" - }, - "method": { - "shortName": "DeleteEnvironment", - "fullName": "google.cloud.dialogflow.cx.v3.Environments.DeleteEnvironment", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.cx.v3.Environments" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteEnvironment", + "fullName": "google.cloud.dialogflow.cx.v3.Environments.DeleteEnvironment", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "EnvironmentsClient", + "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient" }, + "method": { + "shortName": "DeleteEnvironment", + "fullName": "google.cloud.dialogflow.cx.v3.Environments.DeleteEnvironment", + "service": { + "shortName": "Environments", + "fullName": "google.cloud.dialogflow.cx.v3.Environments" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Environments_LookupEnvironmentHistory_async", + "title": "Agents lookupEnvironmentHistory Sample", + "origin": "API_DEFINITION", + "description": " Looks up the history of the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].", + "canonical": true, + "file": "environments.lookup_environment_history.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Environments_LookupEnvironmentHistory_async", - "title": "Agents lookupEnvironmentHistory Sample", - "origin": "API_DEFINITION", - "description": " Looks up the history of the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].", - "canonical": true, - "file": "environments.lookup_environment_history.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 66, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "LookupEnvironmentHistory", - "fullName": "google.cloud.dialogflow.cx.v3.Environments.LookupEnvironmentHistory", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.LookupEnvironmentHistoryResponse", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient" - }, - "method": { - "shortName": "LookupEnvironmentHistory", - "fullName": "google.cloud.dialogflow.cx.v3.Environments.LookupEnvironmentHistory", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.cx.v3.Environments" - } - } - } + "start": 25, + "end": 66, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "LookupEnvironmentHistory", + "fullName": "google.cloud.dialogflow.cx.v3.Environments.LookupEnvironmentHistory", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.LookupEnvironmentHistoryResponse", + "client": { + "shortName": "EnvironmentsClient", + "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient" }, + "method": { + "shortName": "LookupEnvironmentHistory", + "fullName": "google.cloud.dialogflow.cx.v3.Environments.LookupEnvironmentHistory", + "service": { + "shortName": "Environments", + "fullName": "google.cloud.dialogflow.cx.v3.Environments" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Environments_RunContinuousTest_async", + "title": "Agents runContinuousTest Sample", + "origin": "API_DEFINITION", + "description": " Kicks off a continuous test under the specified [Environment][google.cloud.dialogflow.cx.v3.Environment]. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [RunContinuousTestMetadata][google.cloud.dialogflow.cx.v3.RunContinuousTestMetadata] - `response`: [RunContinuousTestResponse][google.cloud.dialogflow.cx.v3.RunContinuousTestResponse]", + "canonical": true, + "file": "environments.run_continuous_test.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Environments_RunContinuousTest_async", - "title": "Agents runContinuousTest Sample", - "origin": "API_DEFINITION", - "description": " Kicks off a continuous test under the specified [Environment][google.cloud.dialogflow.cx.v3.Environment]. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [RunContinuousTestMetadata][google.cloud.dialogflow.cx.v3.RunContinuousTestMetadata] - `response`: [RunContinuousTestResponse][google.cloud.dialogflow.cx.v3.RunContinuousTestResponse]", - "canonical": true, - "file": "environments.run_continuous_test.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "RunContinuousTest", - "fullName": "google.cloud.dialogflow.cx.v3.Environments.RunContinuousTest", - "async": true, - "parameters": [ - { - "name": "environment", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient" - }, - "method": { - "shortName": "RunContinuousTest", - "fullName": "google.cloud.dialogflow.cx.v3.Environments.RunContinuousTest", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.cx.v3.Environments" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "RunContinuousTest", + "fullName": "google.cloud.dialogflow.cx.v3.Environments.RunContinuousTest", + "async": true, + "parameters": [ + { + "name": "environment", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EnvironmentsClient", + "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient" }, + "method": { + "shortName": "RunContinuousTest", + "fullName": "google.cloud.dialogflow.cx.v3.Environments.RunContinuousTest", + "service": { + "shortName": "Environments", + "fullName": "google.cloud.dialogflow.cx.v3.Environments" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Environments_ListContinuousTestResults_async", + "title": "Agents listContinuousTestResults Sample", + "origin": "API_DEFINITION", + "description": " Fetches a list of continuous test results for a given environment.", + "canonical": true, + "file": "environments.list_continuous_test_results.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Environments_ListContinuousTestResults_async", - "title": "Agents listContinuousTestResults Sample", - "origin": "API_DEFINITION", - "description": " Fetches a list of continuous test results for a given environment.", - "canonical": true, - "file": "environments.list_continuous_test_results.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 66, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListContinuousTestResults", - "fullName": "google.cloud.dialogflow.cx.v3.Environments.ListContinuousTestResults", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.ListContinuousTestResultsResponse", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient" - }, - "method": { - "shortName": "ListContinuousTestResults", - "fullName": "google.cloud.dialogflow.cx.v3.Environments.ListContinuousTestResults", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.cx.v3.Environments" - } - } - } + "start": 25, + "end": 66, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListContinuousTestResults", + "fullName": "google.cloud.dialogflow.cx.v3.Environments.ListContinuousTestResults", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.ListContinuousTestResultsResponse", + "client": { + "shortName": "EnvironmentsClient", + "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient" }, + "method": { + "shortName": "ListContinuousTestResults", + "fullName": "google.cloud.dialogflow.cx.v3.Environments.ListContinuousTestResults", + "service": { + "shortName": "Environments", + "fullName": "google.cloud.dialogflow.cx.v3.Environments" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Environments_DeployFlow_async", + "title": "Agents deployFlow Sample", + "origin": "API_DEFINITION", + "description": " Deploys a flow to the specified [Environment][google.cloud.dialogflow.cx.v3.Environment]. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [DeployFlowMetadata][google.cloud.dialogflow.cx.v3.DeployFlowMetadata] - `response`: [DeployFlowResponse][google.cloud.dialogflow.cx.v3.DeployFlowResponse]", + "canonical": true, + "file": "environments.deploy_flow.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Environments_DeployFlow_async", - "title": "Agents deployFlow Sample", - "origin": "API_DEFINITION", - "description": " Deploys a flow to the specified [Environment][google.cloud.dialogflow.cx.v3.Environment]. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [DeployFlowMetadata][google.cloud.dialogflow.cx.v3.DeployFlowMetadata] - `response`: [DeployFlowResponse][google.cloud.dialogflow.cx.v3.DeployFlowResponse]", - "canonical": true, - "file": "environments.deploy_flow.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 63, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeployFlow", - "fullName": "google.cloud.dialogflow.cx.v3.Environments.DeployFlow", - "async": true, - "parameters": [ - { - "name": "environment", - "type": "TYPE_STRING" - }, - { - "name": "flow_version", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient" - }, - "method": { - "shortName": "DeployFlow", - "fullName": "google.cloud.dialogflow.cx.v3.Environments.DeployFlow", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.cx.v3.Environments" - } - } - } + "start": 25, + "end": 63, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeployFlow", + "fullName": "google.cloud.dialogflow.cx.v3.Environments.DeployFlow", + "async": true, + "parameters": [ + { + "name": "environment", + "type": "TYPE_STRING" + }, + { + "name": "flow_version", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EnvironmentsClient", + "fullName": "google.cloud.dialogflow.cx.v3.EnvironmentsClient" }, + "method": { + "shortName": "DeployFlow", + "fullName": "google.cloud.dialogflow.cx.v3.Environments.DeployFlow", + "service": { + "shortName": "Environments", + "fullName": "google.cloud.dialogflow.cx.v3.Environments" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Experiments_ListExperiments_async", + "title": "Agents listExperiments Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all experiments in the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].", + "canonical": true, + "file": "experiments.list_experiments.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Experiments_ListExperiments_async", - "title": "Agents listExperiments Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all experiments in the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].", - "canonical": true, - "file": "experiments.list_experiments.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 66, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListExperiments", - "fullName": "google.cloud.dialogflow.cx.v3.Experiments.ListExperiments", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.ListExperimentsResponse", - "client": { - "shortName": "ExperimentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient" - }, - "method": { - "shortName": "ListExperiments", - "fullName": "google.cloud.dialogflow.cx.v3.Experiments.ListExperiments", - "service": { - "shortName": "Experiments", - "fullName": "google.cloud.dialogflow.cx.v3.Experiments" - } - } - } + "start": 25, + "end": 66, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListExperiments", + "fullName": "google.cloud.dialogflow.cx.v3.Experiments.ListExperiments", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.ListExperimentsResponse", + "client": { + "shortName": "ExperimentsClient", + "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient" }, + "method": { + "shortName": "ListExperiments", + "fullName": "google.cloud.dialogflow.cx.v3.Experiments.ListExperiments", + "service": { + "shortName": "Experiments", + "fullName": "google.cloud.dialogflow.cx.v3.Experiments" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Experiments_GetExperiment_async", + "title": "Agents getExperiment Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment].", + "canonical": true, + "file": "experiments.get_experiment.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Experiments_GetExperiment_async", - "title": "Agents getExperiment Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment].", - "canonical": true, - "file": "experiments.get_experiment.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetExperiment", - "fullName": "google.cloud.dialogflow.cx.v3.Experiments.GetExperiment", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.Experiment", - "client": { - "shortName": "ExperimentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient" - }, - "method": { - "shortName": "GetExperiment", - "fullName": "google.cloud.dialogflow.cx.v3.Experiments.GetExperiment", - "service": { - "shortName": "Experiments", - "fullName": "google.cloud.dialogflow.cx.v3.Experiments" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetExperiment", + "fullName": "google.cloud.dialogflow.cx.v3.Experiments.GetExperiment", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.Experiment", + "client": { + "shortName": "ExperimentsClient", + "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient" }, + "method": { + "shortName": "GetExperiment", + "fullName": "google.cloud.dialogflow.cx.v3.Experiments.GetExperiment", + "service": { + "shortName": "Experiments", + "fullName": "google.cloud.dialogflow.cx.v3.Experiments" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Experiments_CreateExperiment_async", + "title": "Agents createExperiment Sample", + "origin": "API_DEFINITION", + "description": " Creates an [Experiment][google.cloud.dialogflow.cx.v3.Experiment] in the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].", + "canonical": true, + "file": "experiments.create_experiment.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Experiments_CreateExperiment_async", - "title": "Agents createExperiment Sample", - "origin": "API_DEFINITION", - "description": " Creates an [Experiment][google.cloud.dialogflow.cx.v3.Experiment] in the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].", - "canonical": true, - "file": "experiments.create_experiment.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 60, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateExperiment", - "fullName": "google.cloud.dialogflow.cx.v3.Experiments.CreateExperiment", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "experiment", - "type": ".google.cloud.dialogflow.cx.v3.Experiment" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.Experiment", - "client": { - "shortName": "ExperimentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient" - }, - "method": { - "shortName": "CreateExperiment", - "fullName": "google.cloud.dialogflow.cx.v3.Experiments.CreateExperiment", - "service": { - "shortName": "Experiments", - "fullName": "google.cloud.dialogflow.cx.v3.Experiments" - } - } - } + "start": 25, + "end": 60, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateExperiment", + "fullName": "google.cloud.dialogflow.cx.v3.Experiments.CreateExperiment", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "experiment", + "type": ".google.cloud.dialogflow.cx.v3.Experiment" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.Experiment", + "client": { + "shortName": "ExperimentsClient", + "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient" }, + "method": { + "shortName": "CreateExperiment", + "fullName": "google.cloud.dialogflow.cx.v3.Experiments.CreateExperiment", + "service": { + "shortName": "Experiments", + "fullName": "google.cloud.dialogflow.cx.v3.Experiments" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Experiments_UpdateExperiment_async", + "title": "Agents updateExperiment Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment].", + "canonical": true, + "file": "experiments.update_experiment.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Experiments_UpdateExperiment_async", - "title": "Agents updateExperiment Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment].", - "canonical": true, - "file": "experiments.update_experiment.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 58, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateExperiment", - "fullName": "google.cloud.dialogflow.cx.v3.Experiments.UpdateExperiment", - "async": true, - "parameters": [ - { - "name": "experiment", - "type": ".google.cloud.dialogflow.cx.v3.Experiment" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.Experiment", - "client": { - "shortName": "ExperimentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient" - }, - "method": { - "shortName": "UpdateExperiment", - "fullName": "google.cloud.dialogflow.cx.v3.Experiments.UpdateExperiment", - "service": { - "shortName": "Experiments", - "fullName": "google.cloud.dialogflow.cx.v3.Experiments" - } - } - } + "start": 25, + "end": 58, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateExperiment", + "fullName": "google.cloud.dialogflow.cx.v3.Experiments.UpdateExperiment", + "async": true, + "parameters": [ + { + "name": "experiment", + "type": ".google.cloud.dialogflow.cx.v3.Experiment" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.Experiment", + "client": { + "shortName": "ExperimentsClient", + "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient" }, + "method": { + "shortName": "UpdateExperiment", + "fullName": "google.cloud.dialogflow.cx.v3.Experiments.UpdateExperiment", + "service": { + "shortName": "Experiments", + "fullName": "google.cloud.dialogflow.cx.v3.Experiments" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Experiments_DeleteExperiment_async", + "title": "Agents deleteExperiment Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment].", + "canonical": true, + "file": "experiments.delete_experiment.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Experiments_DeleteExperiment_async", - "title": "Agents deleteExperiment Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment].", - "canonical": true, - "file": "experiments.delete_experiment.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteExperiment", - "fullName": "google.cloud.dialogflow.cx.v3.Experiments.DeleteExperiment", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "ExperimentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient" - }, - "method": { - "shortName": "DeleteExperiment", - "fullName": "google.cloud.dialogflow.cx.v3.Experiments.DeleteExperiment", - "service": { - "shortName": "Experiments", - "fullName": "google.cloud.dialogflow.cx.v3.Experiments" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteExperiment", + "fullName": "google.cloud.dialogflow.cx.v3.Experiments.DeleteExperiment", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "ExperimentsClient", + "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient" }, + "method": { + "shortName": "DeleteExperiment", + "fullName": "google.cloud.dialogflow.cx.v3.Experiments.DeleteExperiment", + "service": { + "shortName": "Experiments", + "fullName": "google.cloud.dialogflow.cx.v3.Experiments" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Experiments_StartExperiment_async", + "title": "Agents startExperiment Sample", + "origin": "API_DEFINITION", + "description": " Starts the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment]. This rpc only changes the state of experiment from PENDING to RUNNING.", + "canonical": true, + "file": "experiments.start_experiment.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Experiments_StartExperiment_async", - "title": "Agents startExperiment Sample", - "origin": "API_DEFINITION", - "description": " Starts the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment]. This rpc only changes the state of experiment from PENDING to RUNNING.", - "canonical": true, - "file": "experiments.start_experiment.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "StartExperiment", - "fullName": "google.cloud.dialogflow.cx.v3.Experiments.StartExperiment", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.Experiment", - "client": { - "shortName": "ExperimentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient" - }, - "method": { - "shortName": "StartExperiment", - "fullName": "google.cloud.dialogflow.cx.v3.Experiments.StartExperiment", - "service": { - "shortName": "Experiments", - "fullName": "google.cloud.dialogflow.cx.v3.Experiments" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "StartExperiment", + "fullName": "google.cloud.dialogflow.cx.v3.Experiments.StartExperiment", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.Experiment", + "client": { + "shortName": "ExperimentsClient", + "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient" }, + "method": { + "shortName": "StartExperiment", + "fullName": "google.cloud.dialogflow.cx.v3.Experiments.StartExperiment", + "service": { + "shortName": "Experiments", + "fullName": "google.cloud.dialogflow.cx.v3.Experiments" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Experiments_StopExperiment_async", + "title": "Agents stopExperiment Sample", + "origin": "API_DEFINITION", + "description": " Stops the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment]. This rpc only changes the state of experiment from RUNNING to DONE.", + "canonical": true, + "file": "experiments.stop_experiment.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Experiments_StopExperiment_async", - "title": "Agents stopExperiment Sample", - "origin": "API_DEFINITION", - "description": " Stops the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment]. This rpc only changes the state of experiment from RUNNING to DONE.", - "canonical": true, - "file": "experiments.stop_experiment.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "StopExperiment", - "fullName": "google.cloud.dialogflow.cx.v3.Experiments.StopExperiment", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.Experiment", - "client": { - "shortName": "ExperimentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient" - }, - "method": { - "shortName": "StopExperiment", - "fullName": "google.cloud.dialogflow.cx.v3.Experiments.StopExperiment", - "service": { - "shortName": "Experiments", - "fullName": "google.cloud.dialogflow.cx.v3.Experiments" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "StopExperiment", + "fullName": "google.cloud.dialogflow.cx.v3.Experiments.StopExperiment", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.Experiment", + "client": { + "shortName": "ExperimentsClient", + "fullName": "google.cloud.dialogflow.cx.v3.ExperimentsClient" }, + "method": { + "shortName": "StopExperiment", + "fullName": "google.cloud.dialogflow.cx.v3.Experiments.StopExperiment", + "service": { + "shortName": "Experiments", + "fullName": "google.cloud.dialogflow.cx.v3.Experiments" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Flows_CreateFlow_async", + "title": "Agents createFlow Sample", + "origin": "API_DEFINITION", + "description": " Creates a flow in the specified agent. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", + "canonical": true, + "file": "flows.create_flow.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Flows_CreateFlow_async", - "title": "Agents createFlow Sample", - "origin": "API_DEFINITION", - "description": " Creates a flow in the specified agent. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", - "canonical": true, - "file": "flows.create_flow.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 72, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateFlow", - "fullName": "google.cloud.dialogflow.cx.v3.Flows.CreateFlow", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "flow", - "type": ".google.cloud.dialogflow.cx.v3.Flow" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.Flow", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient" - }, - "method": { - "shortName": "CreateFlow", - "fullName": "google.cloud.dialogflow.cx.v3.Flows.CreateFlow", - "service": { - "shortName": "Flows", - "fullName": "google.cloud.dialogflow.cx.v3.Flows" - } - } - } + "start": 25, + "end": 72, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateFlow", + "fullName": "google.cloud.dialogflow.cx.v3.Flows.CreateFlow", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "flow", + "type": ".google.cloud.dialogflow.cx.v3.Flow" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.Flow", + "client": { + "shortName": "FlowsClient", + "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient" }, + "method": { + "shortName": "CreateFlow", + "fullName": "google.cloud.dialogflow.cx.v3.Flows.CreateFlow", + "service": { + "shortName": "Flows", + "fullName": "google.cloud.dialogflow.cx.v3.Flows" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Flows_DeleteFlow_async", + "title": "Agents deleteFlow Sample", + "origin": "API_DEFINITION", + "description": " Deletes a specified flow.", + "canonical": true, + "file": "flows.delete_flow.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Flows_DeleteFlow_async", - "title": "Agents deleteFlow Sample", - "origin": "API_DEFINITION", - "description": " Deletes a specified flow.", - "canonical": true, - "file": "flows.delete_flow.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 67, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteFlow", - "fullName": "google.cloud.dialogflow.cx.v3.Flows.DeleteFlow", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "force", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient" - }, - "method": { - "shortName": "DeleteFlow", - "fullName": "google.cloud.dialogflow.cx.v3.Flows.DeleteFlow", - "service": { - "shortName": "Flows", - "fullName": "google.cloud.dialogflow.cx.v3.Flows" - } - } - } + "start": 25, + "end": 67, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteFlow", + "fullName": "google.cloud.dialogflow.cx.v3.Flows.DeleteFlow", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "force", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "FlowsClient", + "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient" }, + "method": { + "shortName": "DeleteFlow", + "fullName": "google.cloud.dialogflow.cx.v3.Flows.DeleteFlow", + "service": { + "shortName": "Flows", + "fullName": "google.cloud.dialogflow.cx.v3.Flows" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Flows_ListFlows_async", + "title": "Agents listFlows Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all flows in the specified agent.", + "canonical": true, + "file": "flows.list_flows.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Flows_ListFlows_async", - "title": "Agents listFlows Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all flows in the specified agent.", - "canonical": true, - "file": "flows.list_flows.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 79, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListFlows", - "fullName": "google.cloud.dialogflow.cx.v3.Flows.ListFlows", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.ListFlowsResponse", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient" - }, - "method": { - "shortName": "ListFlows", - "fullName": "google.cloud.dialogflow.cx.v3.Flows.ListFlows", - "service": { - "shortName": "Flows", - "fullName": "google.cloud.dialogflow.cx.v3.Flows" - } - } - } + "start": 25, + "end": 79, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListFlows", + "fullName": "google.cloud.dialogflow.cx.v3.Flows.ListFlows", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.ListFlowsResponse", + "client": { + "shortName": "FlowsClient", + "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient" }, + "method": { + "shortName": "ListFlows", + "fullName": "google.cloud.dialogflow.cx.v3.Flows.ListFlows", + "service": { + "shortName": "Flows", + "fullName": "google.cloud.dialogflow.cx.v3.Flows" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Flows_GetFlow_async", + "title": "Agents getFlow Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified flow.", + "canonical": true, + "file": "flows.get_flow.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Flows_GetFlow_async", - "title": "Agents getFlow Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified flow.", - "canonical": true, - "file": "flows.get_flow.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 69, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetFlow", - "fullName": "google.cloud.dialogflow.cx.v3.Flows.GetFlow", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.Flow", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient" - }, - "method": { - "shortName": "GetFlow", - "fullName": "google.cloud.dialogflow.cx.v3.Flows.GetFlow", - "service": { - "shortName": "Flows", - "fullName": "google.cloud.dialogflow.cx.v3.Flows" - } - } - } + "start": 25, + "end": 69, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetFlow", + "fullName": "google.cloud.dialogflow.cx.v3.Flows.GetFlow", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.Flow", + "client": { + "shortName": "FlowsClient", + "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient" }, + "method": { + "shortName": "GetFlow", + "fullName": "google.cloud.dialogflow.cx.v3.Flows.GetFlow", + "service": { + "shortName": "Flows", + "fullName": "google.cloud.dialogflow.cx.v3.Flows" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Flows_UpdateFlow_async", + "title": "Agents updateFlow Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified flow. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", + "canonical": true, + "file": "flows.update_flow.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Flows_UpdateFlow_async", - "title": "Agents updateFlow Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified flow. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", - "canonical": true, - "file": "flows.update_flow.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 71, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateFlow", - "fullName": "google.cloud.dialogflow.cx.v3.Flows.UpdateFlow", - "async": true, - "parameters": [ - { - "name": "flow", - "type": ".google.cloud.dialogflow.cx.v3.Flow" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.Flow", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient" - }, - "method": { - "shortName": "UpdateFlow", - "fullName": "google.cloud.dialogflow.cx.v3.Flows.UpdateFlow", - "service": { - "shortName": "Flows", - "fullName": "google.cloud.dialogflow.cx.v3.Flows" - } - } - } + "start": 25, + "end": 71, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateFlow", + "fullName": "google.cloud.dialogflow.cx.v3.Flows.UpdateFlow", + "async": true, + "parameters": [ + { + "name": "flow", + "type": ".google.cloud.dialogflow.cx.v3.Flow" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.Flow", + "client": { + "shortName": "FlowsClient", + "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient" }, + "method": { + "shortName": "UpdateFlow", + "fullName": "google.cloud.dialogflow.cx.v3.Flows.UpdateFlow", + "service": { + "shortName": "Flows", + "fullName": "google.cloud.dialogflow.cx.v3.Flows" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Flows_TrainFlow_async", + "title": "Agents trainFlow Sample", + "origin": "API_DEFINITION", + "description": " Trains the specified flow. Note that only the flow in 'draft' environment is trained. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](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 documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", + "canonical": true, + "file": "flows.train_flow.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Flows_TrainFlow_async", - "title": "Agents trainFlow Sample", - "origin": "API_DEFINITION", - "description": " Trains the specified flow. Note that only the flow in 'draft' environment is trained. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](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 documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", - "canonical": true, - "file": "flows.train_flow.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 56, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "TrainFlow", - "fullName": "google.cloud.dialogflow.cx.v3.Flows.TrainFlow", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient" - }, - "method": { - "shortName": "TrainFlow", - "fullName": "google.cloud.dialogflow.cx.v3.Flows.TrainFlow", - "service": { - "shortName": "Flows", - "fullName": "google.cloud.dialogflow.cx.v3.Flows" - } - } - } + "start": 25, + "end": 56, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "TrainFlow", + "fullName": "google.cloud.dialogflow.cx.v3.Flows.TrainFlow", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "FlowsClient", + "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient" }, + "method": { + "shortName": "TrainFlow", + "fullName": "google.cloud.dialogflow.cx.v3.Flows.TrainFlow", + "service": { + "shortName": "Flows", + "fullName": "google.cloud.dialogflow.cx.v3.Flows" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Flows_ValidateFlow_async", + "title": "Agents validateFlow Sample", + "origin": "API_DEFINITION", + "description": " Validates the specified flow and creates or updates validation results. Please call this API after the training is completed to get the complete validation results.", + "canonical": true, + "file": "flows.validate_flow.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Flows_ValidateFlow_async", - "title": "Agents validateFlow Sample", - "origin": "API_DEFINITION", - "description": " Validates the specified flow and creates or updates validation results. Please call this API after the training is completed to get the complete validation results.", - "canonical": true, - "file": "flows.validate_flow.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ValidateFlow", - "fullName": "google.cloud.dialogflow.cx.v3.Flows.ValidateFlow", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.FlowValidationResult", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient" - }, - "method": { - "shortName": "ValidateFlow", - "fullName": "google.cloud.dialogflow.cx.v3.Flows.ValidateFlow", - "service": { - "shortName": "Flows", - "fullName": "google.cloud.dialogflow.cx.v3.Flows" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ValidateFlow", + "fullName": "google.cloud.dialogflow.cx.v3.Flows.ValidateFlow", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.FlowValidationResult", + "client": { + "shortName": "FlowsClient", + "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient" }, + "method": { + "shortName": "ValidateFlow", + "fullName": "google.cloud.dialogflow.cx.v3.Flows.ValidateFlow", + "service": { + "shortName": "Flows", + "fullName": "google.cloud.dialogflow.cx.v3.Flows" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Flows_GetFlowValidationResult_async", + "title": "Agents getFlowValidationResult Sample", + "origin": "API_DEFINITION", + "description": " Gets the latest flow validation result. Flow validation is performed when ValidateFlow is called.", + "canonical": true, + "file": "flows.get_flow_validation_result.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Flows_GetFlowValidationResult_async", - "title": "Agents getFlowValidationResult Sample", - "origin": "API_DEFINITION", - "description": " Gets the latest flow validation result. Flow validation is performed when ValidateFlow is called.", - "canonical": true, - "file": "flows.get_flow_validation_result.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetFlowValidationResult", - "fullName": "google.cloud.dialogflow.cx.v3.Flows.GetFlowValidationResult", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.FlowValidationResult", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient" - }, - "method": { - "shortName": "GetFlowValidationResult", - "fullName": "google.cloud.dialogflow.cx.v3.Flows.GetFlowValidationResult", - "service": { - "shortName": "Flows", - "fullName": "google.cloud.dialogflow.cx.v3.Flows" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetFlowValidationResult", + "fullName": "google.cloud.dialogflow.cx.v3.Flows.GetFlowValidationResult", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.FlowValidationResult", + "client": { + "shortName": "FlowsClient", + "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient" }, + "method": { + "shortName": "GetFlowValidationResult", + "fullName": "google.cloud.dialogflow.cx.v3.Flows.GetFlowValidationResult", + "service": { + "shortName": "Flows", + "fullName": "google.cloud.dialogflow.cx.v3.Flows" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Flows_ImportFlow_async", + "title": "Agents importFlow Sample", + "origin": "API_DEFINITION", + "description": " Imports the specified flow to the specified agent from a binary file. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [ImportFlowResponse][google.cloud.dialogflow.cx.v3.ImportFlowResponse] Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", + "canonical": true, + "file": "flows.import_flow.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Flows_ImportFlow_async", - "title": "Agents importFlow Sample", - "origin": "API_DEFINITION", - "description": " Imports the specified flow to the specified agent from a binary file. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [ImportFlowResponse][google.cloud.dialogflow.cx.v3.ImportFlowResponse] Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", - "canonical": true, - "file": "flows.import_flow.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 79, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ImportFlow", - "fullName": "google.cloud.dialogflow.cx.v3.Flows.ImportFlow", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "flow_uri", - "type": "TYPE_STRING" - }, - { - "name": "flow_content", - "type": "TYPE_BYTES" - }, - { - "name": "import_option", - "type": ".google.cloud.dialogflow.cx.v3.ImportFlowRequest.ImportOption" - }, - { - "name": "flow_import_strategy", - "type": ".google.cloud.dialogflow.cx.v3.FlowImportStrategy" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient" - }, - "method": { - "shortName": "ImportFlow", - "fullName": "google.cloud.dialogflow.cx.v3.Flows.ImportFlow", - "service": { - "shortName": "Flows", - "fullName": "google.cloud.dialogflow.cx.v3.Flows" - } - } - } + "start": 25, + "end": 79, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ImportFlow", + "fullName": "google.cloud.dialogflow.cx.v3.Flows.ImportFlow", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "flow_uri", + "type": "TYPE_STRING" + }, + { + "name": "flow_content", + "type": "TYPE_BYTES" + }, + { + "name": "import_option", + "type": ".google.cloud.dialogflow.cx.v3.ImportFlowRequest.ImportOption" + }, + { + "name": "flow_import_strategy", + "type": ".google.cloud.dialogflow.cx.v3.FlowImportStrategy" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "FlowsClient", + "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient" }, + "method": { + "shortName": "ImportFlow", + "fullName": "google.cloud.dialogflow.cx.v3.Flows.ImportFlow", + "service": { + "shortName": "Flows", + "fullName": "google.cloud.dialogflow.cx.v3.Flows" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Flows_ExportFlow_async", + "title": "Agents exportFlow Sample", + "origin": "API_DEFINITION", + "description": " Exports the specified flow to a binary file. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [ExportFlowResponse][google.cloud.dialogflow.cx.v3.ExportFlowResponse] Note that resources (e.g. intents, entities, webhooks) that the flow references will also be exported.", + "canonical": true, + "file": "flows.export_flow.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Flows_ExportFlow_async", - "title": "Agents exportFlow Sample", - "origin": "API_DEFINITION", - "description": " Exports the specified flow to a binary file. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [ExportFlowResponse][google.cloud.dialogflow.cx.v3.ExportFlowResponse] Note that resources (e.g. intents, entities, webhooks) that the flow references will also be exported.", - "canonical": true, - "file": "flows.export_flow.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 72, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ExportFlow", - "fullName": "google.cloud.dialogflow.cx.v3.Flows.ExportFlow", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "flow_uri", - "type": "TYPE_STRING" - }, - { - "name": "include_referenced_flows", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient" - }, - "method": { - "shortName": "ExportFlow", - "fullName": "google.cloud.dialogflow.cx.v3.Flows.ExportFlow", - "service": { - "shortName": "Flows", - "fullName": "google.cloud.dialogflow.cx.v3.Flows" - } - } - } + "start": 25, + "end": 72, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ExportFlow", + "fullName": "google.cloud.dialogflow.cx.v3.Flows.ExportFlow", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "flow_uri", + "type": "TYPE_STRING" + }, + { + "name": "include_referenced_flows", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "FlowsClient", + "fullName": "google.cloud.dialogflow.cx.v3.FlowsClient" }, + "method": { + "shortName": "ExportFlow", + "fullName": "google.cloud.dialogflow.cx.v3.Flows.ExportFlow", + "service": { + "shortName": "Flows", + "fullName": "google.cloud.dialogflow.cx.v3.Flows" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Generators_ListGenerators_async", + "title": "Agents listGenerators Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all generators in the specified agent.", + "canonical": true, + "file": "generators.list_generators.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Generators_ListGenerators_async", - "title": "Agents listGenerators Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all generators in the specified agent.", - "canonical": true, - "file": "generators.list_generators.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 69, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListGenerators", - "fullName": "google.cloud.dialogflow.cx.v3.Generators.ListGenerators", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.ListGeneratorsResponse", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.cx.v3.GeneratorsClient" - }, - "method": { - "shortName": "ListGenerators", - "fullName": "google.cloud.dialogflow.cx.v3.Generators.ListGenerators", - "service": { - "shortName": "Generators", - "fullName": "google.cloud.dialogflow.cx.v3.Generators" - } - } - } + "start": 25, + "end": 69, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListGenerators", + "fullName": "google.cloud.dialogflow.cx.v3.Generators.ListGenerators", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.ListGeneratorsResponse", + "client": { + "shortName": "GeneratorsClient", + "fullName": "google.cloud.dialogflow.cx.v3.GeneratorsClient" }, + "method": { + "shortName": "ListGenerators", + "fullName": "google.cloud.dialogflow.cx.v3.Generators.ListGenerators", + "service": { + "shortName": "Generators", + "fullName": "google.cloud.dialogflow.cx.v3.Generators" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Generators_GetGenerator_async", + "title": "Agents getGenerator Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified generator.", + "canonical": true, + "file": "generators.get_generator.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Generators_GetGenerator_async", - "title": "Agents getGenerator Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified generator.", - "canonical": true, - "file": "generators.get_generator.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetGenerator", - "fullName": "google.cloud.dialogflow.cx.v3.Generators.GetGenerator", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.Generator", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.cx.v3.GeneratorsClient" - }, - "method": { - "shortName": "GetGenerator", - "fullName": "google.cloud.dialogflow.cx.v3.Generators.GetGenerator", - "service": { - "shortName": "Generators", - "fullName": "google.cloud.dialogflow.cx.v3.Generators" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetGenerator", + "fullName": "google.cloud.dialogflow.cx.v3.Generators.GetGenerator", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.Generator", + "client": { + "shortName": "GeneratorsClient", + "fullName": "google.cloud.dialogflow.cx.v3.GeneratorsClient" }, + "method": { + "shortName": "GetGenerator", + "fullName": "google.cloud.dialogflow.cx.v3.Generators.GetGenerator", + "service": { + "shortName": "Generators", + "fullName": "google.cloud.dialogflow.cx.v3.Generators" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Generators_CreateGenerator_async", + "title": "Agents createGenerator Sample", + "origin": "API_DEFINITION", + "description": " Creates a generator in the specified agent.", + "canonical": true, + "file": "generators.create_generator.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Generators_CreateGenerator_async", - "title": "Agents createGenerator Sample", - "origin": "API_DEFINITION", - "description": " Creates a generator in the specified agent.", - "canonical": true, - "file": "generators.create_generator.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 65, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateGenerator", - "fullName": "google.cloud.dialogflow.cx.v3.Generators.CreateGenerator", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "generator", - "type": ".google.cloud.dialogflow.cx.v3.Generator" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.Generator", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.cx.v3.GeneratorsClient" - }, - "method": { - "shortName": "CreateGenerator", - "fullName": "google.cloud.dialogflow.cx.v3.Generators.CreateGenerator", - "service": { - "shortName": "Generators", - "fullName": "google.cloud.dialogflow.cx.v3.Generators" - } - } - } + "start": 25, + "end": 65, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateGenerator", + "fullName": "google.cloud.dialogflow.cx.v3.Generators.CreateGenerator", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "generator", + "type": ".google.cloud.dialogflow.cx.v3.Generator" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.Generator", + "client": { + "shortName": "GeneratorsClient", + "fullName": "google.cloud.dialogflow.cx.v3.GeneratorsClient" }, + "method": { + "shortName": "CreateGenerator", + "fullName": "google.cloud.dialogflow.cx.v3.Generators.CreateGenerator", + "service": { + "shortName": "Generators", + "fullName": "google.cloud.dialogflow.cx.v3.Generators" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Generators_UpdateGenerator_async", + "title": "Agents updateGenerator Sample", + "origin": "API_DEFINITION", + "description": " Update the specified generator.", + "canonical": true, + "file": "generators.update_generator.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Generators_UpdateGenerator_async", - "title": "Agents updateGenerator Sample", - "origin": "API_DEFINITION", - "description": " Update the specified generator.", - "canonical": true, - "file": "generators.update_generator.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 62, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateGenerator", - "fullName": "google.cloud.dialogflow.cx.v3.Generators.UpdateGenerator", - "async": true, - "parameters": [ - { - "name": "generator", - "type": ".google.cloud.dialogflow.cx.v3.Generator" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.Generator", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.cx.v3.GeneratorsClient" - }, - "method": { - "shortName": "UpdateGenerator", - "fullName": "google.cloud.dialogflow.cx.v3.Generators.UpdateGenerator", - "service": { - "shortName": "Generators", - "fullName": "google.cloud.dialogflow.cx.v3.Generators" - } - } - } + "start": 25, + "end": 62, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateGenerator", + "fullName": "google.cloud.dialogflow.cx.v3.Generators.UpdateGenerator", + "async": true, + "parameters": [ + { + "name": "generator", + "type": ".google.cloud.dialogflow.cx.v3.Generator" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.Generator", + "client": { + "shortName": "GeneratorsClient", + "fullName": "google.cloud.dialogflow.cx.v3.GeneratorsClient" }, + "method": { + "shortName": "UpdateGenerator", + "fullName": "google.cloud.dialogflow.cx.v3.Generators.UpdateGenerator", + "service": { + "shortName": "Generators", + "fullName": "google.cloud.dialogflow.cx.v3.Generators" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Generators_DeleteGenerator_async", + "title": "Agents deleteGenerator Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified generators.", + "canonical": true, + "file": "generators.delete_generator.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Generators_DeleteGenerator_async", - "title": "Agents deleteGenerator Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified generators.", - "canonical": true, - "file": "generators.delete_generator.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 65, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteGenerator", - "fullName": "google.cloud.dialogflow.cx.v3.Generators.DeleteGenerator", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "force", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.cx.v3.GeneratorsClient" - }, - "method": { - "shortName": "DeleteGenerator", - "fullName": "google.cloud.dialogflow.cx.v3.Generators.DeleteGenerator", - "service": { - "shortName": "Generators", - "fullName": "google.cloud.dialogflow.cx.v3.Generators" - } - } - } + "start": 25, + "end": 65, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteGenerator", + "fullName": "google.cloud.dialogflow.cx.v3.Generators.DeleteGenerator", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "force", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "GeneratorsClient", + "fullName": "google.cloud.dialogflow.cx.v3.GeneratorsClient" }, + "method": { + "shortName": "DeleteGenerator", + "fullName": "google.cloud.dialogflow.cx.v3.Generators.DeleteGenerator", + "service": { + "shortName": "Generators", + "fullName": "google.cloud.dialogflow.cx.v3.Generators" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Intents_ListIntents_async", + "title": "Agents listIntents Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all intents in the specified agent.", + "canonical": true, + "file": "intents.list_intents.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Intents_ListIntents_async", - "title": "Agents listIntents Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all intents in the specified agent.", - "canonical": true, - "file": "intents.list_intents.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 80, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListIntents", - "fullName": "google.cloud.dialogflow.cx.v3.Intents.ListIntents", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - }, - { - "name": "intent_view", - "type": ".google.cloud.dialogflow.cx.v3.IntentView" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.ListIntentsResponse", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient" - }, - "method": { - "shortName": "ListIntents", - "fullName": "google.cloud.dialogflow.cx.v3.Intents.ListIntents", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.cx.v3.Intents" - } - } - } + "start": 25, + "end": 80, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListIntents", + "fullName": "google.cloud.dialogflow.cx.v3.Intents.ListIntents", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + }, + { + "name": "intent_view", + "type": ".google.cloud.dialogflow.cx.v3.IntentView" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.ListIntentsResponse", + "client": { + "shortName": "IntentsClient", + "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient" }, + "method": { + "shortName": "ListIntents", + "fullName": "google.cloud.dialogflow.cx.v3.Intents.ListIntents", + "service": { + "shortName": "Intents", + "fullName": "google.cloud.dialogflow.cx.v3.Intents" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Intents_GetIntent_async", + "title": "Agents getIntent Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified intent.", + "canonical": true, + "file": "intents.get_intent.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Intents_GetIntent_async", - "title": "Agents getIntent Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified intent.", - "canonical": true, - "file": "intents.get_intent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 66, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetIntent", - "fullName": "google.cloud.dialogflow.cx.v3.Intents.GetIntent", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.Intent", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient" - }, - "method": { - "shortName": "GetIntent", - "fullName": "google.cloud.dialogflow.cx.v3.Intents.GetIntent", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.cx.v3.Intents" - } - } - } + "start": 25, + "end": 66, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetIntent", + "fullName": "google.cloud.dialogflow.cx.v3.Intents.GetIntent", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.Intent", + "client": { + "shortName": "IntentsClient", + "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient" }, + "method": { + "shortName": "GetIntent", + "fullName": "google.cloud.dialogflow.cx.v3.Intents.GetIntent", + "service": { + "shortName": "Intents", + "fullName": "google.cloud.dialogflow.cx.v3.Intents" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Intents_CreateIntent_async", + "title": "Agents createIntent Sample", + "origin": "API_DEFINITION", + "description": " Creates an intent in the specified agent. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", + "canonical": true, + "file": "intents.create_intent.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Intents_CreateIntent_async", - "title": "Agents createIntent Sample", - "origin": "API_DEFINITION", - "description": " Creates an intent in the specified agent. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", - "canonical": true, - "file": "intents.create_intent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 69, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateIntent", - "fullName": "google.cloud.dialogflow.cx.v3.Intents.CreateIntent", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "intent", - "type": ".google.cloud.dialogflow.cx.v3.Intent" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.Intent", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient" - }, - "method": { - "shortName": "CreateIntent", - "fullName": "google.cloud.dialogflow.cx.v3.Intents.CreateIntent", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.cx.v3.Intents" - } - } - } + "start": 25, + "end": 69, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateIntent", + "fullName": "google.cloud.dialogflow.cx.v3.Intents.CreateIntent", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "intent", + "type": ".google.cloud.dialogflow.cx.v3.Intent" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.Intent", + "client": { + "shortName": "IntentsClient", + "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient" }, + "method": { + "shortName": "CreateIntent", + "fullName": "google.cloud.dialogflow.cx.v3.Intents.CreateIntent", + "service": { + "shortName": "Intents", + "fullName": "google.cloud.dialogflow.cx.v3.Intents" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Intents_UpdateIntent_async", + "title": "Agents updateIntent Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified intent. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", + "canonical": true, + "file": "intents.update_intent.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Intents_UpdateIntent_async", - "title": "Agents updateIntent Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified intent. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", - "canonical": true, - "file": "intents.update_intent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 68, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateIntent", - "fullName": "google.cloud.dialogflow.cx.v3.Intents.UpdateIntent", - "async": true, - "parameters": [ - { - "name": "intent", - "type": ".google.cloud.dialogflow.cx.v3.Intent" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.Intent", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient" - }, - "method": { - "shortName": "UpdateIntent", - "fullName": "google.cloud.dialogflow.cx.v3.Intents.UpdateIntent", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.cx.v3.Intents" - } - } - } + "start": 25, + "end": 68, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateIntent", + "fullName": "google.cloud.dialogflow.cx.v3.Intents.UpdateIntent", + "async": true, + "parameters": [ + { + "name": "intent", + "type": ".google.cloud.dialogflow.cx.v3.Intent" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.Intent", + "client": { + "shortName": "IntentsClient", + "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient" }, + "method": { + "shortName": "UpdateIntent", + "fullName": "google.cloud.dialogflow.cx.v3.Intents.UpdateIntent", + "service": { + "shortName": "Intents", + "fullName": "google.cloud.dialogflow.cx.v3.Intents" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Intents_DeleteIntent_async", + "title": "Agents deleteIntent Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified intent. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", + "canonical": true, + "file": "intents.delete_intent.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Intents_DeleteIntent_async", - "title": "Agents deleteIntent Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified intent. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", - "canonical": true, - "file": "intents.delete_intent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteIntent", - "fullName": "google.cloud.dialogflow.cx.v3.Intents.DeleteIntent", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient" - }, - "method": { - "shortName": "DeleteIntent", - "fullName": "google.cloud.dialogflow.cx.v3.Intents.DeleteIntent", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.cx.v3.Intents" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteIntent", + "fullName": "google.cloud.dialogflow.cx.v3.Intents.DeleteIntent", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "IntentsClient", + "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient" }, + "method": { + "shortName": "DeleteIntent", + "fullName": "google.cloud.dialogflow.cx.v3.Intents.DeleteIntent", + "service": { + "shortName": "Intents", + "fullName": "google.cloud.dialogflow.cx.v3.Intents" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Intents_ImportIntents_async", + "title": "Agents importIntents Sample", + "origin": "API_DEFINITION", + "description": " Imports the specified intents into the agent. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [ImportIntentsMetadata][google.cloud.dialogflow.cx.v3.ImportIntentsMetadata] - `response`: [ImportIntentsResponse][google.cloud.dialogflow.cx.v3.ImportIntentsResponse]", + "canonical": true, + "file": "intents.import_intents.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Intents_ImportIntents_async", - "title": "Agents importIntents Sample", - "origin": "API_DEFINITION", - "description": " Imports the specified intents into the agent. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [ImportIntentsMetadata][google.cloud.dialogflow.cx.v3.ImportIntentsMetadata] - `response`: [ImportIntentsResponse][google.cloud.dialogflow.cx.v3.ImportIntentsResponse]", - "canonical": true, - "file": "intents.import_intents.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 74, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ImportIntents", - "fullName": "google.cloud.dialogflow.cx.v3.Intents.ImportIntents", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "intents_uri", - "type": "TYPE_STRING" - }, - { - "name": "intents_content", - "type": ".google.cloud.dialogflow.cx.v3.InlineSource" - }, - { - "name": "merge_option", - "type": ".google.cloud.dialogflow.cx.v3.ImportIntentsRequest.MergeOption" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient" - }, - "method": { - "shortName": "ImportIntents", - "fullName": "google.cloud.dialogflow.cx.v3.Intents.ImportIntents", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.cx.v3.Intents" - } - } - } + "start": 25, + "end": 74, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ImportIntents", + "fullName": "google.cloud.dialogflow.cx.v3.Intents.ImportIntents", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "intents_uri", + "type": "TYPE_STRING" + }, + { + "name": "intents_content", + "type": ".google.cloud.dialogflow.cx.v3.InlineSource" + }, + { + "name": "merge_option", + "type": ".google.cloud.dialogflow.cx.v3.ImportIntentsRequest.MergeOption" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "IntentsClient", + "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient" }, + "method": { + "shortName": "ImportIntents", + "fullName": "google.cloud.dialogflow.cx.v3.Intents.ImportIntents", + "service": { + "shortName": "Intents", + "fullName": "google.cloud.dialogflow.cx.v3.Intents" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Intents_ExportIntents_async", + "title": "Agents exportIntents Sample", + "origin": "API_DEFINITION", + "description": " Exports the selected intents. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [ExportIntentsMetadata][google.cloud.dialogflow.cx.v3.ExportIntentsMetadata] - `response`: [ExportIntentsResponse][google.cloud.dialogflow.cx.v3.ExportIntentsResponse]", + "canonical": true, + "file": "intents.export_intents.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Intents_ExportIntents_async", - "title": "Agents exportIntents Sample", - "origin": "API_DEFINITION", - "description": " Exports the selected intents. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [ExportIntentsMetadata][google.cloud.dialogflow.cx.v3.ExportIntentsMetadata] - `response`: [ExportIntentsResponse][google.cloud.dialogflow.cx.v3.ExportIntentsResponse]", - "canonical": true, - "file": "intents.export_intents.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 83, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ExportIntents", - "fullName": "google.cloud.dialogflow.cx.v3.Intents.ExportIntents", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "intents", - "type": "TYPE_STRING[]" - }, - { - "name": "intents_uri", - "type": "TYPE_STRING" - }, - { - "name": "intents_content_inline", - "type": "TYPE_BOOL" - }, - { - "name": "data_format", - "type": ".google.cloud.dialogflow.cx.v3.ExportIntentsRequest.DataFormat" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient" - }, - "method": { - "shortName": "ExportIntents", - "fullName": "google.cloud.dialogflow.cx.v3.Intents.ExportIntents", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.cx.v3.Intents" - } - } - } + "start": 25, + "end": 83, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ExportIntents", + "fullName": "google.cloud.dialogflow.cx.v3.Intents.ExportIntents", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "intents", + "type": "TYPE_STRING[]" + }, + { + "name": "intents_uri", + "type": "TYPE_STRING" + }, + { + "name": "intents_content_inline", + "type": "TYPE_BOOL" + }, + { + "name": "data_format", + "type": ".google.cloud.dialogflow.cx.v3.ExportIntentsRequest.DataFormat" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "IntentsClient", + "fullName": "google.cloud.dialogflow.cx.v3.IntentsClient" }, + "method": { + "shortName": "ExportIntents", + "fullName": "google.cloud.dialogflow.cx.v3.Intents.ExportIntents", + "service": { + "shortName": "Intents", + "fullName": "google.cloud.dialogflow.cx.v3.Intents" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Pages_ListPages_async", + "title": "Agents listPages Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all pages in the specified flow.", + "canonical": true, + "file": "pages.list_pages.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Pages_ListPages_async", - "title": "Agents listPages Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all pages in the specified flow.", - "canonical": true, - "file": "pages.list_pages.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 88, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListPages", - "fullName": "google.cloud.dialogflow.cx.v3.Pages.ListPages", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.ListPagesResponse", - "client": { - "shortName": "PagesClient", - "fullName": "google.cloud.dialogflow.cx.v3.PagesClient" - }, - "method": { - "shortName": "ListPages", - "fullName": "google.cloud.dialogflow.cx.v3.Pages.ListPages", - "service": { - "shortName": "Pages", - "fullName": "google.cloud.dialogflow.cx.v3.Pages" - } - } - } + "start": 25, + "end": 88, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListPages", + "fullName": "google.cloud.dialogflow.cx.v3.Pages.ListPages", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.ListPagesResponse", + "client": { + "shortName": "PagesClient", + "fullName": "google.cloud.dialogflow.cx.v3.PagesClient" }, + "method": { + "shortName": "ListPages", + "fullName": "google.cloud.dialogflow.cx.v3.Pages.ListPages", + "service": { + "shortName": "Pages", + "fullName": "google.cloud.dialogflow.cx.v3.Pages" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Pages_GetPage_async", + "title": "Agents getPage Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified page.", + "canonical": true, + "file": "pages.get_page.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Pages_GetPage_async", - "title": "Agents getPage Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified page.", - "canonical": true, - "file": "pages.get_page.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 77, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetPage", - "fullName": "google.cloud.dialogflow.cx.v3.Pages.GetPage", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.Page", - "client": { - "shortName": "PagesClient", - "fullName": "google.cloud.dialogflow.cx.v3.PagesClient" - }, - "method": { - "shortName": "GetPage", - "fullName": "google.cloud.dialogflow.cx.v3.Pages.GetPage", - "service": { - "shortName": "Pages", - "fullName": "google.cloud.dialogflow.cx.v3.Pages" - } - } - } + "start": 25, + "end": 77, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetPage", + "fullName": "google.cloud.dialogflow.cx.v3.Pages.GetPage", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.Page", + "client": { + "shortName": "PagesClient", + "fullName": "google.cloud.dialogflow.cx.v3.PagesClient" }, + "method": { + "shortName": "GetPage", + "fullName": "google.cloud.dialogflow.cx.v3.Pages.GetPage", + "service": { + "shortName": "Pages", + "fullName": "google.cloud.dialogflow.cx.v3.Pages" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Pages_CreatePage_async", + "title": "Agents createPage Sample", + "origin": "API_DEFINITION", + "description": " Creates a page in the specified flow. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", + "canonical": true, + "file": "pages.create_page.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Pages_CreatePage_async", - "title": "Agents createPage Sample", - "origin": "API_DEFINITION", - "description": " Creates a page in the specified flow. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", - "canonical": true, - "file": "pages.create_page.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 81, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreatePage", - "fullName": "google.cloud.dialogflow.cx.v3.Pages.CreatePage", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page", - "type": ".google.cloud.dialogflow.cx.v3.Page" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.Page", - "client": { - "shortName": "PagesClient", - "fullName": "google.cloud.dialogflow.cx.v3.PagesClient" - }, - "method": { - "shortName": "CreatePage", - "fullName": "google.cloud.dialogflow.cx.v3.Pages.CreatePage", - "service": { - "shortName": "Pages", - "fullName": "google.cloud.dialogflow.cx.v3.Pages" - } - } - } + "start": 25, + "end": 81, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreatePage", + "fullName": "google.cloud.dialogflow.cx.v3.Pages.CreatePage", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page", + "type": ".google.cloud.dialogflow.cx.v3.Page" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.Page", + "client": { + "shortName": "PagesClient", + "fullName": "google.cloud.dialogflow.cx.v3.PagesClient" }, + "method": { + "shortName": "CreatePage", + "fullName": "google.cloud.dialogflow.cx.v3.Pages.CreatePage", + "service": { + "shortName": "Pages", + "fullName": "google.cloud.dialogflow.cx.v3.Pages" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Pages_UpdatePage_async", + "title": "Agents updatePage Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified page. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", + "canonical": true, + "file": "pages.update_page.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Pages_UpdatePage_async", - "title": "Agents updatePage Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified page. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", - "canonical": true, - "file": "pages.update_page.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 79, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdatePage", - "fullName": "google.cloud.dialogflow.cx.v3.Pages.UpdatePage", - "async": true, - "parameters": [ - { - "name": "page", - "type": ".google.cloud.dialogflow.cx.v3.Page" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.Page", - "client": { - "shortName": "PagesClient", - "fullName": "google.cloud.dialogflow.cx.v3.PagesClient" - }, - "method": { - "shortName": "UpdatePage", - "fullName": "google.cloud.dialogflow.cx.v3.Pages.UpdatePage", - "service": { - "shortName": "Pages", - "fullName": "google.cloud.dialogflow.cx.v3.Pages" - } - } - } + "start": 25, + "end": 79, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdatePage", + "fullName": "google.cloud.dialogflow.cx.v3.Pages.UpdatePage", + "async": true, + "parameters": [ + { + "name": "page", + "type": ".google.cloud.dialogflow.cx.v3.Page" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.Page", + "client": { + "shortName": "PagesClient", + "fullName": "google.cloud.dialogflow.cx.v3.PagesClient" }, + "method": { + "shortName": "UpdatePage", + "fullName": "google.cloud.dialogflow.cx.v3.Pages.UpdatePage", + "service": { + "shortName": "Pages", + "fullName": "google.cloud.dialogflow.cx.v3.Pages" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Pages_DeletePage_async", + "title": "Agents deletePage Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified page. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", + "canonical": true, + "file": "pages.delete_page.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Pages_DeletePage_async", - "title": "Agents deletePage Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified page. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", - "canonical": true, - "file": "pages.delete_page.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 67, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeletePage", - "fullName": "google.cloud.dialogflow.cx.v3.Pages.DeletePage", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "force", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "PagesClient", - "fullName": "google.cloud.dialogflow.cx.v3.PagesClient" - }, - "method": { - "shortName": "DeletePage", - "fullName": "google.cloud.dialogflow.cx.v3.Pages.DeletePage", - "service": { - "shortName": "Pages", - "fullName": "google.cloud.dialogflow.cx.v3.Pages" - } - } - } + "start": 25, + "end": 67, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeletePage", + "fullName": "google.cloud.dialogflow.cx.v3.Pages.DeletePage", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "force", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "PagesClient", + "fullName": "google.cloud.dialogflow.cx.v3.PagesClient" }, + "method": { + "shortName": "DeletePage", + "fullName": "google.cloud.dialogflow.cx.v3.Pages.DeletePage", + "service": { + "shortName": "Pages", + "fullName": "google.cloud.dialogflow.cx.v3.Pages" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_SecuritySettingsService_CreateSecuritySettings_async", + "title": "Agents createSecuritySettings Sample", + "origin": "API_DEFINITION", + "description": " Create security settings in the specified location.", + "canonical": true, + "file": "security_settings_service.create_security_settings.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_SecuritySettingsService_CreateSecuritySettings_async", - "title": "Agents createSecuritySettings Sample", - "origin": "API_DEFINITION", - "description": " Create security settings in the specified location.", - "canonical": true, - "file": "security_settings_service.create_security_settings.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 60, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateSecuritySettings", - "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService.CreateSecuritySettings", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "security_settings", - "type": ".google.cloud.dialogflow.cx.v3.SecuritySettings" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.SecuritySettings", - "client": { - "shortName": "SecuritySettingsServiceClient", - "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsServiceClient" - }, - "method": { - "shortName": "CreateSecuritySettings", - "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService.CreateSecuritySettings", - "service": { - "shortName": "SecuritySettingsService", - "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService" - } - } - } + "start": 25, + "end": 60, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateSecuritySettings", + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService.CreateSecuritySettings", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "security_settings", + "type": ".google.cloud.dialogflow.cx.v3.SecuritySettings" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.SecuritySettings", + "client": { + "shortName": "SecuritySettingsServiceClient", + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsServiceClient" }, + "method": { + "shortName": "CreateSecuritySettings", + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService.CreateSecuritySettings", + "service": { + "shortName": "SecuritySettingsService", + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_SecuritySettingsService_GetSecuritySettings_async", + "title": "Agents getSecuritySettings Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings]. The returned settings may be stale by up to 1 minute.", + "canonical": true, + "file": "security_settings_service.get_security_settings.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_SecuritySettingsService_GetSecuritySettings_async", - "title": "Agents getSecuritySettings Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings]. The returned settings may be stale by up to 1 minute.", - "canonical": true, - "file": "security_settings_service.get_security_settings.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetSecuritySettings", - "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService.GetSecuritySettings", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.SecuritySettings", - "client": { - "shortName": "SecuritySettingsServiceClient", - "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsServiceClient" - }, - "method": { - "shortName": "GetSecuritySettings", - "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService.GetSecuritySettings", - "service": { - "shortName": "SecuritySettingsService", - "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetSecuritySettings", + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService.GetSecuritySettings", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.SecuritySettings", + "client": { + "shortName": "SecuritySettingsServiceClient", + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsServiceClient" }, + "method": { + "shortName": "GetSecuritySettings", + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService.GetSecuritySettings", + "service": { + "shortName": "SecuritySettingsService", + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_SecuritySettingsService_UpdateSecuritySettings_async", + "title": "Agents updateSecuritySettings Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings].", + "canonical": true, + "file": "security_settings_service.update_security_settings.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_SecuritySettingsService_UpdateSecuritySettings_async", - "title": "Agents updateSecuritySettings Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings].", - "canonical": true, - "file": "security_settings_service.update_security_settings.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 60, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateSecuritySettings", - "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService.UpdateSecuritySettings", - "async": true, - "parameters": [ - { - "name": "security_settings", - "type": ".google.cloud.dialogflow.cx.v3.SecuritySettings" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.SecuritySettings", - "client": { - "shortName": "SecuritySettingsServiceClient", - "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsServiceClient" - }, - "method": { - "shortName": "UpdateSecuritySettings", - "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService.UpdateSecuritySettings", - "service": { - "shortName": "SecuritySettingsService", - "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService" - } - } - } + "start": 25, + "end": 60, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateSecuritySettings", + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService.UpdateSecuritySettings", + "async": true, + "parameters": [ + { + "name": "security_settings", + "type": ".google.cloud.dialogflow.cx.v3.SecuritySettings" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.SecuritySettings", + "client": { + "shortName": "SecuritySettingsServiceClient", + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsServiceClient" }, + "method": { + "shortName": "UpdateSecuritySettings", + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService.UpdateSecuritySettings", + "service": { + "shortName": "SecuritySettingsService", + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_SecuritySettingsService_ListSecuritySettings_async", + "title": "Agents listSecuritySettings Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all security settings in the specified location.", + "canonical": true, + "file": "security_settings_service.list_security_settings.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_SecuritySettingsService_ListSecuritySettings_async", - "title": "Agents listSecuritySettings Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all security settings in the specified location.", - "canonical": true, - "file": "security_settings_service.list_security_settings.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 65, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListSecuritySettings", - "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService.ListSecuritySettings", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.ListSecuritySettingsResponse", - "client": { - "shortName": "SecuritySettingsServiceClient", - "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsServiceClient" - }, - "method": { - "shortName": "ListSecuritySettings", - "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService.ListSecuritySettings", - "service": { - "shortName": "SecuritySettingsService", - "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService" - } - } - } + "start": 25, + "end": 65, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListSecuritySettings", + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService.ListSecuritySettings", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.ListSecuritySettingsResponse", + "client": { + "shortName": "SecuritySettingsServiceClient", + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsServiceClient" }, + "method": { + "shortName": "ListSecuritySettings", + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService.ListSecuritySettings", + "service": { + "shortName": "SecuritySettingsService", + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_SecuritySettingsService_DeleteSecuritySettings_async", + "title": "Agents deleteSecuritySettings Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings].", + "canonical": true, + "file": "security_settings_service.delete_security_settings.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_SecuritySettingsService_DeleteSecuritySettings_async", - "title": "Agents deleteSecuritySettings Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings].", - "canonical": true, - "file": "security_settings_service.delete_security_settings.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 56, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteSecuritySettings", - "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService.DeleteSecuritySettings", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "SecuritySettingsServiceClient", - "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsServiceClient" - }, - "method": { - "shortName": "DeleteSecuritySettings", - "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService.DeleteSecuritySettings", - "service": { - "shortName": "SecuritySettingsService", - "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService" - } - } - } + "start": 25, + "end": 56, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteSecuritySettings", + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService.DeleteSecuritySettings", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "SecuritySettingsServiceClient", + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsServiceClient" }, + "method": { + "shortName": "DeleteSecuritySettings", + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService.DeleteSecuritySettings", + "service": { + "shortName": "SecuritySettingsService", + "fullName": "google.cloud.dialogflow.cx.v3.SecuritySettingsService" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_SessionEntityTypes_ListSessionEntityTypes_async", + "title": "Agents listSessionEntityTypes Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all session entity types in the specified session.", + "canonical": true, + "file": "session_entity_types.list_session_entity_types.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_SessionEntityTypes_ListSessionEntityTypes_async", - "title": "Agents listSessionEntityTypes Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all session entity types in the specified session.", - "canonical": true, - "file": "session_entity_types.list_session_entity_types.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 70, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListSessionEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes.ListSessionEntityTypes", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.ListSessionEntityTypesResponse", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypesClient" - }, - "method": { - "shortName": "ListSessionEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes.ListSessionEntityTypes", - "service": { - "shortName": "SessionEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes" - } - } - } + "start": 25, + "end": 70, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListSessionEntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes.ListSessionEntityTypes", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.ListSessionEntityTypesResponse", + "client": { + "shortName": "SessionEntityTypesClient", + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypesClient" }, + "method": { + "shortName": "ListSessionEntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes.ListSessionEntityTypes", + "service": { + "shortName": "SessionEntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_SessionEntityTypes_GetSessionEntityType_async", + "title": "Agents getSessionEntityType Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified session entity type.", + "canonical": true, + "file": "session_entity_types.get_session_entity_type.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_SessionEntityTypes_GetSessionEntityType_async", - "title": "Agents getSessionEntityType Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified session entity type.", - "canonical": true, - "file": "session_entity_types.get_session_entity_type.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetSessionEntityType", - "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes.GetSessionEntityType", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.SessionEntityType", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypesClient" - }, - "method": { - "shortName": "GetSessionEntityType", - "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes.GetSessionEntityType", - "service": { - "shortName": "SessionEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetSessionEntityType", + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes.GetSessionEntityType", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.SessionEntityType", + "client": { + "shortName": "SessionEntityTypesClient", + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypesClient" }, + "method": { + "shortName": "GetSessionEntityType", + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes.GetSessionEntityType", + "service": { + "shortName": "SessionEntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_SessionEntityTypes_CreateSessionEntityType_async", + "title": "Agents createSessionEntityType Sample", + "origin": "API_DEFINITION", + "description": " Creates a session entity type.", + "canonical": true, + "file": "session_entity_types.create_session_entity_type.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_SessionEntityTypes_CreateSessionEntityType_async", - "title": "Agents createSessionEntityType Sample", - "origin": "API_DEFINITION", - "description": " Creates a session entity type.", - "canonical": true, - "file": "session_entity_types.create_session_entity_type.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 64, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateSessionEntityType", - "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes.CreateSessionEntityType", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "session_entity_type", - "type": ".google.cloud.dialogflow.cx.v3.SessionEntityType" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.SessionEntityType", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypesClient" - }, - "method": { - "shortName": "CreateSessionEntityType", - "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes.CreateSessionEntityType", - "service": { - "shortName": "SessionEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes" - } - } - } + "start": 25, + "end": 64, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateSessionEntityType", + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes.CreateSessionEntityType", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "session_entity_type", + "type": ".google.cloud.dialogflow.cx.v3.SessionEntityType" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.SessionEntityType", + "client": { + "shortName": "SessionEntityTypesClient", + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypesClient" }, + "method": { + "shortName": "CreateSessionEntityType", + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes.CreateSessionEntityType", + "service": { + "shortName": "SessionEntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_SessionEntityTypes_UpdateSessionEntityType_async", + "title": "Agents updateSessionEntityType Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified session entity type.", + "canonical": true, + "file": "session_entity_types.update_session_entity_type.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_SessionEntityTypes_UpdateSessionEntityType_async", - "title": "Agents updateSessionEntityType Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified session entity type.", - "canonical": true, - "file": "session_entity_types.update_session_entity_type.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 63, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateSessionEntityType", - "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes.UpdateSessionEntityType", - "async": true, - "parameters": [ - { - "name": "session_entity_type", - "type": ".google.cloud.dialogflow.cx.v3.SessionEntityType" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.SessionEntityType", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypesClient" - }, - "method": { - "shortName": "UpdateSessionEntityType", - "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes.UpdateSessionEntityType", - "service": { - "shortName": "SessionEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes" - } - } - } + "start": 25, + "end": 63, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateSessionEntityType", + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes.UpdateSessionEntityType", + "async": true, + "parameters": [ + { + "name": "session_entity_type", + "type": ".google.cloud.dialogflow.cx.v3.SessionEntityType" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.SessionEntityType", + "client": { + "shortName": "SessionEntityTypesClient", + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypesClient" }, + "method": { + "shortName": "UpdateSessionEntityType", + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes.UpdateSessionEntityType", + "service": { + "shortName": "SessionEntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_SessionEntityTypes_DeleteSessionEntityType_async", + "title": "Agents deleteSessionEntityType Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified session entity type.", + "canonical": true, + "file": "session_entity_types.delete_session_entity_type.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_SessionEntityTypes_DeleteSessionEntityType_async", - "title": "Agents deleteSessionEntityType Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified session entity type.", - "canonical": true, - "file": "session_entity_types.delete_session_entity_type.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteSessionEntityType", - "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes.DeleteSessionEntityType", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypesClient" - }, - "method": { - "shortName": "DeleteSessionEntityType", - "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes.DeleteSessionEntityType", - "service": { - "shortName": "SessionEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteSessionEntityType", + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes.DeleteSessionEntityType", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "SessionEntityTypesClient", + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypesClient" }, + "method": { + "shortName": "DeleteSessionEntityType", + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes.DeleteSessionEntityType", + "service": { + "shortName": "SessionEntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3.SessionEntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Sessions_DetectIntent_async", + "title": "Agents detectIntent Sample", + "origin": "API_DEFINITION", + "description": " Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause session entity types to be updated, which in turn might affect results of future queries. Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).", + "canonical": true, + "file": "sessions.detect_intent.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Sessions_DetectIntent_async", - "title": "Agents detectIntent Sample", - "origin": "API_DEFINITION", - "description": " Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause session entity types to be updated, which in turn might affect results of future queries. Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).", - "canonical": true, - "file": "sessions.detect_intent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 80, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DetectIntent", - "fullName": "google.cloud.dialogflow.cx.v3.Sessions.DetectIntent", - "async": true, - "parameters": [ - { - "name": "session", - "type": "TYPE_STRING" - }, - { - "name": "query_params", - "type": ".google.cloud.dialogflow.cx.v3.QueryParameters" - }, - { - "name": "query_input", - "type": ".google.cloud.dialogflow.cx.v3.QueryInput" - }, - { - "name": "output_audio_config", - "type": ".google.cloud.dialogflow.cx.v3.OutputAudioConfig" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.DetectIntentResponse", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.cx.v3.SessionsClient" - }, - "method": { - "shortName": "DetectIntent", - "fullName": "google.cloud.dialogflow.cx.v3.Sessions.DetectIntent", - "service": { - "shortName": "Sessions", - "fullName": "google.cloud.dialogflow.cx.v3.Sessions" - } - } - } + "start": 25, + "end": 80, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DetectIntent", + "fullName": "google.cloud.dialogflow.cx.v3.Sessions.DetectIntent", + "async": true, + "parameters": [ + { + "name": "session", + "type": "TYPE_STRING" + }, + { + "name": "query_params", + "type": ".google.cloud.dialogflow.cx.v3.QueryParameters" + }, + { + "name": "query_input", + "type": ".google.cloud.dialogflow.cx.v3.QueryInput" + }, + { + "name": "output_audio_config", + "type": ".google.cloud.dialogflow.cx.v3.OutputAudioConfig" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.DetectIntentResponse", + "client": { + "shortName": "SessionsClient", + "fullName": "google.cloud.dialogflow.cx.v3.SessionsClient" }, + "method": { + "shortName": "DetectIntent", + "fullName": "google.cloud.dialogflow.cx.v3.Sessions.DetectIntent", + "service": { + "shortName": "Sessions", + "fullName": "google.cloud.dialogflow.cx.v3.Sessions" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Sessions_ServerStreamingDetectIntent_async", + "title": "Agents serverStreamingDetectIntent Sample", + "origin": "API_DEFINITION", + "description": " Processes a natural language query and returns structured, actionable data as a result through server-side streaming. Server-side streaming allows Dialogflow to send [partial responses](https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#partial-response) earlier in a single request.", + "canonical": true, + "file": "sessions.server_streaming_detect_intent.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Sessions_ServerStreamingDetectIntent_async", - "title": "Agents serverStreamingDetectIntent Sample", - "origin": "API_DEFINITION", - "description": " Processes a natural language query and returns structured, actionable data as a result through server-side streaming. Server-side streaming allows Dialogflow to send [partial responses](https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#partial-response) earlier in a single request.", - "canonical": true, - "file": "sessions.server_streaming_detect_intent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 82, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ServerStreamingDetectIntent", - "fullName": "google.cloud.dialogflow.cx.v3.Sessions.ServerStreamingDetectIntent", - "async": true, - "parameters": [ - { - "name": "session", - "type": "TYPE_STRING" - }, - { - "name": "query_params", - "type": ".google.cloud.dialogflow.cx.v3.QueryParameters" - }, - { - "name": "query_input", - "type": ".google.cloud.dialogflow.cx.v3.QueryInput" - }, - { - "name": "output_audio_config", - "type": ".google.cloud.dialogflow.cx.v3.OutputAudioConfig" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.DetectIntentResponse", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.cx.v3.SessionsClient" - }, - "method": { - "shortName": "ServerStreamingDetectIntent", - "fullName": "google.cloud.dialogflow.cx.v3.Sessions.ServerStreamingDetectIntent", - "service": { - "shortName": "Sessions", - "fullName": "google.cloud.dialogflow.cx.v3.Sessions" - } - } - } + "start": 25, + "end": 82, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ServerStreamingDetectIntent", + "fullName": "google.cloud.dialogflow.cx.v3.Sessions.ServerStreamingDetectIntent", + "async": true, + "parameters": [ + { + "name": "session", + "type": "TYPE_STRING" + }, + { + "name": "query_params", + "type": ".google.cloud.dialogflow.cx.v3.QueryParameters" + }, + { + "name": "query_input", + "type": ".google.cloud.dialogflow.cx.v3.QueryInput" + }, + { + "name": "output_audio_config", + "type": ".google.cloud.dialogflow.cx.v3.OutputAudioConfig" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.DetectIntentResponse", + "client": { + "shortName": "SessionsClient", + "fullName": "google.cloud.dialogflow.cx.v3.SessionsClient" }, + "method": { + "shortName": "ServerStreamingDetectIntent", + "fullName": "google.cloud.dialogflow.cx.v3.Sessions.ServerStreamingDetectIntent", + "service": { + "shortName": "Sessions", + "fullName": "google.cloud.dialogflow.cx.v3.Sessions" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Sessions_StreamingDetectIntent_async", + "title": "Agents streamingDetectIntent Sample", + "origin": "API_DEFINITION", + "description": " Processes a natural language query in audio format in a streaming fashion and returns structured, actionable data as a result. This method is only available via the gRPC API (not REST). Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).", + "canonical": true, + "file": "sessions.streaming_detect_intent.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Sessions_StreamingDetectIntent_async", - "title": "Agents streamingDetectIntent Sample", - "origin": "API_DEFINITION", - "description": " Processes a natural language query in audio format in a streaming fashion and returns structured, actionable data as a result. This method is only available via the gRPC API (not REST). Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).", - "canonical": true, - "file": "sessions.streaming_detect_intent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 95, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "StreamingDetectIntent", - "fullName": "google.cloud.dialogflow.cx.v3.Sessions.StreamingDetectIntent", - "async": true, - "parameters": [ - { - "name": "session", - "type": "TYPE_STRING" - }, - { - "name": "query_params", - "type": ".google.cloud.dialogflow.cx.v3.QueryParameters" - }, - { - "name": "query_input", - "type": ".google.cloud.dialogflow.cx.v3.QueryInput" - }, - { - "name": "output_audio_config", - "type": ".google.cloud.dialogflow.cx.v3.OutputAudioConfig" - }, - { - "name": "enable_partial_response", - "type": "TYPE_BOOL" - }, - { - "name": "enable_debugging_info", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.StreamingDetectIntentResponse", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.cx.v3.SessionsClient" - }, - "method": { - "shortName": "StreamingDetectIntent", - "fullName": "google.cloud.dialogflow.cx.v3.Sessions.StreamingDetectIntent", - "service": { - "shortName": "Sessions", - "fullName": "google.cloud.dialogflow.cx.v3.Sessions" - } - } - } + "start": 25, + "end": 95, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "StreamingDetectIntent", + "fullName": "google.cloud.dialogflow.cx.v3.Sessions.StreamingDetectIntent", + "async": true, + "parameters": [ + { + "name": "session", + "type": "TYPE_STRING" + }, + { + "name": "query_params", + "type": ".google.cloud.dialogflow.cx.v3.QueryParameters" + }, + { + "name": "query_input", + "type": ".google.cloud.dialogflow.cx.v3.QueryInput" + }, + { + "name": "output_audio_config", + "type": ".google.cloud.dialogflow.cx.v3.OutputAudioConfig" + }, + { + "name": "enable_partial_response", + "type": "TYPE_BOOL" + }, + { + "name": "enable_debugging_info", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.StreamingDetectIntentResponse", + "client": { + "shortName": "SessionsClient", + "fullName": "google.cloud.dialogflow.cx.v3.SessionsClient" }, + "method": { + "shortName": "StreamingDetectIntent", + "fullName": "google.cloud.dialogflow.cx.v3.Sessions.StreamingDetectIntent", + "service": { + "shortName": "Sessions", + "fullName": "google.cloud.dialogflow.cx.v3.Sessions" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Sessions_MatchIntent_async", + "title": "Agents matchIntent Sample", + "origin": "API_DEFINITION", + "description": " Returns preliminary intent match results, doesn't change the session status.", + "canonical": true, + "file": "sessions.match_intent.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Sessions_MatchIntent_async", - "title": "Agents matchIntent Sample", - "origin": "API_DEFINITION", - "description": " Returns preliminary intent match results, doesn't change the session status.", - "canonical": true, - "file": "sessions.match_intent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 77, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "MatchIntent", - "fullName": "google.cloud.dialogflow.cx.v3.Sessions.MatchIntent", - "async": true, - "parameters": [ - { - "name": "session", - "type": "TYPE_STRING" - }, - { - "name": "query_params", - "type": ".google.cloud.dialogflow.cx.v3.QueryParameters" - }, - { - "name": "query_input", - "type": ".google.cloud.dialogflow.cx.v3.QueryInput" - }, - { - "name": "persist_parameter_changes", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.MatchIntentResponse", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.cx.v3.SessionsClient" - }, - "method": { - "shortName": "MatchIntent", - "fullName": "google.cloud.dialogflow.cx.v3.Sessions.MatchIntent", - "service": { - "shortName": "Sessions", - "fullName": "google.cloud.dialogflow.cx.v3.Sessions" - } - } - } + "start": 25, + "end": 77, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "MatchIntent", + "fullName": "google.cloud.dialogflow.cx.v3.Sessions.MatchIntent", + "async": true, + "parameters": [ + { + "name": "session", + "type": "TYPE_STRING" + }, + { + "name": "query_params", + "type": ".google.cloud.dialogflow.cx.v3.QueryParameters" + }, + { + "name": "query_input", + "type": ".google.cloud.dialogflow.cx.v3.QueryInput" + }, + { + "name": "persist_parameter_changes", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.MatchIntentResponse", + "client": { + "shortName": "SessionsClient", + "fullName": "google.cloud.dialogflow.cx.v3.SessionsClient" }, + "method": { + "shortName": "MatchIntent", + "fullName": "google.cloud.dialogflow.cx.v3.Sessions.MatchIntent", + "service": { + "shortName": "Sessions", + "fullName": "google.cloud.dialogflow.cx.v3.Sessions" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Sessions_FulfillIntent_async", + "title": "Agents fulfillIntent Sample", + "origin": "API_DEFINITION", + "description": " Fulfills a matched intent returned by [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent]. Must be called after [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent], with input from [MatchIntentResponse][google.cloud.dialogflow.cx.v3.MatchIntentResponse]. Otherwise, the behavior is undefined.", + "canonical": true, + "file": "sessions.fulfill_intent.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Sessions_FulfillIntent_async", - "title": "Agents fulfillIntent Sample", - "origin": "API_DEFINITION", - "description": " Fulfills a matched intent returned by [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent]. Must be called after [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent], with input from [MatchIntentResponse][google.cloud.dialogflow.cx.v3.MatchIntentResponse]. Otherwise, the behavior is undefined.", - "canonical": true, - "file": "sessions.fulfill_intent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "FulfillIntent", - "fullName": "google.cloud.dialogflow.cx.v3.Sessions.FulfillIntent", - "async": true, - "parameters": [ - { - "name": "match_intent_request", - "type": ".google.cloud.dialogflow.cx.v3.MatchIntentRequest" - }, - { - "name": "match", - "type": ".google.cloud.dialogflow.cx.v3.Match" - }, - { - "name": "output_audio_config", - "type": ".google.cloud.dialogflow.cx.v3.OutputAudioConfig" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.FulfillIntentResponse", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.cx.v3.SessionsClient" - }, - "method": { - "shortName": "FulfillIntent", - "fullName": "google.cloud.dialogflow.cx.v3.Sessions.FulfillIntent", - "service": { - "shortName": "Sessions", - "fullName": "google.cloud.dialogflow.cx.v3.Sessions" - } - } - } + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "FulfillIntent", + "fullName": "google.cloud.dialogflow.cx.v3.Sessions.FulfillIntent", + "async": true, + "parameters": [ + { + "name": "match_intent_request", + "type": ".google.cloud.dialogflow.cx.v3.MatchIntentRequest" + }, + { + "name": "match", + "type": ".google.cloud.dialogflow.cx.v3.Match" + }, + { + "name": "output_audio_config", + "type": ".google.cloud.dialogflow.cx.v3.OutputAudioConfig" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.FulfillIntentResponse", + "client": { + "shortName": "SessionsClient", + "fullName": "google.cloud.dialogflow.cx.v3.SessionsClient" }, + "method": { + "shortName": "FulfillIntent", + "fullName": "google.cloud.dialogflow.cx.v3.Sessions.FulfillIntent", + "service": { + "shortName": "Sessions", + "fullName": "google.cloud.dialogflow.cx.v3.Sessions" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Sessions_SubmitAnswerFeedback_async", + "title": "Agents submitAnswerFeedback Sample", + "origin": "API_DEFINITION", + "description": " Updates the feedback received from the user for a single turn of the bot response.", + "canonical": true, + "file": "sessions.submit_answer_feedback.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Sessions_SubmitAnswerFeedback_async", - "title": "Agents submitAnswerFeedback Sample", - "origin": "API_DEFINITION", - "description": " Updates the feedback received from the user for a single turn of the bot response.", - "canonical": true, - "file": "sessions.submit_answer_feedback.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 69, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "SubmitAnswerFeedback", - "fullName": "google.cloud.dialogflow.cx.v3.Sessions.SubmitAnswerFeedback", - "async": true, - "parameters": [ - { - "name": "session", - "type": "TYPE_STRING" - }, - { - "name": "response_id", - "type": "TYPE_STRING" - }, - { - "name": "answer_feedback", - "type": ".google.cloud.dialogflow.cx.v3.AnswerFeedback" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.AnswerFeedback", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.cx.v3.SessionsClient" - }, - "method": { - "shortName": "SubmitAnswerFeedback", - "fullName": "google.cloud.dialogflow.cx.v3.Sessions.SubmitAnswerFeedback", - "service": { - "shortName": "Sessions", - "fullName": "google.cloud.dialogflow.cx.v3.Sessions" - } - } - } + "start": 25, + "end": 69, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "SubmitAnswerFeedback", + "fullName": "google.cloud.dialogflow.cx.v3.Sessions.SubmitAnswerFeedback", + "async": true, + "parameters": [ + { + "name": "session", + "type": "TYPE_STRING" + }, + { + "name": "response_id", + "type": "TYPE_STRING" + }, + { + "name": "answer_feedback", + "type": ".google.cloud.dialogflow.cx.v3.AnswerFeedback" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.AnswerFeedback", + "client": { + "shortName": "SessionsClient", + "fullName": "google.cloud.dialogflow.cx.v3.SessionsClient" }, + "method": { + "shortName": "SubmitAnswerFeedback", + "fullName": "google.cloud.dialogflow.cx.v3.Sessions.SubmitAnswerFeedback", + "service": { + "shortName": "Sessions", + "fullName": "google.cloud.dialogflow.cx.v3.Sessions" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_TestCases_ListTestCases_async", + "title": "Agents listTestCases Sample", + "origin": "API_DEFINITION", + "description": " Fetches a list of test cases for a given agent.", + "canonical": true, + "file": "test_cases.list_test_cases.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_TestCases_ListTestCases_async", - "title": "Agents listTestCases Sample", - "origin": "API_DEFINITION", - "description": " Fetches a list of test cases for a given agent.", - "canonical": true, - "file": "test_cases.list_test_cases.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 70, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListTestCases", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases.ListTestCases", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "view", - "type": ".google.cloud.dialogflow.cx.v3.ListTestCasesRequest.TestCaseView" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.ListTestCasesResponse", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient" - }, - "method": { - "shortName": "ListTestCases", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases.ListTestCases", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases" - } - } - } + "start": 25, + "end": 70, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListTestCases", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.ListTestCases", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "view", + "type": ".google.cloud.dialogflow.cx.v3.ListTestCasesRequest.TestCaseView" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.ListTestCasesResponse", + "client": { + "shortName": "TestCasesClient", + "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient" }, + "method": { + "shortName": "ListTestCases", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.ListTestCases", + "service": { + "shortName": "TestCases", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_TestCases_BatchDeleteTestCases_async", + "title": "Agents batchDeleteTestCases Sample", + "origin": "API_DEFINITION", + "description": " Batch deletes test cases.", + "canonical": true, + "file": "test_cases.batch_delete_test_cases.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_TestCases_BatchDeleteTestCases_async", - "title": "Agents batchDeleteTestCases Sample", - "origin": "API_DEFINITION", - "description": " Batch deletes test cases.", - "canonical": true, - "file": "test_cases.batch_delete_test_cases.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 60, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "BatchDeleteTestCases", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases.BatchDeleteTestCases", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "names", - "type": "TYPE_STRING[]" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient" - }, - "method": { - "shortName": "BatchDeleteTestCases", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases.BatchDeleteTestCases", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases" - } - } - } + "start": 25, + "end": 60, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "BatchDeleteTestCases", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.BatchDeleteTestCases", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "names", + "type": "TYPE_STRING[]" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "TestCasesClient", + "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient" }, + "method": { + "shortName": "BatchDeleteTestCases", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.BatchDeleteTestCases", + "service": { + "shortName": "TestCases", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_TestCases_GetTestCase_async", + "title": "Agents getTestCase Sample", + "origin": "API_DEFINITION", + "description": " Gets a test case.", + "canonical": true, + "file": "test_cases.get_test_case.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_TestCases_GetTestCase_async", - "title": "Agents getTestCase Sample", - "origin": "API_DEFINITION", - "description": " Gets a test case.", - "canonical": true, - "file": "test_cases.get_test_case.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetTestCase", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases.GetTestCase", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.TestCase", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient" - }, - "method": { - "shortName": "GetTestCase", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases.GetTestCase", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetTestCase", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.GetTestCase", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.TestCase", + "client": { + "shortName": "TestCasesClient", + "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient" }, + "method": { + "shortName": "GetTestCase", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.GetTestCase", + "service": { + "shortName": "TestCases", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_TestCases_CreateTestCase_async", + "title": "Agents createTestCase Sample", + "origin": "API_DEFINITION", + "description": " Creates a test case for the given agent.", + "canonical": true, + "file": "test_cases.create_test_case.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_TestCases_CreateTestCase_async", - "title": "Agents createTestCase Sample", - "origin": "API_DEFINITION", - "description": " Creates a test case for the given agent.", - "canonical": true, - "file": "test_cases.create_test_case.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateTestCase", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases.CreateTestCase", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "test_case", - "type": ".google.cloud.dialogflow.cx.v3.TestCase" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.TestCase", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient" - }, - "method": { - "shortName": "CreateTestCase", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases.CreateTestCase", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateTestCase", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.CreateTestCase", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "test_case", + "type": ".google.cloud.dialogflow.cx.v3.TestCase" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.TestCase", + "client": { + "shortName": "TestCasesClient", + "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient" }, + "method": { + "shortName": "CreateTestCase", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.CreateTestCase", + "service": { + "shortName": "TestCases", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_TestCases_UpdateTestCase_async", + "title": "Agents updateTestCase Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified test case.", + "canonical": true, + "file": "test_cases.update_test_case.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_TestCases_UpdateTestCase_async", - "title": "Agents updateTestCase Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified test case.", - "canonical": true, - "file": "test_cases.update_test_case.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateTestCase", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases.UpdateTestCase", - "async": true, - "parameters": [ - { - "name": "test_case", - "type": ".google.cloud.dialogflow.cx.v3.TestCase" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.TestCase", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient" - }, - "method": { - "shortName": "UpdateTestCase", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases.UpdateTestCase", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases" - } - } - } + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateTestCase", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.UpdateTestCase", + "async": true, + "parameters": [ + { + "name": "test_case", + "type": ".google.cloud.dialogflow.cx.v3.TestCase" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.TestCase", + "client": { + "shortName": "TestCasesClient", + "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient" }, + "method": { + "shortName": "UpdateTestCase", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.UpdateTestCase", + "service": { + "shortName": "TestCases", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_TestCases_RunTestCase_async", + "title": "Agents runTestCase Sample", + "origin": "API_DEFINITION", + "description": " Kicks off a test case run. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [RunTestCaseMetadata][google.cloud.dialogflow.cx.v3.RunTestCaseMetadata] - `response`: [RunTestCaseResponse][google.cloud.dialogflow.cx.v3.RunTestCaseResponse]", + "canonical": true, + "file": "test_cases.run_test_case.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_TestCases_RunTestCase_async", - "title": "Agents runTestCase Sample", - "origin": "API_DEFINITION", - "description": " Kicks off a test case run. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [RunTestCaseMetadata][google.cloud.dialogflow.cx.v3.RunTestCaseMetadata] - `response`: [RunTestCaseResponse][google.cloud.dialogflow.cx.v3.RunTestCaseResponse]", - "canonical": true, - "file": "test_cases.run_test_case.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "RunTestCase", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases.RunTestCase", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "environment", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient" - }, - "method": { - "shortName": "RunTestCase", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases.RunTestCase", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases" - } - } - } + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "RunTestCase", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.RunTestCase", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "environment", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "TestCasesClient", + "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient" }, + "method": { + "shortName": "RunTestCase", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.RunTestCase", + "service": { + "shortName": "TestCases", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_TestCases_BatchRunTestCases_async", + "title": "Agents batchRunTestCases Sample", + "origin": "API_DEFINITION", + "description": " Kicks off a batch run of test cases. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [BatchRunTestCasesMetadata][google.cloud.dialogflow.cx.v3.BatchRunTestCasesMetadata] - `response`: [BatchRunTestCasesResponse][google.cloud.dialogflow.cx.v3.BatchRunTestCasesResponse]", + "canonical": true, + "file": "test_cases.batch_run_test_cases.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_TestCases_BatchRunTestCases_async", - "title": "Agents batchRunTestCases Sample", - "origin": "API_DEFINITION", - "description": " Kicks off a batch run of test cases. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [BatchRunTestCasesMetadata][google.cloud.dialogflow.cx.v3.BatchRunTestCasesMetadata] - `response`: [BatchRunTestCasesResponse][google.cloud.dialogflow.cx.v3.BatchRunTestCasesResponse]", - "canonical": true, - "file": "test_cases.batch_run_test_cases.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 66, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "BatchRunTestCases", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases.BatchRunTestCases", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "environment", - "type": "TYPE_STRING" - }, - { - "name": "test_cases", - "type": "TYPE_STRING[]" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient" - }, - "method": { - "shortName": "BatchRunTestCases", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases.BatchRunTestCases", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases" - } - } - } + "start": 25, + "end": 66, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "BatchRunTestCases", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.BatchRunTestCases", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "environment", + "type": "TYPE_STRING" + }, + { + "name": "test_cases", + "type": "TYPE_STRING[]" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "TestCasesClient", + "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient" }, + "method": { + "shortName": "BatchRunTestCases", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.BatchRunTestCases", + "service": { + "shortName": "TestCases", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_TestCases_CalculateCoverage_async", + "title": "Agents calculateCoverage Sample", + "origin": "API_DEFINITION", + "description": " Calculates the test coverage for an agent.", + "canonical": true, + "file": "test_cases.calculate_coverage.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_TestCases_CalculateCoverage_async", - "title": "Agents calculateCoverage Sample", - "origin": "API_DEFINITION", - "description": " Calculates the test coverage for an agent.", - "canonical": true, - "file": "test_cases.calculate_coverage.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CalculateCoverage", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases.CalculateCoverage", - "async": true, - "parameters": [ - { - "name": "agent", - "type": "TYPE_STRING" - }, - { - "name": "type", - "type": ".google.cloud.dialogflow.cx.v3.CalculateCoverageRequest.CoverageType" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.CalculateCoverageResponse", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient" - }, - "method": { - "shortName": "CalculateCoverage", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases.CalculateCoverage", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CalculateCoverage", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.CalculateCoverage", + "async": true, + "parameters": [ + { + "name": "agent", + "type": "TYPE_STRING" + }, + { + "name": "type", + "type": ".google.cloud.dialogflow.cx.v3.CalculateCoverageRequest.CoverageType" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.CalculateCoverageResponse", + "client": { + "shortName": "TestCasesClient", + "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient" }, + "method": { + "shortName": "CalculateCoverage", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.CalculateCoverage", + "service": { + "shortName": "TestCases", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_TestCases_ImportTestCases_async", + "title": "Agents importTestCases Sample", + "origin": "API_DEFINITION", + "description": " Imports the test cases from a Cloud Storage bucket or a local file. It always creates new test cases and won't overwrite any existing ones. The provided ID in the imported test case is neglected. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [ImportTestCasesMetadata][google.cloud.dialogflow.cx.v3.ImportTestCasesMetadata] - `response`: [ImportTestCasesResponse][google.cloud.dialogflow.cx.v3.ImportTestCasesResponse]", + "canonical": true, + "file": "test_cases.import_test_cases.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_TestCases_ImportTestCases_async", - "title": "Agents importTestCases Sample", - "origin": "API_DEFINITION", - "description": " Imports the test cases from a Cloud Storage bucket or a local file. It always creates new test cases and won't overwrite any existing ones. The provided ID in the imported test case is neglected. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [ImportTestCasesMetadata][google.cloud.dialogflow.cx.v3.ImportTestCasesMetadata] - `response`: [ImportTestCasesResponse][google.cloud.dialogflow.cx.v3.ImportTestCasesResponse]", - "canonical": true, - "file": "test_cases.import_test_cases.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 70, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ImportTestCases", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases.ImportTestCases", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "gcs_uri", - "type": "TYPE_STRING" - }, - { - "name": "content", - "type": "TYPE_BYTES" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient" - }, - "method": { - "shortName": "ImportTestCases", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases.ImportTestCases", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases" - } - } - } + "start": 25, + "end": 70, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ImportTestCases", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.ImportTestCases", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "gcs_uri", + "type": "TYPE_STRING" + }, + { + "name": "content", + "type": "TYPE_BYTES" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "TestCasesClient", + "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient" }, + "method": { + "shortName": "ImportTestCases", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.ImportTestCases", + "service": { + "shortName": "TestCases", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_TestCases_ExportTestCases_async", + "title": "Agents exportTestCases Sample", + "origin": "API_DEFINITION", + "description": " Exports the test cases under the agent to a Cloud Storage bucket or a local file. Filter can be applied to export a subset of test cases. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [ExportTestCasesMetadata][google.cloud.dialogflow.cx.v3.ExportTestCasesMetadata] - `response`: [ExportTestCasesResponse][google.cloud.dialogflow.cx.v3.ExportTestCasesResponse]", + "canonical": true, + "file": "test_cases.export_test_cases.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_TestCases_ExportTestCases_async", - "title": "Agents exportTestCases Sample", - "origin": "API_DEFINITION", - "description": " Exports the test cases under the agent to a Cloud Storage bucket or a local file. Filter can be applied to export a subset of test cases. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [ExportTestCasesMetadata][google.cloud.dialogflow.cx.v3.ExportTestCasesMetadata] - `response`: [ExportTestCasesResponse][google.cloud.dialogflow.cx.v3.ExportTestCasesResponse]", - "canonical": true, - "file": "test_cases.export_test_cases.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 82, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ExportTestCases", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases.ExportTestCases", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "gcs_uri", - "type": "TYPE_STRING" - }, - { - "name": "data_format", - "type": ".google.cloud.dialogflow.cx.v3.ExportTestCasesRequest.DataFormat" - }, - { - "name": "filter", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient" - }, - "method": { - "shortName": "ExportTestCases", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases.ExportTestCases", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases" - } - } - } + "start": 25, + "end": 82, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ExportTestCases", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.ExportTestCases", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "gcs_uri", + "type": "TYPE_STRING" + }, + { + "name": "data_format", + "type": ".google.cloud.dialogflow.cx.v3.ExportTestCasesRequest.DataFormat" + }, + { + "name": "filter", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "TestCasesClient", + "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient" }, + "method": { + "shortName": "ExportTestCases", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.ExportTestCases", + "service": { + "shortName": "TestCases", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_TestCases_ListTestCaseResults_async", + "title": "Agents listTestCaseResults Sample", + "origin": "API_DEFINITION", + "description": " Fetches the list of run results for the given test case. A maximum of 100 results are kept for each test case.", + "canonical": true, + "file": "test_cases.list_test_case_results.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_TestCases_ListTestCaseResults_async", - "title": "Agents listTestCaseResults Sample", - "origin": "API_DEFINITION", - "description": " Fetches the list of run results for the given test case. A maximum of 100 results are kept for each test case.", - "canonical": true, - "file": "test_cases.list_test_case_results.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 90, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListTestCaseResults", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases.ListTestCaseResults", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.ListTestCaseResultsResponse", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient" - }, - "method": { - "shortName": "ListTestCaseResults", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases.ListTestCaseResults", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases" - } - } - } + "start": 25, + "end": 90, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListTestCaseResults", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.ListTestCaseResults", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.ListTestCaseResultsResponse", + "client": { + "shortName": "TestCasesClient", + "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient" }, + "method": { + "shortName": "ListTestCaseResults", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.ListTestCaseResults", + "service": { + "shortName": "TestCases", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_TestCases_GetTestCaseResult_async", + "title": "Agents getTestCaseResult Sample", + "origin": "API_DEFINITION", + "description": " Gets a test case result.", + "canonical": true, + "file": "test_cases.get_test_case_result.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_TestCases_GetTestCaseResult_async", - "title": "Agents getTestCaseResult Sample", - "origin": "API_DEFINITION", - "description": " Gets a test case result.", - "canonical": true, - "file": "test_cases.get_test_case_result.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetTestCaseResult", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases.GetTestCaseResult", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.TestCaseResult", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient" - }, - "method": { - "shortName": "GetTestCaseResult", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases.GetTestCaseResult", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3.TestCases" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetTestCaseResult", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.GetTestCaseResult", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.TestCaseResult", + "client": { + "shortName": "TestCasesClient", + "fullName": "google.cloud.dialogflow.cx.v3.TestCasesClient" }, + "method": { + "shortName": "GetTestCaseResult", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases.GetTestCaseResult", + "service": { + "shortName": "TestCases", + "fullName": "google.cloud.dialogflow.cx.v3.TestCases" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_TransitionRouteGroups_ListTransitionRouteGroups_async", + "title": "Agents listTransitionRouteGroups Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all transition route groups in the specified flow.", + "canonical": true, + "file": "transition_route_groups.list_transition_route_groups.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_TransitionRouteGroups_ListTransitionRouteGroups_async", - "title": "Agents listTransitionRouteGroups Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all transition route groups in the specified flow.", - "canonical": true, - "file": "transition_route_groups.list_transition_route_groups.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 80, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListTransitionRouteGroups", - "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups.ListTransitionRouteGroups", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.ListTransitionRouteGroupsResponse", - "client": { - "shortName": "TransitionRouteGroupsClient", - "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroupsClient" - }, - "method": { - "shortName": "ListTransitionRouteGroups", - "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups.ListTransitionRouteGroups", - "service": { - "shortName": "TransitionRouteGroups", - "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups" - } - } - } + "start": 25, + "end": 80, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListTransitionRouteGroups", + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups.ListTransitionRouteGroups", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.ListTransitionRouteGroupsResponse", + "client": { + "shortName": "TransitionRouteGroupsClient", + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroupsClient" }, + "method": { + "shortName": "ListTransitionRouteGroups", + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups.ListTransitionRouteGroups", + "service": { + "shortName": "TransitionRouteGroups", + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_TransitionRouteGroups_GetTransitionRouteGroup_async", + "title": "Agents getTransitionRouteGroup Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup].", + "canonical": true, + "file": "transition_route_groups.get_transition_route_group.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_TransitionRouteGroups_GetTransitionRouteGroup_async", - "title": "Agents getTransitionRouteGroup Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup].", - "canonical": true, - "file": "transition_route_groups.get_transition_route_group.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 71, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetTransitionRouteGroup", - "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups.GetTransitionRouteGroup", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.TransitionRouteGroup", - "client": { - "shortName": "TransitionRouteGroupsClient", - "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroupsClient" - }, - "method": { - "shortName": "GetTransitionRouteGroup", - "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups.GetTransitionRouteGroup", - "service": { - "shortName": "TransitionRouteGroups", - "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups" - } - } - } + "start": 25, + "end": 71, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetTransitionRouteGroup", + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups.GetTransitionRouteGroup", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.TransitionRouteGroup", + "client": { + "shortName": "TransitionRouteGroupsClient", + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroupsClient" }, + "method": { + "shortName": "GetTransitionRouteGroup", + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups.GetTransitionRouteGroup", + "service": { + "shortName": "TransitionRouteGroups", + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_TransitionRouteGroups_CreateTransitionRouteGroup_async", + "title": "Agents createTransitionRouteGroup Sample", + "origin": "API_DEFINITION", + "description": " Creates an [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup] in the specified flow. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", + "canonical": true, + "file": "transition_route_groups.create_transition_route_group.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_TransitionRouteGroups_CreateTransitionRouteGroup_async", - "title": "Agents createTransitionRouteGroup Sample", - "origin": "API_DEFINITION", - "description": " Creates an [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup] in the specified flow. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", - "canonical": true, - "file": "transition_route_groups.create_transition_route_group.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 75, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateTransitionRouteGroup", - "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups.CreateTransitionRouteGroup", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "transition_route_group", - "type": ".google.cloud.dialogflow.cx.v3.TransitionRouteGroup" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.TransitionRouteGroup", - "client": { - "shortName": "TransitionRouteGroupsClient", - "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroupsClient" - }, - "method": { - "shortName": "CreateTransitionRouteGroup", - "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups.CreateTransitionRouteGroup", - "service": { - "shortName": "TransitionRouteGroups", - "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups" - } - } - } + "start": 25, + "end": 75, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateTransitionRouteGroup", + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups.CreateTransitionRouteGroup", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "transition_route_group", + "type": ".google.cloud.dialogflow.cx.v3.TransitionRouteGroup" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.TransitionRouteGroup", + "client": { + "shortName": "TransitionRouteGroupsClient", + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroupsClient" }, + "method": { + "shortName": "CreateTransitionRouteGroup", + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups.CreateTransitionRouteGroup", + "service": { + "shortName": "TransitionRouteGroups", + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_TransitionRouteGroups_UpdateTransitionRouteGroup_async", + "title": "Agents updateTransitionRouteGroup Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup]. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", + "canonical": true, + "file": "transition_route_groups.update_transition_route_group.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_TransitionRouteGroups_UpdateTransitionRouteGroup_async", - "title": "Agents updateTransitionRouteGroup Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup]. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", - "canonical": true, - "file": "transition_route_groups.update_transition_route_group.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 69, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateTransitionRouteGroup", - "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups.UpdateTransitionRouteGroup", - "async": true, - "parameters": [ - { - "name": "transition_route_group", - "type": ".google.cloud.dialogflow.cx.v3.TransitionRouteGroup" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.TransitionRouteGroup", - "client": { - "shortName": "TransitionRouteGroupsClient", - "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroupsClient" - }, - "method": { - "shortName": "UpdateTransitionRouteGroup", - "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups.UpdateTransitionRouteGroup", - "service": { - "shortName": "TransitionRouteGroups", - "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups" - } - } - } + "start": 25, + "end": 69, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateTransitionRouteGroup", + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups.UpdateTransitionRouteGroup", + "async": true, + "parameters": [ + { + "name": "transition_route_group", + "type": ".google.cloud.dialogflow.cx.v3.TransitionRouteGroup" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.TransitionRouteGroup", + "client": { + "shortName": "TransitionRouteGroupsClient", + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroupsClient" }, + "method": { + "shortName": "UpdateTransitionRouteGroup", + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups.UpdateTransitionRouteGroup", + "service": { + "shortName": "TransitionRouteGroups", + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_TransitionRouteGroups_DeleteTransitionRouteGroup_async", + "title": "Agents deleteTransitionRouteGroup Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup]. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", + "canonical": true, + "file": "transition_route_groups.delete_transition_route_group.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_TransitionRouteGroups_DeleteTransitionRouteGroup_async", - "title": "Agents deleteTransitionRouteGroup Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup]. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", - "canonical": true, - "file": "transition_route_groups.delete_transition_route_group.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 67, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteTransitionRouteGroup", - "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups.DeleteTransitionRouteGroup", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "force", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "TransitionRouteGroupsClient", - "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroupsClient" - }, - "method": { - "shortName": "DeleteTransitionRouteGroup", - "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups.DeleteTransitionRouteGroup", - "service": { - "shortName": "TransitionRouteGroups", - "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups" - } - } - } + "start": 25, + "end": 67, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteTransitionRouteGroup", + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups.DeleteTransitionRouteGroup", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "force", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "TransitionRouteGroupsClient", + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroupsClient" }, + "method": { + "shortName": "DeleteTransitionRouteGroup", + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups.DeleteTransitionRouteGroup", + "service": { + "shortName": "TransitionRouteGroups", + "fullName": "google.cloud.dialogflow.cx.v3.TransitionRouteGroups" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Versions_ListVersions_async", + "title": "Agents listVersions Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all versions in the specified [Flow][google.cloud.dialogflow.cx.v3.Flow].", + "canonical": true, + "file": "versions.list_versions.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Versions_ListVersions_async", - "title": "Agents listVersions Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all versions in the specified [Flow][google.cloud.dialogflow.cx.v3.Flow].", - "canonical": true, - "file": "versions.list_versions.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 66, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListVersions", - "fullName": "google.cloud.dialogflow.cx.v3.Versions.ListVersions", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.ListVersionsResponse", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient" - }, - "method": { - "shortName": "ListVersions", - "fullName": "google.cloud.dialogflow.cx.v3.Versions.ListVersions", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.cx.v3.Versions" - } - } - } + "start": 25, + "end": 66, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListVersions", + "fullName": "google.cloud.dialogflow.cx.v3.Versions.ListVersions", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.ListVersionsResponse", + "client": { + "shortName": "VersionsClient", + "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient" }, + "method": { + "shortName": "ListVersions", + "fullName": "google.cloud.dialogflow.cx.v3.Versions.ListVersions", + "service": { + "shortName": "Versions", + "fullName": "google.cloud.dialogflow.cx.v3.Versions" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Versions_GetVersion_async", + "title": "Agents getVersion Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified [Version][google.cloud.dialogflow.cx.v3.Version].", + "canonical": true, + "file": "versions.get_version.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Versions_GetVersion_async", - "title": "Agents getVersion Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified [Version][google.cloud.dialogflow.cx.v3.Version].", - "canonical": true, - "file": "versions.get_version.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetVersion", - "fullName": "google.cloud.dialogflow.cx.v3.Versions.GetVersion", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.Version", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient" - }, - "method": { - "shortName": "GetVersion", - "fullName": "google.cloud.dialogflow.cx.v3.Versions.GetVersion", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.cx.v3.Versions" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetVersion", + "fullName": "google.cloud.dialogflow.cx.v3.Versions.GetVersion", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.Version", + "client": { + "shortName": "VersionsClient", + "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient" }, + "method": { + "shortName": "GetVersion", + "fullName": "google.cloud.dialogflow.cx.v3.Versions.GetVersion", + "service": { + "shortName": "Versions", + "fullName": "google.cloud.dialogflow.cx.v3.Versions" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Versions_CreateVersion_async", + "title": "Agents createVersion Sample", + "origin": "API_DEFINITION", + "description": " Creates a [Version][google.cloud.dialogflow.cx.v3.Version] in the specified [Flow][google.cloud.dialogflow.cx.v3.Flow]. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [CreateVersionOperationMetadata][google.cloud.dialogflow.cx.v3.CreateVersionOperationMetadata] - `response`: [Version][google.cloud.dialogflow.cx.v3.Version]", + "canonical": true, + "file": "versions.create_version.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Versions_CreateVersion_async", - "title": "Agents createVersion Sample", - "origin": "API_DEFINITION", - "description": " Creates a [Version][google.cloud.dialogflow.cx.v3.Version] in the specified [Flow][google.cloud.dialogflow.cx.v3.Flow]. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [CreateVersionOperationMetadata][google.cloud.dialogflow.cx.v3.CreateVersionOperationMetadata] - `response`: [Version][google.cloud.dialogflow.cx.v3.Version]", - "canonical": true, - "file": "versions.create_version.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateVersion", - "fullName": "google.cloud.dialogflow.cx.v3.Versions.CreateVersion", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "version", - "type": ".google.cloud.dialogflow.cx.v3.Version" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient" - }, - "method": { - "shortName": "CreateVersion", - "fullName": "google.cloud.dialogflow.cx.v3.Versions.CreateVersion", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.cx.v3.Versions" - } - } - } + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateVersion", + "fullName": "google.cloud.dialogflow.cx.v3.Versions.CreateVersion", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "version", + "type": ".google.cloud.dialogflow.cx.v3.Version" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "VersionsClient", + "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient" }, + "method": { + "shortName": "CreateVersion", + "fullName": "google.cloud.dialogflow.cx.v3.Versions.CreateVersion", + "service": { + "shortName": "Versions", + "fullName": "google.cloud.dialogflow.cx.v3.Versions" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Versions_UpdateVersion_async", + "title": "Agents updateVersion Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified [Version][google.cloud.dialogflow.cx.v3.Version].", + "canonical": true, + "file": "versions.update_version.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Versions_UpdateVersion_async", - "title": "Agents updateVersion Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified [Version][google.cloud.dialogflow.cx.v3.Version].", - "canonical": true, - "file": "versions.update_version.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateVersion", - "fullName": "google.cloud.dialogflow.cx.v3.Versions.UpdateVersion", - "async": true, - "parameters": [ - { - "name": "version", - "type": ".google.cloud.dialogflow.cx.v3.Version" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.Version", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient" - }, - "method": { - "shortName": "UpdateVersion", - "fullName": "google.cloud.dialogflow.cx.v3.Versions.UpdateVersion", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.cx.v3.Versions" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateVersion", + "fullName": "google.cloud.dialogflow.cx.v3.Versions.UpdateVersion", + "async": true, + "parameters": [ + { + "name": "version", + "type": ".google.cloud.dialogflow.cx.v3.Version" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.Version", + "client": { + "shortName": "VersionsClient", + "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient" }, + "method": { + "shortName": "UpdateVersion", + "fullName": "google.cloud.dialogflow.cx.v3.Versions.UpdateVersion", + "service": { + "shortName": "Versions", + "fullName": "google.cloud.dialogflow.cx.v3.Versions" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Versions_DeleteVersion_async", + "title": "Agents deleteVersion Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified [Version][google.cloud.dialogflow.cx.v3.Version].", + "canonical": true, + "file": "versions.delete_version.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Versions_DeleteVersion_async", - "title": "Agents deleteVersion Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified [Version][google.cloud.dialogflow.cx.v3.Version].", - "canonical": true, - "file": "versions.delete_version.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteVersion", - "fullName": "google.cloud.dialogflow.cx.v3.Versions.DeleteVersion", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient" - }, - "method": { - "shortName": "DeleteVersion", - "fullName": "google.cloud.dialogflow.cx.v3.Versions.DeleteVersion", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.cx.v3.Versions" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteVersion", + "fullName": "google.cloud.dialogflow.cx.v3.Versions.DeleteVersion", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "VersionsClient", + "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient" }, + "method": { + "shortName": "DeleteVersion", + "fullName": "google.cloud.dialogflow.cx.v3.Versions.DeleteVersion", + "service": { + "shortName": "Versions", + "fullName": "google.cloud.dialogflow.cx.v3.Versions" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Versions_LoadVersion_async", + "title": "Agents loadVersion Sample", + "origin": "API_DEFINITION", + "description": " Loads resources in the specified version to the draft flow. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)", + "canonical": true, + "file": "versions.load_version.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Versions_LoadVersion_async", - "title": "Agents loadVersion Sample", - "origin": "API_DEFINITION", - "description": " Loads resources in the specified version to the draft flow. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)", - "canonical": true, - "file": "versions.load_version.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 63, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "LoadVersion", - "fullName": "google.cloud.dialogflow.cx.v3.Versions.LoadVersion", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "allow_override_agent_resources", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient" - }, - "method": { - "shortName": "LoadVersion", - "fullName": "google.cloud.dialogflow.cx.v3.Versions.LoadVersion", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.cx.v3.Versions" - } - } - } + "start": 25, + "end": 63, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "LoadVersion", + "fullName": "google.cloud.dialogflow.cx.v3.Versions.LoadVersion", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "allow_override_agent_resources", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "VersionsClient", + "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient" }, + "method": { + "shortName": "LoadVersion", + "fullName": "google.cloud.dialogflow.cx.v3.Versions.LoadVersion", + "service": { + "shortName": "Versions", + "fullName": "google.cloud.dialogflow.cx.v3.Versions" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Versions_CompareVersions_async", + "title": "Agents compareVersions Sample", + "origin": "API_DEFINITION", + "description": " Compares the specified base version with target version.", + "canonical": true, + "file": "versions.compare_versions.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Versions_CompareVersions_async", - "title": "Agents compareVersions Sample", - "origin": "API_DEFINITION", - "description": " Compares the specified base version with target version.", - "canonical": true, - "file": "versions.compare_versions.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 73, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CompareVersions", - "fullName": "google.cloud.dialogflow.cx.v3.Versions.CompareVersions", - "async": true, - "parameters": [ - { - "name": "base_version", - "type": "TYPE_STRING" - }, - { - "name": "target_version", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.CompareVersionsResponse", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient" - }, - "method": { - "shortName": "CompareVersions", - "fullName": "google.cloud.dialogflow.cx.v3.Versions.CompareVersions", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.cx.v3.Versions" - } - } - } + "start": 25, + "end": 73, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CompareVersions", + "fullName": "google.cloud.dialogflow.cx.v3.Versions.CompareVersions", + "async": true, + "parameters": [ + { + "name": "base_version", + "type": "TYPE_STRING" + }, + { + "name": "target_version", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.CompareVersionsResponse", + "client": { + "shortName": "VersionsClient", + "fullName": "google.cloud.dialogflow.cx.v3.VersionsClient" }, + "method": { + "shortName": "CompareVersions", + "fullName": "google.cloud.dialogflow.cx.v3.Versions.CompareVersions", + "service": { + "shortName": "Versions", + "fullName": "google.cloud.dialogflow.cx.v3.Versions" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Webhooks_ListWebhooks_async", + "title": "Agents listWebhooks Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all webhooks in the specified agent.", + "canonical": true, + "file": "webhooks.list_webhooks.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Webhooks_ListWebhooks_async", - "title": "Agents listWebhooks Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all webhooks in the specified agent.", - "canonical": true, - "file": "webhooks.list_webhooks.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 65, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListWebhooks", - "fullName": "google.cloud.dialogflow.cx.v3.Webhooks.ListWebhooks", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.ListWebhooksResponse", - "client": { - "shortName": "WebhooksClient", - "fullName": "google.cloud.dialogflow.cx.v3.WebhooksClient" - }, - "method": { - "shortName": "ListWebhooks", - "fullName": "google.cloud.dialogflow.cx.v3.Webhooks.ListWebhooks", - "service": { - "shortName": "Webhooks", - "fullName": "google.cloud.dialogflow.cx.v3.Webhooks" - } - } - } + "start": 25, + "end": 65, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListWebhooks", + "fullName": "google.cloud.dialogflow.cx.v3.Webhooks.ListWebhooks", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.ListWebhooksResponse", + "client": { + "shortName": "WebhooksClient", + "fullName": "google.cloud.dialogflow.cx.v3.WebhooksClient" }, + "method": { + "shortName": "ListWebhooks", + "fullName": "google.cloud.dialogflow.cx.v3.Webhooks.ListWebhooks", + "service": { + "shortName": "Webhooks", + "fullName": "google.cloud.dialogflow.cx.v3.Webhooks" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Webhooks_GetWebhook_async", + "title": "Agents getWebhook Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified webhook.", + "canonical": true, + "file": "webhooks.get_webhook.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Webhooks_GetWebhook_async", - "title": "Agents getWebhook Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified webhook.", - "canonical": true, - "file": "webhooks.get_webhook.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetWebhook", - "fullName": "google.cloud.dialogflow.cx.v3.Webhooks.GetWebhook", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.Webhook", - "client": { - "shortName": "WebhooksClient", - "fullName": "google.cloud.dialogflow.cx.v3.WebhooksClient" - }, - "method": { - "shortName": "GetWebhook", - "fullName": "google.cloud.dialogflow.cx.v3.Webhooks.GetWebhook", - "service": { - "shortName": "Webhooks", - "fullName": "google.cloud.dialogflow.cx.v3.Webhooks" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetWebhook", + "fullName": "google.cloud.dialogflow.cx.v3.Webhooks.GetWebhook", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.Webhook", + "client": { + "shortName": "WebhooksClient", + "fullName": "google.cloud.dialogflow.cx.v3.WebhooksClient" }, + "method": { + "shortName": "GetWebhook", + "fullName": "google.cloud.dialogflow.cx.v3.Webhooks.GetWebhook", + "service": { + "shortName": "Webhooks", + "fullName": "google.cloud.dialogflow.cx.v3.Webhooks" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Webhooks_CreateWebhook_async", + "title": "Agents createWebhook Sample", + "origin": "API_DEFINITION", + "description": " Creates a webhook in the specified agent.", + "canonical": true, + "file": "webhooks.create_webhook.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Webhooks_CreateWebhook_async", - "title": "Agents createWebhook Sample", - "origin": "API_DEFINITION", - "description": " Creates a webhook in the specified agent.", - "canonical": true, - "file": "webhooks.create_webhook.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateWebhook", - "fullName": "google.cloud.dialogflow.cx.v3.Webhooks.CreateWebhook", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "webhook", - "type": ".google.cloud.dialogflow.cx.v3.Webhook" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.Webhook", - "client": { - "shortName": "WebhooksClient", - "fullName": "google.cloud.dialogflow.cx.v3.WebhooksClient" - }, - "method": { - "shortName": "CreateWebhook", - "fullName": "google.cloud.dialogflow.cx.v3.Webhooks.CreateWebhook", - "service": { - "shortName": "Webhooks", - "fullName": "google.cloud.dialogflow.cx.v3.Webhooks" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateWebhook", + "fullName": "google.cloud.dialogflow.cx.v3.Webhooks.CreateWebhook", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "webhook", + "type": ".google.cloud.dialogflow.cx.v3.Webhook" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.Webhook", + "client": { + "shortName": "WebhooksClient", + "fullName": "google.cloud.dialogflow.cx.v3.WebhooksClient" }, + "method": { + "shortName": "CreateWebhook", + "fullName": "google.cloud.dialogflow.cx.v3.Webhooks.CreateWebhook", + "service": { + "shortName": "Webhooks", + "fullName": "google.cloud.dialogflow.cx.v3.Webhooks" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Webhooks_UpdateWebhook_async", + "title": "Agents updateWebhook Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified webhook.", + "canonical": true, + "file": "webhooks.update_webhook.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Webhooks_UpdateWebhook_async", - "title": "Agents updateWebhook Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified webhook.", - "canonical": true, - "file": "webhooks.update_webhook.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 58, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateWebhook", - "fullName": "google.cloud.dialogflow.cx.v3.Webhooks.UpdateWebhook", - "async": true, - "parameters": [ - { - "name": "webhook", - "type": ".google.cloud.dialogflow.cx.v3.Webhook" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3.Webhook", - "client": { - "shortName": "WebhooksClient", - "fullName": "google.cloud.dialogflow.cx.v3.WebhooksClient" - }, - "method": { - "shortName": "UpdateWebhook", - "fullName": "google.cloud.dialogflow.cx.v3.Webhooks.UpdateWebhook", - "service": { - "shortName": "Webhooks", - "fullName": "google.cloud.dialogflow.cx.v3.Webhooks" - } - } - } + "start": 25, + "end": 58, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateWebhook", + "fullName": "google.cloud.dialogflow.cx.v3.Webhooks.UpdateWebhook", + "async": true, + "parameters": [ + { + "name": "webhook", + "type": ".google.cloud.dialogflow.cx.v3.Webhook" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3.Webhook", + "client": { + "shortName": "WebhooksClient", + "fullName": "google.cloud.dialogflow.cx.v3.WebhooksClient" }, + "method": { + "shortName": "UpdateWebhook", + "fullName": "google.cloud.dialogflow.cx.v3.Webhooks.UpdateWebhook", + "service": { + "shortName": "Webhooks", + "fullName": "google.cloud.dialogflow.cx.v3.Webhooks" + } + } + } + }, + { + "regionTag": "dialogflow_v3_generated_Webhooks_DeleteWebhook_async", + "title": "Agents deleteWebhook Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified webhook.", + "canonical": true, + "file": "webhooks.delete_webhook.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v3_generated_Webhooks_DeleteWebhook_async", - "title": "Agents deleteWebhook Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified webhook.", - "canonical": true, - "file": "webhooks.delete_webhook.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 67, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteWebhook", - "fullName": "google.cloud.dialogflow.cx.v3.Webhooks.DeleteWebhook", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "force", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "WebhooksClient", - "fullName": "google.cloud.dialogflow.cx.v3.WebhooksClient" - }, - "method": { - "shortName": "DeleteWebhook", - "fullName": "google.cloud.dialogflow.cx.v3.Webhooks.DeleteWebhook", - "service": { - "shortName": "Webhooks", - "fullName": "google.cloud.dialogflow.cx.v3.Webhooks" - } - } - } + "start": 25, + "end": 67, + "type": "FULL" } - ] -} \ No newline at end of file + ], + "clientMethod": { + "shortName": "DeleteWebhook", + "fullName": "google.cloud.dialogflow.cx.v3.Webhooks.DeleteWebhook", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "force", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "WebhooksClient", + "fullName": "google.cloud.dialogflow.cx.v3.WebhooksClient" + }, + "method": { + "shortName": "DeleteWebhook", + "fullName": "google.cloud.dialogflow.cx.v3.Webhooks.DeleteWebhook", + "service": { + "shortName": "Webhooks", + "fullName": "google.cloud.dialogflow.cx.v3.Webhooks" + } + } + } + } + ] +} diff --git a/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/snippet_metadata_google.cloud.dialogflow.cx.v3beta1.json b/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/snippet_metadata_google.cloud.dialogflow.cx.v3beta1.json index d98164dda5f5..59f3fe3f7c28 100644 --- a/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/snippet_metadata_google.cloud.dialogflow.cx.v3beta1.json +++ b/packages/google-cloud-dialogflow-cx/samples/generated/v3beta1/snippet_metadata_google.cloud.dialogflow.cx.v3beta1.json @@ -1,6327 +1,6327 @@ { - "clientLibrary": { - "name": "nodejs-cx", - "version": "5.3.0", - "language": "TYPESCRIPT", - "apis": [ - { - "id": "google.cloud.dialogflow.cx.v3beta1", - "version": "v3beta1" - } - ] - }, - "snippets": [ - { - "regionTag": "dialogflow_v3beta1_generated_Agents_ListAgents_async", - "title": "Agents listAgents Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all agents in the specified location.", - "canonical": true, - "file": "agents.list_agents.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 65, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListAgents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.ListAgents", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListAgentsResponse", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient" - }, - "method": { - "shortName": "ListAgents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.ListAgents", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Agents_GetAgent_async", - "title": "Agents getAgent Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified agent.", - "canonical": true, - "file": "agents.get_agent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetAgent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.GetAgent", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.Agent", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient" - }, - "method": { - "shortName": "GetAgent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.GetAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Agents_CreateAgent_async", - "title": "Agents createAgent Sample", - "origin": "API_DEFINITION", - "description": " Creates an agent in the specified location. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", - "canonical": true, - "file": "agents.create_agent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateAgent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.CreateAgent", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "agent", - "type": ".google.cloud.dialogflow.cx.v3beta1.Agent" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.Agent", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient" - }, - "method": { - "shortName": "CreateAgent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.CreateAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Agents_UpdateAgent_async", - "title": "Agents updateAgent Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified agent. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", - "canonical": true, - "file": "agents.update_agent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 58, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateAgent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.UpdateAgent", - "async": true, - "parameters": [ - { - "name": "agent", - "type": ".google.cloud.dialogflow.cx.v3beta1.Agent" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.Agent", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient" - }, - "method": { - "shortName": "UpdateAgent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.UpdateAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Agents_DeleteAgent_async", - "title": "Agents deleteAgent Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified agent.", - "canonical": true, - "file": "agents.delete_agent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteAgent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.DeleteAgent", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient" - }, - "method": { - "shortName": "DeleteAgent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.DeleteAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Agents_ExportAgent_async", - "title": "Agents exportAgent Sample", - "origin": "API_DEFINITION", - "description": " Exports the specified agent to a binary file. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [ExportAgentResponse][google.cloud.dialogflow.cx.v3beta1.ExportAgentResponse]", - "canonical": true, - "file": "agents.export_agent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 86, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ExportAgent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.ExportAgent", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "agent_uri", - "type": "TYPE_STRING" - }, - { - "name": "data_format", - "type": ".google.cloud.dialogflow.cx.v3beta1.ExportAgentRequest.DataFormat" - }, - { - "name": "environment", - "type": "TYPE_STRING" - }, - { - "name": "git_destination", - "type": ".google.cloud.dialogflow.cx.v3beta1.ExportAgentRequest.GitDestination" - }, - { - "name": "include_bigquery_export_settings", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient" - }, - "method": { - "shortName": "ExportAgent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.ExportAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Agents_RestoreAgent_async", - "title": "Agents restoreAgent Sample", - "origin": "API_DEFINITION", - "description": " Restores the specified agent from a binary file. Replaces the current agent with a new one. Note that all existing resources in agent (e.g. intents, entity types, flows) will be removed. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](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 documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", - "canonical": true, - "file": "agents.restore_agent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 78, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "RestoreAgent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.RestoreAgent", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "agent_uri", - "type": "TYPE_STRING" - }, - { - "name": "agent_content", - "type": "TYPE_BYTES" - }, - { - "name": "git_source", - "type": ".google.cloud.dialogflow.cx.v3beta1.RestoreAgentRequest.GitSource" - }, - { - "name": "restore_option", - "type": ".google.cloud.dialogflow.cx.v3beta1.RestoreAgentRequest.RestoreOption" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient" - }, - "method": { - "shortName": "RestoreAgent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.RestoreAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Agents_ValidateAgent_async", - "title": "Agents validateAgent Sample", - "origin": "API_DEFINITION", - "description": " Validates the specified agent and creates or updates validation results. The agent in draft version is validated. Please call this API after the training is completed to get the complete validation results.", - "canonical": true, - "file": "agents.validate_agent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 58, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ValidateAgent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.ValidateAgent", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.AgentValidationResult", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient" - }, - "method": { - "shortName": "ValidateAgent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.ValidateAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Agents_GetAgentValidationResult_async", - "title": "Agents getAgentValidationResult Sample", - "origin": "API_DEFINITION", - "description": " Gets the latest agent validation result. Agent validation is performed when ValidateAgent is called.", - "canonical": true, - "file": "agents.get_agent_validation_result.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetAgentValidationResult", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.GetAgentValidationResult", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.AgentValidationResult", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient" - }, - "method": { - "shortName": "GetAgentValidationResult", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.GetAgentValidationResult", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Agents_GetGenerativeSettings_async", - "title": "Agents getGenerativeSettings Sample", - "origin": "API_DEFINITION", - "description": " Gets the generative settings for the agent.", - "canonical": true, - "file": "agents.get_generative_settings.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetGenerativeSettings", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.GetGenerativeSettings", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.GenerativeSettings", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient" - }, - "method": { - "shortName": "GetGenerativeSettings", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.GetGenerativeSettings", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Agents_UpdateGenerativeSettings_async", - "title": "Agents updateGenerativeSettings Sample", - "origin": "API_DEFINITION", - "description": " Updates the generative settings for the agent.", - "canonical": true, - "file": "agents.update_generative_settings.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 58, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateGenerativeSettings", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.UpdateGenerativeSettings", - "async": true, - "parameters": [ - { - "name": "generative_settings", - "type": ".google.cloud.dialogflow.cx.v3beta1.GenerativeSettings" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.GenerativeSettings", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient" - }, - "method": { - "shortName": "UpdateGenerativeSettings", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.UpdateGenerativeSettings", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Changelogs_ListChangelogs_async", - "title": "Agents listChangelogs Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of Changelogs.", - "canonical": true, - "file": "changelogs.list_changelogs.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 88, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListChangelogs", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Changelogs.ListChangelogs", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListChangelogsResponse", - "client": { - "shortName": "ChangelogsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ChangelogsClient" - }, - "method": { - "shortName": "ListChangelogs", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Changelogs.ListChangelogs", - "service": { - "shortName": "Changelogs", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Changelogs" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Changelogs_GetChangelog_async", - "title": "Agents getChangelog Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified Changelog.", - "canonical": true, - "file": "changelogs.get_changelog.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetChangelog", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Changelogs.GetChangelog", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.Changelog", - "client": { - "shortName": "ChangelogsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ChangelogsClient" - }, - "method": { - "shortName": "GetChangelog", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Changelogs.GetChangelog", - "service": { - "shortName": "Changelogs", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Changelogs" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_ConversationHistory_ListConversations_async", - "title": "Agents listConversations Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all conversations.", - "canonical": true, - "file": "conversation_history.list_conversations.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 80, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListConversations", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistory.ListConversations", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse", - "client": { - "shortName": "ConversationHistoryClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient" - }, - "method": { - "shortName": "ListConversations", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistory.ListConversations", - "service": { - "shortName": "ConversationHistory", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistory" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_ConversationHistory_GetConversation_async", - "title": "Agents getConversation Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified conversation.", - "canonical": true, - "file": "conversation_history.get_conversation.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetConversation", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistory.GetConversation", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.Conversation", - "client": { - "shortName": "ConversationHistoryClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient" - }, - "method": { - "shortName": "GetConversation", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistory.GetConversation", - "service": { - "shortName": "ConversationHistory", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistory" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_ConversationHistory_DeleteConversation_async", - "title": "Agents deleteConversation Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified conversation.", - "canonical": true, - "file": "conversation_history.delete_conversation.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteConversation", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistory.DeleteConversation", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "ConversationHistoryClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient" - }, - "method": { - "shortName": "DeleteConversation", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistory.DeleteConversation", - "service": { - "shortName": "ConversationHistory", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistory" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Deployments_ListDeployments_async", - "title": "Agents listDeployments Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all deployments in the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].", - "canonical": true, - "file": "deployments.list_deployments.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 66, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListDeployments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Deployments.ListDeployments", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListDeploymentsResponse", - "client": { - "shortName": "DeploymentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.DeploymentsClient" - }, - "method": { - "shortName": "ListDeployments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Deployments.ListDeployments", - "service": { - "shortName": "Deployments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Deployments" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Deployments_GetDeployment_async", - "title": "Agents getDeployment Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified [Deployment][google.cloud.dialogflow.cx.v3beta1.Deployment].", - "canonical": true, - "file": "deployments.get_deployment.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetDeployment", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Deployments.GetDeployment", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.Deployment", - "client": { - "shortName": "DeploymentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.DeploymentsClient" - }, - "method": { - "shortName": "GetDeployment", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Deployments.GetDeployment", - "service": { - "shortName": "Deployments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Deployments" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_EntityTypes_GetEntityType_async", - "title": "Agents getEntityType Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified entity type.", - "canonical": true, - "file": "entity_types.get_entity_type.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 68, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetEntityType", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.GetEntityType", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.EntityType", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient" - }, - "method": { - "shortName": "GetEntityType", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.GetEntityType", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_EntityTypes_CreateEntityType_async", - "title": "Agents createEntityType Sample", - "origin": "API_DEFINITION", - "description": " Creates an entity type in the specified agent.", - "canonical": true, - "file": "entity_types.create_entity_type.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 71, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateEntityType", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.CreateEntityType", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "entity_type", - "type": ".google.cloud.dialogflow.cx.v3beta1.EntityType" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.EntityType", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient" - }, - "method": { - "shortName": "CreateEntityType", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.CreateEntityType", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_EntityTypes_UpdateEntityType_async", - "title": "Agents updateEntityType Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified entity type. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", - "canonical": true, - "file": "entity_types.update_entity_type.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 69, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateEntityType", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType", - "async": true, - "parameters": [ - { - "name": "entity_type", - "type": ".google.cloud.dialogflow.cx.v3beta1.EntityType" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.EntityType", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient" - }, - "method": { - "shortName": "UpdateEntityType", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_EntityTypes_DeleteEntityType_async", - "title": "Agents deleteEntityType Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified entity type. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", - "canonical": true, - "file": "entity_types.delete_entity_type.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 69, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteEntityType", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.DeleteEntityType", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "force", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient" - }, - "method": { - "shortName": "DeleteEntityType", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.DeleteEntityType", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_EntityTypes_ListEntityTypes_async", - "title": "Agents listEntityTypes Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all entity types in the specified agent.", - "canonical": true, - "file": "entity_types.list_entity_types.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 78, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.ListEntityTypes", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListEntityTypesResponse", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient" - }, - "method": { - "shortName": "ListEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.ListEntityTypes", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_EntityTypes_ExportEntityTypes_async", - "title": "Agents exportEntityTypes Sample", - "origin": "API_DEFINITION", - "description": " Exports the selected entity types.", - "canonical": true, - "file": "entity_types.export_entity_types.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 96, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ExportEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.ExportEntityTypes", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "entity_types", - "type": "TYPE_STRING[]" - }, - { - "name": "entity_types_uri", - "type": "TYPE_STRING" - }, - { - "name": "entity_types_content_inline", - "type": "TYPE_BOOL" - }, - { - "name": "data_format", - "type": ".google.cloud.dialogflow.cx.v3beta1.ExportEntityTypesRequest.DataFormat" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient" - }, - "method": { - "shortName": "ExportEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.ExportEntityTypes", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_EntityTypes_ImportEntityTypes_async", - "title": "Agents importEntityTypes Sample", - "origin": "API_DEFINITION", - "description": " Imports the specified entitytypes into the agent.", - "canonical": true, - "file": "entity_types.import_entity_types.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 86, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ImportEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.ImportEntityTypes", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "entity_types_uri", - "type": "TYPE_STRING" - }, - { - "name": "entity_types_content", - "type": ".google.cloud.dialogflow.cx.v3beta1.InlineSource" - }, - { - "name": "merge_option", - "type": ".google.cloud.dialogflow.cx.v3beta1.ImportEntityTypesRequest.MergeOption" - }, - { - "name": "target_entity_type", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient" - }, - "method": { - "shortName": "ImportEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.ImportEntityTypes", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Environments_ListEnvironments_async", - "title": "Agents listEnvironments Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all environments in the specified [Agent][google.cloud.dialogflow.cx.v3beta1.Agent].", - "canonical": true, - "file": "environments.list_environments.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 66, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListEnvironments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.ListEnvironments", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListEnvironmentsResponse", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient" - }, - "method": { - "shortName": "ListEnvironments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.ListEnvironments", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Environments_GetEnvironment_async", - "title": "Agents getEnvironment Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].", - "canonical": true, - "file": "environments.get_environment.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetEnvironment", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.GetEnvironment", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.Environment", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient" - }, - "method": { - "shortName": "GetEnvironment", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.GetEnvironment", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Environments_CreateEnvironment_async", - "title": "Agents createEnvironment Sample", - "origin": "API_DEFINITION", - "description": " Creates an [Environment][google.cloud.dialogflow.cx.v3beta1.Environment] in the specified [Agent][google.cloud.dialogflow.cx.v3beta1.Agent]. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [Environment][google.cloud.dialogflow.cx.v3beta1.Environment]", - "canonical": true, - "file": "environments.create_environment.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateEnvironment", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.CreateEnvironment", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "environment", - "type": ".google.cloud.dialogflow.cx.v3beta1.Environment" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient" - }, - "method": { - "shortName": "CreateEnvironment", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.CreateEnvironment", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Environments_UpdateEnvironment_async", - "title": "Agents updateEnvironment Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment]. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [Environment][google.cloud.dialogflow.cx.v3beta1.Environment]", - "canonical": true, - "file": "environments.update_environment.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateEnvironment", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.UpdateEnvironment", - "async": true, - "parameters": [ - { - "name": "environment", - "type": ".google.cloud.dialogflow.cx.v3beta1.Environment" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient" - }, - "method": { - "shortName": "UpdateEnvironment", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.UpdateEnvironment", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Environments_DeleteEnvironment_async", - "title": "Agents deleteEnvironment Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].", - "canonical": true, - "file": "environments.delete_environment.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 56, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteEnvironment", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.DeleteEnvironment", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient" - }, - "method": { - "shortName": "DeleteEnvironment", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.DeleteEnvironment", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Environments_LookupEnvironmentHistory_async", - "title": "Agents lookupEnvironmentHistory Sample", - "origin": "API_DEFINITION", - "description": " Looks up the history of the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].", - "canonical": true, - "file": "environments.lookup_environment_history.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 66, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "LookupEnvironmentHistory", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.LookupEnvironmentHistory", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.LookupEnvironmentHistoryResponse", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient" - }, - "method": { - "shortName": "LookupEnvironmentHistory", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.LookupEnvironmentHistory", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Environments_RunContinuousTest_async", - "title": "Agents runContinuousTest Sample", - "origin": "API_DEFINITION", - "description": " Kicks off a continuous test under the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment]. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [RunContinuousTestMetadata][google.cloud.dialogflow.cx.v3beta1.RunContinuousTestMetadata] - `response`: [RunContinuousTestResponse][google.cloud.dialogflow.cx.v3beta1.RunContinuousTestResponse]", - "canonical": true, - "file": "environments.run_continuous_test.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "RunContinuousTest", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.RunContinuousTest", - "async": true, - "parameters": [ - { - "name": "environment", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient" - }, - "method": { - "shortName": "RunContinuousTest", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.RunContinuousTest", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Environments_ListContinuousTestResults_async", - "title": "Agents listContinuousTestResults Sample", - "origin": "API_DEFINITION", - "description": " Fetches a list of continuous test results for a given environment.", - "canonical": true, - "file": "environments.list_continuous_test_results.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 66, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListContinuousTestResults", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.ListContinuousTestResults", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListContinuousTestResultsResponse", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient" - }, - "method": { - "shortName": "ListContinuousTestResults", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.ListContinuousTestResults", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Environments_DeployFlow_async", - "title": "Agents deployFlow Sample", - "origin": "API_DEFINITION", - "description": " Deploys a flow to the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment]. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [DeployFlowMetadata][google.cloud.dialogflow.cx.v3beta1.DeployFlowMetadata] - `response`: [DeployFlowResponse][google.cloud.dialogflow.cx.v3beta1.DeployFlowResponse]", - "canonical": true, - "file": "environments.deploy_flow.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 63, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeployFlow", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.DeployFlow", - "async": true, - "parameters": [ - { - "name": "environment", - "type": "TYPE_STRING" - }, - { - "name": "flow_version", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient" - }, - "method": { - "shortName": "DeployFlow", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.DeployFlow", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Examples_CreateExample_async", - "title": "Agents createExample Sample", - "origin": "API_DEFINITION", - "description": " Creates an example in the specified playbook.", - "canonical": true, - "file": "examples.create_example.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 60, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateExample", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples.CreateExample", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "example", - "type": ".google.cloud.dialogflow.cx.v3beta1.Example" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.Example", - "client": { - "shortName": "ExamplesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient" - }, - "method": { - "shortName": "CreateExample", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples.CreateExample", - "service": { - "shortName": "Examples", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Examples_DeleteExample_async", - "title": "Agents deleteExample Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified example.", - "canonical": true, - "file": "examples.delete_example.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteExample", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples.DeleteExample", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "ExamplesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient" - }, - "method": { - "shortName": "DeleteExample", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples.DeleteExample", - "service": { - "shortName": "Examples", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Examples_ListExamples_async", - "title": "Agents listExamples Sample", - "origin": "API_DEFINITION", - "description": " Returns a list of examples in the specified playbook.", - "canonical": true, - "file": "examples.list_examples.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 73, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListExamples", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples.ListExamples", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListExamplesResponse", - "client": { - "shortName": "ExamplesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient" - }, - "method": { - "shortName": "ListExamples", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples.ListExamples", - "service": { - "shortName": "Examples", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Examples_GetExample_async", - "title": "Agents getExample Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified example.", - "canonical": true, - "file": "examples.get_example.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetExample", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples.GetExample", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.Example", - "client": { - "shortName": "ExamplesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient" - }, - "method": { - "shortName": "GetExample", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples.GetExample", - "service": { - "shortName": "Examples", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Examples_UpdateExample_async", - "title": "Agents updateExample Sample", - "origin": "API_DEFINITION", - "description": " Update the specified example.", - "canonical": true, - "file": "examples.update_example.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 58, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateExample", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples.UpdateExample", - "async": true, - "parameters": [ - { - "name": "example", - "type": ".google.cloud.dialogflow.cx.v3beta1.Example" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.Example", - "client": { - "shortName": "ExamplesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient" - }, - "method": { - "shortName": "UpdateExample", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples.UpdateExample", - "service": { - "shortName": "Examples", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Experiments_ListExperiments_async", - "title": "Agents listExperiments Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all experiments in the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].", - "canonical": true, - "file": "experiments.list_experiments.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 66, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListExperiments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.ListExperiments", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListExperimentsResponse", - "client": { - "shortName": "ExperimentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient" - }, - "method": { - "shortName": "ListExperiments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.ListExperiments", - "service": { - "shortName": "Experiments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Experiments_GetExperiment_async", - "title": "Agents getExperiment Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified [Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment].", - "canonical": true, - "file": "experiments.get_experiment.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetExperiment", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.GetExperiment", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.Experiment", - "client": { - "shortName": "ExperimentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient" - }, - "method": { - "shortName": "GetExperiment", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.GetExperiment", - "service": { - "shortName": "Experiments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Experiments_CreateExperiment_async", - "title": "Agents createExperiment Sample", - "origin": "API_DEFINITION", - "description": " Creates an [Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment] in the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].", - "canonical": true, - "file": "experiments.create_experiment.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateExperiment", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.CreateExperiment", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "experiment", - "type": ".google.cloud.dialogflow.cx.v3beta1.Experiment" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.Experiment", - "client": { - "shortName": "ExperimentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient" - }, - "method": { - "shortName": "CreateExperiment", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.CreateExperiment", - "service": { - "shortName": "Experiments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Experiments_UpdateExperiment_async", - "title": "Agents updateExperiment Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified [Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment].", - "canonical": true, - "file": "experiments.update_experiment.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 58, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateExperiment", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.UpdateExperiment", - "async": true, - "parameters": [ - { - "name": "experiment", - "type": ".google.cloud.dialogflow.cx.v3beta1.Experiment" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.Experiment", - "client": { - "shortName": "ExperimentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient" - }, - "method": { - "shortName": "UpdateExperiment", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.UpdateExperiment", - "service": { - "shortName": "Experiments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Experiments_DeleteExperiment_async", - "title": "Agents deleteExperiment Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified [Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment].", - "canonical": true, - "file": "experiments.delete_experiment.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 56, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteExperiment", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.DeleteExperiment", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "ExperimentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient" - }, - "method": { - "shortName": "DeleteExperiment", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.DeleteExperiment", - "service": { - "shortName": "Experiments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Experiments_StartExperiment_async", - "title": "Agents startExperiment Sample", - "origin": "API_DEFINITION", - "description": " Starts the specified [Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment]. This rpc only changes the state of experiment from PENDING to RUNNING.", - "canonical": true, - "file": "experiments.start_experiment.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "StartExperiment", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.StartExperiment", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.Experiment", - "client": { - "shortName": "ExperimentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient" - }, - "method": { - "shortName": "StartExperiment", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.StartExperiment", - "service": { - "shortName": "Experiments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Experiments_StopExperiment_async", - "title": "Agents stopExperiment Sample", - "origin": "API_DEFINITION", - "description": " Stops the specified [Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment]. This rpc only changes the state of experiment from RUNNING to DONE.", - "canonical": true, - "file": "experiments.stop_experiment.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "StopExperiment", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.StopExperiment", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.Experiment", - "client": { - "shortName": "ExperimentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient" - }, - "method": { - "shortName": "StopExperiment", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.StopExperiment", - "service": { - "shortName": "Experiments", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Flows_CreateFlow_async", - "title": "Agents createFlow Sample", - "origin": "API_DEFINITION", - "description": " Creates a flow in the specified agent. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", - "canonical": true, - "file": "flows.create_flow.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 72, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateFlow", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.CreateFlow", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "flow", - "type": ".google.cloud.dialogflow.cx.v3beta1.Flow" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.Flow", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient" - }, - "method": { - "shortName": "CreateFlow", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.CreateFlow", - "service": { - "shortName": "Flows", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Flows_DeleteFlow_async", - "title": "Agents deleteFlow Sample", - "origin": "API_DEFINITION", - "description": " Deletes a specified flow.", - "canonical": true, - "file": "flows.delete_flow.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 67, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteFlow", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.DeleteFlow", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "force", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient" - }, - "method": { - "shortName": "DeleteFlow", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.DeleteFlow", - "service": { - "shortName": "Flows", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Flows_ListFlows_async", - "title": "Agents listFlows Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all flows in the specified agent.", - "canonical": true, - "file": "flows.list_flows.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 79, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListFlows", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.ListFlows", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListFlowsResponse", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient" - }, - "method": { - "shortName": "ListFlows", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.ListFlows", - "service": { - "shortName": "Flows", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Flows_GetFlow_async", - "title": "Agents getFlow Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified flow.", - "canonical": true, - "file": "flows.get_flow.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 69, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetFlow", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.GetFlow", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.Flow", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient" - }, - "method": { - "shortName": "GetFlow", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.GetFlow", - "service": { - "shortName": "Flows", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Flows_UpdateFlow_async", - "title": "Agents updateFlow Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified flow. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", - "canonical": true, - "file": "flows.update_flow.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 71, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateFlow", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.UpdateFlow", - "async": true, - "parameters": [ - { - "name": "flow", - "type": ".google.cloud.dialogflow.cx.v3beta1.Flow" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.Flow", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient" - }, - "method": { - "shortName": "UpdateFlow", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.UpdateFlow", - "service": { - "shortName": "Flows", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Flows_TrainFlow_async", - "title": "Agents trainFlow Sample", - "origin": "API_DEFINITION", - "description": " Trains the specified flow. Note that only the flow in 'draft' environment is trained. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](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 documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", - "canonical": true, - "file": "flows.train_flow.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 56, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "TrainFlow", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.TrainFlow", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient" - }, - "method": { - "shortName": "TrainFlow", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.TrainFlow", - "service": { - "shortName": "Flows", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Flows_ValidateFlow_async", - "title": "Agents validateFlow Sample", - "origin": "API_DEFINITION", - "description": " Validates the specified flow and creates or updates validation results. Please call this API after the training is completed to get the complete validation results.", - "canonical": true, - "file": "flows.validate_flow.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ValidateFlow", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.ValidateFlow", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.FlowValidationResult", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient" - }, - "method": { - "shortName": "ValidateFlow", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.ValidateFlow", - "service": { - "shortName": "Flows", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Flows_GetFlowValidationResult_async", - "title": "Agents getFlowValidationResult Sample", - "origin": "API_DEFINITION", - "description": " Gets the latest flow validation result. Flow validation is performed when ValidateFlow is called.", - "canonical": true, - "file": "flows.get_flow_validation_result.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetFlowValidationResult", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.GetFlowValidationResult", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.FlowValidationResult", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient" - }, - "method": { - "shortName": "GetFlowValidationResult", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.GetFlowValidationResult", - "service": { - "shortName": "Flows", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Flows_ImportFlow_async", - "title": "Agents importFlow Sample", - "origin": "API_DEFINITION", - "description": " Imports the specified flow to the specified agent from a binary file. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [ImportFlowResponse][google.cloud.dialogflow.cx.v3beta1.ImportFlowResponse] Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", - "canonical": true, - "file": "flows.import_flow.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 79, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ImportFlow", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.ImportFlow", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "flow_uri", - "type": "TYPE_STRING" - }, - { - "name": "flow_content", - "type": "TYPE_BYTES" - }, - { - "name": "import_option", - "type": ".google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest.ImportOption" - }, - { - "name": "flow_import_strategy", - "type": ".google.cloud.dialogflow.cx.v3beta1.FlowImportStrategy" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient" - }, - "method": { - "shortName": "ImportFlow", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.ImportFlow", - "service": { - "shortName": "Flows", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Flows_ExportFlow_async", - "title": "Agents exportFlow Sample", - "origin": "API_DEFINITION", - "description": " Exports the specified flow to a binary file. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [ExportFlowResponse][google.cloud.dialogflow.cx.v3beta1.ExportFlowResponse] Note that resources (e.g. intents, entities, webhooks) that the flow references will also be exported.", - "canonical": true, - "file": "flows.export_flow.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 72, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ExportFlow", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.ExportFlow", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "flow_uri", - "type": "TYPE_STRING" - }, - { - "name": "include_referenced_flows", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "FlowsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient" - }, - "method": { - "shortName": "ExportFlow", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.ExportFlow", - "service": { - "shortName": "Flows", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Generators_ListGenerators_async", - "title": "Agents listGenerators Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all generators in the specified agent.", - "canonical": true, - "file": "generators.list_generators.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 69, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListGenerators", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators.ListGenerators", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListGeneratorsResponse", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient" - }, - "method": { - "shortName": "ListGenerators", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators.ListGenerators", - "service": { - "shortName": "Generators", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Generators_GetGenerator_async", - "title": "Agents getGenerator Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified generator.", - "canonical": true, - "file": "generators.get_generator.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetGenerator", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators.GetGenerator", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.Generator", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient" - }, - "method": { - "shortName": "GetGenerator", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators.GetGenerator", - "service": { - "shortName": "Generators", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Generators_CreateGenerator_async", - "title": "Agents createGenerator Sample", - "origin": "API_DEFINITION", - "description": " Creates a generator in the specified agent.", - "canonical": true, - "file": "generators.create_generator.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 65, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateGenerator", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators.CreateGenerator", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "generator", - "type": ".google.cloud.dialogflow.cx.v3beta1.Generator" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.Generator", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient" - }, - "method": { - "shortName": "CreateGenerator", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators.CreateGenerator", - "service": { - "shortName": "Generators", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Generators_UpdateGenerator_async", - "title": "Agents updateGenerator Sample", - "origin": "API_DEFINITION", - "description": " Update the specified generator.", - "canonical": true, - "file": "generators.update_generator.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 62, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateGenerator", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators.UpdateGenerator", - "async": true, - "parameters": [ - { - "name": "generator", - "type": ".google.cloud.dialogflow.cx.v3beta1.Generator" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.Generator", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient" - }, - "method": { - "shortName": "UpdateGenerator", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators.UpdateGenerator", - "service": { - "shortName": "Generators", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Generators_DeleteGenerator_async", - "title": "Agents deleteGenerator Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified generators.", - "canonical": true, - "file": "generators.delete_generator.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 65, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteGenerator", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators.DeleteGenerator", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "force", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient" - }, - "method": { - "shortName": "DeleteGenerator", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators.DeleteGenerator", - "service": { - "shortName": "Generators", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Intents_ListIntents_async", - "title": "Agents listIntents Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all intents in the specified agent.", - "canonical": true, - "file": "intents.list_intents.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 80, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListIntents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.ListIntents", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - }, - { - "name": "intent_view", - "type": ".google.cloud.dialogflow.cx.v3beta1.IntentView" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListIntentsResponse", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient" - }, - "method": { - "shortName": "ListIntents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.ListIntents", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Intents_GetIntent_async", - "title": "Agents getIntent Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified intent.", - "canonical": true, - "file": "intents.get_intent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 66, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetIntent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.GetIntent", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.Intent", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient" - }, - "method": { - "shortName": "GetIntent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.GetIntent", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Intents_CreateIntent_async", - "title": "Agents createIntent Sample", - "origin": "API_DEFINITION", - "description": " Creates an intent in the specified agent. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", - "canonical": true, - "file": "intents.create_intent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 69, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateIntent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.CreateIntent", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "intent", - "type": ".google.cloud.dialogflow.cx.v3beta1.Intent" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.Intent", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient" - }, - "method": { - "shortName": "CreateIntent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.CreateIntent", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Intents_UpdateIntent_async", - "title": "Agents updateIntent Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified intent. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", - "canonical": true, - "file": "intents.update_intent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 68, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateIntent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.UpdateIntent", - "async": true, - "parameters": [ - { - "name": "intent", - "type": ".google.cloud.dialogflow.cx.v3beta1.Intent" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.Intent", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient" - }, - "method": { - "shortName": "UpdateIntent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.UpdateIntent", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Intents_DeleteIntent_async", - "title": "Agents deleteIntent Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified intent. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", - "canonical": true, - "file": "intents.delete_intent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteIntent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.DeleteIntent", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient" - }, - "method": { - "shortName": "DeleteIntent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.DeleteIntent", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Intents_ImportIntents_async", - "title": "Agents importIntents Sample", - "origin": "API_DEFINITION", - "description": " Imports the specified intents into the agent. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [ImportIntentsMetadata][google.cloud.dialogflow.cx.v3beta1.ImportIntentsMetadata] - `response`: [ImportIntentsResponse][google.cloud.dialogflow.cx.v3beta1.ImportIntentsResponse]", - "canonical": true, - "file": "intents.import_intents.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 74, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ImportIntents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.ImportIntents", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "intents_uri", - "type": "TYPE_STRING" - }, - { - "name": "intents_content", - "type": ".google.cloud.dialogflow.cx.v3beta1.InlineSource" - }, - { - "name": "merge_option", - "type": ".google.cloud.dialogflow.cx.v3beta1.ImportIntentsRequest.MergeOption" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient" - }, - "method": { - "shortName": "ImportIntents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.ImportIntents", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Intents_ExportIntents_async", - "title": "Agents exportIntents Sample", - "origin": "API_DEFINITION", - "description": " Exports the selected intents. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [ExportIntentsMetadata][google.cloud.dialogflow.cx.v3beta1.ExportIntentsMetadata] - `response`: [ExportIntentsResponse][google.cloud.dialogflow.cx.v3beta1.ExportIntentsResponse]", - "canonical": true, - "file": "intents.export_intents.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 83, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ExportIntents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.ExportIntents", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "intents", - "type": "TYPE_STRING[]" - }, - { - "name": "intents_uri", - "type": "TYPE_STRING" - }, - { - "name": "intents_content_inline", - "type": "TYPE_BOOL" - }, - { - "name": "data_format", - "type": ".google.cloud.dialogflow.cx.v3beta1.ExportIntentsRequest.DataFormat" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient" - }, - "method": { - "shortName": "ExportIntents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.ExportIntents", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Pages_ListPages_async", - "title": "Agents listPages Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all pages in the specified flow.", - "canonical": true, - "file": "pages.list_pages.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 88, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListPages", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.ListPages", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListPagesResponse", - "client": { - "shortName": "PagesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient" - }, - "method": { - "shortName": "ListPages", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.ListPages", - "service": { - "shortName": "Pages", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Pages_GetPage_async", - "title": "Agents getPage Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified page.", - "canonical": true, - "file": "pages.get_page.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 77, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetPage", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.GetPage", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.Page", - "client": { - "shortName": "PagesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient" - }, - "method": { - "shortName": "GetPage", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.GetPage", - "service": { - "shortName": "Pages", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Pages_CreatePage_async", - "title": "Agents createPage Sample", - "origin": "API_DEFINITION", - "description": " Creates a page in the specified flow.", - "canonical": true, - "file": "pages.create_page.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 81, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreatePage", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page", - "type": ".google.cloud.dialogflow.cx.v3beta1.Page" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.Page", - "client": { - "shortName": "PagesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient" - }, - "method": { - "shortName": "CreatePage", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage", - "service": { - "shortName": "Pages", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Pages_UpdatePage_async", - "title": "Agents updatePage Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified page.", - "canonical": true, - "file": "pages.update_page.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 79, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdatePage", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage", - "async": true, - "parameters": [ - { - "name": "page", - "type": ".google.cloud.dialogflow.cx.v3beta1.Page" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.Page", - "client": { - "shortName": "PagesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient" - }, - "method": { - "shortName": "UpdatePage", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage", - "service": { - "shortName": "Pages", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Pages_DeletePage_async", - "title": "Agents deletePage Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified page.", - "canonical": true, - "file": "pages.delete_page.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 67, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeletePage", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.DeletePage", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "force", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "PagesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient" - }, - "method": { - "shortName": "DeletePage", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.DeletePage", - "service": { - "shortName": "Pages", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Playbooks_CreatePlaybook_async", - "title": "Agents createPlaybook Sample", - "origin": "API_DEFINITION", - "description": " Creates a playbook in a specified agent.", - "canonical": true, - "file": "playbooks.create_playbook.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreatePlaybook", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.CreatePlaybook", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "playbook", - "type": ".google.cloud.dialogflow.cx.v3beta1.Playbook" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.Playbook", - "client": { - "shortName": "PlaybooksClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient" - }, - "method": { - "shortName": "CreatePlaybook", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.CreatePlaybook", - "service": { - "shortName": "Playbooks", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Playbooks_DeletePlaybook_async", - "title": "Agents deletePlaybook Sample", - "origin": "API_DEFINITION", - "description": " Deletes a specified playbook.", - "canonical": true, - "file": "playbooks.delete_playbook.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeletePlaybook", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.DeletePlaybook", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "PlaybooksClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient" - }, - "method": { - "shortName": "DeletePlaybook", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.DeletePlaybook", - "service": { - "shortName": "Playbooks", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Playbooks_ListPlaybooks_async", - "title": "Agents listPlaybooks Sample", - "origin": "API_DEFINITION", - "description": " Returns a list of playbooks in the specified agent.", - "canonical": true, - "file": "playbooks.list_playbooks.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 65, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListPlaybooks", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.ListPlaybooks", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListPlaybooksResponse", - "client": { - "shortName": "PlaybooksClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient" - }, - "method": { - "shortName": "ListPlaybooks", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.ListPlaybooks", - "service": { - "shortName": "Playbooks", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Playbooks_GetPlaybook_async", - "title": "Agents getPlaybook Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified Playbook.", - "canonical": true, - "file": "playbooks.get_playbook.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetPlaybook", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.GetPlaybook", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.Playbook", - "client": { - "shortName": "PlaybooksClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient" - }, - "method": { - "shortName": "GetPlaybook", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.GetPlaybook", - "service": { - "shortName": "Playbooks", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Playbooks_UpdatePlaybook_async", - "title": "Agents updatePlaybook Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified Playbook.", - "canonical": true, - "file": "playbooks.update_playbook.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 58, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdatePlaybook", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.UpdatePlaybook", - "async": true, - "parameters": [ - { - "name": "playbook", - "type": ".google.cloud.dialogflow.cx.v3beta1.Playbook" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.Playbook", - "client": { - "shortName": "PlaybooksClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient" - }, - "method": { - "shortName": "UpdatePlaybook", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.UpdatePlaybook", - "service": { - "shortName": "Playbooks", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Playbooks_CreatePlaybookVersion_async", - "title": "Agents createPlaybookVersion Sample", - "origin": "API_DEFINITION", - "description": " Creates a version for the specified Playbook.", - "canonical": true, - "file": "playbooks.create_playbook_version.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 60, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreatePlaybookVersion", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.CreatePlaybookVersion", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "playbook_version", - "type": ".google.cloud.dialogflow.cx.v3beta1.PlaybookVersion" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.PlaybookVersion", - "client": { - "shortName": "PlaybooksClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient" - }, - "method": { - "shortName": "CreatePlaybookVersion", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.CreatePlaybookVersion", - "service": { - "shortName": "Playbooks", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Playbooks_GetPlaybookVersion_async", - "title": "Agents getPlaybookVersion Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified version of the Playbook.", - "canonical": true, - "file": "playbooks.get_playbook_version.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetPlaybookVersion", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.GetPlaybookVersion", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.PlaybookVersion", - "client": { - "shortName": "PlaybooksClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient" - }, - "method": { - "shortName": "GetPlaybookVersion", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.GetPlaybookVersion", - "service": { - "shortName": "Playbooks", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Playbooks_ListPlaybookVersions_async", - "title": "Agents listPlaybookVersions Sample", - "origin": "API_DEFINITION", - "description": " Lists versions for the specified Playbook.", - "canonical": true, - "file": "playbooks.list_playbook_versions.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 66, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListPlaybookVersions", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.ListPlaybookVersions", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListPlaybookVersionsResponse", - "client": { - "shortName": "PlaybooksClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient" - }, - "method": { - "shortName": "ListPlaybookVersions", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.ListPlaybookVersions", - "service": { - "shortName": "Playbooks", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Playbooks_DeletePlaybookVersion_async", - "title": "Agents deletePlaybookVersion Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified version of the Playbook.", - "canonical": true, - "file": "playbooks.delete_playbook_version.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeletePlaybookVersion", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.DeletePlaybookVersion", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "PlaybooksClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient" - }, - "method": { - "shortName": "DeletePlaybookVersion", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.DeletePlaybookVersion", - "service": { - "shortName": "Playbooks", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_SecuritySettingsService_CreateSecuritySettings_async", - "title": "Agents createSecuritySettings Sample", - "origin": "API_DEFINITION", - "description": " Create security settings in the specified location.", - "canonical": true, - "file": "security_settings_service.create_security_settings.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 60, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateSecuritySettings", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.CreateSecuritySettings", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "security_settings", - "type": ".google.cloud.dialogflow.cx.v3beta1.SecuritySettings" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.SecuritySettings", - "client": { - "shortName": "SecuritySettingsServiceClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsServiceClient" - }, - "method": { - "shortName": "CreateSecuritySettings", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.CreateSecuritySettings", - "service": { - "shortName": "SecuritySettingsService", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_SecuritySettingsService_GetSecuritySettings_async", - "title": "Agents getSecuritySettings Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified [SecuritySettings][google.cloud.dialogflow.cx.v3beta1.SecuritySettings]. The returned settings may be stale by up to 1 minute.", - "canonical": true, - "file": "security_settings_service.get_security_settings.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetSecuritySettings", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.GetSecuritySettings", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.SecuritySettings", - "client": { - "shortName": "SecuritySettingsServiceClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsServiceClient" - }, - "method": { - "shortName": "GetSecuritySettings", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.GetSecuritySettings", - "service": { - "shortName": "SecuritySettingsService", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_SecuritySettingsService_UpdateSecuritySettings_async", - "title": "Agents updateSecuritySettings Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified [SecuritySettings][google.cloud.dialogflow.cx.v3beta1.SecuritySettings].", - "canonical": true, - "file": "security_settings_service.update_security_settings.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 60, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateSecuritySettings", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.UpdateSecuritySettings", - "async": true, - "parameters": [ - { - "name": "security_settings", - "type": ".google.cloud.dialogflow.cx.v3beta1.SecuritySettings" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.SecuritySettings", - "client": { - "shortName": "SecuritySettingsServiceClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsServiceClient" - }, - "method": { - "shortName": "UpdateSecuritySettings", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.UpdateSecuritySettings", - "service": { - "shortName": "SecuritySettingsService", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_SecuritySettingsService_ListSecuritySettings_async", - "title": "Agents listSecuritySettings Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all security settings in the specified location.", - "canonical": true, - "file": "security_settings_service.list_security_settings.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 65, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListSecuritySettings", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.ListSecuritySettings", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListSecuritySettingsResponse", - "client": { - "shortName": "SecuritySettingsServiceClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsServiceClient" - }, - "method": { - "shortName": "ListSecuritySettings", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.ListSecuritySettings", - "service": { - "shortName": "SecuritySettingsService", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_SecuritySettingsService_DeleteSecuritySettings_async", - "title": "Agents deleteSecuritySettings Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified [SecuritySettings][google.cloud.dialogflow.cx.v3beta1.SecuritySettings].", - "canonical": true, - "file": "security_settings_service.delete_security_settings.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 56, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteSecuritySettings", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.DeleteSecuritySettings", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "SecuritySettingsServiceClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsServiceClient" - }, - "method": { - "shortName": "DeleteSecuritySettings", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.DeleteSecuritySettings", - "service": { - "shortName": "SecuritySettingsService", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_SessionEntityTypes_ListSessionEntityTypes_async", - "title": "Agents listSessionEntityTypes Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all session entity types in the specified session.", - "canonical": true, - "file": "session_entity_types.list_session_entity_types.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 70, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListSessionEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.ListSessionEntityTypes", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListSessionEntityTypesResponse", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient" - }, - "method": { - "shortName": "ListSessionEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.ListSessionEntityTypes", - "service": { - "shortName": "SessionEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_SessionEntityTypes_GetSessionEntityType_async", - "title": "Agents getSessionEntityType Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified session entity type.", - "canonical": true, - "file": "session_entity_types.get_session_entity_type.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetSessionEntityType", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.GetSessionEntityType", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.SessionEntityType", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient" - }, - "method": { - "shortName": "GetSessionEntityType", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.GetSessionEntityType", - "service": { - "shortName": "SessionEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_SessionEntityTypes_CreateSessionEntityType_async", - "title": "Agents createSessionEntityType Sample", - "origin": "API_DEFINITION", - "description": " Creates a session entity type.", - "canonical": true, - "file": "session_entity_types.create_session_entity_type.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 64, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateSessionEntityType", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.CreateSessionEntityType", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "session_entity_type", - "type": ".google.cloud.dialogflow.cx.v3beta1.SessionEntityType" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.SessionEntityType", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient" - }, - "method": { - "shortName": "CreateSessionEntityType", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.CreateSessionEntityType", - "service": { - "shortName": "SessionEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_SessionEntityTypes_UpdateSessionEntityType_async", - "title": "Agents updateSessionEntityType Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified session entity type.", - "canonical": true, - "file": "session_entity_types.update_session_entity_type.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 63, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateSessionEntityType", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.UpdateSessionEntityType", - "async": true, - "parameters": [ - { - "name": "session_entity_type", - "type": ".google.cloud.dialogflow.cx.v3beta1.SessionEntityType" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.SessionEntityType", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient" - }, - "method": { - "shortName": "UpdateSessionEntityType", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.UpdateSessionEntityType", - "service": { - "shortName": "SessionEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_SessionEntityTypes_DeleteSessionEntityType_async", - "title": "Agents deleteSessionEntityType Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified session entity type.", - "canonical": true, - "file": "session_entity_types.delete_session_entity_type.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteSessionEntityType", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.DeleteSessionEntityType", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient" - }, - "method": { - "shortName": "DeleteSessionEntityType", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.DeleteSessionEntityType", - "service": { - "shortName": "SessionEntityTypes", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Sessions_DetectIntent_async", - "title": "Agents detectIntent Sample", - "origin": "API_DEFINITION", - "description": " Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause session entity types to be updated, which in turn might affect results of future queries. Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).", - "canonical": true, - "file": "sessions.detect_intent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 80, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DetectIntent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.DetectIntent", - "async": true, - "parameters": [ - { - "name": "session", - "type": "TYPE_STRING" - }, - { - "name": "query_params", - "type": ".google.cloud.dialogflow.cx.v3beta1.QueryParameters" - }, - { - "name": "query_input", - "type": ".google.cloud.dialogflow.cx.v3beta1.QueryInput" - }, - { - "name": "output_audio_config", - "type": ".google.cloud.dialogflow.cx.v3beta1.OutputAudioConfig" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient" - }, - "method": { - "shortName": "DetectIntent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.DetectIntent", - "service": { - "shortName": "Sessions", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Sessions_ServerStreamingDetectIntent_async", - "title": "Agents serverStreamingDetectIntent Sample", - "origin": "API_DEFINITION", - "description": " Processes a natural language query and returns structured, actionable data as a result through server-side streaming. Server-side streaming allows Dialogflow to send [partial responses](https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#partial-response) earlier in a single request.", - "canonical": true, - "file": "sessions.server_streaming_detect_intent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 82, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ServerStreamingDetectIntent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.ServerStreamingDetectIntent", - "async": true, - "parameters": [ - { - "name": "session", - "type": "TYPE_STRING" - }, - { - "name": "query_params", - "type": ".google.cloud.dialogflow.cx.v3beta1.QueryParameters" - }, - { - "name": "query_input", - "type": ".google.cloud.dialogflow.cx.v3beta1.QueryInput" - }, - { - "name": "output_audio_config", - "type": ".google.cloud.dialogflow.cx.v3beta1.OutputAudioConfig" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient" - }, - "method": { - "shortName": "ServerStreamingDetectIntent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.ServerStreamingDetectIntent", - "service": { - "shortName": "Sessions", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Sessions_StreamingDetectIntent_async", - "title": "Agents streamingDetectIntent Sample", - "origin": "API_DEFINITION", - "description": " Processes a natural language query in audio format in a streaming fashion and returns structured, actionable data as a result. This method is only available via the gRPC API (not REST). Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).", - "canonical": true, - "file": "sessions.streaming_detect_intent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 95, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "StreamingDetectIntent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.StreamingDetectIntent", - "async": true, - "parameters": [ - { - "name": "session", - "type": "TYPE_STRING" - }, - { - "name": "query_params", - "type": ".google.cloud.dialogflow.cx.v3beta1.QueryParameters" - }, - { - "name": "query_input", - "type": ".google.cloud.dialogflow.cx.v3beta1.QueryInput" - }, - { - "name": "output_audio_config", - "type": ".google.cloud.dialogflow.cx.v3beta1.OutputAudioConfig" - }, - { - "name": "enable_partial_response", - "type": "TYPE_BOOL" - }, - { - "name": "enable_debugging_info", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentResponse", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient" - }, - "method": { - "shortName": "StreamingDetectIntent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.StreamingDetectIntent", - "service": { - "shortName": "Sessions", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Sessions_MatchIntent_async", - "title": "Agents matchIntent Sample", - "origin": "API_DEFINITION", - "description": " Returns preliminary intent match results, doesn't change the session status.", - "canonical": true, - "file": "sessions.match_intent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 77, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "MatchIntent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent", - "async": true, - "parameters": [ - { - "name": "session", - "type": "TYPE_STRING" - }, - { - "name": "query_params", - "type": ".google.cloud.dialogflow.cx.v3beta1.QueryParameters" - }, - { - "name": "query_input", - "type": ".google.cloud.dialogflow.cx.v3beta1.QueryInput" - }, - { - "name": "persist_parameter_changes", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.MatchIntentResponse", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient" - }, - "method": { - "shortName": "MatchIntent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent", - "service": { - "shortName": "Sessions", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Sessions_FulfillIntent_async", - "title": "Agents fulfillIntent Sample", - "origin": "API_DEFINITION", - "description": " Fulfills a matched intent returned by [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent]. Must be called after [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent], with input from [MatchIntentResponse][google.cloud.dialogflow.cx.v3beta1.MatchIntentResponse]. Otherwise, the behavior is undefined.", - "canonical": true, - "file": "sessions.fulfill_intent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "FulfillIntent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.FulfillIntent", - "async": true, - "parameters": [ - { - "name": "match_intent_request", - "type": ".google.cloud.dialogflow.cx.v3beta1.MatchIntentRequest" - }, - { - "name": "match", - "type": ".google.cloud.dialogflow.cx.v3beta1.Match" - }, - { - "name": "output_audio_config", - "type": ".google.cloud.dialogflow.cx.v3beta1.OutputAudioConfig" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.FulfillIntentResponse", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient" - }, - "method": { - "shortName": "FulfillIntent", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.FulfillIntent", - "service": { - "shortName": "Sessions", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Sessions_SubmitAnswerFeedback_async", - "title": "Agents submitAnswerFeedback Sample", - "origin": "API_DEFINITION", - "description": " Updates the feedback received from the user for a single turn of the bot response.", - "canonical": true, - "file": "sessions.submit_answer_feedback.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 69, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "SubmitAnswerFeedback", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.SubmitAnswerFeedback", - "async": true, - "parameters": [ - { - "name": "session", - "type": "TYPE_STRING" - }, - { - "name": "response_id", - "type": "TYPE_STRING" - }, - { - "name": "answer_feedback", - "type": ".google.cloud.dialogflow.cx.v3beta1.AnswerFeedback" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.AnswerFeedback", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient" - }, - "method": { - "shortName": "SubmitAnswerFeedback", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.SubmitAnswerFeedback", - "service": { - "shortName": "Sessions", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_TestCases_ListTestCases_async", - "title": "Agents listTestCases Sample", - "origin": "API_DEFINITION", - "description": " Fetches a list of test cases for a given agent.", - "canonical": true, - "file": "test_cases.list_test_cases.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 70, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListTestCases", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.ListTestCases", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "view", - "type": ".google.cloud.dialogflow.cx.v3beta1.ListTestCasesRequest.TestCaseView" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListTestCasesResponse", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient" - }, - "method": { - "shortName": "ListTestCases", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.ListTestCases", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_TestCases_BatchDeleteTestCases_async", - "title": "Agents batchDeleteTestCases Sample", - "origin": "API_DEFINITION", - "description": " Batch deletes test cases.", - "canonical": true, - "file": "test_cases.batch_delete_test_cases.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 60, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "BatchDeleteTestCases", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.BatchDeleteTestCases", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "names", - "type": "TYPE_STRING[]" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient" - }, - "method": { - "shortName": "BatchDeleteTestCases", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.BatchDeleteTestCases", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_TestCases_GetTestCase_async", - "title": "Agents getTestCase Sample", - "origin": "API_DEFINITION", - "description": " Gets a test case.", - "canonical": true, - "file": "test_cases.get_test_case.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetTestCase", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.GetTestCase", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.TestCase", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient" - }, - "method": { - "shortName": "GetTestCase", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.GetTestCase", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_TestCases_CreateTestCase_async", - "title": "Agents createTestCase Sample", - "origin": "API_DEFINITION", - "description": " Creates a test case for the given agent.", - "canonical": true, - "file": "test_cases.create_test_case.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateTestCase", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.CreateTestCase", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "test_case", - "type": ".google.cloud.dialogflow.cx.v3beta1.TestCase" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.TestCase", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient" - }, - "method": { - "shortName": "CreateTestCase", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.CreateTestCase", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_TestCases_UpdateTestCase_async", - "title": "Agents updateTestCase Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified test case.", - "canonical": true, - "file": "test_cases.update_test_case.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 62, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateTestCase", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.UpdateTestCase", - "async": true, - "parameters": [ - { - "name": "test_case", - "type": ".google.cloud.dialogflow.cx.v3beta1.TestCase" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.TestCase", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient" - }, - "method": { - "shortName": "UpdateTestCase", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.UpdateTestCase", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_TestCases_RunTestCase_async", - "title": "Agents runTestCase Sample", - "origin": "API_DEFINITION", - "description": " Kicks off a test case run. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [RunTestCaseMetadata][google.cloud.dialogflow.cx.v3beta1.RunTestCaseMetadata] - `response`: [RunTestCaseResponse][google.cloud.dialogflow.cx.v3beta1.RunTestCaseResponse]", - "canonical": true, - "file": "test_cases.run_test_case.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "RunTestCase", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.RunTestCase", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "environment", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient" - }, - "method": { - "shortName": "RunTestCase", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.RunTestCase", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_TestCases_BatchRunTestCases_async", - "title": "Agents batchRunTestCases Sample", - "origin": "API_DEFINITION", - "description": " Kicks off a batch run of test cases. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [BatchRunTestCasesMetadata][google.cloud.dialogflow.cx.v3beta1.BatchRunTestCasesMetadata] - `response`: [BatchRunTestCasesResponse][google.cloud.dialogflow.cx.v3beta1.BatchRunTestCasesResponse]", - "canonical": true, - "file": "test_cases.batch_run_test_cases.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 66, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "BatchRunTestCases", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.BatchRunTestCases", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "environment", - "type": "TYPE_STRING" - }, - { - "name": "test_cases", - "type": "TYPE_STRING[]" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient" - }, - "method": { - "shortName": "BatchRunTestCases", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.BatchRunTestCases", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_TestCases_CalculateCoverage_async", - "title": "Agents calculateCoverage Sample", - "origin": "API_DEFINITION", - "description": " Calculates the test coverage for an agent.", - "canonical": true, - "file": "test_cases.calculate_coverage.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CalculateCoverage", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.CalculateCoverage", - "async": true, - "parameters": [ - { - "name": "agent", - "type": "TYPE_STRING" - }, - { - "name": "type", - "type": ".google.cloud.dialogflow.cx.v3beta1.CalculateCoverageRequest.CoverageType" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.CalculateCoverageResponse", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient" - }, - "method": { - "shortName": "CalculateCoverage", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.CalculateCoverage", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_TestCases_ImportTestCases_async", - "title": "Agents importTestCases Sample", - "origin": "API_DEFINITION", - "description": " Imports the test cases from a Cloud Storage bucket or a local file. It always creates new test cases and won't overwrite any existing ones. The provided ID in the imported test case is neglected. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [ImportTestCasesMetadata][google.cloud.dialogflow.cx.v3beta1.ImportTestCasesMetadata] - `response`: [ImportTestCasesResponse][google.cloud.dialogflow.cx.v3beta1.ImportTestCasesResponse]", - "canonical": true, - "file": "test_cases.import_test_cases.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 70, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ImportTestCases", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.ImportTestCases", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "gcs_uri", - "type": "TYPE_STRING" - }, - { - "name": "content", - "type": "TYPE_BYTES" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient" - }, - "method": { - "shortName": "ImportTestCases", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.ImportTestCases", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_TestCases_ExportTestCases_async", - "title": "Agents exportTestCases Sample", - "origin": "API_DEFINITION", - "description": " Exports the test cases under the agent to a Cloud Storage bucket or a local file. Filter can be applied to export a subset of test cases. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [ExportTestCasesMetadata][google.cloud.dialogflow.cx.v3beta1.ExportTestCasesMetadata] - `response`: [ExportTestCasesResponse][google.cloud.dialogflow.cx.v3beta1.ExportTestCasesResponse]", - "canonical": true, - "file": "test_cases.export_test_cases.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 82, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ExportTestCases", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.ExportTestCases", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "gcs_uri", - "type": "TYPE_STRING" - }, - { - "name": "data_format", - "type": ".google.cloud.dialogflow.cx.v3beta1.ExportTestCasesRequest.DataFormat" - }, - { - "name": "filter", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient" - }, - "method": { - "shortName": "ExportTestCases", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.ExportTestCases", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_TestCases_ListTestCaseResults_async", - "title": "Agents listTestCaseResults Sample", - "origin": "API_DEFINITION", - "description": " Fetches the list of run results for the given test case. A maximum of 100 results are kept for each test case.", - "canonical": true, - "file": "test_cases.list_test_case_results.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 90, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListTestCaseResults", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.ListTestCaseResults", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListTestCaseResultsResponse", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient" - }, - "method": { - "shortName": "ListTestCaseResults", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.ListTestCaseResults", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_TestCases_GetTestCaseResult_async", - "title": "Agents getTestCaseResult Sample", - "origin": "API_DEFINITION", - "description": " Gets a test case result.", - "canonical": true, - "file": "test_cases.get_test_case_result.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetTestCaseResult", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.GetTestCaseResult", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.TestCaseResult", - "client": { - "shortName": "TestCasesClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient" - }, - "method": { - "shortName": "GetTestCaseResult", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.GetTestCaseResult", - "service": { - "shortName": "TestCases", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Tools_CreateTool_async", - "title": "Agents createTool Sample", - "origin": "API_DEFINITION", - "description": " Creates a [Tool][google.cloud.dialogflow.cx.v3beta1.Tool] in the specified agent.", - "canonical": true, - "file": "tools.create_tool.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateTool", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.CreateTool", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "tool", - "type": ".google.cloud.dialogflow.cx.v3beta1.Tool" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.Tool", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient" - }, - "method": { - "shortName": "CreateTool", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.CreateTool", - "service": { - "shortName": "Tools", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Tools_ListTools_async", - "title": "Agents listTools Sample", - "origin": "API_DEFINITION", - "description": " Returns a list of [Tools][google.cloud.dialogflow.cx.v3beta1.Tool] in the specified agent.", - "canonical": true, - "file": "tools.list_tools.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 65, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListTools", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.ListTools", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListToolsResponse", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient" - }, - "method": { - "shortName": "ListTools", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.ListTools", - "service": { - "shortName": "Tools", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Tools_ExportTools_async", - "title": "Agents exportTools Sample", - "origin": "API_DEFINITION", - "description": " Exports the selected tools.", - "canonical": true, - "file": "tools.export_tools.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 82, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ExportTools", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.ExportTools", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "tools", - "type": "TYPE_STRING[]" - }, - { - "name": "tools_uri", - "type": "TYPE_STRING" - }, - { - "name": "tools_content_inline", - "type": "TYPE_BOOL" - }, - { - "name": "data_format", - "type": ".google.cloud.dialogflow.cx.v3beta1.ExportToolsRequest.DataFormat" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient" - }, - "method": { - "shortName": "ExportTools", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.ExportTools", - "service": { - "shortName": "Tools", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Tools_GetTool_async", - "title": "Agents getTool Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified [Tool][google.cloud.dialogflow.cx.v3beta1.Tool].", - "canonical": true, - "file": "tools.get_tool.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetTool", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.GetTool", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.Tool", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient" - }, - "method": { - "shortName": "GetTool", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.GetTool", - "service": { - "shortName": "Tools", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Tools_UpdateTool_async", - "title": "Agents updateTool Sample", - "origin": "API_DEFINITION", - "description": " Update the specified [Tool][google.cloud.dialogflow.cx.v3beta1.Tool].", - "canonical": true, - "file": "tools.update_tool.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 58, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateTool", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.UpdateTool", - "async": true, - "parameters": [ - { - "name": "tool", - "type": ".google.cloud.dialogflow.cx.v3beta1.Tool" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.Tool", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient" - }, - "method": { - "shortName": "UpdateTool", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.UpdateTool", - "service": { - "shortName": "Tools", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Tools_DeleteTool_async", - "title": "Agents deleteTool Sample", - "origin": "API_DEFINITION", - "description": " Deletes a specified [Tool][google.cloud.dialogflow.cx.v3beta1.Tool].", - "canonical": true, - "file": "tools.delete_tool.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 64, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteTool", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.DeleteTool", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "force", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient" - }, - "method": { - "shortName": "DeleteTool", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.DeleteTool", - "service": { - "shortName": "Tools", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Tools_ListToolVersions_async", - "title": "Agents listToolVersions Sample", - "origin": "API_DEFINITION", - "description": " List versions of the specified [Tool][google.cloud.dialogflow.cx.v3beta1.Tool].", - "canonical": true, - "file": "tools.list_tool_versions.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 66, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListToolVersions", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.ListToolVersions", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListToolVersionsResponse", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient" - }, - "method": { - "shortName": "ListToolVersions", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.ListToolVersions", - "service": { - "shortName": "Tools", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Tools_CreateToolVersion_async", - "title": "Agents createToolVersion Sample", - "origin": "API_DEFINITION", - "description": " Creates a version for the specified [Tool][google.cloud.dialogflow.cx.v3beta1.Tool].", - "canonical": true, - "file": "tools.create_tool_version.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 60, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateToolVersion", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.CreateToolVersion", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "tool_version", - "type": ".google.cloud.dialogflow.cx.v3beta1.ToolVersion" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.ToolVersion", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient" - }, - "method": { - "shortName": "CreateToolVersion", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.CreateToolVersion", - "service": { - "shortName": "Tools", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Tools_GetToolVersion_async", - "title": "Agents getToolVersion Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified version of the [Tool][google.cloud.dialogflow.cx.v3beta1.Tool].", - "canonical": true, - "file": "tools.get_tool_version.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetToolVersion", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.GetToolVersion", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.ToolVersion", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient" - }, - "method": { - "shortName": "GetToolVersion", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.GetToolVersion", - "service": { - "shortName": "Tools", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Tools_DeleteToolVersion_async", - "title": "Agents deleteToolVersion Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified version of the [Tool][google.cloud.dialogflow.cx.v3beta1.Tool].", - "canonical": true, - "file": "tools.delete_tool_version.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 64, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteToolVersion", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.DeleteToolVersion", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "force", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient" - }, - "method": { - "shortName": "DeleteToolVersion", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.DeleteToolVersion", - "service": { - "shortName": "Tools", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Tools_RestoreToolVersion_async", - "title": "Agents restoreToolVersion Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified version of the Tool and stores it as the current tool draft, returning the tool with resources updated.", - "canonical": true, - "file": "tools.restore_tool_version.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "RestoreToolVersion", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.RestoreToolVersion", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.RestoreToolVersionResponse", - "client": { - "shortName": "ToolsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient" - }, - "method": { - "shortName": "RestoreToolVersion", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.RestoreToolVersion", - "service": { - "shortName": "Tools", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_ListTransitionRouteGroups_async", - "title": "Agents listTransitionRouteGroups Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all transition route groups in the specified flow.", - "canonical": true, - "file": "transition_route_groups.list_transition_route_groups.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 80, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListTransitionRouteGroups", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.ListTransitionRouteGroups", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListTransitionRouteGroupsResponse", - "client": { - "shortName": "TransitionRouteGroupsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient" - }, - "method": { - "shortName": "ListTransitionRouteGroups", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.ListTransitionRouteGroups", - "service": { - "shortName": "TransitionRouteGroups", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_GetTransitionRouteGroup_async", - "title": "Agents getTransitionRouteGroup Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified [TransitionRouteGroup][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup].", - "canonical": true, - "file": "transition_route_groups.get_transition_route_group.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 71, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetTransitionRouteGroup", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.GetTransitionRouteGroup", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup", - "client": { - "shortName": "TransitionRouteGroupsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient" - }, - "method": { - "shortName": "GetTransitionRouteGroup", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.GetTransitionRouteGroup", - "service": { - "shortName": "TransitionRouteGroups", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_CreateTransitionRouteGroup_async", - "title": "Agents createTransitionRouteGroup Sample", - "origin": "API_DEFINITION", - "description": " Creates an [TransitionRouteGroup][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] in the specified flow. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", - "canonical": true, - "file": "transition_route_groups.create_transition_route_group.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 75, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateTransitionRouteGroup", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.CreateTransitionRouteGroup", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "transition_route_group", - "type": ".google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup", - "client": { - "shortName": "TransitionRouteGroupsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient" - }, - "method": { - "shortName": "CreateTransitionRouteGroup", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.CreateTransitionRouteGroup", - "service": { - "shortName": "TransitionRouteGroups", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_UpdateTransitionRouteGroup_async", - "title": "Agents updateTransitionRouteGroup Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified [TransitionRouteGroup][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", - "canonical": true, - "file": "transition_route_groups.update_transition_route_group.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 69, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateTransitionRouteGroup", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.UpdateTransitionRouteGroup", - "async": true, - "parameters": [ - { - "name": "transition_route_group", - "type": ".google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup", - "client": { - "shortName": "TransitionRouteGroupsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient" - }, - "method": { - "shortName": "UpdateTransitionRouteGroup", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.UpdateTransitionRouteGroup", - "service": { - "shortName": "TransitionRouteGroups", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_DeleteTransitionRouteGroup_async", - "title": "Agents deleteTransitionRouteGroup Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified [TransitionRouteGroup][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", - "canonical": true, - "file": "transition_route_groups.delete_transition_route_group.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 67, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteTransitionRouteGroup", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.DeleteTransitionRouteGroup", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "force", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "TransitionRouteGroupsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient" - }, - "method": { - "shortName": "DeleteTransitionRouteGroup", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.DeleteTransitionRouteGroup", - "service": { - "shortName": "TransitionRouteGroups", - "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Versions_ListVersions_async", - "title": "Agents listVersions Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all versions in the specified [Flow][google.cloud.dialogflow.cx.v3beta1.Flow].", - "canonical": true, - "file": "versions.list_versions.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 66, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListVersions", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.ListVersions", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListVersionsResponse", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient" - }, - "method": { - "shortName": "ListVersions", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.ListVersions", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Versions_GetVersion_async", - "title": "Agents getVersion Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified [Version][google.cloud.dialogflow.cx.v3beta1.Version].", - "canonical": true, - "file": "versions.get_version.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetVersion", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.GetVersion", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.Version", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient" - }, - "method": { - "shortName": "GetVersion", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.GetVersion", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Versions_CreateVersion_async", - "title": "Agents createVersion Sample", - "origin": "API_DEFINITION", - "description": " Creates a [Version][google.cloud.dialogflow.cx.v3beta1.Version] in the specified [Flow][google.cloud.dialogflow.cx.v3beta1.Flow]. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [CreateVersionOperationMetadata][google.cloud.dialogflow.cx.v3beta1.CreateVersionOperationMetadata] - `response`: [Version][google.cloud.dialogflow.cx.v3beta1.Version]", - "canonical": true, - "file": "versions.create_version.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateVersion", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.CreateVersion", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "version", - "type": ".google.cloud.dialogflow.cx.v3beta1.Version" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient" - }, - "method": { - "shortName": "CreateVersion", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.CreateVersion", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Versions_UpdateVersion_async", - "title": "Agents updateVersion Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified [Version][google.cloud.dialogflow.cx.v3beta1.Version].", - "canonical": true, - "file": "versions.update_version.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateVersion", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.UpdateVersion", - "async": true, - "parameters": [ - { - "name": "version", - "type": ".google.cloud.dialogflow.cx.v3beta1.Version" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.Version", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient" - }, - "method": { - "shortName": "UpdateVersion", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.UpdateVersion", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Versions_DeleteVersion_async", - "title": "Agents deleteVersion Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified [Version][google.cloud.dialogflow.cx.v3beta1.Version].", - "canonical": true, - "file": "versions.delete_version.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteVersion", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.DeleteVersion", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient" - }, - "method": { - "shortName": "DeleteVersion", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.DeleteVersion", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Versions_LoadVersion_async", - "title": "Agents loadVersion Sample", - "origin": "API_DEFINITION", - "description": " Loads resources in the specified version to the draft flow. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)", - "canonical": true, - "file": "versions.load_version.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 63, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "LoadVersion", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.LoadVersion", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "allow_override_agent_resources", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient" - }, - "method": { - "shortName": "LoadVersion", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.LoadVersion", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Versions_CompareVersions_async", - "title": "Agents compareVersions Sample", - "origin": "API_DEFINITION", - "description": " Compares the specified base version with target version.", - "canonical": true, - "file": "versions.compare_versions.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 73, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CompareVersions", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.CompareVersions", - "async": true, - "parameters": [ - { - "name": "base_version", - "type": "TYPE_STRING" - }, - { - "name": "target_version", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.CompareVersionsResponse", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient" - }, - "method": { - "shortName": "CompareVersions", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.CompareVersions", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Webhooks_ListWebhooks_async", - "title": "Agents listWebhooks Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all webhooks in the specified agent.", - "canonical": true, - "file": "webhooks.list_webhooks.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 65, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListWebhooks", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.ListWebhooks", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListWebhooksResponse", - "client": { - "shortName": "WebhooksClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient" - }, - "method": { - "shortName": "ListWebhooks", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.ListWebhooks", - "service": { - "shortName": "Webhooks", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Webhooks_GetWebhook_async", - "title": "Agents getWebhook Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified webhook.", - "canonical": true, - "file": "webhooks.get_webhook.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetWebhook", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.GetWebhook", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.Webhook", - "client": { - "shortName": "WebhooksClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient" - }, - "method": { - "shortName": "GetWebhook", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.GetWebhook", - "service": { - "shortName": "Webhooks", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Webhooks_CreateWebhook_async", - "title": "Agents createWebhook Sample", - "origin": "API_DEFINITION", - "description": " Creates a webhook in the specified agent.", - "canonical": true, - "file": "webhooks.create_webhook.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateWebhook", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "webhook", - "type": ".google.cloud.dialogflow.cx.v3beta1.Webhook" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.Webhook", - "client": { - "shortName": "WebhooksClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient" - }, - "method": { - "shortName": "CreateWebhook", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook", - "service": { - "shortName": "Webhooks", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Webhooks_UpdateWebhook_async", - "title": "Agents updateWebhook Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified webhook.", - "canonical": true, - "file": "webhooks.update_webhook.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 58, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateWebhook", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook", - "async": true, - "parameters": [ - { - "name": "webhook", - "type": ".google.cloud.dialogflow.cx.v3beta1.Webhook" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.cx.v3beta1.Webhook", - "client": { - "shortName": "WebhooksClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient" - }, - "method": { - "shortName": "UpdateWebhook", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook", - "service": { - "shortName": "Webhooks", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks" - } - } - } - }, - { - "regionTag": "dialogflow_v3beta1_generated_Webhooks_DeleteWebhook_async", - "title": "Agents deleteWebhook Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified webhook.", - "canonical": true, - "file": "webhooks.delete_webhook.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 67, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteWebhook", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.DeleteWebhook", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "force", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "WebhooksClient", - "fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient" - }, - "method": { - "shortName": "DeleteWebhook", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.DeleteWebhook", - "service": { - "shortName": "Webhooks", - "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks" - } - } - } - } + "clientLibrary": { + "name": "nodejs-cx", + "version": "0.1.0", + "language": "TYPESCRIPT", + "apis": [ + { + "id": "google.cloud.dialogflow.cx.v3beta1", + "version": "v3beta1" + } ] -} \ No newline at end of file + }, + "snippets": [ + { + "regionTag": "dialogflow_v3beta1_generated_Agents_ListAgents_async", + "title": "Agents listAgents Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all agents in the specified location.", + "canonical": true, + "file": "agents.list_agents.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 65, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListAgents", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.ListAgents", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListAgentsResponse", + "client": { + "shortName": "AgentsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient" + }, + "method": { + "shortName": "ListAgents", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.ListAgents", + "service": { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Agents_GetAgent_async", + "title": "Agents getAgent Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified agent.", + "canonical": true, + "file": "agents.get_agent.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetAgent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.GetAgent", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.Agent", + "client": { + "shortName": "AgentsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient" + }, + "method": { + "shortName": "GetAgent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.GetAgent", + "service": { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Agents_CreateAgent_async", + "title": "Agents createAgent Sample", + "origin": "API_DEFINITION", + "description": " Creates an agent in the specified location. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", + "canonical": true, + "file": "agents.create_agent.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateAgent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.CreateAgent", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "agent", + "type": ".google.cloud.dialogflow.cx.v3beta1.Agent" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.Agent", + "client": { + "shortName": "AgentsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient" + }, + "method": { + "shortName": "CreateAgent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.CreateAgent", + "service": { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Agents_UpdateAgent_async", + "title": "Agents updateAgent Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified agent. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", + "canonical": true, + "file": "agents.update_agent.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 58, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateAgent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.UpdateAgent", + "async": true, + "parameters": [ + { + "name": "agent", + "type": ".google.cloud.dialogflow.cx.v3beta1.Agent" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.Agent", + "client": { + "shortName": "AgentsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient" + }, + "method": { + "shortName": "UpdateAgent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.UpdateAgent", + "service": { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Agents_DeleteAgent_async", + "title": "Agents deleteAgent Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified agent.", + "canonical": true, + "file": "agents.delete_agent.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteAgent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.DeleteAgent", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "AgentsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient" + }, + "method": { + "shortName": "DeleteAgent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.DeleteAgent", + "service": { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Agents_ExportAgent_async", + "title": "Agents exportAgent Sample", + "origin": "API_DEFINITION", + "description": " Exports the specified agent to a binary file. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [ExportAgentResponse][google.cloud.dialogflow.cx.v3beta1.ExportAgentResponse]", + "canonical": true, + "file": "agents.export_agent.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 86, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ExportAgent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.ExportAgent", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "agent_uri", + "type": "TYPE_STRING" + }, + { + "name": "data_format", + "type": ".google.cloud.dialogflow.cx.v3beta1.ExportAgentRequest.DataFormat" + }, + { + "name": "environment", + "type": "TYPE_STRING" + }, + { + "name": "git_destination", + "type": ".google.cloud.dialogflow.cx.v3beta1.ExportAgentRequest.GitDestination" + }, + { + "name": "include_bigquery_export_settings", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "AgentsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient" + }, + "method": { + "shortName": "ExportAgent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.ExportAgent", + "service": { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Agents_RestoreAgent_async", + "title": "Agents restoreAgent Sample", + "origin": "API_DEFINITION", + "description": " Restores the specified agent from a binary file. Replaces the current agent with a new one. Note that all existing resources in agent (e.g. intents, entity types, flows) will be removed. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](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 documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", + "canonical": true, + "file": "agents.restore_agent.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 78, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "RestoreAgent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.RestoreAgent", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "agent_uri", + "type": "TYPE_STRING" + }, + { + "name": "agent_content", + "type": "TYPE_BYTES" + }, + { + "name": "git_source", + "type": ".google.cloud.dialogflow.cx.v3beta1.RestoreAgentRequest.GitSource" + }, + { + "name": "restore_option", + "type": ".google.cloud.dialogflow.cx.v3beta1.RestoreAgentRequest.RestoreOption" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "AgentsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient" + }, + "method": { + "shortName": "RestoreAgent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.RestoreAgent", + "service": { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Agents_ValidateAgent_async", + "title": "Agents validateAgent Sample", + "origin": "API_DEFINITION", + "description": " Validates the specified agent and creates or updates validation results. The agent in draft version is validated. Please call this API after the training is completed to get the complete validation results.", + "canonical": true, + "file": "agents.validate_agent.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 58, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ValidateAgent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.ValidateAgent", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.AgentValidationResult", + "client": { + "shortName": "AgentsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient" + }, + "method": { + "shortName": "ValidateAgent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.ValidateAgent", + "service": { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Agents_GetAgentValidationResult_async", + "title": "Agents getAgentValidationResult Sample", + "origin": "API_DEFINITION", + "description": " Gets the latest agent validation result. Agent validation is performed when ValidateAgent is called.", + "canonical": true, + "file": "agents.get_agent_validation_result.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetAgentValidationResult", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.GetAgentValidationResult", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.AgentValidationResult", + "client": { + "shortName": "AgentsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient" + }, + "method": { + "shortName": "GetAgentValidationResult", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.GetAgentValidationResult", + "service": { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Agents_GetGenerativeSettings_async", + "title": "Agents getGenerativeSettings Sample", + "origin": "API_DEFINITION", + "description": " Gets the generative settings for the agent.", + "canonical": true, + "file": "agents.get_generative_settings.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetGenerativeSettings", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.GetGenerativeSettings", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.GenerativeSettings", + "client": { + "shortName": "AgentsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient" + }, + "method": { + "shortName": "GetGenerativeSettings", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.GetGenerativeSettings", + "service": { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Agents_UpdateGenerativeSettings_async", + "title": "Agents updateGenerativeSettings Sample", + "origin": "API_DEFINITION", + "description": " Updates the generative settings for the agent.", + "canonical": true, + "file": "agents.update_generative_settings.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 58, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateGenerativeSettings", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.UpdateGenerativeSettings", + "async": true, + "parameters": [ + { + "name": "generative_settings", + "type": ".google.cloud.dialogflow.cx.v3beta1.GenerativeSettings" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.GenerativeSettings", + "client": { + "shortName": "AgentsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.AgentsClient" + }, + "method": { + "shortName": "UpdateGenerativeSettings", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.UpdateGenerativeSettings", + "service": { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Changelogs_ListChangelogs_async", + "title": "Agents listChangelogs Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of Changelogs.", + "canonical": true, + "file": "changelogs.list_changelogs.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 88, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListChangelogs", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Changelogs.ListChangelogs", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListChangelogsResponse", + "client": { + "shortName": "ChangelogsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.ChangelogsClient" + }, + "method": { + "shortName": "ListChangelogs", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Changelogs.ListChangelogs", + "service": { + "shortName": "Changelogs", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Changelogs" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Changelogs_GetChangelog_async", + "title": "Agents getChangelog Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified Changelog.", + "canonical": true, + "file": "changelogs.get_changelog.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetChangelog", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Changelogs.GetChangelog", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.Changelog", + "client": { + "shortName": "ChangelogsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.ChangelogsClient" + }, + "method": { + "shortName": "GetChangelog", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Changelogs.GetChangelog", + "service": { + "shortName": "Changelogs", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Changelogs" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_ConversationHistory_ListConversations_async", + "title": "Agents listConversations Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all conversations.", + "canonical": true, + "file": "conversation_history.list_conversations.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 80, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListConversations", + "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistory.ListConversations", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListConversationsResponse", + "client": { + "shortName": "ConversationHistoryClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient" + }, + "method": { + "shortName": "ListConversations", + "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistory.ListConversations", + "service": { + "shortName": "ConversationHistory", + "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistory" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_ConversationHistory_GetConversation_async", + "title": "Agents getConversation Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified conversation.", + "canonical": true, + "file": "conversation_history.get_conversation.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetConversation", + "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistory.GetConversation", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.Conversation", + "client": { + "shortName": "ConversationHistoryClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient" + }, + "method": { + "shortName": "GetConversation", + "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistory.GetConversation", + "service": { + "shortName": "ConversationHistory", + "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistory" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_ConversationHistory_DeleteConversation_async", + "title": "Agents deleteConversation Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified conversation.", + "canonical": true, + "file": "conversation_history.delete_conversation.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteConversation", + "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistory.DeleteConversation", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "ConversationHistoryClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistoryClient" + }, + "method": { + "shortName": "DeleteConversation", + "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistory.DeleteConversation", + "service": { + "shortName": "ConversationHistory", + "fullName": "google.cloud.dialogflow.cx.v3beta1.ConversationHistory" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Deployments_ListDeployments_async", + "title": "Agents listDeployments Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all deployments in the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].", + "canonical": true, + "file": "deployments.list_deployments.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 66, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListDeployments", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Deployments.ListDeployments", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListDeploymentsResponse", + "client": { + "shortName": "DeploymentsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.DeploymentsClient" + }, + "method": { + "shortName": "ListDeployments", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Deployments.ListDeployments", + "service": { + "shortName": "Deployments", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Deployments" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Deployments_GetDeployment_async", + "title": "Agents getDeployment Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified [Deployment][google.cloud.dialogflow.cx.v3beta1.Deployment].", + "canonical": true, + "file": "deployments.get_deployment.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetDeployment", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Deployments.GetDeployment", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.Deployment", + "client": { + "shortName": "DeploymentsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.DeploymentsClient" + }, + "method": { + "shortName": "GetDeployment", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Deployments.GetDeployment", + "service": { + "shortName": "Deployments", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Deployments" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_EntityTypes_GetEntityType_async", + "title": "Agents getEntityType Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified entity type.", + "canonical": true, + "file": "entity_types.get_entity_type.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 68, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetEntityType", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.GetEntityType", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.EntityType", + "client": { + "shortName": "EntityTypesClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient" + }, + "method": { + "shortName": "GetEntityType", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.GetEntityType", + "service": { + "shortName": "EntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_EntityTypes_CreateEntityType_async", + "title": "Agents createEntityType Sample", + "origin": "API_DEFINITION", + "description": " Creates an entity type in the specified agent.", + "canonical": true, + "file": "entity_types.create_entity_type.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 71, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateEntityType", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.CreateEntityType", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "entity_type", + "type": ".google.cloud.dialogflow.cx.v3beta1.EntityType" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.EntityType", + "client": { + "shortName": "EntityTypesClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient" + }, + "method": { + "shortName": "CreateEntityType", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.CreateEntityType", + "service": { + "shortName": "EntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_EntityTypes_UpdateEntityType_async", + "title": "Agents updateEntityType Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified entity type. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", + "canonical": true, + "file": "entity_types.update_entity_type.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 69, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateEntityType", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType", + "async": true, + "parameters": [ + { + "name": "entity_type", + "type": ".google.cloud.dialogflow.cx.v3beta1.EntityType" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.EntityType", + "client": { + "shortName": "EntityTypesClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient" + }, + "method": { + "shortName": "UpdateEntityType", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.UpdateEntityType", + "service": { + "shortName": "EntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_EntityTypes_DeleteEntityType_async", + "title": "Agents deleteEntityType Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified entity type. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", + "canonical": true, + "file": "entity_types.delete_entity_type.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 69, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteEntityType", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.DeleteEntityType", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "force", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "EntityTypesClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient" + }, + "method": { + "shortName": "DeleteEntityType", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.DeleteEntityType", + "service": { + "shortName": "EntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_EntityTypes_ListEntityTypes_async", + "title": "Agents listEntityTypes Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all entity types in the specified agent.", + "canonical": true, + "file": "entity_types.list_entity_types.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 78, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListEntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.ListEntityTypes", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListEntityTypesResponse", + "client": { + "shortName": "EntityTypesClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient" + }, + "method": { + "shortName": "ListEntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.ListEntityTypes", + "service": { + "shortName": "EntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_EntityTypes_ExportEntityTypes_async", + "title": "Agents exportEntityTypes Sample", + "origin": "API_DEFINITION", + "description": " Exports the selected entity types.", + "canonical": true, + "file": "entity_types.export_entity_types.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 96, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ExportEntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.ExportEntityTypes", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "entity_types", + "type": "TYPE_STRING[]" + }, + { + "name": "entity_types_uri", + "type": "TYPE_STRING" + }, + { + "name": "entity_types_content_inline", + "type": "TYPE_BOOL" + }, + { + "name": "data_format", + "type": ".google.cloud.dialogflow.cx.v3beta1.ExportEntityTypesRequest.DataFormat" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EntityTypesClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient" + }, + "method": { + "shortName": "ExportEntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.ExportEntityTypes", + "service": { + "shortName": "EntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_EntityTypes_ImportEntityTypes_async", + "title": "Agents importEntityTypes Sample", + "origin": "API_DEFINITION", + "description": " Imports the specified entitytypes into the agent.", + "canonical": true, + "file": "entity_types.import_entity_types.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 86, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ImportEntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.ImportEntityTypes", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "entity_types_uri", + "type": "TYPE_STRING" + }, + { + "name": "entity_types_content", + "type": ".google.cloud.dialogflow.cx.v3beta1.InlineSource" + }, + { + "name": "merge_option", + "type": ".google.cloud.dialogflow.cx.v3beta1.ImportEntityTypesRequest.MergeOption" + }, + { + "name": "target_entity_type", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EntityTypesClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypesClient" + }, + "method": { + "shortName": "ImportEntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.ImportEntityTypes", + "service": { + "shortName": "EntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Environments_ListEnvironments_async", + "title": "Agents listEnvironments Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all environments in the specified [Agent][google.cloud.dialogflow.cx.v3beta1.Agent].", + "canonical": true, + "file": "environments.list_environments.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 66, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListEnvironments", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.ListEnvironments", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListEnvironmentsResponse", + "client": { + "shortName": "EnvironmentsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient" + }, + "method": { + "shortName": "ListEnvironments", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.ListEnvironments", + "service": { + "shortName": "Environments", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Environments_GetEnvironment_async", + "title": "Agents getEnvironment Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].", + "canonical": true, + "file": "environments.get_environment.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetEnvironment", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.GetEnvironment", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.Environment", + "client": { + "shortName": "EnvironmentsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient" + }, + "method": { + "shortName": "GetEnvironment", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.GetEnvironment", + "service": { + "shortName": "Environments", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Environments_CreateEnvironment_async", + "title": "Agents createEnvironment Sample", + "origin": "API_DEFINITION", + "description": " Creates an [Environment][google.cloud.dialogflow.cx.v3beta1.Environment] in the specified [Agent][google.cloud.dialogflow.cx.v3beta1.Agent]. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [Environment][google.cloud.dialogflow.cx.v3beta1.Environment]", + "canonical": true, + "file": "environments.create_environment.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateEnvironment", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.CreateEnvironment", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "environment", + "type": ".google.cloud.dialogflow.cx.v3beta1.Environment" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EnvironmentsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient" + }, + "method": { + "shortName": "CreateEnvironment", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.CreateEnvironment", + "service": { + "shortName": "Environments", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Environments_UpdateEnvironment_async", + "title": "Agents updateEnvironment Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment]. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [Environment][google.cloud.dialogflow.cx.v3beta1.Environment]", + "canonical": true, + "file": "environments.update_environment.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateEnvironment", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.UpdateEnvironment", + "async": true, + "parameters": [ + { + "name": "environment", + "type": ".google.cloud.dialogflow.cx.v3beta1.Environment" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EnvironmentsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient" + }, + "method": { + "shortName": "UpdateEnvironment", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.UpdateEnvironment", + "service": { + "shortName": "Environments", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Environments_DeleteEnvironment_async", + "title": "Agents deleteEnvironment Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].", + "canonical": true, + "file": "environments.delete_environment.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 56, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteEnvironment", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.DeleteEnvironment", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "EnvironmentsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient" + }, + "method": { + "shortName": "DeleteEnvironment", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.DeleteEnvironment", + "service": { + "shortName": "Environments", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Environments_LookupEnvironmentHistory_async", + "title": "Agents lookupEnvironmentHistory Sample", + "origin": "API_DEFINITION", + "description": " Looks up the history of the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].", + "canonical": true, + "file": "environments.lookup_environment_history.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 66, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "LookupEnvironmentHistory", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.LookupEnvironmentHistory", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.LookupEnvironmentHistoryResponse", + "client": { + "shortName": "EnvironmentsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient" + }, + "method": { + "shortName": "LookupEnvironmentHistory", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.LookupEnvironmentHistory", + "service": { + "shortName": "Environments", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Environments_RunContinuousTest_async", + "title": "Agents runContinuousTest Sample", + "origin": "API_DEFINITION", + "description": " Kicks off a continuous test under the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment]. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [RunContinuousTestMetadata][google.cloud.dialogflow.cx.v3beta1.RunContinuousTestMetadata] - `response`: [RunContinuousTestResponse][google.cloud.dialogflow.cx.v3beta1.RunContinuousTestResponse]", + "canonical": true, + "file": "environments.run_continuous_test.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "RunContinuousTest", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.RunContinuousTest", + "async": true, + "parameters": [ + { + "name": "environment", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EnvironmentsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient" + }, + "method": { + "shortName": "RunContinuousTest", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.RunContinuousTest", + "service": { + "shortName": "Environments", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Environments_ListContinuousTestResults_async", + "title": "Agents listContinuousTestResults Sample", + "origin": "API_DEFINITION", + "description": " Fetches a list of continuous test results for a given environment.", + "canonical": true, + "file": "environments.list_continuous_test_results.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 66, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListContinuousTestResults", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.ListContinuousTestResults", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListContinuousTestResultsResponse", + "client": { + "shortName": "EnvironmentsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient" + }, + "method": { + "shortName": "ListContinuousTestResults", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.ListContinuousTestResults", + "service": { + "shortName": "Environments", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Environments_DeployFlow_async", + "title": "Agents deployFlow Sample", + "origin": "API_DEFINITION", + "description": " Deploys a flow to the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment]. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [DeployFlowMetadata][google.cloud.dialogflow.cx.v3beta1.DeployFlowMetadata] - `response`: [DeployFlowResponse][google.cloud.dialogflow.cx.v3beta1.DeployFlowResponse]", + "canonical": true, + "file": "environments.deploy_flow.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 63, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeployFlow", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.DeployFlow", + "async": true, + "parameters": [ + { + "name": "environment", + "type": "TYPE_STRING" + }, + { + "name": "flow_version", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EnvironmentsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EnvironmentsClient" + }, + "method": { + "shortName": "DeployFlow", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments.DeployFlow", + "service": { + "shortName": "Environments", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Environments" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Examples_CreateExample_async", + "title": "Agents createExample Sample", + "origin": "API_DEFINITION", + "description": " Creates an example in the specified playbook.", + "canonical": true, + "file": "examples.create_example.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 60, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateExample", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples.CreateExample", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "example", + "type": ".google.cloud.dialogflow.cx.v3beta1.Example" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.Example", + "client": { + "shortName": "ExamplesClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient" + }, + "method": { + "shortName": "CreateExample", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples.CreateExample", + "service": { + "shortName": "Examples", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Examples_DeleteExample_async", + "title": "Agents deleteExample Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified example.", + "canonical": true, + "file": "examples.delete_example.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteExample", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples.DeleteExample", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "ExamplesClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient" + }, + "method": { + "shortName": "DeleteExample", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples.DeleteExample", + "service": { + "shortName": "Examples", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Examples_ListExamples_async", + "title": "Agents listExamples Sample", + "origin": "API_DEFINITION", + "description": " Returns a list of examples in the specified playbook.", + "canonical": true, + "file": "examples.list_examples.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 73, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListExamples", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples.ListExamples", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListExamplesResponse", + "client": { + "shortName": "ExamplesClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient" + }, + "method": { + "shortName": "ListExamples", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples.ListExamples", + "service": { + "shortName": "Examples", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Examples_GetExample_async", + "title": "Agents getExample Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified example.", + "canonical": true, + "file": "examples.get_example.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetExample", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples.GetExample", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.Example", + "client": { + "shortName": "ExamplesClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient" + }, + "method": { + "shortName": "GetExample", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples.GetExample", + "service": { + "shortName": "Examples", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Examples_UpdateExample_async", + "title": "Agents updateExample Sample", + "origin": "API_DEFINITION", + "description": " Update the specified example.", + "canonical": true, + "file": "examples.update_example.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 58, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateExample", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples.UpdateExample", + "async": true, + "parameters": [ + { + "name": "example", + "type": ".google.cloud.dialogflow.cx.v3beta1.Example" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.Example", + "client": { + "shortName": "ExamplesClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.ExamplesClient" + }, + "method": { + "shortName": "UpdateExample", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples.UpdateExample", + "service": { + "shortName": "Examples", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Experiments_ListExperiments_async", + "title": "Agents listExperiments Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all experiments in the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].", + "canonical": true, + "file": "experiments.list_experiments.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 66, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListExperiments", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.ListExperiments", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListExperimentsResponse", + "client": { + "shortName": "ExperimentsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient" + }, + "method": { + "shortName": "ListExperiments", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.ListExperiments", + "service": { + "shortName": "Experiments", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Experiments_GetExperiment_async", + "title": "Agents getExperiment Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified [Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment].", + "canonical": true, + "file": "experiments.get_experiment.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetExperiment", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.GetExperiment", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.Experiment", + "client": { + "shortName": "ExperimentsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient" + }, + "method": { + "shortName": "GetExperiment", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.GetExperiment", + "service": { + "shortName": "Experiments", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Experiments_CreateExperiment_async", + "title": "Agents createExperiment Sample", + "origin": "API_DEFINITION", + "description": " Creates an [Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment] in the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].", + "canonical": true, + "file": "experiments.create_experiment.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateExperiment", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.CreateExperiment", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "experiment", + "type": ".google.cloud.dialogflow.cx.v3beta1.Experiment" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.Experiment", + "client": { + "shortName": "ExperimentsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient" + }, + "method": { + "shortName": "CreateExperiment", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.CreateExperiment", + "service": { + "shortName": "Experiments", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Experiments_UpdateExperiment_async", + "title": "Agents updateExperiment Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified [Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment].", + "canonical": true, + "file": "experiments.update_experiment.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 58, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateExperiment", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.UpdateExperiment", + "async": true, + "parameters": [ + { + "name": "experiment", + "type": ".google.cloud.dialogflow.cx.v3beta1.Experiment" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.Experiment", + "client": { + "shortName": "ExperimentsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient" + }, + "method": { + "shortName": "UpdateExperiment", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.UpdateExperiment", + "service": { + "shortName": "Experiments", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Experiments_DeleteExperiment_async", + "title": "Agents deleteExperiment Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified [Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment].", + "canonical": true, + "file": "experiments.delete_experiment.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 56, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteExperiment", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.DeleteExperiment", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "ExperimentsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient" + }, + "method": { + "shortName": "DeleteExperiment", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.DeleteExperiment", + "service": { + "shortName": "Experiments", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Experiments_StartExperiment_async", + "title": "Agents startExperiment Sample", + "origin": "API_DEFINITION", + "description": " Starts the specified [Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment]. This rpc only changes the state of experiment from PENDING to RUNNING.", + "canonical": true, + "file": "experiments.start_experiment.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "StartExperiment", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.StartExperiment", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.Experiment", + "client": { + "shortName": "ExperimentsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient" + }, + "method": { + "shortName": "StartExperiment", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.StartExperiment", + "service": { + "shortName": "Experiments", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Experiments_StopExperiment_async", + "title": "Agents stopExperiment Sample", + "origin": "API_DEFINITION", + "description": " Stops the specified [Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment]. This rpc only changes the state of experiment from RUNNING to DONE.", + "canonical": true, + "file": "experiments.stop_experiment.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "StopExperiment", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.StopExperiment", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.Experiment", + "client": { + "shortName": "ExperimentsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.ExperimentsClient" + }, + "method": { + "shortName": "StopExperiment", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments.StopExperiment", + "service": { + "shortName": "Experiments", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Flows_CreateFlow_async", + "title": "Agents createFlow Sample", + "origin": "API_DEFINITION", + "description": " Creates a flow in the specified agent. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", + "canonical": true, + "file": "flows.create_flow.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 72, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateFlow", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.CreateFlow", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "flow", + "type": ".google.cloud.dialogflow.cx.v3beta1.Flow" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.Flow", + "client": { + "shortName": "FlowsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient" + }, + "method": { + "shortName": "CreateFlow", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.CreateFlow", + "service": { + "shortName": "Flows", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Flows_DeleteFlow_async", + "title": "Agents deleteFlow Sample", + "origin": "API_DEFINITION", + "description": " Deletes a specified flow.", + "canonical": true, + "file": "flows.delete_flow.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 67, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteFlow", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.DeleteFlow", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "force", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "FlowsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient" + }, + "method": { + "shortName": "DeleteFlow", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.DeleteFlow", + "service": { + "shortName": "Flows", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Flows_ListFlows_async", + "title": "Agents listFlows Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all flows in the specified agent.", + "canonical": true, + "file": "flows.list_flows.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 79, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListFlows", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.ListFlows", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListFlowsResponse", + "client": { + "shortName": "FlowsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient" + }, + "method": { + "shortName": "ListFlows", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.ListFlows", + "service": { + "shortName": "Flows", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Flows_GetFlow_async", + "title": "Agents getFlow Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified flow.", + "canonical": true, + "file": "flows.get_flow.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 69, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetFlow", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.GetFlow", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.Flow", + "client": { + "shortName": "FlowsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient" + }, + "method": { + "shortName": "GetFlow", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.GetFlow", + "service": { + "shortName": "Flows", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Flows_UpdateFlow_async", + "title": "Agents updateFlow Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified flow. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", + "canonical": true, + "file": "flows.update_flow.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 71, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateFlow", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.UpdateFlow", + "async": true, + "parameters": [ + { + "name": "flow", + "type": ".google.cloud.dialogflow.cx.v3beta1.Flow" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.Flow", + "client": { + "shortName": "FlowsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient" + }, + "method": { + "shortName": "UpdateFlow", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.UpdateFlow", + "service": { + "shortName": "Flows", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Flows_TrainFlow_async", + "title": "Agents trainFlow Sample", + "origin": "API_DEFINITION", + "description": " Trains the specified flow. Note that only the flow in 'draft' environment is trained. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](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 documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", + "canonical": true, + "file": "flows.train_flow.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 56, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "TrainFlow", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.TrainFlow", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "FlowsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient" + }, + "method": { + "shortName": "TrainFlow", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.TrainFlow", + "service": { + "shortName": "Flows", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Flows_ValidateFlow_async", + "title": "Agents validateFlow Sample", + "origin": "API_DEFINITION", + "description": " Validates the specified flow and creates or updates validation results. Please call this API after the training is completed to get the complete validation results.", + "canonical": true, + "file": "flows.validate_flow.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ValidateFlow", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.ValidateFlow", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.FlowValidationResult", + "client": { + "shortName": "FlowsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient" + }, + "method": { + "shortName": "ValidateFlow", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.ValidateFlow", + "service": { + "shortName": "Flows", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Flows_GetFlowValidationResult_async", + "title": "Agents getFlowValidationResult Sample", + "origin": "API_DEFINITION", + "description": " Gets the latest flow validation result. Flow validation is performed when ValidateFlow is called.", + "canonical": true, + "file": "flows.get_flow_validation_result.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetFlowValidationResult", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.GetFlowValidationResult", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.FlowValidationResult", + "client": { + "shortName": "FlowsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient" + }, + "method": { + "shortName": "GetFlowValidationResult", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.GetFlowValidationResult", + "service": { + "shortName": "Flows", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Flows_ImportFlow_async", + "title": "Agents importFlow Sample", + "origin": "API_DEFINITION", + "description": " Imports the specified flow to the specified agent from a binary file. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [ImportFlowResponse][google.cloud.dialogflow.cx.v3beta1.ImportFlowResponse] Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", + "canonical": true, + "file": "flows.import_flow.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 79, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ImportFlow", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.ImportFlow", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "flow_uri", + "type": "TYPE_STRING" + }, + { + "name": "flow_content", + "type": "TYPE_BYTES" + }, + { + "name": "import_option", + "type": ".google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest.ImportOption" + }, + { + "name": "flow_import_strategy", + "type": ".google.cloud.dialogflow.cx.v3beta1.FlowImportStrategy" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "FlowsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient" + }, + "method": { + "shortName": "ImportFlow", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.ImportFlow", + "service": { + "shortName": "Flows", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Flows_ExportFlow_async", + "title": "Agents exportFlow Sample", + "origin": "API_DEFINITION", + "description": " Exports the specified flow to a binary file. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [ExportFlowResponse][google.cloud.dialogflow.cx.v3beta1.ExportFlowResponse] Note that resources (e.g. intents, entities, webhooks) that the flow references will also be exported.", + "canonical": true, + "file": "flows.export_flow.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 72, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ExportFlow", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.ExportFlow", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "flow_uri", + "type": "TYPE_STRING" + }, + { + "name": "include_referenced_flows", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "FlowsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.FlowsClient" + }, + "method": { + "shortName": "ExportFlow", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows.ExportFlow", + "service": { + "shortName": "Flows", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Flows" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Generators_ListGenerators_async", + "title": "Agents listGenerators Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all generators in the specified agent.", + "canonical": true, + "file": "generators.list_generators.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 69, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListGenerators", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators.ListGenerators", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListGeneratorsResponse", + "client": { + "shortName": "GeneratorsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient" + }, + "method": { + "shortName": "ListGenerators", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators.ListGenerators", + "service": { + "shortName": "Generators", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Generators_GetGenerator_async", + "title": "Agents getGenerator Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified generator.", + "canonical": true, + "file": "generators.get_generator.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetGenerator", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators.GetGenerator", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.Generator", + "client": { + "shortName": "GeneratorsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient" + }, + "method": { + "shortName": "GetGenerator", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators.GetGenerator", + "service": { + "shortName": "Generators", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Generators_CreateGenerator_async", + "title": "Agents createGenerator Sample", + "origin": "API_DEFINITION", + "description": " Creates a generator in the specified agent.", + "canonical": true, + "file": "generators.create_generator.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 65, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateGenerator", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators.CreateGenerator", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "generator", + "type": ".google.cloud.dialogflow.cx.v3beta1.Generator" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.Generator", + "client": { + "shortName": "GeneratorsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient" + }, + "method": { + "shortName": "CreateGenerator", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators.CreateGenerator", + "service": { + "shortName": "Generators", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Generators_UpdateGenerator_async", + "title": "Agents updateGenerator Sample", + "origin": "API_DEFINITION", + "description": " Update the specified generator.", + "canonical": true, + "file": "generators.update_generator.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 62, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateGenerator", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators.UpdateGenerator", + "async": true, + "parameters": [ + { + "name": "generator", + "type": ".google.cloud.dialogflow.cx.v3beta1.Generator" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.Generator", + "client": { + "shortName": "GeneratorsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient" + }, + "method": { + "shortName": "UpdateGenerator", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators.UpdateGenerator", + "service": { + "shortName": "Generators", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Generators_DeleteGenerator_async", + "title": "Agents deleteGenerator Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified generators.", + "canonical": true, + "file": "generators.delete_generator.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 65, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteGenerator", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators.DeleteGenerator", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "force", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "GeneratorsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.GeneratorsClient" + }, + "method": { + "shortName": "DeleteGenerator", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators.DeleteGenerator", + "service": { + "shortName": "Generators", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Intents_ListIntents_async", + "title": "Agents listIntents Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all intents in the specified agent.", + "canonical": true, + "file": "intents.list_intents.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 80, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListIntents", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.ListIntents", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + }, + { + "name": "intent_view", + "type": ".google.cloud.dialogflow.cx.v3beta1.IntentView" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListIntentsResponse", + "client": { + "shortName": "IntentsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient" + }, + "method": { + "shortName": "ListIntents", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.ListIntents", + "service": { + "shortName": "Intents", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Intents_GetIntent_async", + "title": "Agents getIntent Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified intent.", + "canonical": true, + "file": "intents.get_intent.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 66, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetIntent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.GetIntent", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.Intent", + "client": { + "shortName": "IntentsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient" + }, + "method": { + "shortName": "GetIntent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.GetIntent", + "service": { + "shortName": "Intents", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Intents_CreateIntent_async", + "title": "Agents createIntent Sample", + "origin": "API_DEFINITION", + "description": " Creates an intent in the specified agent. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", + "canonical": true, + "file": "intents.create_intent.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 69, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateIntent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.CreateIntent", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "intent", + "type": ".google.cloud.dialogflow.cx.v3beta1.Intent" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.Intent", + "client": { + "shortName": "IntentsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient" + }, + "method": { + "shortName": "CreateIntent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.CreateIntent", + "service": { + "shortName": "Intents", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Intents_UpdateIntent_async", + "title": "Agents updateIntent Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified intent. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", + "canonical": true, + "file": "intents.update_intent.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 68, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateIntent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.UpdateIntent", + "async": true, + "parameters": [ + { + "name": "intent", + "type": ".google.cloud.dialogflow.cx.v3beta1.Intent" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.Intent", + "client": { + "shortName": "IntentsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient" + }, + "method": { + "shortName": "UpdateIntent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.UpdateIntent", + "service": { + "shortName": "Intents", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Intents_DeleteIntent_async", + "title": "Agents deleteIntent Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified intent. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", + "canonical": true, + "file": "intents.delete_intent.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteIntent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.DeleteIntent", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "IntentsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient" + }, + "method": { + "shortName": "DeleteIntent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.DeleteIntent", + "service": { + "shortName": "Intents", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Intents_ImportIntents_async", + "title": "Agents importIntents Sample", + "origin": "API_DEFINITION", + "description": " Imports the specified intents into the agent. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [ImportIntentsMetadata][google.cloud.dialogflow.cx.v3beta1.ImportIntentsMetadata] - `response`: [ImportIntentsResponse][google.cloud.dialogflow.cx.v3beta1.ImportIntentsResponse]", + "canonical": true, + "file": "intents.import_intents.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 74, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ImportIntents", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.ImportIntents", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "intents_uri", + "type": "TYPE_STRING" + }, + { + "name": "intents_content", + "type": ".google.cloud.dialogflow.cx.v3beta1.InlineSource" + }, + { + "name": "merge_option", + "type": ".google.cloud.dialogflow.cx.v3beta1.ImportIntentsRequest.MergeOption" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "IntentsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient" + }, + "method": { + "shortName": "ImportIntents", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.ImportIntents", + "service": { + "shortName": "Intents", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Intents_ExportIntents_async", + "title": "Agents exportIntents Sample", + "origin": "API_DEFINITION", + "description": " Exports the selected intents. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [ExportIntentsMetadata][google.cloud.dialogflow.cx.v3beta1.ExportIntentsMetadata] - `response`: [ExportIntentsResponse][google.cloud.dialogflow.cx.v3beta1.ExportIntentsResponse]", + "canonical": true, + "file": "intents.export_intents.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 83, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ExportIntents", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.ExportIntents", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "intents", + "type": "TYPE_STRING[]" + }, + { + "name": "intents_uri", + "type": "TYPE_STRING" + }, + { + "name": "intents_content_inline", + "type": "TYPE_BOOL" + }, + { + "name": "data_format", + "type": ".google.cloud.dialogflow.cx.v3beta1.ExportIntentsRequest.DataFormat" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "IntentsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.IntentsClient" + }, + "method": { + "shortName": "ExportIntents", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.ExportIntents", + "service": { + "shortName": "Intents", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Pages_ListPages_async", + "title": "Agents listPages Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all pages in the specified flow.", + "canonical": true, + "file": "pages.list_pages.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 88, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListPages", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.ListPages", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListPagesResponse", + "client": { + "shortName": "PagesClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient" + }, + "method": { + "shortName": "ListPages", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.ListPages", + "service": { + "shortName": "Pages", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Pages_GetPage_async", + "title": "Agents getPage Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified page.", + "canonical": true, + "file": "pages.get_page.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 77, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetPage", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.GetPage", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.Page", + "client": { + "shortName": "PagesClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient" + }, + "method": { + "shortName": "GetPage", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.GetPage", + "service": { + "shortName": "Pages", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Pages_CreatePage_async", + "title": "Agents createPage Sample", + "origin": "API_DEFINITION", + "description": " Creates a page in the specified flow.", + "canonical": true, + "file": "pages.create_page.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 81, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreatePage", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page", + "type": ".google.cloud.dialogflow.cx.v3beta1.Page" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.Page", + "client": { + "shortName": "PagesClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient" + }, + "method": { + "shortName": "CreatePage", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage", + "service": { + "shortName": "Pages", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Pages_UpdatePage_async", + "title": "Agents updatePage Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified page.", + "canonical": true, + "file": "pages.update_page.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 79, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdatePage", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage", + "async": true, + "parameters": [ + { + "name": "page", + "type": ".google.cloud.dialogflow.cx.v3beta1.Page" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.Page", + "client": { + "shortName": "PagesClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient" + }, + "method": { + "shortName": "UpdatePage", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePage", + "service": { + "shortName": "Pages", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Pages_DeletePage_async", + "title": "Agents deletePage Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified page.", + "canonical": true, + "file": "pages.delete_page.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 67, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeletePage", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.DeletePage", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "force", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "PagesClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.PagesClient" + }, + "method": { + "shortName": "DeletePage", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages.DeletePage", + "service": { + "shortName": "Pages", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Pages" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Playbooks_CreatePlaybook_async", + "title": "Agents createPlaybook Sample", + "origin": "API_DEFINITION", + "description": " Creates a playbook in a specified agent.", + "canonical": true, + "file": "playbooks.create_playbook.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreatePlaybook", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.CreatePlaybook", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "playbook", + "type": ".google.cloud.dialogflow.cx.v3beta1.Playbook" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.Playbook", + "client": { + "shortName": "PlaybooksClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient" + }, + "method": { + "shortName": "CreatePlaybook", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.CreatePlaybook", + "service": { + "shortName": "Playbooks", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Playbooks_DeletePlaybook_async", + "title": "Agents deletePlaybook Sample", + "origin": "API_DEFINITION", + "description": " Deletes a specified playbook.", + "canonical": true, + "file": "playbooks.delete_playbook.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeletePlaybook", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.DeletePlaybook", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "PlaybooksClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient" + }, + "method": { + "shortName": "DeletePlaybook", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.DeletePlaybook", + "service": { + "shortName": "Playbooks", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Playbooks_ListPlaybooks_async", + "title": "Agents listPlaybooks Sample", + "origin": "API_DEFINITION", + "description": " Returns a list of playbooks in the specified agent.", + "canonical": true, + "file": "playbooks.list_playbooks.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 65, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListPlaybooks", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.ListPlaybooks", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListPlaybooksResponse", + "client": { + "shortName": "PlaybooksClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient" + }, + "method": { + "shortName": "ListPlaybooks", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.ListPlaybooks", + "service": { + "shortName": "Playbooks", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Playbooks_GetPlaybook_async", + "title": "Agents getPlaybook Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified Playbook.", + "canonical": true, + "file": "playbooks.get_playbook.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetPlaybook", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.GetPlaybook", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.Playbook", + "client": { + "shortName": "PlaybooksClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient" + }, + "method": { + "shortName": "GetPlaybook", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.GetPlaybook", + "service": { + "shortName": "Playbooks", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Playbooks_UpdatePlaybook_async", + "title": "Agents updatePlaybook Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified Playbook.", + "canonical": true, + "file": "playbooks.update_playbook.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 58, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdatePlaybook", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.UpdatePlaybook", + "async": true, + "parameters": [ + { + "name": "playbook", + "type": ".google.cloud.dialogflow.cx.v3beta1.Playbook" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.Playbook", + "client": { + "shortName": "PlaybooksClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient" + }, + "method": { + "shortName": "UpdatePlaybook", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.UpdatePlaybook", + "service": { + "shortName": "Playbooks", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Playbooks_CreatePlaybookVersion_async", + "title": "Agents createPlaybookVersion Sample", + "origin": "API_DEFINITION", + "description": " Creates a version for the specified Playbook.", + "canonical": true, + "file": "playbooks.create_playbook_version.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 60, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreatePlaybookVersion", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.CreatePlaybookVersion", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "playbook_version", + "type": ".google.cloud.dialogflow.cx.v3beta1.PlaybookVersion" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.PlaybookVersion", + "client": { + "shortName": "PlaybooksClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient" + }, + "method": { + "shortName": "CreatePlaybookVersion", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.CreatePlaybookVersion", + "service": { + "shortName": "Playbooks", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Playbooks_GetPlaybookVersion_async", + "title": "Agents getPlaybookVersion Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified version of the Playbook.", + "canonical": true, + "file": "playbooks.get_playbook_version.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetPlaybookVersion", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.GetPlaybookVersion", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.PlaybookVersion", + "client": { + "shortName": "PlaybooksClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient" + }, + "method": { + "shortName": "GetPlaybookVersion", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.GetPlaybookVersion", + "service": { + "shortName": "Playbooks", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Playbooks_ListPlaybookVersions_async", + "title": "Agents listPlaybookVersions Sample", + "origin": "API_DEFINITION", + "description": " Lists versions for the specified Playbook.", + "canonical": true, + "file": "playbooks.list_playbook_versions.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 66, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListPlaybookVersions", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.ListPlaybookVersions", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListPlaybookVersionsResponse", + "client": { + "shortName": "PlaybooksClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient" + }, + "method": { + "shortName": "ListPlaybookVersions", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.ListPlaybookVersions", + "service": { + "shortName": "Playbooks", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Playbooks_DeletePlaybookVersion_async", + "title": "Agents deletePlaybookVersion Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified version of the Playbook.", + "canonical": true, + "file": "playbooks.delete_playbook_version.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeletePlaybookVersion", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.DeletePlaybookVersion", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "PlaybooksClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.PlaybooksClient" + }, + "method": { + "shortName": "DeletePlaybookVersion", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.DeletePlaybookVersion", + "service": { + "shortName": "Playbooks", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_SecuritySettingsService_CreateSecuritySettings_async", + "title": "Agents createSecuritySettings Sample", + "origin": "API_DEFINITION", + "description": " Create security settings in the specified location.", + "canonical": true, + "file": "security_settings_service.create_security_settings.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 60, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateSecuritySettings", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.CreateSecuritySettings", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "security_settings", + "type": ".google.cloud.dialogflow.cx.v3beta1.SecuritySettings" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.SecuritySettings", + "client": { + "shortName": "SecuritySettingsServiceClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsServiceClient" + }, + "method": { + "shortName": "CreateSecuritySettings", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.CreateSecuritySettings", + "service": { + "shortName": "SecuritySettingsService", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_SecuritySettingsService_GetSecuritySettings_async", + "title": "Agents getSecuritySettings Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified [SecuritySettings][google.cloud.dialogflow.cx.v3beta1.SecuritySettings]. The returned settings may be stale by up to 1 minute.", + "canonical": true, + "file": "security_settings_service.get_security_settings.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetSecuritySettings", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.GetSecuritySettings", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.SecuritySettings", + "client": { + "shortName": "SecuritySettingsServiceClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsServiceClient" + }, + "method": { + "shortName": "GetSecuritySettings", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.GetSecuritySettings", + "service": { + "shortName": "SecuritySettingsService", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_SecuritySettingsService_UpdateSecuritySettings_async", + "title": "Agents updateSecuritySettings Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified [SecuritySettings][google.cloud.dialogflow.cx.v3beta1.SecuritySettings].", + "canonical": true, + "file": "security_settings_service.update_security_settings.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 60, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateSecuritySettings", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.UpdateSecuritySettings", + "async": true, + "parameters": [ + { + "name": "security_settings", + "type": ".google.cloud.dialogflow.cx.v3beta1.SecuritySettings" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.SecuritySettings", + "client": { + "shortName": "SecuritySettingsServiceClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsServiceClient" + }, + "method": { + "shortName": "UpdateSecuritySettings", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.UpdateSecuritySettings", + "service": { + "shortName": "SecuritySettingsService", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_SecuritySettingsService_ListSecuritySettings_async", + "title": "Agents listSecuritySettings Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all security settings in the specified location.", + "canonical": true, + "file": "security_settings_service.list_security_settings.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 65, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListSecuritySettings", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.ListSecuritySettings", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListSecuritySettingsResponse", + "client": { + "shortName": "SecuritySettingsServiceClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsServiceClient" + }, + "method": { + "shortName": "ListSecuritySettings", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.ListSecuritySettings", + "service": { + "shortName": "SecuritySettingsService", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_SecuritySettingsService_DeleteSecuritySettings_async", + "title": "Agents deleteSecuritySettings Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified [SecuritySettings][google.cloud.dialogflow.cx.v3beta1.SecuritySettings].", + "canonical": true, + "file": "security_settings_service.delete_security_settings.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 56, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteSecuritySettings", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.DeleteSecuritySettings", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "SecuritySettingsServiceClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsServiceClient" + }, + "method": { + "shortName": "DeleteSecuritySettings", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.DeleteSecuritySettings", + "service": { + "shortName": "SecuritySettingsService", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_SessionEntityTypes_ListSessionEntityTypes_async", + "title": "Agents listSessionEntityTypes Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all session entity types in the specified session.", + "canonical": true, + "file": "session_entity_types.list_session_entity_types.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 70, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListSessionEntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.ListSessionEntityTypes", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListSessionEntityTypesResponse", + "client": { + "shortName": "SessionEntityTypesClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient" + }, + "method": { + "shortName": "ListSessionEntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.ListSessionEntityTypes", + "service": { + "shortName": "SessionEntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_SessionEntityTypes_GetSessionEntityType_async", + "title": "Agents getSessionEntityType Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified session entity type.", + "canonical": true, + "file": "session_entity_types.get_session_entity_type.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetSessionEntityType", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.GetSessionEntityType", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.SessionEntityType", + "client": { + "shortName": "SessionEntityTypesClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient" + }, + "method": { + "shortName": "GetSessionEntityType", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.GetSessionEntityType", + "service": { + "shortName": "SessionEntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_SessionEntityTypes_CreateSessionEntityType_async", + "title": "Agents createSessionEntityType Sample", + "origin": "API_DEFINITION", + "description": " Creates a session entity type.", + "canonical": true, + "file": "session_entity_types.create_session_entity_type.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 64, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateSessionEntityType", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.CreateSessionEntityType", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "session_entity_type", + "type": ".google.cloud.dialogflow.cx.v3beta1.SessionEntityType" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.SessionEntityType", + "client": { + "shortName": "SessionEntityTypesClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient" + }, + "method": { + "shortName": "CreateSessionEntityType", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.CreateSessionEntityType", + "service": { + "shortName": "SessionEntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_SessionEntityTypes_UpdateSessionEntityType_async", + "title": "Agents updateSessionEntityType Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified session entity type.", + "canonical": true, + "file": "session_entity_types.update_session_entity_type.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 63, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateSessionEntityType", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.UpdateSessionEntityType", + "async": true, + "parameters": [ + { + "name": "session_entity_type", + "type": ".google.cloud.dialogflow.cx.v3beta1.SessionEntityType" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.SessionEntityType", + "client": { + "shortName": "SessionEntityTypesClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient" + }, + "method": { + "shortName": "UpdateSessionEntityType", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.UpdateSessionEntityType", + "service": { + "shortName": "SessionEntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_SessionEntityTypes_DeleteSessionEntityType_async", + "title": "Agents deleteSessionEntityType Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified session entity type.", + "canonical": true, + "file": "session_entity_types.delete_session_entity_type.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteSessionEntityType", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.DeleteSessionEntityType", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "SessionEntityTypesClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClient" + }, + "method": { + "shortName": "DeleteSessionEntityType", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.DeleteSessionEntityType", + "service": { + "shortName": "SessionEntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Sessions_DetectIntent_async", + "title": "Agents detectIntent Sample", + "origin": "API_DEFINITION", + "description": " Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause session entity types to be updated, which in turn might affect results of future queries. Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).", + "canonical": true, + "file": "sessions.detect_intent.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 80, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DetectIntent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.DetectIntent", + "async": true, + "parameters": [ + { + "name": "session", + "type": "TYPE_STRING" + }, + { + "name": "query_params", + "type": ".google.cloud.dialogflow.cx.v3beta1.QueryParameters" + }, + { + "name": "query_input", + "type": ".google.cloud.dialogflow.cx.v3beta1.QueryInput" + }, + { + "name": "output_audio_config", + "type": ".google.cloud.dialogflow.cx.v3beta1.OutputAudioConfig" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse", + "client": { + "shortName": "SessionsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient" + }, + "method": { + "shortName": "DetectIntent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.DetectIntent", + "service": { + "shortName": "Sessions", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Sessions_ServerStreamingDetectIntent_async", + "title": "Agents serverStreamingDetectIntent Sample", + "origin": "API_DEFINITION", + "description": " Processes a natural language query and returns structured, actionable data as a result through server-side streaming. Server-side streaming allows Dialogflow to send [partial responses](https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#partial-response) earlier in a single request.", + "canonical": true, + "file": "sessions.server_streaming_detect_intent.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 82, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ServerStreamingDetectIntent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.ServerStreamingDetectIntent", + "async": true, + "parameters": [ + { + "name": "session", + "type": "TYPE_STRING" + }, + { + "name": "query_params", + "type": ".google.cloud.dialogflow.cx.v3beta1.QueryParameters" + }, + { + "name": "query_input", + "type": ".google.cloud.dialogflow.cx.v3beta1.QueryInput" + }, + { + "name": "output_audio_config", + "type": ".google.cloud.dialogflow.cx.v3beta1.OutputAudioConfig" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.DetectIntentResponse", + "client": { + "shortName": "SessionsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient" + }, + "method": { + "shortName": "ServerStreamingDetectIntent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.ServerStreamingDetectIntent", + "service": { + "shortName": "Sessions", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Sessions_StreamingDetectIntent_async", + "title": "Agents streamingDetectIntent Sample", + "origin": "API_DEFINITION", + "description": " Processes a natural language query in audio format in a streaming fashion and returns structured, actionable data as a result. This method is only available via the gRPC API (not REST). Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).", + "canonical": true, + "file": "sessions.streaming_detect_intent.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 95, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "StreamingDetectIntent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.StreamingDetectIntent", + "async": true, + "parameters": [ + { + "name": "session", + "type": "TYPE_STRING" + }, + { + "name": "query_params", + "type": ".google.cloud.dialogflow.cx.v3beta1.QueryParameters" + }, + { + "name": "query_input", + "type": ".google.cloud.dialogflow.cx.v3beta1.QueryInput" + }, + { + "name": "output_audio_config", + "type": ".google.cloud.dialogflow.cx.v3beta1.OutputAudioConfig" + }, + { + "name": "enable_partial_response", + "type": "TYPE_BOOL" + }, + { + "name": "enable_debugging_info", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.StreamingDetectIntentResponse", + "client": { + "shortName": "SessionsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient" + }, + "method": { + "shortName": "StreamingDetectIntent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.StreamingDetectIntent", + "service": { + "shortName": "Sessions", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Sessions_MatchIntent_async", + "title": "Agents matchIntent Sample", + "origin": "API_DEFINITION", + "description": " Returns preliminary intent match results, doesn't change the session status.", + "canonical": true, + "file": "sessions.match_intent.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 77, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "MatchIntent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent", + "async": true, + "parameters": [ + { + "name": "session", + "type": "TYPE_STRING" + }, + { + "name": "query_params", + "type": ".google.cloud.dialogflow.cx.v3beta1.QueryParameters" + }, + { + "name": "query_input", + "type": ".google.cloud.dialogflow.cx.v3beta1.QueryInput" + }, + { + "name": "persist_parameter_changes", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.MatchIntentResponse", + "client": { + "shortName": "SessionsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient" + }, + "method": { + "shortName": "MatchIntent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent", + "service": { + "shortName": "Sessions", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Sessions_FulfillIntent_async", + "title": "Agents fulfillIntent Sample", + "origin": "API_DEFINITION", + "description": " Fulfills a matched intent returned by [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent]. Must be called after [MatchIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent], with input from [MatchIntentResponse][google.cloud.dialogflow.cx.v3beta1.MatchIntentResponse]. Otherwise, the behavior is undefined.", + "canonical": true, + "file": "sessions.fulfill_intent.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "FulfillIntent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.FulfillIntent", + "async": true, + "parameters": [ + { + "name": "match_intent_request", + "type": ".google.cloud.dialogflow.cx.v3beta1.MatchIntentRequest" + }, + { + "name": "match", + "type": ".google.cloud.dialogflow.cx.v3beta1.Match" + }, + { + "name": "output_audio_config", + "type": ".google.cloud.dialogflow.cx.v3beta1.OutputAudioConfig" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.FulfillIntentResponse", + "client": { + "shortName": "SessionsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient" + }, + "method": { + "shortName": "FulfillIntent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.FulfillIntent", + "service": { + "shortName": "Sessions", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Sessions_SubmitAnswerFeedback_async", + "title": "Agents submitAnswerFeedback Sample", + "origin": "API_DEFINITION", + "description": " Updates the feedback received from the user for a single turn of the bot response.", + "canonical": true, + "file": "sessions.submit_answer_feedback.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 69, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "SubmitAnswerFeedback", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.SubmitAnswerFeedback", + "async": true, + "parameters": [ + { + "name": "session", + "type": "TYPE_STRING" + }, + { + "name": "response_id", + "type": "TYPE_STRING" + }, + { + "name": "answer_feedback", + "type": ".google.cloud.dialogflow.cx.v3beta1.AnswerFeedback" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.AnswerFeedback", + "client": { + "shortName": "SessionsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.SessionsClient" + }, + "method": { + "shortName": "SubmitAnswerFeedback", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.SubmitAnswerFeedback", + "service": { + "shortName": "Sessions", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_TestCases_ListTestCases_async", + "title": "Agents listTestCases Sample", + "origin": "API_DEFINITION", + "description": " Fetches a list of test cases for a given agent.", + "canonical": true, + "file": "test_cases.list_test_cases.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 70, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListTestCases", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.ListTestCases", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "view", + "type": ".google.cloud.dialogflow.cx.v3beta1.ListTestCasesRequest.TestCaseView" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListTestCasesResponse", + "client": { + "shortName": "TestCasesClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient" + }, + "method": { + "shortName": "ListTestCases", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.ListTestCases", + "service": { + "shortName": "TestCases", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_TestCases_BatchDeleteTestCases_async", + "title": "Agents batchDeleteTestCases Sample", + "origin": "API_DEFINITION", + "description": " Batch deletes test cases.", + "canonical": true, + "file": "test_cases.batch_delete_test_cases.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 60, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "BatchDeleteTestCases", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.BatchDeleteTestCases", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "names", + "type": "TYPE_STRING[]" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "TestCasesClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient" + }, + "method": { + "shortName": "BatchDeleteTestCases", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.BatchDeleteTestCases", + "service": { + "shortName": "TestCases", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_TestCases_GetTestCase_async", + "title": "Agents getTestCase Sample", + "origin": "API_DEFINITION", + "description": " Gets a test case.", + "canonical": true, + "file": "test_cases.get_test_case.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetTestCase", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.GetTestCase", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.TestCase", + "client": { + "shortName": "TestCasesClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient" + }, + "method": { + "shortName": "GetTestCase", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.GetTestCase", + "service": { + "shortName": "TestCases", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_TestCases_CreateTestCase_async", + "title": "Agents createTestCase Sample", + "origin": "API_DEFINITION", + "description": " Creates a test case for the given agent.", + "canonical": true, + "file": "test_cases.create_test_case.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateTestCase", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.CreateTestCase", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "test_case", + "type": ".google.cloud.dialogflow.cx.v3beta1.TestCase" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.TestCase", + "client": { + "shortName": "TestCasesClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient" + }, + "method": { + "shortName": "CreateTestCase", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.CreateTestCase", + "service": { + "shortName": "TestCases", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_TestCases_UpdateTestCase_async", + "title": "Agents updateTestCase Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified test case.", + "canonical": true, + "file": "test_cases.update_test_case.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 62, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateTestCase", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.UpdateTestCase", + "async": true, + "parameters": [ + { + "name": "test_case", + "type": ".google.cloud.dialogflow.cx.v3beta1.TestCase" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.TestCase", + "client": { + "shortName": "TestCasesClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient" + }, + "method": { + "shortName": "UpdateTestCase", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.UpdateTestCase", + "service": { + "shortName": "TestCases", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_TestCases_RunTestCase_async", + "title": "Agents runTestCase Sample", + "origin": "API_DEFINITION", + "description": " Kicks off a test case run. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [RunTestCaseMetadata][google.cloud.dialogflow.cx.v3beta1.RunTestCaseMetadata] - `response`: [RunTestCaseResponse][google.cloud.dialogflow.cx.v3beta1.RunTestCaseResponse]", + "canonical": true, + "file": "test_cases.run_test_case.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "RunTestCase", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.RunTestCase", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "environment", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "TestCasesClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient" + }, + "method": { + "shortName": "RunTestCase", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.RunTestCase", + "service": { + "shortName": "TestCases", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_TestCases_BatchRunTestCases_async", + "title": "Agents batchRunTestCases Sample", + "origin": "API_DEFINITION", + "description": " Kicks off a batch run of test cases. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [BatchRunTestCasesMetadata][google.cloud.dialogflow.cx.v3beta1.BatchRunTestCasesMetadata] - `response`: [BatchRunTestCasesResponse][google.cloud.dialogflow.cx.v3beta1.BatchRunTestCasesResponse]", + "canonical": true, + "file": "test_cases.batch_run_test_cases.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 66, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "BatchRunTestCases", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.BatchRunTestCases", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "environment", + "type": "TYPE_STRING" + }, + { + "name": "test_cases", + "type": "TYPE_STRING[]" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "TestCasesClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient" + }, + "method": { + "shortName": "BatchRunTestCases", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.BatchRunTestCases", + "service": { + "shortName": "TestCases", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_TestCases_CalculateCoverage_async", + "title": "Agents calculateCoverage Sample", + "origin": "API_DEFINITION", + "description": " Calculates the test coverage for an agent.", + "canonical": true, + "file": "test_cases.calculate_coverage.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CalculateCoverage", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.CalculateCoverage", + "async": true, + "parameters": [ + { + "name": "agent", + "type": "TYPE_STRING" + }, + { + "name": "type", + "type": ".google.cloud.dialogflow.cx.v3beta1.CalculateCoverageRequest.CoverageType" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.CalculateCoverageResponse", + "client": { + "shortName": "TestCasesClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient" + }, + "method": { + "shortName": "CalculateCoverage", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.CalculateCoverage", + "service": { + "shortName": "TestCases", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_TestCases_ImportTestCases_async", + "title": "Agents importTestCases Sample", + "origin": "API_DEFINITION", + "description": " Imports the test cases from a Cloud Storage bucket or a local file. It always creates new test cases and won't overwrite any existing ones. The provided ID in the imported test case is neglected. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [ImportTestCasesMetadata][google.cloud.dialogflow.cx.v3beta1.ImportTestCasesMetadata] - `response`: [ImportTestCasesResponse][google.cloud.dialogflow.cx.v3beta1.ImportTestCasesResponse]", + "canonical": true, + "file": "test_cases.import_test_cases.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 70, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ImportTestCases", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.ImportTestCases", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "gcs_uri", + "type": "TYPE_STRING" + }, + { + "name": "content", + "type": "TYPE_BYTES" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "TestCasesClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient" + }, + "method": { + "shortName": "ImportTestCases", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.ImportTestCases", + "service": { + "shortName": "TestCases", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_TestCases_ExportTestCases_async", + "title": "Agents exportTestCases Sample", + "origin": "API_DEFINITION", + "description": " Exports the test cases under the agent to a Cloud Storage bucket or a local file. Filter can be applied to export a subset of test cases. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [ExportTestCasesMetadata][google.cloud.dialogflow.cx.v3beta1.ExportTestCasesMetadata] - `response`: [ExportTestCasesResponse][google.cloud.dialogflow.cx.v3beta1.ExportTestCasesResponse]", + "canonical": true, + "file": "test_cases.export_test_cases.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 82, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ExportTestCases", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.ExportTestCases", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "gcs_uri", + "type": "TYPE_STRING" + }, + { + "name": "data_format", + "type": ".google.cloud.dialogflow.cx.v3beta1.ExportTestCasesRequest.DataFormat" + }, + { + "name": "filter", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "TestCasesClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient" + }, + "method": { + "shortName": "ExportTestCases", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.ExportTestCases", + "service": { + "shortName": "TestCases", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_TestCases_ListTestCaseResults_async", + "title": "Agents listTestCaseResults Sample", + "origin": "API_DEFINITION", + "description": " Fetches the list of run results for the given test case. A maximum of 100 results are kept for each test case.", + "canonical": true, + "file": "test_cases.list_test_case_results.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 90, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListTestCaseResults", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.ListTestCaseResults", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListTestCaseResultsResponse", + "client": { + "shortName": "TestCasesClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient" + }, + "method": { + "shortName": "ListTestCaseResults", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.ListTestCaseResults", + "service": { + "shortName": "TestCases", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_TestCases_GetTestCaseResult_async", + "title": "Agents getTestCaseResult Sample", + "origin": "API_DEFINITION", + "description": " Gets a test case result.", + "canonical": true, + "file": "test_cases.get_test_case_result.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetTestCaseResult", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.GetTestCaseResult", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.TestCaseResult", + "client": { + "shortName": "TestCasesClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCasesClient" + }, + "method": { + "shortName": "GetTestCaseResult", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases.GetTestCaseResult", + "service": { + "shortName": "TestCases", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TestCases" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Tools_CreateTool_async", + "title": "Agents createTool Sample", + "origin": "API_DEFINITION", + "description": " Creates a [Tool][google.cloud.dialogflow.cx.v3beta1.Tool] in the specified agent.", + "canonical": true, + "file": "tools.create_tool.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateTool", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.CreateTool", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "tool", + "type": ".google.cloud.dialogflow.cx.v3beta1.Tool" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.Tool", + "client": { + "shortName": "ToolsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient" + }, + "method": { + "shortName": "CreateTool", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.CreateTool", + "service": { + "shortName": "Tools", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Tools_ListTools_async", + "title": "Agents listTools Sample", + "origin": "API_DEFINITION", + "description": " Returns a list of [Tools][google.cloud.dialogflow.cx.v3beta1.Tool] in the specified agent.", + "canonical": true, + "file": "tools.list_tools.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 65, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListTools", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.ListTools", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListToolsResponse", + "client": { + "shortName": "ToolsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient" + }, + "method": { + "shortName": "ListTools", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.ListTools", + "service": { + "shortName": "Tools", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Tools_ExportTools_async", + "title": "Agents exportTools Sample", + "origin": "API_DEFINITION", + "description": " Exports the selected tools.", + "canonical": true, + "file": "tools.export_tools.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 82, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ExportTools", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.ExportTools", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "tools", + "type": "TYPE_STRING[]" + }, + { + "name": "tools_uri", + "type": "TYPE_STRING" + }, + { + "name": "tools_content_inline", + "type": "TYPE_BOOL" + }, + { + "name": "data_format", + "type": ".google.cloud.dialogflow.cx.v3beta1.ExportToolsRequest.DataFormat" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "ToolsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient" + }, + "method": { + "shortName": "ExportTools", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.ExportTools", + "service": { + "shortName": "Tools", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Tools_GetTool_async", + "title": "Agents getTool Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified [Tool][google.cloud.dialogflow.cx.v3beta1.Tool].", + "canonical": true, + "file": "tools.get_tool.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetTool", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.GetTool", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.Tool", + "client": { + "shortName": "ToolsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient" + }, + "method": { + "shortName": "GetTool", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.GetTool", + "service": { + "shortName": "Tools", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Tools_UpdateTool_async", + "title": "Agents updateTool Sample", + "origin": "API_DEFINITION", + "description": " Update the specified [Tool][google.cloud.dialogflow.cx.v3beta1.Tool].", + "canonical": true, + "file": "tools.update_tool.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 58, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateTool", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.UpdateTool", + "async": true, + "parameters": [ + { + "name": "tool", + "type": ".google.cloud.dialogflow.cx.v3beta1.Tool" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.Tool", + "client": { + "shortName": "ToolsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient" + }, + "method": { + "shortName": "UpdateTool", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.UpdateTool", + "service": { + "shortName": "Tools", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Tools_DeleteTool_async", + "title": "Agents deleteTool Sample", + "origin": "API_DEFINITION", + "description": " Deletes a specified [Tool][google.cloud.dialogflow.cx.v3beta1.Tool].", + "canonical": true, + "file": "tools.delete_tool.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 64, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteTool", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.DeleteTool", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "force", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "ToolsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient" + }, + "method": { + "shortName": "DeleteTool", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.DeleteTool", + "service": { + "shortName": "Tools", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Tools_ListToolVersions_async", + "title": "Agents listToolVersions Sample", + "origin": "API_DEFINITION", + "description": " List versions of the specified [Tool][google.cloud.dialogflow.cx.v3beta1.Tool].", + "canonical": true, + "file": "tools.list_tool_versions.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 66, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListToolVersions", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.ListToolVersions", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListToolVersionsResponse", + "client": { + "shortName": "ToolsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient" + }, + "method": { + "shortName": "ListToolVersions", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.ListToolVersions", + "service": { + "shortName": "Tools", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Tools_CreateToolVersion_async", + "title": "Agents createToolVersion Sample", + "origin": "API_DEFINITION", + "description": " Creates a version for the specified [Tool][google.cloud.dialogflow.cx.v3beta1.Tool].", + "canonical": true, + "file": "tools.create_tool_version.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 60, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateToolVersion", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.CreateToolVersion", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "tool_version", + "type": ".google.cloud.dialogflow.cx.v3beta1.ToolVersion" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.ToolVersion", + "client": { + "shortName": "ToolsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient" + }, + "method": { + "shortName": "CreateToolVersion", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.CreateToolVersion", + "service": { + "shortName": "Tools", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Tools_GetToolVersion_async", + "title": "Agents getToolVersion Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified version of the [Tool][google.cloud.dialogflow.cx.v3beta1.Tool].", + "canonical": true, + "file": "tools.get_tool_version.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetToolVersion", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.GetToolVersion", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.ToolVersion", + "client": { + "shortName": "ToolsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient" + }, + "method": { + "shortName": "GetToolVersion", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.GetToolVersion", + "service": { + "shortName": "Tools", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Tools_DeleteToolVersion_async", + "title": "Agents deleteToolVersion Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified version of the [Tool][google.cloud.dialogflow.cx.v3beta1.Tool].", + "canonical": true, + "file": "tools.delete_tool_version.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 64, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteToolVersion", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.DeleteToolVersion", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "force", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "ToolsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient" + }, + "method": { + "shortName": "DeleteToolVersion", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.DeleteToolVersion", + "service": { + "shortName": "Tools", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Tools_RestoreToolVersion_async", + "title": "Agents restoreToolVersion Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified version of the Tool and stores it as the current tool draft, returning the tool with resources updated.", + "canonical": true, + "file": "tools.restore_tool_version.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "RestoreToolVersion", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.RestoreToolVersion", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.RestoreToolVersionResponse", + "client": { + "shortName": "ToolsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.ToolsClient" + }, + "method": { + "shortName": "RestoreToolVersion", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.RestoreToolVersion", + "service": { + "shortName": "Tools", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_ListTransitionRouteGroups_async", + "title": "Agents listTransitionRouteGroups Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all transition route groups in the specified flow.", + "canonical": true, + "file": "transition_route_groups.list_transition_route_groups.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 80, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListTransitionRouteGroups", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.ListTransitionRouteGroups", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListTransitionRouteGroupsResponse", + "client": { + "shortName": "TransitionRouteGroupsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient" + }, + "method": { + "shortName": "ListTransitionRouteGroups", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.ListTransitionRouteGroups", + "service": { + "shortName": "TransitionRouteGroups", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_GetTransitionRouteGroup_async", + "title": "Agents getTransitionRouteGroup Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified [TransitionRouteGroup][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup].", + "canonical": true, + "file": "transition_route_groups.get_transition_route_group.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 71, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetTransitionRouteGroup", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.GetTransitionRouteGroup", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup", + "client": { + "shortName": "TransitionRouteGroupsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient" + }, + "method": { + "shortName": "GetTransitionRouteGroup", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.GetTransitionRouteGroup", + "service": { + "shortName": "TransitionRouteGroups", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_CreateTransitionRouteGroup_async", + "title": "Agents createTransitionRouteGroup Sample", + "origin": "API_DEFINITION", + "description": " Creates an [TransitionRouteGroup][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] in the specified flow. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", + "canonical": true, + "file": "transition_route_groups.create_transition_route_group.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 75, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateTransitionRouteGroup", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.CreateTransitionRouteGroup", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "transition_route_group", + "type": ".google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup", + "client": { + "shortName": "TransitionRouteGroupsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient" + }, + "method": { + "shortName": "CreateTransitionRouteGroup", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.CreateTransitionRouteGroup", + "service": { + "shortName": "TransitionRouteGroups", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_UpdateTransitionRouteGroup_async", + "title": "Agents updateTransitionRouteGroup Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified [TransitionRouteGroup][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", + "canonical": true, + "file": "transition_route_groups.update_transition_route_group.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 69, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateTransitionRouteGroup", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.UpdateTransitionRouteGroup", + "async": true, + "parameters": [ + { + "name": "transition_route_group", + "type": ".google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup", + "client": { + "shortName": "TransitionRouteGroupsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient" + }, + "method": { + "shortName": "UpdateTransitionRouteGroup", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.UpdateTransitionRouteGroup", + "service": { + "shortName": "TransitionRouteGroups", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_TransitionRouteGroups_DeleteTransitionRouteGroup_async", + "title": "Agents deleteTransitionRouteGroup Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified [TransitionRouteGroup][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).", + "canonical": true, + "file": "transition_route_groups.delete_transition_route_group.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 67, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteTransitionRouteGroup", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.DeleteTransitionRouteGroup", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "force", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "TransitionRouteGroupsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClient" + }, + "method": { + "shortName": "DeleteTransitionRouteGroup", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.DeleteTransitionRouteGroup", + "service": { + "shortName": "TransitionRouteGroups", + "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Versions_ListVersions_async", + "title": "Agents listVersions Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all versions in the specified [Flow][google.cloud.dialogflow.cx.v3beta1.Flow].", + "canonical": true, + "file": "versions.list_versions.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 66, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListVersions", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.ListVersions", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListVersionsResponse", + "client": { + "shortName": "VersionsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient" + }, + "method": { + "shortName": "ListVersions", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.ListVersions", + "service": { + "shortName": "Versions", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Versions_GetVersion_async", + "title": "Agents getVersion Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified [Version][google.cloud.dialogflow.cx.v3beta1.Version].", + "canonical": true, + "file": "versions.get_version.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetVersion", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.GetVersion", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.Version", + "client": { + "shortName": "VersionsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient" + }, + "method": { + "shortName": "GetVersion", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.GetVersion", + "service": { + "shortName": "Versions", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Versions_CreateVersion_async", + "title": "Agents createVersion Sample", + "origin": "API_DEFINITION", + "description": " Creates a [Version][google.cloud.dialogflow.cx.v3beta1.Version] in the specified [Flow][google.cloud.dialogflow.cx.v3beta1.Flow]. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [CreateVersionOperationMetadata][google.cloud.dialogflow.cx.v3beta1.CreateVersionOperationMetadata] - `response`: [Version][google.cloud.dialogflow.cx.v3beta1.Version]", + "canonical": true, + "file": "versions.create_version.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateVersion", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.CreateVersion", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "version", + "type": ".google.cloud.dialogflow.cx.v3beta1.Version" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "VersionsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient" + }, + "method": { + "shortName": "CreateVersion", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.CreateVersion", + "service": { + "shortName": "Versions", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Versions_UpdateVersion_async", + "title": "Agents updateVersion Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified [Version][google.cloud.dialogflow.cx.v3beta1.Version].", + "canonical": true, + "file": "versions.update_version.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateVersion", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.UpdateVersion", + "async": true, + "parameters": [ + { + "name": "version", + "type": ".google.cloud.dialogflow.cx.v3beta1.Version" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.Version", + "client": { + "shortName": "VersionsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient" + }, + "method": { + "shortName": "UpdateVersion", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.UpdateVersion", + "service": { + "shortName": "Versions", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Versions_DeleteVersion_async", + "title": "Agents deleteVersion Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified [Version][google.cloud.dialogflow.cx.v3beta1.Version].", + "canonical": true, + "file": "versions.delete_version.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteVersion", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.DeleteVersion", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "VersionsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient" + }, + "method": { + "shortName": "DeleteVersion", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.DeleteVersion", + "service": { + "shortName": "Versions", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Versions_LoadVersion_async", + "title": "Agents loadVersion Sample", + "origin": "API_DEFINITION", + "description": " Loads resources in the specified version to the draft flow. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)", + "canonical": true, + "file": "versions.load_version.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 63, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "LoadVersion", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.LoadVersion", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "allow_override_agent_resources", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "VersionsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient" + }, + "method": { + "shortName": "LoadVersion", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.LoadVersion", + "service": { + "shortName": "Versions", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Versions_CompareVersions_async", + "title": "Agents compareVersions Sample", + "origin": "API_DEFINITION", + "description": " Compares the specified base version with target version.", + "canonical": true, + "file": "versions.compare_versions.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 73, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CompareVersions", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.CompareVersions", + "async": true, + "parameters": [ + { + "name": "base_version", + "type": "TYPE_STRING" + }, + { + "name": "target_version", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.CompareVersionsResponse", + "client": { + "shortName": "VersionsClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.VersionsClient" + }, + "method": { + "shortName": "CompareVersions", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions.CompareVersions", + "service": { + "shortName": "Versions", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Versions" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Webhooks_ListWebhooks_async", + "title": "Agents listWebhooks Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all webhooks in the specified agent.", + "canonical": true, + "file": "webhooks.list_webhooks.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 65, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListWebhooks", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.ListWebhooks", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.ListWebhooksResponse", + "client": { + "shortName": "WebhooksClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient" + }, + "method": { + "shortName": "ListWebhooks", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.ListWebhooks", + "service": { + "shortName": "Webhooks", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Webhooks_GetWebhook_async", + "title": "Agents getWebhook Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified webhook.", + "canonical": true, + "file": "webhooks.get_webhook.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetWebhook", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.GetWebhook", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.Webhook", + "client": { + "shortName": "WebhooksClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient" + }, + "method": { + "shortName": "GetWebhook", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.GetWebhook", + "service": { + "shortName": "Webhooks", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Webhooks_CreateWebhook_async", + "title": "Agents createWebhook Sample", + "origin": "API_DEFINITION", + "description": " Creates a webhook in the specified agent.", + "canonical": true, + "file": "webhooks.create_webhook.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateWebhook", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "webhook", + "type": ".google.cloud.dialogflow.cx.v3beta1.Webhook" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.Webhook", + "client": { + "shortName": "WebhooksClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient" + }, + "method": { + "shortName": "CreateWebhook", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook", + "service": { + "shortName": "Webhooks", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Webhooks_UpdateWebhook_async", + "title": "Agents updateWebhook Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified webhook.", + "canonical": true, + "file": "webhooks.update_webhook.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 58, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateWebhook", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook", + "async": true, + "parameters": [ + { + "name": "webhook", + "type": ".google.cloud.dialogflow.cx.v3beta1.Webhook" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.cx.v3beta1.Webhook", + "client": { + "shortName": "WebhooksClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient" + }, + "method": { + "shortName": "UpdateWebhook", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.UpdateWebhook", + "service": { + "shortName": "Webhooks", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks" + } + } + } + }, + { + "regionTag": "dialogflow_v3beta1_generated_Webhooks_DeleteWebhook_async", + "title": "Agents deleteWebhook Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified webhook.", + "canonical": true, + "file": "webhooks.delete_webhook.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 67, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteWebhook", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.DeleteWebhook", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "force", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "WebhooksClient", + "fullName": "google.cloud.dialogflow.cx.v3beta1.WebhooksClient" + }, + "method": { + "shortName": "DeleteWebhook", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks.DeleteWebhook", + "service": { + "shortName": "Webhooks", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Webhooks" + } + } + } + } + ] +} diff --git a/packages/google-cloud-dialogflow/.eslintignore b/packages/google-cloud-dialogflow/.eslintignore index ea5b04aebe68..cfc348ec4d11 100644 --- a/packages/google-cloud-dialogflow/.eslintignore +++ b/packages/google-cloud-dialogflow/.eslintignore @@ -1,7 +1,7 @@ **/node_modules -**/coverage -test/fixtures +**/.coverage build/ docs/ protos/ +system-test/ samples/generated/ diff --git a/packages/google-cloud-dialogflow/.mocharc.js b/packages/google-cloud-dialogflow/.mocharc.js index eef6173ab449..24e9d15257f9 100644 --- a/packages/google-cloud-dialogflow/.mocharc.js +++ b/packages/google-cloud-dialogflow/.mocharc.js @@ -4,18 +4,22 @@ // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // -// http://www.apache.org/licenses/LICENSE-2.0 +// https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// ** This file is automatically generated by gapic-generator-typescript. ** +// ** https://github.com/googleapis/gapic-generator-typescript ** +// ** All changes to this file may be overwritten. ** + const config = { "enable-source-maps": true, "throw-deprecation": true, - "timeout": 10000, - "recursive": true + "timeout": 10000 } if (process.env.MOCHA_THROW_DEPRECATION === 'false') { delete config['throw-deprecation']; diff --git a/packages/google-cloud-dialogflow/.nycrc b/packages/google-cloud-dialogflow/.nycrc index b18d5472b62b..81a95fc94b00 100644 --- a/packages/google-cloud-dialogflow/.nycrc +++ b/packages/google-cloud-dialogflow/.nycrc @@ -21,4 +21,4 @@ ], "exclude-after-remap": false, "all": true -} +} \ No newline at end of file diff --git a/packages/google-cloud-dialogflow/.prettierrc.js b/packages/google-cloud-dialogflow/.prettierrc.js index b189724933b2..d89a632f90b0 100644 --- a/packages/google-cloud-dialogflow/.prettierrc.js +++ b/packages/google-cloud-dialogflow/.prettierrc.js @@ -4,13 +4,18 @@ // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // -// https://www.apache.org/licenses/LICENSE-2.0 +// https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// ** This file is automatically generated by gapic-generator-typescript. ** +// ** https://github.com/googleapis/gapic-generator-typescript ** +// ** All changes to this file may be overwritten. ** + module.exports = { ...require('gts/.prettierrc.json') diff --git a/packages/google-cloud-dialogflow/CONTRIBUTING.md b/packages/google-cloud-dialogflow/CONTRIBUTING.md index f70ef1716cb0..cc4332587778 100644 --- a/packages/google-cloud-dialogflow/CONTRIBUTING.md +++ b/packages/google-cloud-dialogflow/CONTRIBUTING.md @@ -40,8 +40,8 @@ accept your pull requests. ### Before you begin 1. [Select or create a Cloud Platform project][projects]. -1. [Enable billing for your project][billing]. -1. [Enable the Dialogflow API API][enable_api]. +1. [Enable billing for your project][billing]. +1. [Enable the Dialogflow API][enable_api]. 1. [Set up authentication with a service account][auth] so you can access the API from your local workstation. diff --git a/packages/google-cloud-dialogflow/README.md b/packages/google-cloud-dialogflow/README.md index 871c3ede3307..c2b1d4b72ad4 100644 --- a/packages/google-cloud-dialogflow/README.md +++ b/packages/google-cloud-dialogflow/README.md @@ -1,24 +1,25 @@ [//]: # "This README.md file is auto-generated, all changes to this file will be lost." -[//]: # "To regenerate it, use `python -m synthtool`." +[//]: # "The comments you see below are used to generate those parts of the template in later states." Google Cloud Platform logo -# [Dialogflow API: Node.js Client](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-dialogflow) - -[![release level](https://img.shields.io/badge/release%20level-stable-brightgreen.svg?style=flat)](https://cloud.google.com/terms/launch-stages) -[![npm version](https://img.shields.io/npm/v/@google-cloud/dialogflow.svg)](https://www.npmjs.org/package/@google-cloud/dialogflow) - +# [Dialogflow API: Nodejs Client][homepage] +This library is considered to be **stable**. The code surface will not change in backwards-incompatible ways +unless absolutely necessary (e.g. because of critical security issues) or with +an extensive deprecation period. Issues and requests against **stable** libraries +are addressed with the highest priority +[![npm version](https://img.shields.io/npm/v/@google-cloud/dialogflow.svg)](https://www.npmjs.org/package/@google-cloud/dialogflow) Dialogflow API client for Node.js +[//]: # "partials.introduction" A comprehensive list of changes in each version may be found in -[the CHANGELOG](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-dialogflow/CHANGELOG.md). +[the CHANGELOG][homepage_changelog]. + +* [Dialogflow API Nodejs Client API Reference](https://cloud.google.com/nodejs/docs/reference/dialogflow/latest) -* [Dialogflow API Node.js Client API Reference][client-docs] -* [Dialogflow API Documentation][product-docs] -* [github.com/googleapis/google-cloud-node/packages/google-cloud-dialogflow](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-dialogflow) Read more about the client libraries for Cloud APIs, including the older Google APIs Client Libraries, in [Client Libraries Explained][explained]. @@ -27,18 +28,15 @@ Google APIs Client Libraries, in [Client Libraries Explained][explained]. **Table of contents:** - * [Quickstart](#quickstart) * [Before you begin](#before-you-begin) * [Installing the client library](#installing-the-client-library) -* [Samples](#samples) * [Versioning](#versioning) * [Contributing](#contributing) * [License](#license) ## Quickstart - ### Before you begin 1. [Select or create a Cloud Platform project][projects]. @@ -46,258 +44,253 @@ Google APIs Client Libraries, in [Client Libraries Explained][explained]. 1. [Enable the Dialogflow API API][enable_api]. 1. [Set up authentication][auth] so you can access the API from your local workstation. - ### Installing the client library ```bash npm install @google-cloud/dialogflow ``` - - +[//]: # "partials.body" ## Samples -Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-dialogflow/samples) directory. Each sample's `README.md` has instructions for running its sample. - -| Sample | Source Code | Try it | -| --------------------------- | --------------------------------- | ------ | -| Agents.delete_agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/agents.delete_agent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/agents.delete_agent.js,packages/google-cloud-dialogflow/samples/README.md) | -| Agents.export_agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/agents.export_agent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/agents.export_agent.js,packages/google-cloud-dialogflow/samples/README.md) | -| Agents.get_agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/agents.get_agent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/agents.get_agent.js,packages/google-cloud-dialogflow/samples/README.md) | -| Agents.get_validation_result | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/agents.get_validation_result.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/agents.get_validation_result.js,packages/google-cloud-dialogflow/samples/README.md) | -| Agents.import_agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/agents.import_agent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/agents.import_agent.js,packages/google-cloud-dialogflow/samples/README.md) | -| Agents.restore_agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/agents.restore_agent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/agents.restore_agent.js,packages/google-cloud-dialogflow/samples/README.md) | -| Agents.search_agents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/agents.search_agents.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/agents.search_agents.js,packages/google-cloud-dialogflow/samples/README.md) | -| Agents.set_agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/agents.set_agent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/agents.set_agent.js,packages/google-cloud-dialogflow/samples/README.md) | -| Agents.train_agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/agents.train_agent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/agents.train_agent.js,packages/google-cloud-dialogflow/samples/README.md) | -| Answer_records.list_answer_records | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/answer_records.list_answer_records.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/answer_records.list_answer_records.js,packages/google-cloud-dialogflow/samples/README.md) | -| Answer_records.update_answer_record | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/answer_records.update_answer_record.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/answer_records.update_answer_record.js,packages/google-cloud-dialogflow/samples/README.md) | -| Contexts.create_context | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/contexts.create_context.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/contexts.create_context.js,packages/google-cloud-dialogflow/samples/README.md) | -| Contexts.delete_all_contexts | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/contexts.delete_all_contexts.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/contexts.delete_all_contexts.js,packages/google-cloud-dialogflow/samples/README.md) | -| Contexts.delete_context | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/contexts.delete_context.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/contexts.delete_context.js,packages/google-cloud-dialogflow/samples/README.md) | -| Contexts.get_context | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/contexts.get_context.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/contexts.get_context.js,packages/google-cloud-dialogflow/samples/README.md) | -| Contexts.list_contexts | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/contexts.list_contexts.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/contexts.list_contexts.js,packages/google-cloud-dialogflow/samples/README.md) | -| Contexts.update_context | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/contexts.update_context.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/contexts.update_context.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversation_datasets.create_conversation_dataset | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversation_datasets.create_conversation_dataset.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/conversation_datasets.create_conversation_dataset.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversation_datasets.delete_conversation_dataset | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversation_datasets.delete_conversation_dataset.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/conversation_datasets.delete_conversation_dataset.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversation_datasets.get_conversation_dataset | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversation_datasets.get_conversation_dataset.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/conversation_datasets.get_conversation_dataset.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversation_datasets.import_conversation_data | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversation_datasets.import_conversation_data.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/conversation_datasets.import_conversation_data.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversation_datasets.list_conversation_datasets | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversation_datasets.list_conversation_datasets.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/conversation_datasets.list_conversation_datasets.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversation_models.create_conversation_model | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversation_models.create_conversation_model.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/conversation_models.create_conversation_model.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversation_models.create_conversation_model_evaluation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversation_models.create_conversation_model_evaluation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/conversation_models.create_conversation_model_evaluation.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversation_models.delete_conversation_model | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversation_models.delete_conversation_model.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/conversation_models.delete_conversation_model.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversation_models.deploy_conversation_model | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversation_models.deploy_conversation_model.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/conversation_models.deploy_conversation_model.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversation_models.get_conversation_model | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversation_models.get_conversation_model.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/conversation_models.get_conversation_model.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversation_models.get_conversation_model_evaluation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversation_models.get_conversation_model_evaluation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/conversation_models.get_conversation_model_evaluation.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversation_models.list_conversation_model_evaluations | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversation_models.list_conversation_model_evaluations.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/conversation_models.list_conversation_model_evaluations.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversation_models.list_conversation_models | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversation_models.list_conversation_models.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/conversation_models.list_conversation_models.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversation_models.undeploy_conversation_model | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversation_models.undeploy_conversation_model.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/conversation_models.undeploy_conversation_model.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversation_profiles.clear_suggestion_feature_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversation_profiles.clear_suggestion_feature_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/conversation_profiles.clear_suggestion_feature_config.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversation_profiles.create_conversation_profile | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversation_profiles.create_conversation_profile.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/conversation_profiles.create_conversation_profile.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversation_profiles.delete_conversation_profile | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversation_profiles.delete_conversation_profile.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/conversation_profiles.delete_conversation_profile.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversation_profiles.get_conversation_profile | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversation_profiles.get_conversation_profile.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/conversation_profiles.get_conversation_profile.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversation_profiles.list_conversation_profiles | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversation_profiles.list_conversation_profiles.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/conversation_profiles.list_conversation_profiles.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversation_profiles.set_suggestion_feature_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversation_profiles.set_suggestion_feature_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/conversation_profiles.set_suggestion_feature_config.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversation_profiles.update_conversation_profile | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversation_profiles.update_conversation_profile.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/conversation_profiles.update_conversation_profile.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversations.complete_conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversations.complete_conversation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/conversations.complete_conversation.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversations.create_conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversations.create_conversation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/conversations.create_conversation.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversations.generate_stateless_suggestion | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversations.generate_stateless_suggestion.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/conversations.generate_stateless_suggestion.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversations.generate_stateless_summary | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversations.generate_stateless_summary.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/conversations.generate_stateless_summary.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversations.generate_suggestions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversations.generate_suggestions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/conversations.generate_suggestions.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversations.get_conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversations.get_conversation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/conversations.get_conversation.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversations.ingest_context_references | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversations.ingest_context_references.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/conversations.ingest_context_references.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversations.list_conversations | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversations.list_conversations.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/conversations.list_conversations.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversations.list_messages | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversations.list_messages.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/conversations.list_messages.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversations.search_knowledge | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversations.search_knowledge.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/conversations.search_knowledge.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversations.suggest_conversation_summary | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversations.suggest_conversation_summary.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/conversations.suggest_conversation_summary.js,packages/google-cloud-dialogflow/samples/README.md) | -| Documents.create_document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/documents.create_document.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/documents.create_document.js,packages/google-cloud-dialogflow/samples/README.md) | -| Documents.delete_document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/documents.delete_document.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/documents.delete_document.js,packages/google-cloud-dialogflow/samples/README.md) | -| Documents.export_document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/documents.export_document.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/documents.export_document.js,packages/google-cloud-dialogflow/samples/README.md) | -| Documents.get_document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/documents.get_document.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/documents.get_document.js,packages/google-cloud-dialogflow/samples/README.md) | -| Documents.import_documents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/documents.import_documents.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/documents.import_documents.js,packages/google-cloud-dialogflow/samples/README.md) | -| Documents.list_documents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/documents.list_documents.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/documents.list_documents.js,packages/google-cloud-dialogflow/samples/README.md) | -| Documents.reload_document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/documents.reload_document.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/documents.reload_document.js,packages/google-cloud-dialogflow/samples/README.md) | -| Documents.update_document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/documents.update_document.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/documents.update_document.js,packages/google-cloud-dialogflow/samples/README.md) | -| Encryption_spec_service.get_encryption_spec | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/encryption_spec_service.get_encryption_spec.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/encryption_spec_service.get_encryption_spec.js,packages/google-cloud-dialogflow/samples/README.md) | -| Encryption_spec_service.initialize_encryption_spec | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/encryption_spec_service.initialize_encryption_spec.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/encryption_spec_service.initialize_encryption_spec.js,packages/google-cloud-dialogflow/samples/README.md) | -| Entity_types.batch_create_entities | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/entity_types.batch_create_entities.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/entity_types.batch_create_entities.js,packages/google-cloud-dialogflow/samples/README.md) | -| Entity_types.batch_delete_entities | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/entity_types.batch_delete_entities.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/entity_types.batch_delete_entities.js,packages/google-cloud-dialogflow/samples/README.md) | -| Entity_types.batch_delete_entity_types | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/entity_types.batch_delete_entity_types.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/entity_types.batch_delete_entity_types.js,packages/google-cloud-dialogflow/samples/README.md) | -| Entity_types.batch_update_entities | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/entity_types.batch_update_entities.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/entity_types.batch_update_entities.js,packages/google-cloud-dialogflow/samples/README.md) | -| Entity_types.batch_update_entity_types | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/entity_types.batch_update_entity_types.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/entity_types.batch_update_entity_types.js,packages/google-cloud-dialogflow/samples/README.md) | -| Entity_types.create_entity_type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/entity_types.create_entity_type.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/entity_types.create_entity_type.js,packages/google-cloud-dialogflow/samples/README.md) | -| Entity_types.delete_entity_type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/entity_types.delete_entity_type.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/entity_types.delete_entity_type.js,packages/google-cloud-dialogflow/samples/README.md) | -| Entity_types.get_entity_type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/entity_types.get_entity_type.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/entity_types.get_entity_type.js,packages/google-cloud-dialogflow/samples/README.md) | -| Entity_types.list_entity_types | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/entity_types.list_entity_types.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/entity_types.list_entity_types.js,packages/google-cloud-dialogflow/samples/README.md) | -| Entity_types.update_entity_type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/entity_types.update_entity_type.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/entity_types.update_entity_type.js,packages/google-cloud-dialogflow/samples/README.md) | -| Environments.create_environment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/environments.create_environment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/environments.create_environment.js,packages/google-cloud-dialogflow/samples/README.md) | -| Environments.delete_environment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/environments.delete_environment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/environments.delete_environment.js,packages/google-cloud-dialogflow/samples/README.md) | -| Environments.get_environment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/environments.get_environment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/environments.get_environment.js,packages/google-cloud-dialogflow/samples/README.md) | -| Environments.get_environment_history | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/environments.get_environment_history.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/environments.get_environment_history.js,packages/google-cloud-dialogflow/samples/README.md) | -| Environments.list_environments | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/environments.list_environments.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/environments.list_environments.js,packages/google-cloud-dialogflow/samples/README.md) | -| Environments.update_environment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/environments.update_environment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/environments.update_environment.js,packages/google-cloud-dialogflow/samples/README.md) | -| Fulfillments.get_fulfillment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/fulfillments.get_fulfillment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/fulfillments.get_fulfillment.js,packages/google-cloud-dialogflow/samples/README.md) | -| Fulfillments.update_fulfillment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/fulfillments.update_fulfillment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/fulfillments.update_fulfillment.js,packages/google-cloud-dialogflow/samples/README.md) | -| Generators.create_generator | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/generators.create_generator.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/generators.create_generator.js,packages/google-cloud-dialogflow/samples/README.md) | -| Generators.delete_generator | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/generators.delete_generator.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/generators.delete_generator.js,packages/google-cloud-dialogflow/samples/README.md) | -| Generators.get_generator | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/generators.get_generator.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/generators.get_generator.js,packages/google-cloud-dialogflow/samples/README.md) | -| Generators.list_generators | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/generators.list_generators.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/generators.list_generators.js,packages/google-cloud-dialogflow/samples/README.md) | -| Generators.update_generator | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/generators.update_generator.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/generators.update_generator.js,packages/google-cloud-dialogflow/samples/README.md) | -| Intents.batch_delete_intents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/intents.batch_delete_intents.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/intents.batch_delete_intents.js,packages/google-cloud-dialogflow/samples/README.md) | -| Intents.batch_update_intents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/intents.batch_update_intents.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/intents.batch_update_intents.js,packages/google-cloud-dialogflow/samples/README.md) | -| Intents.create_intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/intents.create_intent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/intents.create_intent.js,packages/google-cloud-dialogflow/samples/README.md) | -| Intents.delete_intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/intents.delete_intent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/intents.delete_intent.js,packages/google-cloud-dialogflow/samples/README.md) | -| Intents.get_intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/intents.get_intent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/intents.get_intent.js,packages/google-cloud-dialogflow/samples/README.md) | -| Intents.list_intents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/intents.list_intents.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/intents.list_intents.js,packages/google-cloud-dialogflow/samples/README.md) | -| Intents.update_intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/intents.update_intent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/intents.update_intent.js,packages/google-cloud-dialogflow/samples/README.md) | -| Knowledge_bases.create_knowledge_base | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/knowledge_bases.create_knowledge_base.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/knowledge_bases.create_knowledge_base.js,packages/google-cloud-dialogflow/samples/README.md) | -| Knowledge_bases.delete_knowledge_base | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/knowledge_bases.delete_knowledge_base.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/knowledge_bases.delete_knowledge_base.js,packages/google-cloud-dialogflow/samples/README.md) | -| Knowledge_bases.get_knowledge_base | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/knowledge_bases.get_knowledge_base.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/knowledge_bases.get_knowledge_base.js,packages/google-cloud-dialogflow/samples/README.md) | -| Knowledge_bases.list_knowledge_bases | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/knowledge_bases.list_knowledge_bases.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/knowledge_bases.list_knowledge_bases.js,packages/google-cloud-dialogflow/samples/README.md) | -| Knowledge_bases.update_knowledge_base | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/knowledge_bases.update_knowledge_base.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/knowledge_bases.update_knowledge_base.js,packages/google-cloud-dialogflow/samples/README.md) | -| Participants.analyze_content | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/participants.analyze_content.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/participants.analyze_content.js,packages/google-cloud-dialogflow/samples/README.md) | -| Participants.create_participant | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/participants.create_participant.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/participants.create_participant.js,packages/google-cloud-dialogflow/samples/README.md) | -| Participants.get_participant | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/participants.get_participant.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/participants.get_participant.js,packages/google-cloud-dialogflow/samples/README.md) | -| Participants.list_participants | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/participants.list_participants.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/participants.list_participants.js,packages/google-cloud-dialogflow/samples/README.md) | -| Participants.streaming_analyze_content | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/participants.streaming_analyze_content.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/participants.streaming_analyze_content.js,packages/google-cloud-dialogflow/samples/README.md) | -| Participants.suggest_articles | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/participants.suggest_articles.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/participants.suggest_articles.js,packages/google-cloud-dialogflow/samples/README.md) | -| Participants.suggest_faq_answers | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/participants.suggest_faq_answers.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/participants.suggest_faq_answers.js,packages/google-cloud-dialogflow/samples/README.md) | -| Participants.suggest_knowledge_assist | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/participants.suggest_knowledge_assist.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/participants.suggest_knowledge_assist.js,packages/google-cloud-dialogflow/samples/README.md) | -| Participants.suggest_smart_replies | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/participants.suggest_smart_replies.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/participants.suggest_smart_replies.js,packages/google-cloud-dialogflow/samples/README.md) | -| Participants.update_participant | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/participants.update_participant.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/participants.update_participant.js,packages/google-cloud-dialogflow/samples/README.md) | -| Session_entity_types.create_session_entity_type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/session_entity_types.create_session_entity_type.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/session_entity_types.create_session_entity_type.js,packages/google-cloud-dialogflow/samples/README.md) | -| Session_entity_types.delete_session_entity_type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/session_entity_types.delete_session_entity_type.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/session_entity_types.delete_session_entity_type.js,packages/google-cloud-dialogflow/samples/README.md) | -| Session_entity_types.get_session_entity_type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/session_entity_types.get_session_entity_type.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/session_entity_types.get_session_entity_type.js,packages/google-cloud-dialogflow/samples/README.md) | -| Session_entity_types.list_session_entity_types | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/session_entity_types.list_session_entity_types.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/session_entity_types.list_session_entity_types.js,packages/google-cloud-dialogflow/samples/README.md) | -| Session_entity_types.update_session_entity_type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/session_entity_types.update_session_entity_type.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/session_entity_types.update_session_entity_type.js,packages/google-cloud-dialogflow/samples/README.md) | -| Sessions.detect_intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/sessions.detect_intent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/sessions.detect_intent.js,packages/google-cloud-dialogflow/samples/README.md) | -| Sessions.streaming_detect_intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/sessions.streaming_detect_intent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/sessions.streaming_detect_intent.js,packages/google-cloud-dialogflow/samples/README.md) | -| Versions.create_version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/versions.create_version.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/versions.create_version.js,packages/google-cloud-dialogflow/samples/README.md) | -| Versions.delete_version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/versions.delete_version.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/versions.delete_version.js,packages/google-cloud-dialogflow/samples/README.md) | -| Versions.get_version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/versions.get_version.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/versions.get_version.js,packages/google-cloud-dialogflow/samples/README.md) | -| Versions.list_versions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/versions.list_versions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/versions.list_versions.js,packages/google-cloud-dialogflow/samples/README.md) | -| Versions.update_version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/versions.update_version.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2/versions.update_version.js,packages/google-cloud-dialogflow/samples/README.md) | -| Agents.delete_agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/agents.delete_agent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/agents.delete_agent.js,packages/google-cloud-dialogflow/samples/README.md) | -| Agents.export_agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/agents.export_agent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/agents.export_agent.js,packages/google-cloud-dialogflow/samples/README.md) | -| Agents.get_agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/agents.get_agent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/agents.get_agent.js,packages/google-cloud-dialogflow/samples/README.md) | -| Agents.get_validation_result | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/agents.get_validation_result.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/agents.get_validation_result.js,packages/google-cloud-dialogflow/samples/README.md) | -| Agents.import_agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/agents.import_agent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/agents.import_agent.js,packages/google-cloud-dialogflow/samples/README.md) | -| Agents.restore_agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/agents.restore_agent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/agents.restore_agent.js,packages/google-cloud-dialogflow/samples/README.md) | -| Agents.search_agents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/agents.search_agents.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/agents.search_agents.js,packages/google-cloud-dialogflow/samples/README.md) | -| Agents.set_agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/agents.set_agent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/agents.set_agent.js,packages/google-cloud-dialogflow/samples/README.md) | -| Agents.train_agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/agents.train_agent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/agents.train_agent.js,packages/google-cloud-dialogflow/samples/README.md) | -| Answer_records.get_answer_record | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/answer_records.get_answer_record.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/answer_records.get_answer_record.js,packages/google-cloud-dialogflow/samples/README.md) | -| Answer_records.list_answer_records | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/answer_records.list_answer_records.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/answer_records.list_answer_records.js,packages/google-cloud-dialogflow/samples/README.md) | -| Answer_records.update_answer_record | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/answer_records.update_answer_record.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/answer_records.update_answer_record.js,packages/google-cloud-dialogflow/samples/README.md) | -| Contexts.create_context | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/contexts.create_context.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/contexts.create_context.js,packages/google-cloud-dialogflow/samples/README.md) | -| Contexts.delete_all_contexts | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/contexts.delete_all_contexts.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/contexts.delete_all_contexts.js,packages/google-cloud-dialogflow/samples/README.md) | -| Contexts.delete_context | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/contexts.delete_context.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/contexts.delete_context.js,packages/google-cloud-dialogflow/samples/README.md) | -| Contexts.get_context | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/contexts.get_context.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/contexts.get_context.js,packages/google-cloud-dialogflow/samples/README.md) | -| Contexts.list_contexts | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/contexts.list_contexts.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/contexts.list_contexts.js,packages/google-cloud-dialogflow/samples/README.md) | -| Contexts.update_context | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/contexts.update_context.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/contexts.update_context.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversation_profiles.clear_suggestion_feature_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/conversation_profiles.clear_suggestion_feature_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/conversation_profiles.clear_suggestion_feature_config.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversation_profiles.create_conversation_profile | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/conversation_profiles.create_conversation_profile.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/conversation_profiles.create_conversation_profile.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversation_profiles.delete_conversation_profile | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/conversation_profiles.delete_conversation_profile.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/conversation_profiles.delete_conversation_profile.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversation_profiles.get_conversation_profile | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/conversation_profiles.get_conversation_profile.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/conversation_profiles.get_conversation_profile.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversation_profiles.list_conversation_profiles | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/conversation_profiles.list_conversation_profiles.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/conversation_profiles.list_conversation_profiles.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversation_profiles.set_suggestion_feature_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/conversation_profiles.set_suggestion_feature_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/conversation_profiles.set_suggestion_feature_config.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversation_profiles.update_conversation_profile | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/conversation_profiles.update_conversation_profile.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/conversation_profiles.update_conversation_profile.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversations.batch_create_messages | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/conversations.batch_create_messages.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/conversations.batch_create_messages.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversations.complete_conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/conversations.complete_conversation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/conversations.complete_conversation.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversations.create_conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/conversations.create_conversation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/conversations.create_conversation.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversations.generate_stateless_suggestion | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/conversations.generate_stateless_suggestion.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/conversations.generate_stateless_suggestion.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversations.generate_stateless_summary | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/conversations.generate_stateless_summary.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/conversations.generate_stateless_summary.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversations.generate_suggestions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/conversations.generate_suggestions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/conversations.generate_suggestions.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversations.get_conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/conversations.get_conversation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/conversations.get_conversation.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversations.ingest_context_references | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/conversations.ingest_context_references.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/conversations.ingest_context_references.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversations.list_conversations | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/conversations.list_conversations.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/conversations.list_conversations.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversations.list_messages | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/conversations.list_messages.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/conversations.list_messages.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversations.search_knowledge | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/conversations.search_knowledge.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/conversations.search_knowledge.js,packages/google-cloud-dialogflow/samples/README.md) | -| Conversations.suggest_conversation_summary | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/conversations.suggest_conversation_summary.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/conversations.suggest_conversation_summary.js,packages/google-cloud-dialogflow/samples/README.md) | -| Documents.create_document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/documents.create_document.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/documents.create_document.js,packages/google-cloud-dialogflow/samples/README.md) | -| Documents.delete_document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/documents.delete_document.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/documents.delete_document.js,packages/google-cloud-dialogflow/samples/README.md) | -| Documents.get_document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/documents.get_document.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/documents.get_document.js,packages/google-cloud-dialogflow/samples/README.md) | -| Documents.import_documents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/documents.import_documents.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/documents.import_documents.js,packages/google-cloud-dialogflow/samples/README.md) | -| Documents.list_documents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/documents.list_documents.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/documents.list_documents.js,packages/google-cloud-dialogflow/samples/README.md) | -| Documents.reload_document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/documents.reload_document.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/documents.reload_document.js,packages/google-cloud-dialogflow/samples/README.md) | -| Documents.update_document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/documents.update_document.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/documents.update_document.js,packages/google-cloud-dialogflow/samples/README.md) | -| Encryption_spec_service.get_encryption_spec | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/encryption_spec_service.get_encryption_spec.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/encryption_spec_service.get_encryption_spec.js,packages/google-cloud-dialogflow/samples/README.md) | -| Encryption_spec_service.initialize_encryption_spec | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/encryption_spec_service.initialize_encryption_spec.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/encryption_spec_service.initialize_encryption_spec.js,packages/google-cloud-dialogflow/samples/README.md) | -| Entity_types.batch_create_entities | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/entity_types.batch_create_entities.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/entity_types.batch_create_entities.js,packages/google-cloud-dialogflow/samples/README.md) | -| Entity_types.batch_delete_entities | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/entity_types.batch_delete_entities.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/entity_types.batch_delete_entities.js,packages/google-cloud-dialogflow/samples/README.md) | -| Entity_types.batch_delete_entity_types | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/entity_types.batch_delete_entity_types.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/entity_types.batch_delete_entity_types.js,packages/google-cloud-dialogflow/samples/README.md) | -| Entity_types.batch_update_entities | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/entity_types.batch_update_entities.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/entity_types.batch_update_entities.js,packages/google-cloud-dialogflow/samples/README.md) | -| Entity_types.batch_update_entity_types | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/entity_types.batch_update_entity_types.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/entity_types.batch_update_entity_types.js,packages/google-cloud-dialogflow/samples/README.md) | -| Entity_types.create_entity_type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/entity_types.create_entity_type.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/entity_types.create_entity_type.js,packages/google-cloud-dialogflow/samples/README.md) | -| Entity_types.delete_entity_type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/entity_types.delete_entity_type.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/entity_types.delete_entity_type.js,packages/google-cloud-dialogflow/samples/README.md) | -| Entity_types.get_entity_type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/entity_types.get_entity_type.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/entity_types.get_entity_type.js,packages/google-cloud-dialogflow/samples/README.md) | -| Entity_types.list_entity_types | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/entity_types.list_entity_types.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/entity_types.list_entity_types.js,packages/google-cloud-dialogflow/samples/README.md) | -| Entity_types.update_entity_type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/entity_types.update_entity_type.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/entity_types.update_entity_type.js,packages/google-cloud-dialogflow/samples/README.md) | -| Environments.create_environment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/environments.create_environment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/environments.create_environment.js,packages/google-cloud-dialogflow/samples/README.md) | -| Environments.delete_environment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/environments.delete_environment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/environments.delete_environment.js,packages/google-cloud-dialogflow/samples/README.md) | -| Environments.get_environment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/environments.get_environment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/environments.get_environment.js,packages/google-cloud-dialogflow/samples/README.md) | -| Environments.get_environment_history | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/environments.get_environment_history.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/environments.get_environment_history.js,packages/google-cloud-dialogflow/samples/README.md) | -| Environments.list_environments | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/environments.list_environments.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/environments.list_environments.js,packages/google-cloud-dialogflow/samples/README.md) | -| Environments.update_environment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/environments.update_environment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/environments.update_environment.js,packages/google-cloud-dialogflow/samples/README.md) | -| Fulfillments.get_fulfillment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/fulfillments.get_fulfillment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/fulfillments.get_fulfillment.js,packages/google-cloud-dialogflow/samples/README.md) | -| Fulfillments.update_fulfillment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/fulfillments.update_fulfillment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/fulfillments.update_fulfillment.js,packages/google-cloud-dialogflow/samples/README.md) | -| Generators.create_generator | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/generators.create_generator.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/generators.create_generator.js,packages/google-cloud-dialogflow/samples/README.md) | -| Generators.delete_generator | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/generators.delete_generator.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/generators.delete_generator.js,packages/google-cloud-dialogflow/samples/README.md) | -| Generators.get_generator | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/generators.get_generator.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/generators.get_generator.js,packages/google-cloud-dialogflow/samples/README.md) | -| Generators.list_generators | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/generators.list_generators.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/generators.list_generators.js,packages/google-cloud-dialogflow/samples/README.md) | -| Generators.update_generator | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/generators.update_generator.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/generators.update_generator.js,packages/google-cloud-dialogflow/samples/README.md) | -| Intents.batch_delete_intents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/intents.batch_delete_intents.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/intents.batch_delete_intents.js,packages/google-cloud-dialogflow/samples/README.md) | -| Intents.batch_update_intents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/intents.batch_update_intents.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/intents.batch_update_intents.js,packages/google-cloud-dialogflow/samples/README.md) | -| Intents.create_intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/intents.create_intent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/intents.create_intent.js,packages/google-cloud-dialogflow/samples/README.md) | -| Intents.delete_intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/intents.delete_intent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/intents.delete_intent.js,packages/google-cloud-dialogflow/samples/README.md) | -| Intents.get_intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/intents.get_intent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/intents.get_intent.js,packages/google-cloud-dialogflow/samples/README.md) | -| Intents.list_intents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/intents.list_intents.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/intents.list_intents.js,packages/google-cloud-dialogflow/samples/README.md) | -| Intents.update_intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/intents.update_intent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/intents.update_intent.js,packages/google-cloud-dialogflow/samples/README.md) | -| Knowledge_bases.create_knowledge_base | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/knowledge_bases.create_knowledge_base.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/knowledge_bases.create_knowledge_base.js,packages/google-cloud-dialogflow/samples/README.md) | -| Knowledge_bases.delete_knowledge_base | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/knowledge_bases.delete_knowledge_base.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/knowledge_bases.delete_knowledge_base.js,packages/google-cloud-dialogflow/samples/README.md) | -| Knowledge_bases.get_knowledge_base | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/knowledge_bases.get_knowledge_base.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/knowledge_bases.get_knowledge_base.js,packages/google-cloud-dialogflow/samples/README.md) | -| Knowledge_bases.list_knowledge_bases | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/knowledge_bases.list_knowledge_bases.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/knowledge_bases.list_knowledge_bases.js,packages/google-cloud-dialogflow/samples/README.md) | -| Knowledge_bases.update_knowledge_base | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/knowledge_bases.update_knowledge_base.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/knowledge_bases.update_knowledge_base.js,packages/google-cloud-dialogflow/samples/README.md) | -| Participants.analyze_content | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/participants.analyze_content.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/participants.analyze_content.js,packages/google-cloud-dialogflow/samples/README.md) | -| Participants.compile_suggestion | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/participants.compile_suggestion.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/participants.compile_suggestion.js,packages/google-cloud-dialogflow/samples/README.md) | -| Participants.create_participant | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/participants.create_participant.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/participants.create_participant.js,packages/google-cloud-dialogflow/samples/README.md) | -| Participants.get_participant | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/participants.get_participant.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/participants.get_participant.js,packages/google-cloud-dialogflow/samples/README.md) | -| Participants.list_participants | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/participants.list_participants.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/participants.list_participants.js,packages/google-cloud-dialogflow/samples/README.md) | -| Participants.list_suggestions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/participants.list_suggestions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/participants.list_suggestions.js,packages/google-cloud-dialogflow/samples/README.md) | -| Participants.streaming_analyze_content | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/participants.streaming_analyze_content.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/participants.streaming_analyze_content.js,packages/google-cloud-dialogflow/samples/README.md) | -| Participants.suggest_articles | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/participants.suggest_articles.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/participants.suggest_articles.js,packages/google-cloud-dialogflow/samples/README.md) | -| Participants.suggest_faq_answers | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/participants.suggest_faq_answers.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/participants.suggest_faq_answers.js,packages/google-cloud-dialogflow/samples/README.md) | -| Participants.suggest_knowledge_assist | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/participants.suggest_knowledge_assist.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/participants.suggest_knowledge_assist.js,packages/google-cloud-dialogflow/samples/README.md) | -| Participants.suggest_smart_replies | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/participants.suggest_smart_replies.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/participants.suggest_smart_replies.js,packages/google-cloud-dialogflow/samples/README.md) | -| Participants.update_participant | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/participants.update_participant.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/participants.update_participant.js,packages/google-cloud-dialogflow/samples/README.md) | -| Phone_numbers.delete_phone_number | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/phone_numbers.delete_phone_number.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/phone_numbers.delete_phone_number.js,packages/google-cloud-dialogflow/samples/README.md) | -| Phone_numbers.list_phone_numbers | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/phone_numbers.list_phone_numbers.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/phone_numbers.list_phone_numbers.js,packages/google-cloud-dialogflow/samples/README.md) | -| Phone_numbers.undelete_phone_number | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/phone_numbers.undelete_phone_number.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/phone_numbers.undelete_phone_number.js,packages/google-cloud-dialogflow/samples/README.md) | -| Phone_numbers.update_phone_number | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/phone_numbers.update_phone_number.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/phone_numbers.update_phone_number.js,packages/google-cloud-dialogflow/samples/README.md) | -| Session_entity_types.create_session_entity_type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/session_entity_types.create_session_entity_type.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/session_entity_types.create_session_entity_type.js,packages/google-cloud-dialogflow/samples/README.md) | -| Session_entity_types.delete_session_entity_type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/session_entity_types.delete_session_entity_type.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/session_entity_types.delete_session_entity_type.js,packages/google-cloud-dialogflow/samples/README.md) | -| Session_entity_types.get_session_entity_type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/session_entity_types.get_session_entity_type.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/session_entity_types.get_session_entity_type.js,packages/google-cloud-dialogflow/samples/README.md) | -| Session_entity_types.list_session_entity_types | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/session_entity_types.list_session_entity_types.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/session_entity_types.list_session_entity_types.js,packages/google-cloud-dialogflow/samples/README.md) | -| Session_entity_types.update_session_entity_type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/session_entity_types.update_session_entity_type.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/session_entity_types.update_session_entity_type.js,packages/google-cloud-dialogflow/samples/README.md) | -| Sessions.detect_intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/sessions.detect_intent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/sessions.detect_intent.js,packages/google-cloud-dialogflow/samples/README.md) | -| Sessions.streaming_detect_intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/sessions.streaming_detect_intent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/sessions.streaming_detect_intent.js,packages/google-cloud-dialogflow/samples/README.md) | -| Sip_trunks.create_sip_trunk | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/sip_trunks.create_sip_trunk.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/sip_trunks.create_sip_trunk.js,packages/google-cloud-dialogflow/samples/README.md) | -| Sip_trunks.delete_sip_trunk | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/sip_trunks.delete_sip_trunk.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/sip_trunks.delete_sip_trunk.js,packages/google-cloud-dialogflow/samples/README.md) | -| Sip_trunks.get_sip_trunk | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/sip_trunks.get_sip_trunk.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/sip_trunks.get_sip_trunk.js,packages/google-cloud-dialogflow/samples/README.md) | -| Sip_trunks.list_sip_trunks | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/sip_trunks.list_sip_trunks.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/sip_trunks.list_sip_trunks.js,packages/google-cloud-dialogflow/samples/README.md) | -| Sip_trunks.update_sip_trunk | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/sip_trunks.update_sip_trunk.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/sip_trunks.update_sip_trunk.js,packages/google-cloud-dialogflow/samples/README.md) | -| Versions.create_version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/versions.create_version.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/versions.create_version.js,packages/google-cloud-dialogflow/samples/README.md) | -| Versions.delete_version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/versions.delete_version.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/versions.delete_version.js,packages/google-cloud-dialogflow/samples/README.md) | -| Versions.get_version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/versions.get_version.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/versions.get_version.js,packages/google-cloud-dialogflow/samples/README.md) | -| Versions.list_versions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/versions.list_versions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/versions.list_versions.js,packages/google-cloud-dialogflow/samples/README.md) | -| Versions.update_version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/versions.update_version.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/generated/v2beta1/versions.update_version.js,packages/google-cloud-dialogflow/samples/README.md) | -| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-dialogflow/samples/quickstart.js,packages/google-cloud-dialogflow/samples/README.md) | - - - -The [Dialogflow API Node.js Client API Reference][client-docs] documentation -also contains samples. +Samples are in the [`samples/`][homepage_samples] directory. Each sample's `README.md` has instructions for running its sample. + +| Sample | Source Code | +| --------------------------- | --------------------------------- | +| delete agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/agents.delete_agent.js) | +| export agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/agents.export_agent.js) | +| get agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/agents.get_agent.js) | +| get validation result | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/agents.get_validation_result.js) | +| import agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/agents.import_agent.js) | +| restore agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/agents.restore_agent.js) | +| search agents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/agents.search_agents.js) | +| set agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/agents.set_agent.js) | +| train agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/agents.train_agent.js) | +| list answer records | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/answer_records.list_answer_records.js) | +| update answer record | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/answer_records.update_answer_record.js) | +| create context | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/contexts.create_context.js) | +| delete all contexts | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/contexts.delete_all_contexts.js) | +| delete context | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/contexts.delete_context.js) | +| get context | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/contexts.get_context.js) | +| list contexts | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/contexts.list_contexts.js) | +| update context | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/contexts.update_context.js) | +| create conversation dataset | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversation_datasets.create_conversation_dataset.js) | +| delete conversation dataset | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversation_datasets.delete_conversation_dataset.js) | +| get conversation dataset | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversation_datasets.get_conversation_dataset.js) | +| import conversation data | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversation_datasets.import_conversation_data.js) | +| list conversation datasets | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversation_datasets.list_conversation_datasets.js) | +| create conversation model | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversation_models.create_conversation_model.js) | +| create conversation model evaluation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversation_models.create_conversation_model_evaluation.js) | +| delete conversation model | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversation_models.delete_conversation_model.js) | +| deploy conversation model | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversation_models.deploy_conversation_model.js) | +| get conversation model | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversation_models.get_conversation_model.js) | +| get conversation model evaluation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversation_models.get_conversation_model_evaluation.js) | +| list conversation model evaluations | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversation_models.list_conversation_model_evaluations.js) | +| list conversation models | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversation_models.list_conversation_models.js) | +| undeploy conversation model | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversation_models.undeploy_conversation_model.js) | +| clear suggestion feature config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversation_profiles.clear_suggestion_feature_config.js) | +| create conversation profile | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversation_profiles.create_conversation_profile.js) | +| delete conversation profile | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversation_profiles.delete_conversation_profile.js) | +| get conversation profile | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversation_profiles.get_conversation_profile.js) | +| list conversation profiles | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversation_profiles.list_conversation_profiles.js) | +| set suggestion feature config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversation_profiles.set_suggestion_feature_config.js) | +| update conversation profile | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversation_profiles.update_conversation_profile.js) | +| complete conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversations.complete_conversation.js) | +| create conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversations.create_conversation.js) | +| generate stateless suggestion | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversations.generate_stateless_suggestion.js) | +| generate stateless summary | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversations.generate_stateless_summary.js) | +| generate suggestions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversations.generate_suggestions.js) | +| get conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversations.get_conversation.js) | +| ingest context references | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversations.ingest_context_references.js) | +| list conversations | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversations.list_conversations.js) | +| list messages | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversations.list_messages.js) | +| search knowledge | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversations.search_knowledge.js) | +| suggest conversation summary | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/conversations.suggest_conversation_summary.js) | +| create document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/documents.create_document.js) | +| delete document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/documents.delete_document.js) | +| export document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/documents.export_document.js) | +| get document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/documents.get_document.js) | +| import documents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/documents.import_documents.js) | +| list documents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/documents.list_documents.js) | +| reload document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/documents.reload_document.js) | +| update document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/documents.update_document.js) | +| get encryption spec | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/encryption_spec_service.get_encryption_spec.js) | +| initialize encryption spec | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/encryption_spec_service.initialize_encryption_spec.js) | +| batch create entities | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/entity_types.batch_create_entities.js) | +| batch delete entities | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/entity_types.batch_delete_entities.js) | +| batch delete entity types | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/entity_types.batch_delete_entity_types.js) | +| batch update entities | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/entity_types.batch_update_entities.js) | +| batch update entity types | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/entity_types.batch_update_entity_types.js) | +| create entity type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/entity_types.create_entity_type.js) | +| delete entity type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/entity_types.delete_entity_type.js) | +| get entity type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/entity_types.get_entity_type.js) | +| list entity types | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/entity_types.list_entity_types.js) | +| update entity type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/entity_types.update_entity_type.js) | +| create environment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/environments.create_environment.js) | +| delete environment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/environments.delete_environment.js) | +| get environment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/environments.get_environment.js) | +| get environment history | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/environments.get_environment_history.js) | +| list environments | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/environments.list_environments.js) | +| update environment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/environments.update_environment.js) | +| get fulfillment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/fulfillments.get_fulfillment.js) | +| update fulfillment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/fulfillments.update_fulfillment.js) | +| create generator | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/generators.create_generator.js) | +| delete generator | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/generators.delete_generator.js) | +| get generator | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/generators.get_generator.js) | +| list generators | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/generators.list_generators.js) | +| update generator | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/generators.update_generator.js) | +| batch delete intents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/intents.batch_delete_intents.js) | +| batch update intents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/intents.batch_update_intents.js) | +| create intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/intents.create_intent.js) | +| delete intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/intents.delete_intent.js) | +| get intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/intents.get_intent.js) | +| list intents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/intents.list_intents.js) | +| update intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/intents.update_intent.js) | +| create knowledge base | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/knowledge_bases.create_knowledge_base.js) | +| delete knowledge base | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/knowledge_bases.delete_knowledge_base.js) | +| get knowledge base | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/knowledge_bases.get_knowledge_base.js) | +| list knowledge bases | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/knowledge_bases.list_knowledge_bases.js) | +| update knowledge base | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/knowledge_bases.update_knowledge_base.js) | +| analyze content | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/participants.analyze_content.js) | +| create participant | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/participants.create_participant.js) | +| get participant | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/participants.get_participant.js) | +| list participants | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/participants.list_participants.js) | +| streaming analyze content | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/participants.streaming_analyze_content.js) | +| suggest articles | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/participants.suggest_articles.js) | +| suggest faq answers | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/participants.suggest_faq_answers.js) | +| suggest knowledge assist | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/participants.suggest_knowledge_assist.js) | +| suggest smart replies | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/participants.suggest_smart_replies.js) | +| update participant | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/participants.update_participant.js) | +| create session entity type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/session_entity_types.create_session_entity_type.js) | +| delete session entity type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/session_entity_types.delete_session_entity_type.js) | +| get session entity type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/session_entity_types.get_session_entity_type.js) | +| list session entity types | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/session_entity_types.list_session_entity_types.js) | +| update session entity type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/session_entity_types.update_session_entity_type.js) | +| detect intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/sessions.detect_intent.js) | +| streaming detect intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/sessions.streaming_detect_intent.js) | +| cloud | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/snippet_metadata_google.cloud.dialogflow.v2.json) | +| create version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/versions.create_version.js) | +| delete version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/versions.delete_version.js) | +| get version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/versions.get_version.js) | +| list versions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/versions.list_versions.js) | +| update version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2/versions.update_version.js) | +| delete agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/agents.delete_agent.js) | +| export agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/agents.export_agent.js) | +| get agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/agents.get_agent.js) | +| get validation result | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/agents.get_validation_result.js) | +| import agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/agents.import_agent.js) | +| restore agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/agents.restore_agent.js) | +| search agents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/agents.search_agents.js) | +| set agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/agents.set_agent.js) | +| train agent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/agents.train_agent.js) | +| get answer record | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/answer_records.get_answer_record.js) | +| list answer records | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/answer_records.list_answer_records.js) | +| update answer record | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/answer_records.update_answer_record.js) | +| create context | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/contexts.create_context.js) | +| delete all contexts | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/contexts.delete_all_contexts.js) | +| delete context | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/contexts.delete_context.js) | +| get context | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/contexts.get_context.js) | +| list contexts | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/contexts.list_contexts.js) | +| update context | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/contexts.update_context.js) | +| clear suggestion feature config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/conversation_profiles.clear_suggestion_feature_config.js) | +| create conversation profile | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/conversation_profiles.create_conversation_profile.js) | +| delete conversation profile | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/conversation_profiles.delete_conversation_profile.js) | +| get conversation profile | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/conversation_profiles.get_conversation_profile.js) | +| list conversation profiles | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/conversation_profiles.list_conversation_profiles.js) | +| set suggestion feature config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/conversation_profiles.set_suggestion_feature_config.js) | +| update conversation profile | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/conversation_profiles.update_conversation_profile.js) | +| batch create messages | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/conversations.batch_create_messages.js) | +| complete conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/conversations.complete_conversation.js) | +| create conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/conversations.create_conversation.js) | +| generate stateless suggestion | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/conversations.generate_stateless_suggestion.js) | +| generate stateless summary | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/conversations.generate_stateless_summary.js) | +| generate suggestions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/conversations.generate_suggestions.js) | +| get conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/conversations.get_conversation.js) | +| ingest context references | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/conversations.ingest_context_references.js) | +| list conversations | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/conversations.list_conversations.js) | +| list messages | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/conversations.list_messages.js) | +| search knowledge | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/conversations.search_knowledge.js) | +| suggest conversation summary | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/conversations.suggest_conversation_summary.js) | +| create document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/documents.create_document.js) | +| delete document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/documents.delete_document.js) | +| get document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/documents.get_document.js) | +| import documents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/documents.import_documents.js) | +| list documents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/documents.list_documents.js) | +| reload document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/documents.reload_document.js) | +| update document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/documents.update_document.js) | +| get encryption spec | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/encryption_spec_service.get_encryption_spec.js) | +| initialize encryption spec | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/encryption_spec_service.initialize_encryption_spec.js) | +| batch create entities | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/entity_types.batch_create_entities.js) | +| batch delete entities | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/entity_types.batch_delete_entities.js) | +| batch delete entity types | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/entity_types.batch_delete_entity_types.js) | +| batch update entities | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/entity_types.batch_update_entities.js) | +| batch update entity types | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/entity_types.batch_update_entity_types.js) | +| create entity type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/entity_types.create_entity_type.js) | +| delete entity type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/entity_types.delete_entity_type.js) | +| get entity type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/entity_types.get_entity_type.js) | +| list entity types | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/entity_types.list_entity_types.js) | +| update entity type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/entity_types.update_entity_type.js) | +| create environment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/environments.create_environment.js) | +| delete environment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/environments.delete_environment.js) | +| get environment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/environments.get_environment.js) | +| get environment history | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/environments.get_environment_history.js) | +| list environments | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/environments.list_environments.js) | +| update environment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/environments.update_environment.js) | +| get fulfillment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/fulfillments.get_fulfillment.js) | +| update fulfillment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/fulfillments.update_fulfillment.js) | +| create generator | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/generators.create_generator.js) | +| delete generator | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/generators.delete_generator.js) | +| get generator | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/generators.get_generator.js) | +| list generators | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/generators.list_generators.js) | +| update generator | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/generators.update_generator.js) | +| batch delete intents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/intents.batch_delete_intents.js) | +| batch update intents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/intents.batch_update_intents.js) | +| create intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/intents.create_intent.js) | +| delete intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/intents.delete_intent.js) | +| get intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/intents.get_intent.js) | +| list intents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/intents.list_intents.js) | +| update intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/intents.update_intent.js) | +| create knowledge base | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/knowledge_bases.create_knowledge_base.js) | +| delete knowledge base | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/knowledge_bases.delete_knowledge_base.js) | +| get knowledge base | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/knowledge_bases.get_knowledge_base.js) | +| list knowledge bases | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/knowledge_bases.list_knowledge_bases.js) | +| update knowledge base | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/knowledge_bases.update_knowledge_base.js) | +| analyze content | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/participants.analyze_content.js) | +| compile suggestion | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/participants.compile_suggestion.js) | +| create participant | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/participants.create_participant.js) | +| get participant | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/participants.get_participant.js) | +| list participants | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/participants.list_participants.js) | +| list suggestions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/participants.list_suggestions.js) | +| streaming analyze content | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/participants.streaming_analyze_content.js) | +| suggest articles | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/participants.suggest_articles.js) | +| suggest faq answers | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/participants.suggest_faq_answers.js) | +| suggest knowledge assist | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/participants.suggest_knowledge_assist.js) | +| suggest smart replies | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/participants.suggest_smart_replies.js) | +| update participant | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/participants.update_participant.js) | +| delete phone number | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/phone_numbers.delete_phone_number.js) | +| list phone numbers | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/phone_numbers.list_phone_numbers.js) | +| undelete phone number | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/phone_numbers.undelete_phone_number.js) | +| update phone number | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/phone_numbers.update_phone_number.js) | +| create session entity type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/session_entity_types.create_session_entity_type.js) | +| delete session entity type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/session_entity_types.delete_session_entity_type.js) | +| get session entity type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/session_entity_types.get_session_entity_type.js) | +| list session entity types | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/session_entity_types.list_session_entity_types.js) | +| update session entity type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/session_entity_types.update_session_entity_type.js) | +| detect intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/sessions.detect_intent.js) | +| streaming detect intent | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/sessions.streaming_detect_intent.js) | +| create sip trunk | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/sip_trunks.create_sip_trunk.js) | +| delete sip trunk | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/sip_trunks.delete_sip_trunk.js) | +| get sip trunk | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/sip_trunks.get_sip_trunk.js) | +| list sip trunks | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/sip_trunks.list_sip_trunks.js) | +| update sip trunk | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/sip_trunks.update_sip_trunk.js) | +| cloud | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/snippet_metadata_google.cloud.dialogflow.v2beta1.json) | +| create version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/versions.create_version.js) | +| delete version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/versions.delete_version.js) | +| get version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/versions.get_version.js) | +| list versions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/versions.list_versions.js) | +| update version | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples/generated/v2beta1/versions.update_version.js) | + ## Supported Node.js Versions @@ -324,45 +317,29 @@ for versions compatible with Node.js 8. This library follows [Semantic Versioning](http://semver.org/). - - -This library is considered to be **stable**. The code surface will not change in backwards-incompatible ways -unless absolutely necessary (e.g. because of critical security issues) or with -an extensive deprecation period. Issues and requests against **stable** libraries -are addressed with the highest priority. - - - - - - More Information: [Google Cloud Platform Launch Stages][launch_stages] [launch_stages]: https://cloud.google.com/terms/launch-stages ## Contributing -Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/google-cloud-node/blob/main/CONTRIBUTING.md). +Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/CONTRIBUTING.md). -Please note that this `README.md`, the `samples/README.md`, +Please note that this `README.md` and a variety of configuration files in this repository (including `.nycrc` and `tsconfig.json`) -are generated from a central template. To edit one of these files, make an edit -to its templates in -[directory](https://github.com/googleapis/synthtool). +are generated from a central template. ## License Apache Version 2.0 -See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/LICENSE) +See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/LICENSE) -[client-docs]: https://googleapis.dev/nodejs/dialogflow/latest -[product-docs]: https://cloud.google.com/dialogflow-enterprise/ [shell_img]: https://gstatic.com/cloudssh/images/open-btn.png [projects]: https://console.cloud.google.com/project [billing]: https://support.google.com/cloud/answer/6293499#enable-billing [enable_api]: https://console.cloud.google.com/flows/enableapi?apiid=dialogflow.googleapis.com [auth]: https://cloud.google.com/docs/authentication/external/set-up-adc-local - - -[//]: # "partials.introduction" \ No newline at end of file +[homepage_samples]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/samples +[homepage_changelog]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow/CHANGELOG.md +[homepage]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-dialogflow diff --git a/packages/google-cloud-dialogflow/protos/protos.d.ts b/packages/google-cloud-dialogflow/protos/protos.d.ts index 11f210bbe5c5..b5109c237c08 100644 --- a/packages/google-cloud-dialogflow/protos/protos.d.ts +++ b/packages/google-cloud-dialogflow/protos/protos.d.ts @@ -85094,9 +85094,6 @@ export namespace google { /** CommonLanguageSettings destinations */ destinations?: (google.api.ClientLibraryDestination[]|null); - - /** CommonLanguageSettings selectiveGapicGeneration */ - selectiveGapicGeneration?: (google.api.ISelectiveGapicGeneration|null); } /** Represents a CommonLanguageSettings. */ @@ -85114,9 +85111,6 @@ export namespace google { /** CommonLanguageSettings destinations. */ public destinations: google.api.ClientLibraryDestination[]; - /** CommonLanguageSettings selectiveGapicGeneration. */ - public selectiveGapicGeneration?: (google.api.ISelectiveGapicGeneration|null); - /** * Creates a new CommonLanguageSettings instance using the specified properties. * @param [properties] Properties to set @@ -85817,9 +85811,6 @@ export namespace google { /** PythonSettings common */ common?: (google.api.ICommonLanguageSettings|null); - - /** PythonSettings experimentalFeatures */ - experimentalFeatures?: (google.api.PythonSettings.IExperimentalFeatures|null); } /** Represents a PythonSettings. */ @@ -85834,9 +85825,6 @@ export namespace google { /** PythonSettings common. */ public common?: (google.api.ICommonLanguageSettings|null); - /** PythonSettings experimentalFeatures. */ - public experimentalFeatures?: (google.api.PythonSettings.IExperimentalFeatures|null); - /** * Creates a new PythonSettings instance using the specified properties. * @param [properties] Properties to set @@ -85915,118 +85903,6 @@ export namespace google { public static getTypeUrl(typeUrlPrefix?: string): string; } - namespace PythonSettings { - - /** Properties of an ExperimentalFeatures. */ - interface IExperimentalFeatures { - - /** ExperimentalFeatures restAsyncIoEnabled */ - restAsyncIoEnabled?: (boolean|null); - - /** ExperimentalFeatures protobufPythonicTypesEnabled */ - protobufPythonicTypesEnabled?: (boolean|null); - - /** ExperimentalFeatures unversionedPackageDisabled */ - unversionedPackageDisabled?: (boolean|null); - } - - /** Represents an ExperimentalFeatures. */ - class ExperimentalFeatures implements IExperimentalFeatures { - - /** - * Constructs a new ExperimentalFeatures. - * @param [properties] Properties to set - */ - constructor(properties?: google.api.PythonSettings.IExperimentalFeatures); - - /** ExperimentalFeatures restAsyncIoEnabled. */ - public restAsyncIoEnabled: boolean; - - /** ExperimentalFeatures protobufPythonicTypesEnabled. */ - public protobufPythonicTypesEnabled: boolean; - - /** ExperimentalFeatures unversionedPackageDisabled. */ - public unversionedPackageDisabled: boolean; - - /** - * Creates a new ExperimentalFeatures instance using the specified properties. - * @param [properties] Properties to set - * @returns ExperimentalFeatures instance - */ - public static create(properties?: google.api.PythonSettings.IExperimentalFeatures): google.api.PythonSettings.ExperimentalFeatures; - - /** - * Encodes the specified ExperimentalFeatures message. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @param message ExperimentalFeatures message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.api.PythonSettings.IExperimentalFeatures, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ExperimentalFeatures message, length delimited. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @param message ExperimentalFeatures message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.api.PythonSettings.IExperimentalFeatures, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.PythonSettings.ExperimentalFeatures; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.PythonSettings.ExperimentalFeatures; - - /** - * Verifies an ExperimentalFeatures message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an ExperimentalFeatures message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ExperimentalFeatures - */ - public static fromObject(object: { [k: string]: any }): google.api.PythonSettings.ExperimentalFeatures; - - /** - * Creates a plain object from an ExperimentalFeatures message. Also converts values to other types if specified. - * @param message ExperimentalFeatures - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.api.PythonSettings.ExperimentalFeatures, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ExperimentalFeatures to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ExperimentalFeatures - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - } - /** Properties of a NodeSettings. */ interface INodeSettings { @@ -86353,9 +86229,6 @@ export namespace google { /** GoSettings common */ common?: (google.api.ICommonLanguageSettings|null); - - /** GoSettings renamedServices */ - renamedServices?: ({ [k: string]: string }|null); } /** Represents a GoSettings. */ @@ -86370,9 +86243,6 @@ export namespace google { /** GoSettings common. */ public common?: (google.api.ICommonLanguageSettings|null); - /** GoSettings renamedServices. */ - public renamedServices: { [k: string]: string }; - /** * Creates a new GoSettings instance using the specified properties. * @param [properties] Properties to set @@ -86697,109 +86567,6 @@ export namespace google { PACKAGE_MANAGER = 20 } - /** Properties of a SelectiveGapicGeneration. */ - interface ISelectiveGapicGeneration { - - /** SelectiveGapicGeneration methods */ - methods?: (string[]|null); - - /** SelectiveGapicGeneration generateOmittedAsInternal */ - generateOmittedAsInternal?: (boolean|null); - } - - /** Represents a SelectiveGapicGeneration. */ - class SelectiveGapicGeneration implements ISelectiveGapicGeneration { - - /** - * Constructs a new SelectiveGapicGeneration. - * @param [properties] Properties to set - */ - constructor(properties?: google.api.ISelectiveGapicGeneration); - - /** SelectiveGapicGeneration methods. */ - public methods: string[]; - - /** SelectiveGapicGeneration generateOmittedAsInternal. */ - public generateOmittedAsInternal: boolean; - - /** - * Creates a new SelectiveGapicGeneration instance using the specified properties. - * @param [properties] Properties to set - * @returns SelectiveGapicGeneration instance - */ - public static create(properties?: google.api.ISelectiveGapicGeneration): google.api.SelectiveGapicGeneration; - - /** - * Encodes the specified SelectiveGapicGeneration message. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @param message SelectiveGapicGeneration message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.api.ISelectiveGapicGeneration, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified SelectiveGapicGeneration message, length delimited. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @param message SelectiveGapicGeneration message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.api.ISelectiveGapicGeneration, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.SelectiveGapicGeneration; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.SelectiveGapicGeneration; - - /** - * Verifies a SelectiveGapicGeneration message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a SelectiveGapicGeneration message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns SelectiveGapicGeneration - */ - public static fromObject(object: { [k: string]: any }): google.api.SelectiveGapicGeneration; - - /** - * Creates a plain object from a SelectiveGapicGeneration message. Also converts values to other types if specified. - * @param message SelectiveGapicGeneration - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.api.SelectiveGapicGeneration, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this SelectiveGapicGeneration to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for SelectiveGapicGeneration - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - /** LaunchStage enum. */ enum LaunchStage { LAUNCH_STAGE_UNSPECIFIED = 0, @@ -87181,7 +86948,6 @@ export namespace google { /** Edition enum. */ enum Edition { EDITION_UNKNOWN = 0, - EDITION_LEGACY = 900, EDITION_PROTO2 = 998, EDITION_PROTO3 = 999, EDITION_2023 = 1000, @@ -87212,9 +86978,6 @@ export namespace google { /** FileDescriptorProto weakDependency */ weakDependency?: (number[]|null); - /** FileDescriptorProto optionDependency */ - optionDependency?: (string[]|null); - /** FileDescriptorProto messageType */ messageType?: (google.protobuf.IDescriptorProto[]|null); @@ -87264,9 +87027,6 @@ export namespace google { /** FileDescriptorProto weakDependency. */ public weakDependency: number[]; - /** FileDescriptorProto optionDependency. */ - public optionDependency: string[]; - /** FileDescriptorProto messageType. */ public messageType: google.protobuf.IDescriptorProto[]; @@ -87401,9 +87161,6 @@ export namespace google { /** DescriptorProto reservedName */ reservedName?: (string[]|null); - - /** DescriptorProto visibility */ - visibility?: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility|null); } /** Represents a DescriptorProto. */ @@ -87445,9 +87202,6 @@ export namespace google { /** DescriptorProto reservedName. */ public reservedName: string[]; - /** DescriptorProto visibility. */ - public visibility: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility); - /** * Creates a new DescriptorProto instance using the specified properties. * @param [properties] Properties to set @@ -88295,9 +88049,6 @@ export namespace google { /** EnumDescriptorProto reservedName */ reservedName?: (string[]|null); - - /** EnumDescriptorProto visibility */ - visibility?: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility|null); } /** Represents an EnumDescriptorProto. */ @@ -88324,9 +88075,6 @@ export namespace google { /** EnumDescriptorProto reservedName. */ public reservedName: string[]; - /** EnumDescriptorProto visibility. */ - public visibility: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility); - /** * Creates a new EnumDescriptorProto instance using the specified properties. * @param [properties] Properties to set @@ -89261,9 +89009,6 @@ export namespace google { /** FieldOptions features */ features?: (google.protobuf.IFeatureSet|null); - /** FieldOptions featureSupport */ - featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** FieldOptions uninterpretedOption */ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); @@ -89319,9 +89064,6 @@ export namespace google { /** FieldOptions features. */ public features?: (google.protobuf.IFeatureSet|null); - /** FieldOptions featureSupport. */ - public featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** FieldOptions uninterpretedOption. */ public uninterpretedOption: google.protobuf.IUninterpretedOption[]; @@ -89542,121 +89284,6 @@ export namespace google { */ public static getTypeUrl(typeUrlPrefix?: string): string; } - - /** Properties of a FeatureSupport. */ - interface IFeatureSupport { - - /** FeatureSupport editionIntroduced */ - editionIntroduced?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - - /** FeatureSupport editionDeprecated */ - editionDeprecated?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - - /** FeatureSupport deprecationWarning */ - deprecationWarning?: (string|null); - - /** FeatureSupport editionRemoved */ - editionRemoved?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - } - - /** Represents a FeatureSupport. */ - class FeatureSupport implements IFeatureSupport { - - /** - * Constructs a new FeatureSupport. - * @param [properties] Properties to set - */ - constructor(properties?: google.protobuf.FieldOptions.IFeatureSupport); - - /** FeatureSupport editionIntroduced. */ - public editionIntroduced: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - - /** FeatureSupport editionDeprecated. */ - public editionDeprecated: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - - /** FeatureSupport deprecationWarning. */ - public deprecationWarning: string; - - /** FeatureSupport editionRemoved. */ - public editionRemoved: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - - /** - * Creates a new FeatureSupport instance using the specified properties. - * @param [properties] Properties to set - * @returns FeatureSupport instance - */ - public static create(properties?: google.protobuf.FieldOptions.IFeatureSupport): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Encodes the specified FeatureSupport message. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. - * @param message FeatureSupport message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.protobuf.FieldOptions.IFeatureSupport, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified FeatureSupport message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. - * @param message FeatureSupport message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.protobuf.FieldOptions.IFeatureSupport, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a FeatureSupport message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns FeatureSupport - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Decodes a FeatureSupport message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns FeatureSupport - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Verifies a FeatureSupport message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a FeatureSupport message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns FeatureSupport - */ - public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Creates a plain object from a FeatureSupport message. Also converts values to other types if specified. - * @param message FeatureSupport - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.protobuf.FieldOptions.FeatureSupport, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this FeatureSupport to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for FeatureSupport - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } } /** Properties of an OneofOptions. */ @@ -89895,9 +89522,6 @@ export namespace google { /** EnumValueOptions debugRedact */ debugRedact?: (boolean|null); - /** EnumValueOptions featureSupport */ - featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** EnumValueOptions uninterpretedOption */ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); } @@ -89920,9 +89544,6 @@ export namespace google { /** EnumValueOptions debugRedact. */ public debugRedact: boolean; - /** EnumValueOptions featureSupport. */ - public featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** EnumValueOptions uninterpretedOption. */ public uninterpretedOption: google.protobuf.IUninterpretedOption[]; @@ -90515,12 +90136,6 @@ export namespace google { /** FeatureSet jsonFormat */ jsonFormat?: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat|null); - - /** FeatureSet enforceNamingStyle */ - enforceNamingStyle?: (google.protobuf.FeatureSet.EnforceNamingStyle|keyof typeof google.protobuf.FeatureSet.EnforceNamingStyle|null); - - /** FeatureSet defaultSymbolVisibility */ - defaultSymbolVisibility?: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|keyof typeof google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|null); } /** Represents a FeatureSet. */ @@ -90550,12 +90165,6 @@ export namespace google { /** FeatureSet jsonFormat. */ public jsonFormat: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat); - /** FeatureSet enforceNamingStyle. */ - public enforceNamingStyle: (google.protobuf.FeatureSet.EnforceNamingStyle|keyof typeof google.protobuf.FeatureSet.EnforceNamingStyle); - - /** FeatureSet defaultSymbolVisibility. */ - public defaultSymbolVisibility: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|keyof typeof google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility); - /** * Creates a new FeatureSet instance using the specified properties. * @param [properties] Properties to set @@ -90678,116 +90287,6 @@ export namespace google { ALLOW = 1, LEGACY_BEST_EFFORT = 2 } - - /** EnforceNamingStyle enum. */ - enum EnforceNamingStyle { - ENFORCE_NAMING_STYLE_UNKNOWN = 0, - STYLE2024 = 1, - STYLE_LEGACY = 2 - } - - /** Properties of a VisibilityFeature. */ - interface IVisibilityFeature { - } - - /** Represents a VisibilityFeature. */ - class VisibilityFeature implements IVisibilityFeature { - - /** - * Constructs a new VisibilityFeature. - * @param [properties] Properties to set - */ - constructor(properties?: google.protobuf.FeatureSet.IVisibilityFeature); - - /** - * Creates a new VisibilityFeature instance using the specified properties. - * @param [properties] Properties to set - * @returns VisibilityFeature instance - */ - public static create(properties?: google.protobuf.FeatureSet.IVisibilityFeature): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Encodes the specified VisibilityFeature message. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @param message VisibilityFeature message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.protobuf.FeatureSet.IVisibilityFeature, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified VisibilityFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @param message VisibilityFeature message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.protobuf.FeatureSet.IVisibilityFeature, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Verifies a VisibilityFeature message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a VisibilityFeature message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns VisibilityFeature - */ - public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Creates a plain object from a VisibilityFeature message. Also converts values to other types if specified. - * @param message VisibilityFeature - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.protobuf.FeatureSet.VisibilityFeature, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this VisibilityFeature to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for VisibilityFeature - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - namespace VisibilityFeature { - - /** DefaultSymbolVisibility enum. */ - enum DefaultSymbolVisibility { - DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0, - EXPORT_ALL = 1, - EXPORT_TOP_LEVEL = 2, - LOCAL_ALL = 3, - STRICT = 4 - } - } } /** Properties of a FeatureSetDefaults. */ @@ -90907,11 +90406,8 @@ export namespace google { /** FeatureSetEditionDefault edition */ edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - /** FeatureSetEditionDefault overridableFeatures */ - overridableFeatures?: (google.protobuf.IFeatureSet|null); - - /** FeatureSetEditionDefault fixedFeatures */ - fixedFeatures?: (google.protobuf.IFeatureSet|null); + /** FeatureSetEditionDefault features */ + features?: (google.protobuf.IFeatureSet|null); } /** Represents a FeatureSetEditionDefault. */ @@ -90926,11 +90422,8 @@ export namespace google { /** FeatureSetEditionDefault edition. */ public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - /** FeatureSetEditionDefault overridableFeatures. */ - public overridableFeatures?: (google.protobuf.IFeatureSet|null); - - /** FeatureSetEditionDefault fixedFeatures. */ - public fixedFeatures?: (google.protobuf.IFeatureSet|null); + /** FeatureSetEditionDefault features. */ + public features?: (google.protobuf.IFeatureSet|null); /** * Creates a new FeatureSetEditionDefault instance using the specified properties. @@ -91463,13 +90956,6 @@ export namespace google { } } - /** SymbolVisibility enum. */ - enum SymbolVisibility { - VISIBILITY_UNSET = 0, - VISIBILITY_LOCAL = 1, - VISIBILITY_EXPORT = 2 - } - /** Properties of a Duration. */ interface IDuration { diff --git a/packages/google-cloud-dialogflow/protos/protos.js b/packages/google-cloud-dialogflow/protos/protos.js index 34a4a729b787..2467817ccad0 100644 --- a/packages/google-cloud-dialogflow/protos/protos.js +++ b/packages/google-cloud-dialogflow/protos/protos.js @@ -208998,7 +208998,6 @@ * @interface ICommonLanguageSettings * @property {string|null} [referenceDocsUri] CommonLanguageSettings referenceDocsUri * @property {Array.|null} [destinations] CommonLanguageSettings destinations - * @property {google.api.ISelectiveGapicGeneration|null} [selectiveGapicGeneration] CommonLanguageSettings selectiveGapicGeneration */ /** @@ -209033,14 +209032,6 @@ */ CommonLanguageSettings.prototype.destinations = $util.emptyArray; - /** - * CommonLanguageSettings selectiveGapicGeneration. - * @member {google.api.ISelectiveGapicGeneration|null|undefined} selectiveGapicGeneration - * @memberof google.api.CommonLanguageSettings - * @instance - */ - CommonLanguageSettings.prototype.selectiveGapicGeneration = null; - /** * Creates a new CommonLanguageSettings instance using the specified properties. * @function create @@ -209073,8 +209064,6 @@ writer.int32(message.destinations[i]); writer.ldelim(); } - if (message.selectiveGapicGeneration != null && Object.hasOwnProperty.call(message, "selectiveGapicGeneration")) - $root.google.api.SelectiveGapicGeneration.encode(message.selectiveGapicGeneration, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; @@ -209126,10 +209115,6 @@ message.destinations.push(reader.int32()); break; } - case 3: { - message.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.decode(reader, reader.uint32()); - break; - } default: reader.skipType(tag & 7); break; @@ -209181,11 +209166,6 @@ break; } } - if (message.selectiveGapicGeneration != null && message.hasOwnProperty("selectiveGapicGeneration")) { - var error = $root.google.api.SelectiveGapicGeneration.verify(message.selectiveGapicGeneration); - if (error) - return "selectiveGapicGeneration." + error; - } return null; }; @@ -209228,11 +209208,6 @@ break; } } - if (object.selectiveGapicGeneration != null) { - if (typeof object.selectiveGapicGeneration !== "object") - throw TypeError(".google.api.CommonLanguageSettings.selectiveGapicGeneration: object expected"); - message.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.fromObject(object.selectiveGapicGeneration); - } return message; }; @@ -209251,10 +209226,8 @@ var object = {}; if (options.arrays || options.defaults) object.destinations = []; - if (options.defaults) { + if (options.defaults) object.referenceDocsUri = ""; - object.selectiveGapicGeneration = null; - } if (message.referenceDocsUri != null && message.hasOwnProperty("referenceDocsUri")) object.referenceDocsUri = message.referenceDocsUri; if (message.destinations && message.destinations.length) { @@ -209262,8 +209235,6 @@ for (var j = 0; j < message.destinations.length; ++j) object.destinations[j] = options.enums === String ? $root.google.api.ClientLibraryDestination[message.destinations[j]] === undefined ? message.destinations[j] : $root.google.api.ClientLibraryDestination[message.destinations[j]] : message.destinations[j]; } - if (message.selectiveGapicGeneration != null && message.hasOwnProperty("selectiveGapicGeneration")) - object.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.toObject(message.selectiveGapicGeneration, options); return object; }; @@ -211086,7 +211057,6 @@ * @memberof google.api * @interface IPythonSettings * @property {google.api.ICommonLanguageSettings|null} [common] PythonSettings common - * @property {google.api.PythonSettings.IExperimentalFeatures|null} [experimentalFeatures] PythonSettings experimentalFeatures */ /** @@ -211112,14 +211082,6 @@ */ PythonSettings.prototype.common = null; - /** - * PythonSettings experimentalFeatures. - * @member {google.api.PythonSettings.IExperimentalFeatures|null|undefined} experimentalFeatures - * @memberof google.api.PythonSettings - * @instance - */ - PythonSettings.prototype.experimentalFeatures = null; - /** * Creates a new PythonSettings instance using the specified properties. * @function create @@ -211146,8 +211108,6 @@ writer = $Writer.create(); if (message.common != null && Object.hasOwnProperty.call(message, "common")) $root.google.api.CommonLanguageSettings.encode(message.common, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.experimentalFeatures != null && Object.hasOwnProperty.call(message, "experimentalFeatures")) - $root.google.api.PythonSettings.ExperimentalFeatures.encode(message.experimentalFeatures, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; @@ -211188,10 +211148,6 @@ message.common = $root.google.api.CommonLanguageSettings.decode(reader, reader.uint32()); break; } - case 2: { - message.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.decode(reader, reader.uint32()); - break; - } default: reader.skipType(tag & 7); break; @@ -211232,11 +211188,6 @@ if (error) return "common." + error; } - if (message.experimentalFeatures != null && message.hasOwnProperty("experimentalFeatures")) { - var error = $root.google.api.PythonSettings.ExperimentalFeatures.verify(message.experimentalFeatures); - if (error) - return "experimentalFeatures." + error; - } return null; }; @@ -211257,11 +211208,6 @@ throw TypeError(".google.api.PythonSettings.common: object expected"); message.common = $root.google.api.CommonLanguageSettings.fromObject(object.common); } - if (object.experimentalFeatures != null) { - if (typeof object.experimentalFeatures !== "object") - throw TypeError(".google.api.PythonSettings.experimentalFeatures: object expected"); - message.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.fromObject(object.experimentalFeatures); - } return message; }; @@ -211278,14 +211224,10 @@ if (!options) options = {}; var object = {}; - if (options.defaults) { + if (options.defaults) object.common = null; - object.experimentalFeatures = null; - } if (message.common != null && message.hasOwnProperty("common")) object.common = $root.google.api.CommonLanguageSettings.toObject(message.common, options); - if (message.experimentalFeatures != null && message.hasOwnProperty("experimentalFeatures")) - object.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.toObject(message.experimentalFeatures, options); return object; }; @@ -211315,258 +211257,6 @@ return typeUrlPrefix + "/google.api.PythonSettings"; }; - PythonSettings.ExperimentalFeatures = (function() { - - /** - * Properties of an ExperimentalFeatures. - * @memberof google.api.PythonSettings - * @interface IExperimentalFeatures - * @property {boolean|null} [restAsyncIoEnabled] ExperimentalFeatures restAsyncIoEnabled - * @property {boolean|null} [protobufPythonicTypesEnabled] ExperimentalFeatures protobufPythonicTypesEnabled - * @property {boolean|null} [unversionedPackageDisabled] ExperimentalFeatures unversionedPackageDisabled - */ - - /** - * Constructs a new ExperimentalFeatures. - * @memberof google.api.PythonSettings - * @classdesc Represents an ExperimentalFeatures. - * @implements IExperimentalFeatures - * @constructor - * @param {google.api.PythonSettings.IExperimentalFeatures=} [properties] Properties to set - */ - function ExperimentalFeatures(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ExperimentalFeatures restAsyncIoEnabled. - * @member {boolean} restAsyncIoEnabled - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - */ - ExperimentalFeatures.prototype.restAsyncIoEnabled = false; - - /** - * ExperimentalFeatures protobufPythonicTypesEnabled. - * @member {boolean} protobufPythonicTypesEnabled - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - */ - ExperimentalFeatures.prototype.protobufPythonicTypesEnabled = false; - - /** - * ExperimentalFeatures unversionedPackageDisabled. - * @member {boolean} unversionedPackageDisabled - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - */ - ExperimentalFeatures.prototype.unversionedPackageDisabled = false; - - /** - * Creates a new ExperimentalFeatures instance using the specified properties. - * @function create - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.IExperimentalFeatures=} [properties] Properties to set - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures instance - */ - ExperimentalFeatures.create = function create(properties) { - return new ExperimentalFeatures(properties); - }; - - /** - * Encodes the specified ExperimentalFeatures message. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @function encode - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.IExperimentalFeatures} message ExperimentalFeatures message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ExperimentalFeatures.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.restAsyncIoEnabled != null && Object.hasOwnProperty.call(message, "restAsyncIoEnabled")) - writer.uint32(/* id 1, wireType 0 =*/8).bool(message.restAsyncIoEnabled); - if (message.protobufPythonicTypesEnabled != null && Object.hasOwnProperty.call(message, "protobufPythonicTypesEnabled")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.protobufPythonicTypesEnabled); - if (message.unversionedPackageDisabled != null && Object.hasOwnProperty.call(message, "unversionedPackageDisabled")) - writer.uint32(/* id 3, wireType 0 =*/24).bool(message.unversionedPackageDisabled); - return writer; - }; - - /** - * Encodes the specified ExperimentalFeatures message, length delimited. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @function encodeDelimited - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.IExperimentalFeatures} message ExperimentalFeatures message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ExperimentalFeatures.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer. - * @function decode - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ExperimentalFeatures.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.PythonSettings.ExperimentalFeatures(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.restAsyncIoEnabled = reader.bool(); - break; - } - case 2: { - message.protobufPythonicTypesEnabled = reader.bool(); - break; - } - case 3: { - message.unversionedPackageDisabled = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ExperimentalFeatures.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an ExperimentalFeatures message. - * @function verify - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - ExperimentalFeatures.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.restAsyncIoEnabled != null && message.hasOwnProperty("restAsyncIoEnabled")) - if (typeof message.restAsyncIoEnabled !== "boolean") - return "restAsyncIoEnabled: boolean expected"; - if (message.protobufPythonicTypesEnabled != null && message.hasOwnProperty("protobufPythonicTypesEnabled")) - if (typeof message.protobufPythonicTypesEnabled !== "boolean") - return "protobufPythonicTypesEnabled: boolean expected"; - if (message.unversionedPackageDisabled != null && message.hasOwnProperty("unversionedPackageDisabled")) - if (typeof message.unversionedPackageDisabled !== "boolean") - return "unversionedPackageDisabled: boolean expected"; - return null; - }; - - /** - * Creates an ExperimentalFeatures message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {Object.} object Plain object - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures - */ - ExperimentalFeatures.fromObject = function fromObject(object) { - if (object instanceof $root.google.api.PythonSettings.ExperimentalFeatures) - return object; - var message = new $root.google.api.PythonSettings.ExperimentalFeatures(); - if (object.restAsyncIoEnabled != null) - message.restAsyncIoEnabled = Boolean(object.restAsyncIoEnabled); - if (object.protobufPythonicTypesEnabled != null) - message.protobufPythonicTypesEnabled = Boolean(object.protobufPythonicTypesEnabled); - if (object.unversionedPackageDisabled != null) - message.unversionedPackageDisabled = Boolean(object.unversionedPackageDisabled); - return message; - }; - - /** - * Creates a plain object from an ExperimentalFeatures message. Also converts values to other types if specified. - * @function toObject - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.ExperimentalFeatures} message ExperimentalFeatures - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ExperimentalFeatures.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.restAsyncIoEnabled = false; - object.protobufPythonicTypesEnabled = false; - object.unversionedPackageDisabled = false; - } - if (message.restAsyncIoEnabled != null && message.hasOwnProperty("restAsyncIoEnabled")) - object.restAsyncIoEnabled = message.restAsyncIoEnabled; - if (message.protobufPythonicTypesEnabled != null && message.hasOwnProperty("protobufPythonicTypesEnabled")) - object.protobufPythonicTypesEnabled = message.protobufPythonicTypesEnabled; - if (message.unversionedPackageDisabled != null && message.hasOwnProperty("unversionedPackageDisabled")) - object.unversionedPackageDisabled = message.unversionedPackageDisabled; - return object; - }; - - /** - * Converts this ExperimentalFeatures to JSON. - * @function toJSON - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - * @returns {Object.} JSON object - */ - ExperimentalFeatures.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ExperimentalFeatures - * @function getTypeUrl - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ExperimentalFeatures.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.api.PythonSettings.ExperimentalFeatures"; - }; - - return ExperimentalFeatures; - })(); - return PythonSettings; })(); @@ -212443,7 +212133,6 @@ * @memberof google.api * @interface IGoSettings * @property {google.api.ICommonLanguageSettings|null} [common] GoSettings common - * @property {Object.|null} [renamedServices] GoSettings renamedServices */ /** @@ -212455,7 +212144,6 @@ * @param {google.api.IGoSettings=} [properties] Properties to set */ function GoSettings(properties) { - this.renamedServices = {}; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -212470,14 +212158,6 @@ */ GoSettings.prototype.common = null; - /** - * GoSettings renamedServices. - * @member {Object.} renamedServices - * @memberof google.api.GoSettings - * @instance - */ - GoSettings.prototype.renamedServices = $util.emptyObject; - /** * Creates a new GoSettings instance using the specified properties. * @function create @@ -212504,9 +212184,6 @@ writer = $Writer.create(); if (message.common != null && Object.hasOwnProperty.call(message, "common")) $root.google.api.CommonLanguageSettings.encode(message.common, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.renamedServices != null && Object.hasOwnProperty.call(message, "renamedServices")) - for (var keys = Object.keys(message.renamedServices), i = 0; i < keys.length; ++i) - writer.uint32(/* id 2, wireType 2 =*/18).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.renamedServices[keys[i]]).ldelim(); return writer; }; @@ -212537,7 +212214,7 @@ GoSettings.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.GoSettings(), key, value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.GoSettings(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) @@ -212547,29 +212224,6 @@ message.common = $root.google.api.CommonLanguageSettings.decode(reader, reader.uint32()); break; } - case 2: { - if (message.renamedServices === $util.emptyObject) - message.renamedServices = {}; - var end2 = reader.uint32() + reader.pos; - key = ""; - value = ""; - while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { - case 1: - key = reader.string(); - break; - case 2: - value = reader.string(); - break; - default: - reader.skipType(tag2 & 7); - break; - } - } - message.renamedServices[key] = value; - break; - } default: reader.skipType(tag & 7); break; @@ -212610,14 +212264,6 @@ if (error) return "common." + error; } - if (message.renamedServices != null && message.hasOwnProperty("renamedServices")) { - if (!$util.isObject(message.renamedServices)) - return "renamedServices: object expected"; - var key = Object.keys(message.renamedServices); - for (var i = 0; i < key.length; ++i) - if (!$util.isString(message.renamedServices[key[i]])) - return "renamedServices: string{k:string} expected"; - } return null; }; @@ -212638,13 +212284,6 @@ throw TypeError(".google.api.GoSettings.common: object expected"); message.common = $root.google.api.CommonLanguageSettings.fromObject(object.common); } - if (object.renamedServices) { - if (typeof object.renamedServices !== "object") - throw TypeError(".google.api.GoSettings.renamedServices: object expected"); - message.renamedServices = {}; - for (var keys = Object.keys(object.renamedServices), i = 0; i < keys.length; ++i) - message.renamedServices[keys[i]] = String(object.renamedServices[keys[i]]); - } return message; }; @@ -212661,18 +212300,10 @@ if (!options) options = {}; var object = {}; - if (options.objects || options.defaults) - object.renamedServices = {}; if (options.defaults) object.common = null; if (message.common != null && message.hasOwnProperty("common")) object.common = $root.google.api.CommonLanguageSettings.toObject(message.common, options); - var keys2; - if (message.renamedServices && (keys2 = Object.keys(message.renamedServices)).length) { - object.renamedServices = {}; - for (var j = 0; j < keys2.length; ++j) - object.renamedServices[keys2[j]] = message.renamedServices[keys2[j]]; - } return object; }; @@ -213311,276 +212942,31 @@ return values; })(); - api.SelectiveGapicGeneration = (function() { - - /** - * Properties of a SelectiveGapicGeneration. - * @memberof google.api - * @interface ISelectiveGapicGeneration - * @property {Array.|null} [methods] SelectiveGapicGeneration methods - * @property {boolean|null} [generateOmittedAsInternal] SelectiveGapicGeneration generateOmittedAsInternal - */ - - /** - * Constructs a new SelectiveGapicGeneration. - * @memberof google.api - * @classdesc Represents a SelectiveGapicGeneration. - * @implements ISelectiveGapicGeneration - * @constructor - * @param {google.api.ISelectiveGapicGeneration=} [properties] Properties to set - */ - function SelectiveGapicGeneration(properties) { - this.methods = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * SelectiveGapicGeneration methods. - * @member {Array.} methods - * @memberof google.api.SelectiveGapicGeneration - * @instance - */ - SelectiveGapicGeneration.prototype.methods = $util.emptyArray; - - /** - * SelectiveGapicGeneration generateOmittedAsInternal. - * @member {boolean} generateOmittedAsInternal - * @memberof google.api.SelectiveGapicGeneration - * @instance - */ - SelectiveGapicGeneration.prototype.generateOmittedAsInternal = false; - - /** - * Creates a new SelectiveGapicGeneration instance using the specified properties. - * @function create - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.ISelectiveGapicGeneration=} [properties] Properties to set - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration instance - */ - SelectiveGapicGeneration.create = function create(properties) { - return new SelectiveGapicGeneration(properties); - }; - - /** - * Encodes the specified SelectiveGapicGeneration message. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @function encode - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.ISelectiveGapicGeneration} message SelectiveGapicGeneration message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - SelectiveGapicGeneration.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.methods != null && message.methods.length) - for (var i = 0; i < message.methods.length; ++i) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.methods[i]); - if (message.generateOmittedAsInternal != null && Object.hasOwnProperty.call(message, "generateOmittedAsInternal")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.generateOmittedAsInternal); - return writer; - }; - - /** - * Encodes the specified SelectiveGapicGeneration message, length delimited. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @function encodeDelimited - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.ISelectiveGapicGeneration} message SelectiveGapicGeneration message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - SelectiveGapicGeneration.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer. - * @function decode - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - SelectiveGapicGeneration.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.SelectiveGapicGeneration(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - if (!(message.methods && message.methods.length)) - message.methods = []; - message.methods.push(reader.string()); - break; - } - case 2: { - message.generateOmittedAsInternal = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - SelectiveGapicGeneration.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a SelectiveGapicGeneration message. - * @function verify - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - SelectiveGapicGeneration.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.methods != null && message.hasOwnProperty("methods")) { - if (!Array.isArray(message.methods)) - return "methods: array expected"; - for (var i = 0; i < message.methods.length; ++i) - if (!$util.isString(message.methods[i])) - return "methods: string[] expected"; - } - if (message.generateOmittedAsInternal != null && message.hasOwnProperty("generateOmittedAsInternal")) - if (typeof message.generateOmittedAsInternal !== "boolean") - return "generateOmittedAsInternal: boolean expected"; - return null; - }; - - /** - * Creates a SelectiveGapicGeneration message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {Object.} object Plain object - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration - */ - SelectiveGapicGeneration.fromObject = function fromObject(object) { - if (object instanceof $root.google.api.SelectiveGapicGeneration) - return object; - var message = new $root.google.api.SelectiveGapicGeneration(); - if (object.methods) { - if (!Array.isArray(object.methods)) - throw TypeError(".google.api.SelectiveGapicGeneration.methods: array expected"); - message.methods = []; - for (var i = 0; i < object.methods.length; ++i) - message.methods[i] = String(object.methods[i]); - } - if (object.generateOmittedAsInternal != null) - message.generateOmittedAsInternal = Boolean(object.generateOmittedAsInternal); - return message; - }; - - /** - * Creates a plain object from a SelectiveGapicGeneration message. Also converts values to other types if specified. - * @function toObject - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.SelectiveGapicGeneration} message SelectiveGapicGeneration - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - SelectiveGapicGeneration.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.methods = []; - if (options.defaults) - object.generateOmittedAsInternal = false; - if (message.methods && message.methods.length) { - object.methods = []; - for (var j = 0; j < message.methods.length; ++j) - object.methods[j] = message.methods[j]; - } - if (message.generateOmittedAsInternal != null && message.hasOwnProperty("generateOmittedAsInternal")) - object.generateOmittedAsInternal = message.generateOmittedAsInternal; - return object; - }; - - /** - * Converts this SelectiveGapicGeneration to JSON. - * @function toJSON - * @memberof google.api.SelectiveGapicGeneration - * @instance - * @returns {Object.} JSON object - */ - SelectiveGapicGeneration.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for SelectiveGapicGeneration - * @function getTypeUrl - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - SelectiveGapicGeneration.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.api.SelectiveGapicGeneration"; - }; - - return SelectiveGapicGeneration; - })(); - - /** - * LaunchStage enum. - * @name google.api.LaunchStage - * @enum {number} - * @property {number} LAUNCH_STAGE_UNSPECIFIED=0 LAUNCH_STAGE_UNSPECIFIED value - * @property {number} UNIMPLEMENTED=6 UNIMPLEMENTED value - * @property {number} PRELAUNCH=7 PRELAUNCH value - * @property {number} EARLY_ACCESS=1 EARLY_ACCESS value - * @property {number} ALPHA=2 ALPHA value - * @property {number} BETA=3 BETA value - * @property {number} GA=4 GA value - * @property {number} DEPRECATED=5 DEPRECATED value - */ - api.LaunchStage = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "LAUNCH_STAGE_UNSPECIFIED"] = 0; - values[valuesById[6] = "UNIMPLEMENTED"] = 6; - values[valuesById[7] = "PRELAUNCH"] = 7; - values[valuesById[1] = "EARLY_ACCESS"] = 1; - values[valuesById[2] = "ALPHA"] = 2; - values[valuesById[3] = "BETA"] = 3; - values[valuesById[4] = "GA"] = 4; - values[valuesById[5] = "DEPRECATED"] = 5; - return values; - })(); + /** + * LaunchStage enum. + * @name google.api.LaunchStage + * @enum {number} + * @property {number} LAUNCH_STAGE_UNSPECIFIED=0 LAUNCH_STAGE_UNSPECIFIED value + * @property {number} UNIMPLEMENTED=6 UNIMPLEMENTED value + * @property {number} PRELAUNCH=7 PRELAUNCH value + * @property {number} EARLY_ACCESS=1 EARLY_ACCESS value + * @property {number} ALPHA=2 ALPHA value + * @property {number} BETA=3 BETA value + * @property {number} GA=4 GA value + * @property {number} DEPRECATED=5 DEPRECATED value + */ + api.LaunchStage = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "LAUNCH_STAGE_UNSPECIFIED"] = 0; + values[valuesById[6] = "UNIMPLEMENTED"] = 6; + values[valuesById[7] = "PRELAUNCH"] = 7; + values[valuesById[1] = "EARLY_ACCESS"] = 1; + values[valuesById[2] = "ALPHA"] = 2; + values[valuesById[3] = "BETA"] = 3; + values[valuesById[4] = "GA"] = 4; + values[valuesById[5] = "DEPRECATED"] = 5; + return values; + })(); /** * FieldBehavior enum. @@ -214541,7 +213927,6 @@ * @name google.protobuf.Edition * @enum {number} * @property {number} EDITION_UNKNOWN=0 EDITION_UNKNOWN value - * @property {number} EDITION_LEGACY=900 EDITION_LEGACY value * @property {number} EDITION_PROTO2=998 EDITION_PROTO2 value * @property {number} EDITION_PROTO3=999 EDITION_PROTO3 value * @property {number} EDITION_2023=1000 EDITION_2023 value @@ -214556,7 +213941,6 @@ protobuf.Edition = (function() { var valuesById = {}, values = Object.create(valuesById); values[valuesById[0] = "EDITION_UNKNOWN"] = 0; - values[valuesById[900] = "EDITION_LEGACY"] = 900; values[valuesById[998] = "EDITION_PROTO2"] = 998; values[valuesById[999] = "EDITION_PROTO3"] = 999; values[valuesById[1000] = "EDITION_2023"] = 1000; @@ -214581,7 +213965,6 @@ * @property {Array.|null} [dependency] FileDescriptorProto dependency * @property {Array.|null} [publicDependency] FileDescriptorProto publicDependency * @property {Array.|null} [weakDependency] FileDescriptorProto weakDependency - * @property {Array.|null} [optionDependency] FileDescriptorProto optionDependency * @property {Array.|null} [messageType] FileDescriptorProto messageType * @property {Array.|null} [enumType] FileDescriptorProto enumType * @property {Array.|null} [service] FileDescriptorProto service @@ -214604,7 +213987,6 @@ this.dependency = []; this.publicDependency = []; this.weakDependency = []; - this.optionDependency = []; this.messageType = []; this.enumType = []; this.service = []; @@ -214655,14 +214037,6 @@ */ FileDescriptorProto.prototype.weakDependency = $util.emptyArray; - /** - * FileDescriptorProto optionDependency. - * @member {Array.} optionDependency - * @memberof google.protobuf.FileDescriptorProto - * @instance - */ - FileDescriptorProto.prototype.optionDependency = $util.emptyArray; - /** * FileDescriptorProto messageType. * @member {Array.} messageType @@ -214784,9 +214158,6 @@ writer.uint32(/* id 12, wireType 2 =*/98).string(message.syntax); if (message.edition != null && Object.hasOwnProperty.call(message, "edition")) writer.uint32(/* id 14, wireType 0 =*/112).int32(message.edition); - if (message.optionDependency != null && message.optionDependency.length) - for (var i = 0; i < message.optionDependency.length; ++i) - writer.uint32(/* id 15, wireType 2 =*/122).string(message.optionDependency[i]); return writer; }; @@ -214859,12 +214230,6 @@ message.weakDependency.push(reader.int32()); break; } - case 15: { - if (!(message.optionDependency && message.optionDependency.length)) - message.optionDependency = []; - message.optionDependency.push(reader.string()); - break; - } case 4: { if (!(message.messageType && message.messageType.length)) message.messageType = []; @@ -214967,13 +214332,6 @@ if (!$util.isInteger(message.weakDependency[i])) return "weakDependency: integer[] expected"; } - if (message.optionDependency != null && message.hasOwnProperty("optionDependency")) { - if (!Array.isArray(message.optionDependency)) - return "optionDependency: array expected"; - for (var i = 0; i < message.optionDependency.length; ++i) - if (!$util.isString(message.optionDependency[i])) - return "optionDependency: string[] expected"; - } if (message.messageType != null && message.hasOwnProperty("messageType")) { if (!Array.isArray(message.messageType)) return "messageType: array expected"; @@ -215028,7 +214386,6 @@ default: return "edition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -215081,13 +214438,6 @@ for (var i = 0; i < object.weakDependency.length; ++i) message.weakDependency[i] = object.weakDependency[i] | 0; } - if (object.optionDependency) { - if (!Array.isArray(object.optionDependency)) - throw TypeError(".google.protobuf.FileDescriptorProto.optionDependency: array expected"); - message.optionDependency = []; - for (var i = 0; i < object.optionDependency.length; ++i) - message.optionDependency[i] = String(object.optionDependency[i]); - } if (object.messageType) { if (!Array.isArray(object.messageType)) throw TypeError(".google.protobuf.FileDescriptorProto.messageType: array expected"); @@ -215151,10 +214501,6 @@ case 0: message.edition = 0; break; - case "EDITION_LEGACY": - case 900: - message.edition = 900; - break; case "EDITION_PROTO2": case 998: message.edition = 998; @@ -215220,7 +214566,6 @@ object.extension = []; object.publicDependency = []; object.weakDependency = []; - object.optionDependency = []; } if (options.defaults) { object.name = ""; @@ -215277,11 +214622,6 @@ object.syntax = message.syntax; if (message.edition != null && message.hasOwnProperty("edition")) object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; - if (message.optionDependency && message.optionDependency.length) { - object.optionDependency = []; - for (var j = 0; j < message.optionDependency.length; ++j) - object.optionDependency[j] = message.optionDependency[j]; - } return object; }; @@ -215330,7 +214670,6 @@ * @property {google.protobuf.IMessageOptions|null} [options] DescriptorProto options * @property {Array.|null} [reservedRange] DescriptorProto reservedRange * @property {Array.|null} [reservedName] DescriptorProto reservedName - * @property {google.protobuf.SymbolVisibility|null} [visibility] DescriptorProto visibility */ /** @@ -215436,14 +214775,6 @@ */ DescriptorProto.prototype.reservedName = $util.emptyArray; - /** - * DescriptorProto visibility. - * @member {google.protobuf.SymbolVisibility} visibility - * @memberof google.protobuf.DescriptorProto - * @instance - */ - DescriptorProto.prototype.visibility = 0; - /** * Creates a new DescriptorProto instance using the specified properties. * @function create @@ -215496,8 +214827,6 @@ if (message.reservedName != null && message.reservedName.length) for (var i = 0; i < message.reservedName.length; ++i) writer.uint32(/* id 10, wireType 2 =*/82).string(message.reservedName[i]); - if (message.visibility != null && Object.hasOwnProperty.call(message, "visibility")) - writer.uint32(/* id 11, wireType 0 =*/88).int32(message.visibility); return writer; }; @@ -215590,10 +214919,6 @@ message.reservedName.push(reader.string()); break; } - case 11: { - message.visibility = reader.int32(); - break; - } default: reader.skipType(tag & 7); break; @@ -215707,15 +215032,6 @@ if (!$util.isString(message.reservedName[i])) return "reservedName: string[] expected"; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - switch (message.visibility) { - default: - return "visibility: enum value expected"; - case 0: - case 1: - case 2: - break; - } return null; }; @@ -215815,26 +215131,6 @@ for (var i = 0; i < object.reservedName.length; ++i) message.reservedName[i] = String(object.reservedName[i]); } - switch (object.visibility) { - default: - if (typeof object.visibility === "number") { - message.visibility = object.visibility; - break; - } - break; - case "VISIBILITY_UNSET": - case 0: - message.visibility = 0; - break; - case "VISIBILITY_LOCAL": - case 1: - message.visibility = 1; - break; - case "VISIBILITY_EXPORT": - case 2: - message.visibility = 2; - break; - } return message; }; @@ -215864,7 +215160,6 @@ if (options.defaults) { object.name = ""; object.options = null; - object.visibility = options.enums === String ? "VISIBILITY_UNSET" : 0; } if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; @@ -215910,8 +215205,6 @@ for (var j = 0; j < message.reservedName.length; ++j) object.reservedName[j] = message.reservedName[j]; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - object.visibility = options.enums === String ? $root.google.protobuf.SymbolVisibility[message.visibility] === undefined ? message.visibility : $root.google.protobuf.SymbolVisibility[message.visibility] : message.visibility; return object; }; @@ -217956,7 +217249,6 @@ * @property {google.protobuf.IEnumOptions|null} [options] EnumDescriptorProto options * @property {Array.|null} [reservedRange] EnumDescriptorProto reservedRange * @property {Array.|null} [reservedName] EnumDescriptorProto reservedName - * @property {google.protobuf.SymbolVisibility|null} [visibility] EnumDescriptorProto visibility */ /** @@ -218017,14 +217309,6 @@ */ EnumDescriptorProto.prototype.reservedName = $util.emptyArray; - /** - * EnumDescriptorProto visibility. - * @member {google.protobuf.SymbolVisibility} visibility - * @memberof google.protobuf.EnumDescriptorProto - * @instance - */ - EnumDescriptorProto.prototype.visibility = 0; - /** * Creates a new EnumDescriptorProto instance using the specified properties. * @function create @@ -218062,8 +217346,6 @@ if (message.reservedName != null && message.reservedName.length) for (var i = 0; i < message.reservedName.length; ++i) writer.uint32(/* id 5, wireType 2 =*/42).string(message.reservedName[i]); - if (message.visibility != null && Object.hasOwnProperty.call(message, "visibility")) - writer.uint32(/* id 6, wireType 0 =*/48).int32(message.visibility); return writer; }; @@ -218126,10 +217408,6 @@ message.reservedName.push(reader.string()); break; } - case 6: { - message.visibility = reader.int32(); - break; - } default: reader.skipType(tag & 7); break; @@ -218198,15 +217476,6 @@ if (!$util.isString(message.reservedName[i])) return "reservedName: string[] expected"; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - switch (message.visibility) { - default: - return "visibility: enum value expected"; - case 0: - case 1: - case 2: - break; - } return null; }; @@ -218256,26 +217525,6 @@ for (var i = 0; i < object.reservedName.length; ++i) message.reservedName[i] = String(object.reservedName[i]); } - switch (object.visibility) { - default: - if (typeof object.visibility === "number") { - message.visibility = object.visibility; - break; - } - break; - case "VISIBILITY_UNSET": - case 0: - message.visibility = 0; - break; - case "VISIBILITY_LOCAL": - case 1: - message.visibility = 1; - break; - case "VISIBILITY_EXPORT": - case 2: - message.visibility = 2; - break; - } return message; }; @@ -218300,7 +217549,6 @@ if (options.defaults) { object.name = ""; object.options = null; - object.visibility = options.enums === String ? "VISIBILITY_UNSET" : 0; } if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; @@ -218321,8 +217569,6 @@ for (var j = 0; j < message.reservedName.length; ++j) object.reservedName[j] = message.reservedName[j]; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - object.visibility = options.enums === String ? $root.google.protobuf.SymbolVisibility[message.visibility] === undefined ? message.visibility : $root.google.protobuf.SymbolVisibility[message.visibility] : message.visibility; return object; }; @@ -220641,7 +219887,6 @@ * @property {Array.|null} [targets] FieldOptions targets * @property {Array.|null} [editionDefaults] FieldOptions editionDefaults * @property {google.protobuf.IFeatureSet|null} [features] FieldOptions features - * @property {google.protobuf.FieldOptions.IFeatureSupport|null} [featureSupport] FieldOptions featureSupport * @property {Array.|null} [uninterpretedOption] FieldOptions uninterpretedOption * @property {Array.|null} [".google.api.fieldBehavior"] FieldOptions .google.api.fieldBehavior * @property {google.api.IResourceReference|null} [".google.api.resourceReference"] FieldOptions .google.api.resourceReference @@ -220762,14 +220007,6 @@ */ FieldOptions.prototype.features = null; - /** - * FieldOptions featureSupport. - * @member {google.protobuf.FieldOptions.IFeatureSupport|null|undefined} featureSupport - * @memberof google.protobuf.FieldOptions - * @instance - */ - FieldOptions.prototype.featureSupport = null; - /** * FieldOptions uninterpretedOption. * @member {Array.} uninterpretedOption @@ -220844,8 +220081,6 @@ $root.google.protobuf.FieldOptions.EditionDefault.encode(message.editionDefaults[i], writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim(); if (message.features != null && Object.hasOwnProperty.call(message, "features")) $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim(); - if (message.featureSupport != null && Object.hasOwnProperty.call(message, "featureSupport")) - $root.google.protobuf.FieldOptions.FeatureSupport.encode(message.featureSupport, writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim(); if (message.uninterpretedOption != null && message.uninterpretedOption.length) for (var i = 0; i < message.uninterpretedOption.length; ++i) $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim(); @@ -220947,10 +220182,6 @@ message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); break; } - case 22: { - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.decode(reader, reader.uint32()); - break; - } case 999: { if (!(message.uninterpretedOption && message.uninterpretedOption.length)) message.uninterpretedOption = []; @@ -221086,11 +220317,6 @@ if (error) return "features." + error; } - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) { - var error = $root.google.protobuf.FieldOptions.FeatureSupport.verify(message.featureSupport); - if (error) - return "featureSupport." + error; - } if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) { if (!Array.isArray(message.uninterpretedOption)) return "uninterpretedOption: array expected"; @@ -221279,11 +220505,6 @@ throw TypeError(".google.protobuf.FieldOptions.features: object expected"); message.features = $root.google.protobuf.FeatureSet.fromObject(object.features); } - if (object.featureSupport != null) { - if (typeof object.featureSupport !== "object") - throw TypeError(".google.protobuf.FieldOptions.featureSupport: object expected"); - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.fromObject(object.featureSupport); - } if (object.uninterpretedOption) { if (!Array.isArray(object.uninterpretedOption)) throw TypeError(".google.protobuf.FieldOptions.uninterpretedOption: array expected"); @@ -221381,7 +220602,6 @@ object.debugRedact = false; object.retention = options.enums === String ? "RETENTION_UNKNOWN" : 0; object.features = null; - object.featureSupport = null; object[".google.api.resourceReference"] = null; } if (message.ctype != null && message.hasOwnProperty("ctype")) @@ -221414,8 +220634,6 @@ } if (message.features != null && message.hasOwnProperty("features")) object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options); - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) - object.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.toObject(message.featureSupport, options); if (message.uninterpretedOption && message.uninterpretedOption.length) { object.uninterpretedOption = []; for (var j = 0; j < message.uninterpretedOption.length; ++j) @@ -221688,7 +220906,6 @@ default: return "edition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -221730,589 +220947,103 @@ case 0: message.edition = 0; break; - case "EDITION_LEGACY": - case 900: - message.edition = 900; - break; case "EDITION_PROTO2": case 998: message.edition = 998; break; case "EDITION_PROTO3": case 999: - message.edition = 999; - break; - case "EDITION_2023": - case 1000: - message.edition = 1000; - break; - case "EDITION_2024": - case 1001: - message.edition = 1001; - break; - case "EDITION_1_TEST_ONLY": - case 1: - message.edition = 1; - break; - case "EDITION_2_TEST_ONLY": - case 2: - message.edition = 2; - break; - case "EDITION_99997_TEST_ONLY": - case 99997: - message.edition = 99997; - break; - case "EDITION_99998_TEST_ONLY": - case 99998: - message.edition = 99998; - break; - case "EDITION_99999_TEST_ONLY": - case 99999: - message.edition = 99999; - break; - case "EDITION_MAX": - case 2147483647: - message.edition = 2147483647; - break; - } - if (object.value != null) - message.value = String(object.value); - return message; - }; - - /** - * Creates a plain object from an EditionDefault message. Also converts values to other types if specified. - * @function toObject - * @memberof google.protobuf.FieldOptions.EditionDefault - * @static - * @param {google.protobuf.FieldOptions.EditionDefault} message EditionDefault - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - EditionDefault.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.value = ""; - object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0; - } - if (message.value != null && message.hasOwnProperty("value")) - object.value = message.value; - if (message.edition != null && message.hasOwnProperty("edition")) - object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; - return object; - }; - - /** - * Converts this EditionDefault to JSON. - * @function toJSON - * @memberof google.protobuf.FieldOptions.EditionDefault - * @instance - * @returns {Object.} JSON object - */ - EditionDefault.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for EditionDefault - * @function getTypeUrl - * @memberof google.protobuf.FieldOptions.EditionDefault - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - EditionDefault.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.FieldOptions.EditionDefault"; - }; - - return EditionDefault; - })(); - - FieldOptions.FeatureSupport = (function() { - - /** - * Properties of a FeatureSupport. - * @memberof google.protobuf.FieldOptions - * @interface IFeatureSupport - * @property {google.protobuf.Edition|null} [editionIntroduced] FeatureSupport editionIntroduced - * @property {google.protobuf.Edition|null} [editionDeprecated] FeatureSupport editionDeprecated - * @property {string|null} [deprecationWarning] FeatureSupport deprecationWarning - * @property {google.protobuf.Edition|null} [editionRemoved] FeatureSupport editionRemoved - */ - - /** - * Constructs a new FeatureSupport. - * @memberof google.protobuf.FieldOptions - * @classdesc Represents a FeatureSupport. - * @implements IFeatureSupport - * @constructor - * @param {google.protobuf.FieldOptions.IFeatureSupport=} [properties] Properties to set - */ - function FeatureSupport(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * FeatureSupport editionIntroduced. - * @member {google.protobuf.Edition} editionIntroduced - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @instance - */ - FeatureSupport.prototype.editionIntroduced = 0; - - /** - * FeatureSupport editionDeprecated. - * @member {google.protobuf.Edition} editionDeprecated - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @instance - */ - FeatureSupport.prototype.editionDeprecated = 0; - - /** - * FeatureSupport deprecationWarning. - * @member {string} deprecationWarning - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @instance - */ - FeatureSupport.prototype.deprecationWarning = ""; - - /** - * FeatureSupport editionRemoved. - * @member {google.protobuf.Edition} editionRemoved - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @instance - */ - FeatureSupport.prototype.editionRemoved = 0; - - /** - * Creates a new FeatureSupport instance using the specified properties. - * @function create - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {google.protobuf.FieldOptions.IFeatureSupport=} [properties] Properties to set - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport instance - */ - FeatureSupport.create = function create(properties) { - return new FeatureSupport(properties); - }; - - /** - * Encodes the specified FeatureSupport message. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. - * @function encode - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {google.protobuf.FieldOptions.IFeatureSupport} message FeatureSupport message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - FeatureSupport.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.editionIntroduced != null && Object.hasOwnProperty.call(message, "editionIntroduced")) - writer.uint32(/* id 1, wireType 0 =*/8).int32(message.editionIntroduced); - if (message.editionDeprecated != null && Object.hasOwnProperty.call(message, "editionDeprecated")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.editionDeprecated); - if (message.deprecationWarning != null && Object.hasOwnProperty.call(message, "deprecationWarning")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.deprecationWarning); - if (message.editionRemoved != null && Object.hasOwnProperty.call(message, "editionRemoved")) - writer.uint32(/* id 4, wireType 0 =*/32).int32(message.editionRemoved); - return writer; - }; - - /** - * Encodes the specified FeatureSupport message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. - * @function encodeDelimited - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {google.protobuf.FieldOptions.IFeatureSupport} message FeatureSupport message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - FeatureSupport.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a FeatureSupport message from the specified reader or buffer. - * @function decode - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - FeatureSupport.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FieldOptions.FeatureSupport(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.editionIntroduced = reader.int32(); - break; - } - case 2: { - message.editionDeprecated = reader.int32(); - break; - } - case 3: { - message.deprecationWarning = reader.string(); - break; - } - case 4: { - message.editionRemoved = reader.int32(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a FeatureSupport message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - FeatureSupport.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a FeatureSupport message. - * @function verify - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - FeatureSupport.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.editionIntroduced != null && message.hasOwnProperty("editionIntroduced")) - switch (message.editionIntroduced) { - default: - return "editionIntroduced: enum value expected"; - case 0: - case 900: - case 998: - case 999: - case 1000: - case 1001: - case 1: - case 2: - case 99997: - case 99998: - case 99999: - case 2147483647: - break; - } - if (message.editionDeprecated != null && message.hasOwnProperty("editionDeprecated")) - switch (message.editionDeprecated) { - default: - return "editionDeprecated: enum value expected"; - case 0: - case 900: - case 998: - case 999: - case 1000: - case 1001: - case 1: - case 2: - case 99997: - case 99998: - case 99999: - case 2147483647: - break; - } - if (message.deprecationWarning != null && message.hasOwnProperty("deprecationWarning")) - if (!$util.isString(message.deprecationWarning)) - return "deprecationWarning: string expected"; - if (message.editionRemoved != null && message.hasOwnProperty("editionRemoved")) - switch (message.editionRemoved) { - default: - return "editionRemoved: enum value expected"; - case 0: - case 900: - case 998: - case 999: - case 1000: - case 1001: - case 1: - case 2: - case 99997: - case 99998: - case 99999: - case 2147483647: - break; - } - return null; - }; - - /** - * Creates a FeatureSupport message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {Object.} object Plain object - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport - */ - FeatureSupport.fromObject = function fromObject(object) { - if (object instanceof $root.google.protobuf.FieldOptions.FeatureSupport) - return object; - var message = new $root.google.protobuf.FieldOptions.FeatureSupport(); - switch (object.editionIntroduced) { - default: - if (typeof object.editionIntroduced === "number") { - message.editionIntroduced = object.editionIntroduced; - break; - } - break; - case "EDITION_UNKNOWN": - case 0: - message.editionIntroduced = 0; - break; - case "EDITION_LEGACY": - case 900: - message.editionIntroduced = 900; - break; - case "EDITION_PROTO2": - case 998: - message.editionIntroduced = 998; - break; - case "EDITION_PROTO3": - case 999: - message.editionIntroduced = 999; - break; - case "EDITION_2023": - case 1000: - message.editionIntroduced = 1000; - break; - case "EDITION_2024": - case 1001: - message.editionIntroduced = 1001; - break; - case "EDITION_1_TEST_ONLY": - case 1: - message.editionIntroduced = 1; - break; - case "EDITION_2_TEST_ONLY": - case 2: - message.editionIntroduced = 2; - break; - case "EDITION_99997_TEST_ONLY": - case 99997: - message.editionIntroduced = 99997; - break; - case "EDITION_99998_TEST_ONLY": - case 99998: - message.editionIntroduced = 99998; - break; - case "EDITION_99999_TEST_ONLY": - case 99999: - message.editionIntroduced = 99999; - break; - case "EDITION_MAX": - case 2147483647: - message.editionIntroduced = 2147483647; - break; - } - switch (object.editionDeprecated) { - default: - if (typeof object.editionDeprecated === "number") { - message.editionDeprecated = object.editionDeprecated; - break; - } - break; - case "EDITION_UNKNOWN": - case 0: - message.editionDeprecated = 0; - break; - case "EDITION_LEGACY": - case 900: - message.editionDeprecated = 900; - break; - case "EDITION_PROTO2": - case 998: - message.editionDeprecated = 998; - break; - case "EDITION_PROTO3": - case 999: - message.editionDeprecated = 999; - break; - case "EDITION_2023": - case 1000: - message.editionDeprecated = 1000; - break; - case "EDITION_2024": - case 1001: - message.editionDeprecated = 1001; - break; - case "EDITION_1_TEST_ONLY": - case 1: - message.editionDeprecated = 1; - break; - case "EDITION_2_TEST_ONLY": - case 2: - message.editionDeprecated = 2; - break; - case "EDITION_99997_TEST_ONLY": - case 99997: - message.editionDeprecated = 99997; - break; - case "EDITION_99998_TEST_ONLY": - case 99998: - message.editionDeprecated = 99998; - break; - case "EDITION_99999_TEST_ONLY": - case 99999: - message.editionDeprecated = 99999; - break; - case "EDITION_MAX": - case 2147483647: - message.editionDeprecated = 2147483647; - break; - } - if (object.deprecationWarning != null) - message.deprecationWarning = String(object.deprecationWarning); - switch (object.editionRemoved) { - default: - if (typeof object.editionRemoved === "number") { - message.editionRemoved = object.editionRemoved; - break; - } - break; - case "EDITION_UNKNOWN": - case 0: - message.editionRemoved = 0; - break; - case "EDITION_LEGACY": - case 900: - message.editionRemoved = 900; - break; - case "EDITION_PROTO2": - case 998: - message.editionRemoved = 998; - break; - case "EDITION_PROTO3": - case 999: - message.editionRemoved = 999; + message.edition = 999; break; case "EDITION_2023": case 1000: - message.editionRemoved = 1000; + message.edition = 1000; break; case "EDITION_2024": case 1001: - message.editionRemoved = 1001; + message.edition = 1001; break; case "EDITION_1_TEST_ONLY": case 1: - message.editionRemoved = 1; + message.edition = 1; break; case "EDITION_2_TEST_ONLY": case 2: - message.editionRemoved = 2; + message.edition = 2; break; case "EDITION_99997_TEST_ONLY": case 99997: - message.editionRemoved = 99997; + message.edition = 99997; break; case "EDITION_99998_TEST_ONLY": case 99998: - message.editionRemoved = 99998; + message.edition = 99998; break; case "EDITION_99999_TEST_ONLY": case 99999: - message.editionRemoved = 99999; + message.edition = 99999; break; case "EDITION_MAX": case 2147483647: - message.editionRemoved = 2147483647; + message.edition = 2147483647; break; } + if (object.value != null) + message.value = String(object.value); return message; }; /** - * Creates a plain object from a FeatureSupport message. Also converts values to other types if specified. + * Creates a plain object from an EditionDefault message. Also converts values to other types if specified. * @function toObject - * @memberof google.protobuf.FieldOptions.FeatureSupport + * @memberof google.protobuf.FieldOptions.EditionDefault * @static - * @param {google.protobuf.FieldOptions.FeatureSupport} message FeatureSupport + * @param {google.protobuf.FieldOptions.EditionDefault} message EditionDefault * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - FeatureSupport.toObject = function toObject(message, options) { + EditionDefault.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; if (options.defaults) { - object.editionIntroduced = options.enums === String ? "EDITION_UNKNOWN" : 0; - object.editionDeprecated = options.enums === String ? "EDITION_UNKNOWN" : 0; - object.deprecationWarning = ""; - object.editionRemoved = options.enums === String ? "EDITION_UNKNOWN" : 0; - } - if (message.editionIntroduced != null && message.hasOwnProperty("editionIntroduced")) - object.editionIntroduced = options.enums === String ? $root.google.protobuf.Edition[message.editionIntroduced] === undefined ? message.editionIntroduced : $root.google.protobuf.Edition[message.editionIntroduced] : message.editionIntroduced; - if (message.editionDeprecated != null && message.hasOwnProperty("editionDeprecated")) - object.editionDeprecated = options.enums === String ? $root.google.protobuf.Edition[message.editionDeprecated] === undefined ? message.editionDeprecated : $root.google.protobuf.Edition[message.editionDeprecated] : message.editionDeprecated; - if (message.deprecationWarning != null && message.hasOwnProperty("deprecationWarning")) - object.deprecationWarning = message.deprecationWarning; - if (message.editionRemoved != null && message.hasOwnProperty("editionRemoved")) - object.editionRemoved = options.enums === String ? $root.google.protobuf.Edition[message.editionRemoved] === undefined ? message.editionRemoved : $root.google.protobuf.Edition[message.editionRemoved] : message.editionRemoved; + object.value = ""; + object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0; + } + if (message.value != null && message.hasOwnProperty("value")) + object.value = message.value; + if (message.edition != null && message.hasOwnProperty("edition")) + object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; return object; }; /** - * Converts this FeatureSupport to JSON. + * Converts this EditionDefault to JSON. * @function toJSON - * @memberof google.protobuf.FieldOptions.FeatureSupport + * @memberof google.protobuf.FieldOptions.EditionDefault * @instance * @returns {Object.} JSON object */ - FeatureSupport.prototype.toJSON = function toJSON() { + EditionDefault.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for FeatureSupport + * Gets the default type url for EditionDefault * @function getTypeUrl - * @memberof google.protobuf.FieldOptions.FeatureSupport + * @memberof google.protobuf.FieldOptions.EditionDefault * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - FeatureSupport.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + EditionDefault.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.protobuf.FieldOptions.FeatureSupport"; + return typeUrlPrefix + "/google.protobuf.FieldOptions.EditionDefault"; }; - return FeatureSupport; + return EditionDefault; })(); return FieldOptions; @@ -222907,7 +221638,6 @@ * @property {boolean|null} [deprecated] EnumValueOptions deprecated * @property {google.protobuf.IFeatureSet|null} [features] EnumValueOptions features * @property {boolean|null} [debugRedact] EnumValueOptions debugRedact - * @property {google.protobuf.FieldOptions.IFeatureSupport|null} [featureSupport] EnumValueOptions featureSupport * @property {Array.|null} [uninterpretedOption] EnumValueOptions uninterpretedOption */ @@ -222951,14 +221681,6 @@ */ EnumValueOptions.prototype.debugRedact = false; - /** - * EnumValueOptions featureSupport. - * @member {google.protobuf.FieldOptions.IFeatureSupport|null|undefined} featureSupport - * @memberof google.protobuf.EnumValueOptions - * @instance - */ - EnumValueOptions.prototype.featureSupport = null; - /** * EnumValueOptions uninterpretedOption. * @member {Array.} uninterpretedOption @@ -222997,8 +221719,6 @@ $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); if (message.debugRedact != null && Object.hasOwnProperty.call(message, "debugRedact")) writer.uint32(/* id 3, wireType 0 =*/24).bool(message.debugRedact); - if (message.featureSupport != null && Object.hasOwnProperty.call(message, "featureSupport")) - $root.google.protobuf.FieldOptions.FeatureSupport.encode(message.featureSupport, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); if (message.uninterpretedOption != null && message.uninterpretedOption.length) for (var i = 0; i < message.uninterpretedOption.length; ++i) $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim(); @@ -223050,10 +221770,6 @@ message.debugRedact = reader.bool(); break; } - case 4: { - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.decode(reader, reader.uint32()); - break; - } case 999: { if (!(message.uninterpretedOption && message.uninterpretedOption.length)) message.uninterpretedOption = []; @@ -223106,11 +221822,6 @@ if (message.debugRedact != null && message.hasOwnProperty("debugRedact")) if (typeof message.debugRedact !== "boolean") return "debugRedact: boolean expected"; - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) { - var error = $root.google.protobuf.FieldOptions.FeatureSupport.verify(message.featureSupport); - if (error) - return "featureSupport." + error; - } if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) { if (!Array.isArray(message.uninterpretedOption)) return "uninterpretedOption: array expected"; @@ -223144,11 +221855,6 @@ } if (object.debugRedact != null) message.debugRedact = Boolean(object.debugRedact); - if (object.featureSupport != null) { - if (typeof object.featureSupport !== "object") - throw TypeError(".google.protobuf.EnumValueOptions.featureSupport: object expected"); - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.fromObject(object.featureSupport); - } if (object.uninterpretedOption) { if (!Array.isArray(object.uninterpretedOption)) throw TypeError(".google.protobuf.EnumValueOptions.uninterpretedOption: array expected"); @@ -223181,7 +221887,6 @@ object.deprecated = false; object.features = null; object.debugRedact = false; - object.featureSupport = null; } if (message.deprecated != null && message.hasOwnProperty("deprecated")) object.deprecated = message.deprecated; @@ -223189,8 +221894,6 @@ object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options); if (message.debugRedact != null && message.hasOwnProperty("debugRedact")) object.debugRedact = message.debugRedact; - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) - object.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.toObject(message.featureSupport, options); if (message.uninterpretedOption && message.uninterpretedOption.length) { object.uninterpretedOption = []; for (var j = 0; j < message.uninterpretedOption.length; ++j) @@ -224658,8 +223361,6 @@ * @property {google.protobuf.FeatureSet.Utf8Validation|null} [utf8Validation] FeatureSet utf8Validation * @property {google.protobuf.FeatureSet.MessageEncoding|null} [messageEncoding] FeatureSet messageEncoding * @property {google.protobuf.FeatureSet.JsonFormat|null} [jsonFormat] FeatureSet jsonFormat - * @property {google.protobuf.FeatureSet.EnforceNamingStyle|null} [enforceNamingStyle] FeatureSet enforceNamingStyle - * @property {google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|null} [defaultSymbolVisibility] FeatureSet defaultSymbolVisibility */ /** @@ -224725,22 +223426,6 @@ */ FeatureSet.prototype.jsonFormat = 0; - /** - * FeatureSet enforceNamingStyle. - * @member {google.protobuf.FeatureSet.EnforceNamingStyle} enforceNamingStyle - * @memberof google.protobuf.FeatureSet - * @instance - */ - FeatureSet.prototype.enforceNamingStyle = 0; - - /** - * FeatureSet defaultSymbolVisibility. - * @member {google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility} defaultSymbolVisibility - * @memberof google.protobuf.FeatureSet - * @instance - */ - FeatureSet.prototype.defaultSymbolVisibility = 0; - /** * Creates a new FeatureSet instance using the specified properties. * @function create @@ -224777,10 +223462,6 @@ writer.uint32(/* id 5, wireType 0 =*/40).int32(message.messageEncoding); if (message.jsonFormat != null && Object.hasOwnProperty.call(message, "jsonFormat")) writer.uint32(/* id 6, wireType 0 =*/48).int32(message.jsonFormat); - if (message.enforceNamingStyle != null && Object.hasOwnProperty.call(message, "enforceNamingStyle")) - writer.uint32(/* id 7, wireType 0 =*/56).int32(message.enforceNamingStyle); - if (message.defaultSymbolVisibility != null && Object.hasOwnProperty.call(message, "defaultSymbolVisibility")) - writer.uint32(/* id 8, wireType 0 =*/64).int32(message.defaultSymbolVisibility); return writer; }; @@ -224841,14 +223522,6 @@ message.jsonFormat = reader.int32(); break; } - case 7: { - message.enforceNamingStyle = reader.int32(); - break; - } - case 8: { - message.defaultSymbolVisibility = reader.int32(); - break; - } default: reader.skipType(tag & 7); break; @@ -224939,26 +223612,6 @@ case 2: break; } - if (message.enforceNamingStyle != null && message.hasOwnProperty("enforceNamingStyle")) - switch (message.enforceNamingStyle) { - default: - return "enforceNamingStyle: enum value expected"; - case 0: - case 1: - case 2: - break; - } - if (message.defaultSymbolVisibility != null && message.hasOwnProperty("defaultSymbolVisibility")) - switch (message.defaultSymbolVisibility) { - default: - return "defaultSymbolVisibility: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } return null; }; @@ -225098,54 +223751,6 @@ message.jsonFormat = 2; break; } - switch (object.enforceNamingStyle) { - default: - if (typeof object.enforceNamingStyle === "number") { - message.enforceNamingStyle = object.enforceNamingStyle; - break; - } - break; - case "ENFORCE_NAMING_STYLE_UNKNOWN": - case 0: - message.enforceNamingStyle = 0; - break; - case "STYLE2024": - case 1: - message.enforceNamingStyle = 1; - break; - case "STYLE_LEGACY": - case 2: - message.enforceNamingStyle = 2; - break; - } - switch (object.defaultSymbolVisibility) { - default: - if (typeof object.defaultSymbolVisibility === "number") { - message.defaultSymbolVisibility = object.defaultSymbolVisibility; - break; - } - break; - case "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN": - case 0: - message.defaultSymbolVisibility = 0; - break; - case "EXPORT_ALL": - case 1: - message.defaultSymbolVisibility = 1; - break; - case "EXPORT_TOP_LEVEL": - case 2: - message.defaultSymbolVisibility = 2; - break; - case "LOCAL_ALL": - case 3: - message.defaultSymbolVisibility = 3; - break; - case "STRICT": - case 4: - message.defaultSymbolVisibility = 4; - break; - } return message; }; @@ -225169,8 +223774,6 @@ object.utf8Validation = options.enums === String ? "UTF8_VALIDATION_UNKNOWN" : 0; object.messageEncoding = options.enums === String ? "MESSAGE_ENCODING_UNKNOWN" : 0; object.jsonFormat = options.enums === String ? "JSON_FORMAT_UNKNOWN" : 0; - object.enforceNamingStyle = options.enums === String ? "ENFORCE_NAMING_STYLE_UNKNOWN" : 0; - object.defaultSymbolVisibility = options.enums === String ? "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN" : 0; } if (message.fieldPresence != null && message.hasOwnProperty("fieldPresence")) object.fieldPresence = options.enums === String ? $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] === undefined ? message.fieldPresence : $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] : message.fieldPresence; @@ -225184,10 +223787,6 @@ object.messageEncoding = options.enums === String ? $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] === undefined ? message.messageEncoding : $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] : message.messageEncoding; if (message.jsonFormat != null && message.hasOwnProperty("jsonFormat")) object.jsonFormat = options.enums === String ? $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] === undefined ? message.jsonFormat : $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] : message.jsonFormat; - if (message.enforceNamingStyle != null && message.hasOwnProperty("enforceNamingStyle")) - object.enforceNamingStyle = options.enums === String ? $root.google.protobuf.FeatureSet.EnforceNamingStyle[message.enforceNamingStyle] === undefined ? message.enforceNamingStyle : $root.google.protobuf.FeatureSet.EnforceNamingStyle[message.enforceNamingStyle] : message.enforceNamingStyle; - if (message.defaultSymbolVisibility != null && message.hasOwnProperty("defaultSymbolVisibility")) - object.defaultSymbolVisibility = options.enums === String ? $root.google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility[message.defaultSymbolVisibility] === undefined ? message.defaultSymbolVisibility : $root.google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility[message.defaultSymbolVisibility] : message.defaultSymbolVisibility; return object; }; @@ -225315,219 +223914,6 @@ return values; })(); - /** - * EnforceNamingStyle enum. - * @name google.protobuf.FeatureSet.EnforceNamingStyle - * @enum {number} - * @property {number} ENFORCE_NAMING_STYLE_UNKNOWN=0 ENFORCE_NAMING_STYLE_UNKNOWN value - * @property {number} STYLE2024=1 STYLE2024 value - * @property {number} STYLE_LEGACY=2 STYLE_LEGACY value - */ - FeatureSet.EnforceNamingStyle = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "ENFORCE_NAMING_STYLE_UNKNOWN"] = 0; - values[valuesById[1] = "STYLE2024"] = 1; - values[valuesById[2] = "STYLE_LEGACY"] = 2; - return values; - })(); - - FeatureSet.VisibilityFeature = (function() { - - /** - * Properties of a VisibilityFeature. - * @memberof google.protobuf.FeatureSet - * @interface IVisibilityFeature - */ - - /** - * Constructs a new VisibilityFeature. - * @memberof google.protobuf.FeatureSet - * @classdesc Represents a VisibilityFeature. - * @implements IVisibilityFeature - * @constructor - * @param {google.protobuf.FeatureSet.IVisibilityFeature=} [properties] Properties to set - */ - function VisibilityFeature(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Creates a new VisibilityFeature instance using the specified properties. - * @function create - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.IVisibilityFeature=} [properties] Properties to set - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature instance - */ - VisibilityFeature.create = function create(properties) { - return new VisibilityFeature(properties); - }; - - /** - * Encodes the specified VisibilityFeature message. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @function encode - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.IVisibilityFeature} message VisibilityFeature message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - VisibilityFeature.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - return writer; - }; - - /** - * Encodes the specified VisibilityFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @function encodeDelimited - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.IVisibilityFeature} message VisibilityFeature message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - VisibilityFeature.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer. - * @function decode - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - VisibilityFeature.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FeatureSet.VisibilityFeature(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - VisibilityFeature.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a VisibilityFeature message. - * @function verify - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - VisibilityFeature.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - return null; - }; - - /** - * Creates a VisibilityFeature message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {Object.} object Plain object - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature - */ - VisibilityFeature.fromObject = function fromObject(object) { - if (object instanceof $root.google.protobuf.FeatureSet.VisibilityFeature) - return object; - return new $root.google.protobuf.FeatureSet.VisibilityFeature(); - }; - - /** - * Creates a plain object from a VisibilityFeature message. Also converts values to other types if specified. - * @function toObject - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.VisibilityFeature} message VisibilityFeature - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - VisibilityFeature.toObject = function toObject() { - return {}; - }; - - /** - * Converts this VisibilityFeature to JSON. - * @function toJSON - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @instance - * @returns {Object.} JSON object - */ - VisibilityFeature.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for VisibilityFeature - * @function getTypeUrl - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - VisibilityFeature.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.FeatureSet.VisibilityFeature"; - }; - - /** - * DefaultSymbolVisibility enum. - * @name google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility - * @enum {number} - * @property {number} DEFAULT_SYMBOL_VISIBILITY_UNKNOWN=0 DEFAULT_SYMBOL_VISIBILITY_UNKNOWN value - * @property {number} EXPORT_ALL=1 EXPORT_ALL value - * @property {number} EXPORT_TOP_LEVEL=2 EXPORT_TOP_LEVEL value - * @property {number} LOCAL_ALL=3 LOCAL_ALL value - * @property {number} STRICT=4 STRICT value - */ - VisibilityFeature.DefaultSymbolVisibility = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN"] = 0; - values[valuesById[1] = "EXPORT_ALL"] = 1; - values[valuesById[2] = "EXPORT_TOP_LEVEL"] = 2; - values[valuesById[3] = "LOCAL_ALL"] = 3; - values[valuesById[4] = "STRICT"] = 4; - return values; - })(); - - return VisibilityFeature; - })(); - return FeatureSet; })(); @@ -225712,7 +224098,6 @@ default: return "minimumEdition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -225730,7 +224115,6 @@ default: return "maximumEdition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -225779,10 +224163,6 @@ case 0: message.minimumEdition = 0; break; - case "EDITION_LEGACY": - case 900: - message.minimumEdition = 900; - break; case "EDITION_PROTO2": case 998: message.minimumEdition = 998; @@ -225835,10 +224215,6 @@ case 0: message.maximumEdition = 0; break; - case "EDITION_LEGACY": - case 900: - message.maximumEdition = 900; - break; case "EDITION_PROTO2": case 998: message.maximumEdition = 998; @@ -225947,8 +224323,7 @@ * @memberof google.protobuf.FeatureSetDefaults * @interface IFeatureSetEditionDefault * @property {google.protobuf.Edition|null} [edition] FeatureSetEditionDefault edition - * @property {google.protobuf.IFeatureSet|null} [overridableFeatures] FeatureSetEditionDefault overridableFeatures - * @property {google.protobuf.IFeatureSet|null} [fixedFeatures] FeatureSetEditionDefault fixedFeatures + * @property {google.protobuf.IFeatureSet|null} [features] FeatureSetEditionDefault features */ /** @@ -225975,20 +224350,12 @@ FeatureSetEditionDefault.prototype.edition = 0; /** - * FeatureSetEditionDefault overridableFeatures. - * @member {google.protobuf.IFeatureSet|null|undefined} overridableFeatures - * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault - * @instance - */ - FeatureSetEditionDefault.prototype.overridableFeatures = null; - - /** - * FeatureSetEditionDefault fixedFeatures. - * @member {google.protobuf.IFeatureSet|null|undefined} fixedFeatures + * FeatureSetEditionDefault features. + * @member {google.protobuf.IFeatureSet|null|undefined} features * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault * @instance */ - FeatureSetEditionDefault.prototype.fixedFeatures = null; + FeatureSetEditionDefault.prototype.features = null; /** * Creates a new FeatureSetEditionDefault instance using the specified properties. @@ -226014,12 +224381,10 @@ FeatureSetEditionDefault.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); + if (message.features != null && Object.hasOwnProperty.call(message, "features")) + $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); if (message.edition != null && Object.hasOwnProperty.call(message, "edition")) writer.uint32(/* id 3, wireType 0 =*/24).int32(message.edition); - if (message.overridableFeatures != null && Object.hasOwnProperty.call(message, "overridableFeatures")) - $root.google.protobuf.FeatureSet.encode(message.overridableFeatures, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.fixedFeatures != null && Object.hasOwnProperty.call(message, "fixedFeatures")) - $root.google.protobuf.FeatureSet.encode(message.fixedFeatures, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); return writer; }; @@ -226060,12 +224425,8 @@ message.edition = reader.int32(); break; } - case 4: { - message.overridableFeatures = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); - break; - } - case 5: { - message.fixedFeatures = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); + case 2: { + message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); break; } default: @@ -226108,7 +224469,6 @@ default: return "edition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -226121,15 +224481,10 @@ case 2147483647: break; } - if (message.overridableFeatures != null && message.hasOwnProperty("overridableFeatures")) { - var error = $root.google.protobuf.FeatureSet.verify(message.overridableFeatures); - if (error) - return "overridableFeatures." + error; - } - if (message.fixedFeatures != null && message.hasOwnProperty("fixedFeatures")) { - var error = $root.google.protobuf.FeatureSet.verify(message.fixedFeatures); + if (message.features != null && message.hasOwnProperty("features")) { + var error = $root.google.protobuf.FeatureSet.verify(message.features); if (error) - return "fixedFeatures." + error; + return "features." + error; } return null; }; @@ -226157,10 +224512,6 @@ case 0: message.edition = 0; break; - case "EDITION_LEGACY": - case 900: - message.edition = 900; - break; case "EDITION_PROTO2": case 998: message.edition = 998; @@ -226202,15 +224553,10 @@ message.edition = 2147483647; break; } - if (object.overridableFeatures != null) { - if (typeof object.overridableFeatures !== "object") - throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.overridableFeatures: object expected"); - message.overridableFeatures = $root.google.protobuf.FeatureSet.fromObject(object.overridableFeatures); - } - if (object.fixedFeatures != null) { - if (typeof object.fixedFeatures !== "object") - throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.fixedFeatures: object expected"); - message.fixedFeatures = $root.google.protobuf.FeatureSet.fromObject(object.fixedFeatures); + if (object.features != null) { + if (typeof object.features !== "object") + throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.features: object expected"); + message.features = $root.google.protobuf.FeatureSet.fromObject(object.features); } return message; }; @@ -226229,16 +224575,13 @@ options = {}; var object = {}; if (options.defaults) { + object.features = null; object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0; - object.overridableFeatures = null; - object.fixedFeatures = null; } + if (message.features != null && message.hasOwnProperty("features")) + object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options); if (message.edition != null && message.hasOwnProperty("edition")) object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; - if (message.overridableFeatures != null && message.hasOwnProperty("overridableFeatures")) - object.overridableFeatures = $root.google.protobuf.FeatureSet.toObject(message.overridableFeatures, options); - if (message.fixedFeatures != null && message.hasOwnProperty("fixedFeatures")) - object.fixedFeatures = $root.google.protobuf.FeatureSet.toObject(message.fixedFeatures, options); return object; }; @@ -227453,22 +225796,6 @@ return GeneratedCodeInfo; })(); - /** - * SymbolVisibility enum. - * @name google.protobuf.SymbolVisibility - * @enum {number} - * @property {number} VISIBILITY_UNSET=0 VISIBILITY_UNSET value - * @property {number} VISIBILITY_LOCAL=1 VISIBILITY_LOCAL value - * @property {number} VISIBILITY_EXPORT=2 VISIBILITY_EXPORT value - */ - protobuf.SymbolVisibility = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "VISIBILITY_UNSET"] = 0; - values[valuesById[1] = "VISIBILITY_LOCAL"] = 1; - values[valuesById[2] = "VISIBILITY_EXPORT"] = 2; - return values; - })(); - protobuf.Duration = (function() { /** diff --git a/packages/google-cloud-dialogflow/protos/protos.json b/packages/google-cloud-dialogflow/protos/protos.json index 3b3efe0f1f4c..52e91fc9be5d 100644 --- a/packages/google-cloud-dialogflow/protos/protos.json +++ b/packages/google-cloud-dialogflow/protos/protos.json @@ -24073,7 +24073,8 @@ "java_multiple_files": true, "java_outer_classname": "ResourceProto", "java_package": "com.google.api", - "objc_class_prefix": "GAPI" + "objc_class_prefix": "GAPI", + "cc_enable_arenas": true }, "nested": { "http": { @@ -24197,10 +24198,6 @@ "rule": "repeated", "type": "ClientLibraryDestination", "id": 2 - }, - "selectiveGapicGeneration": { - "type": "SelectiveGapicGeneration", - "id": 3 } } }, @@ -24341,28 +24338,6 @@ "common": { "type": "CommonLanguageSettings", "id": 1 - }, - "experimentalFeatures": { - "type": "ExperimentalFeatures", - "id": 2 - } - }, - "nested": { - "ExperimentalFeatures": { - "fields": { - "restAsyncIoEnabled": { - "type": "bool", - "id": 1 - }, - "protobufPythonicTypesEnabled": { - "type": "bool", - "id": 2 - }, - "unversionedPackageDisabled": { - "type": "bool", - "id": 3 - } - } } } }, @@ -24420,11 +24395,6 @@ "common": { "type": "CommonLanguageSettings", "id": 1 - }, - "renamedServices": { - "keyType": "string", - "type": "string", - "id": 2 } } }, @@ -24486,19 +24456,6 @@ "PACKAGE_MANAGER": 20 } }, - "SelectiveGapicGeneration": { - "fields": { - "methods": { - "rule": "repeated", - "type": "string", - "id": 1 - }, - "generateOmittedAsInternal": { - "type": "bool", - "id": 2 - } - } - }, "LaunchStage": { "values": { "LAUNCH_STAGE_UNSPECIFIED": 0, @@ -24631,19 +24588,12 @@ "type": "FileDescriptorProto", "id": 1 } - }, - "extensions": [ - [ - 536000000, - 536000000 - ] - ] + } }, "Edition": { "edition": "proto2", "values": { "EDITION_UNKNOWN": 0, - "EDITION_LEGACY": 900, "EDITION_PROTO2": 998, "EDITION_PROTO3": 999, "EDITION_2023": 1000, @@ -24682,11 +24632,6 @@ "type": "int32", "id": 11 }, - "optionDependency": { - "rule": "repeated", - "type": "string", - "id": 15 - }, "messageType": { "rule": "repeated", "type": "DescriptorProto", @@ -24775,10 +24720,6 @@ "rule": "repeated", "type": "string", "id": 10 - }, - "visibility": { - "type": "SymbolVisibility", - "id": 11 } }, "nested": { @@ -25004,10 +24945,6 @@ "rule": "repeated", "type": "string", "id": 5 - }, - "visibility": { - "type": "SymbolVisibility", - "id": 6 } }, "nested": { @@ -25222,7 +25159,6 @@ 42, 42 ], - "php_generic_services", [ 38, 38 @@ -25358,8 +25294,7 @@ "type": "bool", "id": 10, "options": { - "default": false, - "deprecated": true + "default": false } }, "debugRedact": { @@ -25387,10 +25322,6 @@ "type": "FeatureSet", "id": 21 }, - "featureSupport": { - "type": "FeatureSupport", - "id": 22 - }, "uninterpretedOption": { "rule": "repeated", "type": "UninterpretedOption", @@ -25460,26 +25391,6 @@ "id": 2 } } - }, - "FeatureSupport": { - "fields": { - "editionIntroduced": { - "type": "Edition", - "id": 1 - }, - "editionDeprecated": { - "type": "Edition", - "id": 2 - }, - "deprecationWarning": { - "type": "string", - "id": 3 - }, - "editionRemoved": { - "type": "Edition", - "id": 4 - } - } } } }, @@ -25568,10 +25479,6 @@ "default": false } }, - "featureSupport": { - "type": "FieldOptions.FeatureSupport", - "id": 4 - }, "uninterpretedOption": { "rule": "repeated", "type": "UninterpretedOption", @@ -25714,7 +25621,6 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_2023", "edition_defaults.value": "EXPLICIT" } @@ -25725,7 +25631,6 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_PROTO3", "edition_defaults.value": "OPEN" } @@ -25736,7 +25641,6 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_PROTO3", "edition_defaults.value": "PACKED" } @@ -25747,7 +25651,6 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_PROTO3", "edition_defaults.value": "VERIFY" } @@ -25758,8 +25661,7 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", - "edition_defaults.edition": "EDITION_LEGACY", + "edition_defaults.edition": "EDITION_PROTO2", "edition_defaults.value": "LENGTH_PREFIXED" } }, @@ -25769,38 +25671,27 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_PROTO3", "edition_defaults.value": "ALLOW" } - }, - "enforceNamingStyle": { - "type": "EnforceNamingStyle", - "id": 7, - "options": { - "retention": "RETENTION_SOURCE", - "targets": "TARGET_TYPE_METHOD", - "feature_support.edition_introduced": "EDITION_2024", - "edition_defaults.edition": "EDITION_2024", - "edition_defaults.value": "STYLE2024" - } - }, - "defaultSymbolVisibility": { - "type": "VisibilityFeature.DefaultSymbolVisibility", - "id": 8, - "options": { - "retention": "RETENTION_SOURCE", - "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2024", - "edition_defaults.edition": "EDITION_2024", - "edition_defaults.value": "EXPORT_TOP_LEVEL" - } } }, "extensions": [ [ 1000, - 9994 + 1000 + ], + [ + 1001, + 1001 + ], + [ + 1002, + 1002 + ], + [ + 9990, + 9990 ], [ 9995, @@ -25845,13 +25736,7 @@ "UTF8_VALIDATION_UNKNOWN": 0, "VERIFY": 2, "NONE": 3 - }, - "reserved": [ - [ - 1, - 1 - ] - ] + } }, "MessageEncoding": { "values": { @@ -25866,33 +25751,6 @@ "ALLOW": 1, "LEGACY_BEST_EFFORT": 2 } - }, - "EnforceNamingStyle": { - "values": { - "ENFORCE_NAMING_STYLE_UNKNOWN": 0, - "STYLE2024": 1, - "STYLE_LEGACY": 2 - } - }, - "VisibilityFeature": { - "fields": {}, - "reserved": [ - [ - 1, - 536870911 - ] - ], - "nested": { - "DefaultSymbolVisibility": { - "values": { - "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN": 0, - "EXPORT_ALL": 1, - "EXPORT_TOP_LEVEL": 2, - "LOCAL_ALL": 3, - "STRICT": 4 - } - } - } } } }, @@ -25920,26 +25778,11 @@ "type": "Edition", "id": 3 }, - "overridableFeatures": { + "features": { "type": "FeatureSet", - "id": 4 - }, - "fixedFeatures": { - "type": "FeatureSet", - "id": 5 + "id": 2 } - }, - "reserved": [ - [ - 1, - 1 - ], - [ - 2, - 2 - ], - "features" - ] + } } } }, @@ -25952,12 +25795,6 @@ "id": 1 } }, - "extensions": [ - [ - 536000000, - 536000000 - ] - ], "nested": { "Location": { "fields": { @@ -26043,14 +25880,6 @@ } } }, - "SymbolVisibility": { - "edition": "proto2", - "values": { - "VISIBILITY_UNSET": 0, - "VISIBILITY_LOCAL": 1, - "VISIBILITY_EXPORT": 2 - } - }, "Duration": { "fields": { "seconds": { @@ -26172,7 +26001,6 @@ "java_multiple_files": true, "java_outer_classname": "OperationsProto", "java_package": "com.google.longrunning", - "objc_class_prefix": "GLRUN", "php_namespace": "Google\\LongRunning" }, "nested": { diff --git a/packages/google-cloud-dialogflow/samples/generated/v2/snippet_metadata_google.cloud.dialogflow.v2.json b/packages/google-cloud-dialogflow/samples/generated/v2/snippet_metadata_google.cloud.dialogflow.v2.json index 2907e0155dec..73234454a51a 100644 --- a/packages/google-cloud-dialogflow/samples/generated/v2/snippet_metadata_google.cloud.dialogflow.v2.json +++ b/packages/google-cloud-dialogflow/samples/generated/v2/snippet_metadata_google.cloud.dialogflow.v2.json @@ -1,5435 +1,5435 @@ { - "clientLibrary": { - "name": "nodejs-dialogflow", - "version": "7.2.0", - "language": "TYPESCRIPT", - "apis": [ - { - "id": "google.cloud.dialogflow.v2", - "version": "v2" - } - ] - }, - "snippets": [ + "clientLibrary": { + "name": "nodejs-dialogflow", + "version": "0.1.0", + "language": "TYPESCRIPT", + "apis": [ + { + "id": "google.cloud.dialogflow.v2", + "version": "v2" + } + ] + }, + "snippets": [ + { + "regionTag": "dialogflow_v2_generated_Agents_GetAgent_async", + "title": "dialogflow getAgent Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified agent.", + "canonical": true, + "file": "agents.get_agent.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Agents_GetAgent_async", - "title": "dialogflow getAgent Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified agent.", - "canonical": true, - "file": "agents.get_agent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetAgent", - "fullName": "google.cloud.dialogflow.v2.Agents.GetAgent", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.Agent", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2.AgentsClient" - }, - "method": { - "shortName": "GetAgent", - "fullName": "google.cloud.dialogflow.v2.Agents.GetAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.v2.Agents" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetAgent", + "fullName": "google.cloud.dialogflow.v2.Agents.GetAgent", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.Agent", + "client": { + "shortName": "AgentsClient", + "fullName": "google.cloud.dialogflow.v2.AgentsClient" }, + "method": { + "shortName": "GetAgent", + "fullName": "google.cloud.dialogflow.v2.Agents.GetAgent", + "service": { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.v2.Agents" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Agents_SetAgent_async", + "title": "dialogflow setAgent Sample", + "origin": "API_DEFINITION", + "description": " Creates/updates the specified agent. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", + "canonical": true, + "file": "agents.set_agent.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Agents_SetAgent_async", - "title": "dialogflow setAgent Sample", - "origin": "API_DEFINITION", - "description": " Creates/updates the specified agent. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", - "canonical": true, - "file": "agents.set_agent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 57, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "SetAgent", - "fullName": "google.cloud.dialogflow.v2.Agents.SetAgent", - "async": true, - "parameters": [ - { - "name": "agent", - "type": ".google.cloud.dialogflow.v2.Agent" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.v2.Agent", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2.AgentsClient" - }, - "method": { - "shortName": "SetAgent", - "fullName": "google.cloud.dialogflow.v2.Agents.SetAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.v2.Agents" - } - } - } + "start": 25, + "end": 57, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "SetAgent", + "fullName": "google.cloud.dialogflow.v2.Agents.SetAgent", + "async": true, + "parameters": [ + { + "name": "agent", + "type": ".google.cloud.dialogflow.v2.Agent" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.v2.Agent", + "client": { + "shortName": "AgentsClient", + "fullName": "google.cloud.dialogflow.v2.AgentsClient" }, + "method": { + "shortName": "SetAgent", + "fullName": "google.cloud.dialogflow.v2.Agents.SetAgent", + "service": { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.v2.Agents" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Agents_DeleteAgent_async", + "title": "dialogflow deleteAgent Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified agent.", + "canonical": true, + "file": "agents.delete_agent.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Agents_DeleteAgent_async", - "title": "dialogflow deleteAgent Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified agent.", - "canonical": true, - "file": "agents.delete_agent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteAgent", - "fullName": "google.cloud.dialogflow.v2.Agents.DeleteAgent", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2.AgentsClient" - }, - "method": { - "shortName": "DeleteAgent", - "fullName": "google.cloud.dialogflow.v2.Agents.DeleteAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.v2.Agents" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteAgent", + "fullName": "google.cloud.dialogflow.v2.Agents.DeleteAgent", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "AgentsClient", + "fullName": "google.cloud.dialogflow.v2.AgentsClient" }, + "method": { + "shortName": "DeleteAgent", + "fullName": "google.cloud.dialogflow.v2.Agents.DeleteAgent", + "service": { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.v2.Agents" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Agents_SearchAgents_async", + "title": "dialogflow searchAgents Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of agents. Since there is at most one conversational agent per project, this method is useful primarily for listing all agents across projects the caller has access to. One can achieve that with a wildcard project collection id \"-\". Refer to [List Sub-Collections](https://cloud.google.com/apis/design/design_patterns#list_sub-collections).", + "canonical": true, + "file": "agents.search_agents.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Agents_SearchAgents_async", - "title": "dialogflow searchAgents Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of agents. Since there is at most one conversational agent per project, this method is useful primarily for listing all agents across projects the caller has access to. One can achieve that with a wildcard project collection id \"-\". Refer to [List Sub-Collections](https://cloud.google.com/apis/design/design_patterns#list_sub-collections).", - "canonical": true, - "file": "agents.search_agents.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 65, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "SearchAgents", - "fullName": "google.cloud.dialogflow.v2.Agents.SearchAgents", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.SearchAgentsResponse", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2.AgentsClient" - }, - "method": { - "shortName": "SearchAgents", - "fullName": "google.cloud.dialogflow.v2.Agents.SearchAgents", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.v2.Agents" - } - } - } + "start": 25, + "end": 65, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "SearchAgents", + "fullName": "google.cloud.dialogflow.v2.Agents.SearchAgents", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.SearchAgentsResponse", + "client": { + "shortName": "AgentsClient", + "fullName": "google.cloud.dialogflow.v2.AgentsClient" }, + "method": { + "shortName": "SearchAgents", + "fullName": "google.cloud.dialogflow.v2.Agents.SearchAgents", + "service": { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.v2.Agents" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Agents_TrainAgent_async", + "title": "dialogflow trainAgent Sample", + "origin": "API_DEFINITION", + "description": " Trains the specified agent. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](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 documentation](https://cloud.google.com/dialogflow/es/docs/training).", + "canonical": true, + "file": "agents.train_agent.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Agents_TrainAgent_async", - "title": "dialogflow trainAgent Sample", - "origin": "API_DEFINITION", - "description": " Trains the specified agent. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](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 documentation](https://cloud.google.com/dialogflow/es/docs/training).", - "canonical": true, - "file": "agents.train_agent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "TrainAgent", - "fullName": "google.cloud.dialogflow.v2.Agents.TrainAgent", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2.AgentsClient" - }, - "method": { - "shortName": "TrainAgent", - "fullName": "google.cloud.dialogflow.v2.Agents.TrainAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.v2.Agents" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "TrainAgent", + "fullName": "google.cloud.dialogflow.v2.Agents.TrainAgent", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "AgentsClient", + "fullName": "google.cloud.dialogflow.v2.AgentsClient" }, + "method": { + "shortName": "TrainAgent", + "fullName": "google.cloud.dialogflow.v2.Agents.TrainAgent", + "service": { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.v2.Agents" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Agents_ExportAgent_async", + "title": "dialogflow exportAgent Sample", + "origin": "API_DEFINITION", + "description": " Exports the specified agent to a ZIP file. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [ExportAgentResponse][google.cloud.dialogflow.v2.ExportAgentResponse]", + "canonical": true, + "file": "agents.export_agent.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Agents_ExportAgent_async", - "title": "dialogflow exportAgent Sample", - "origin": "API_DEFINITION", - "description": " Exports the specified agent to a ZIP file. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [ExportAgentResponse][google.cloud.dialogflow.v2.ExportAgentResponse]", - "canonical": true, - "file": "agents.export_agent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 68, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ExportAgent", - "fullName": "google.cloud.dialogflow.v2.Agents.ExportAgent", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "agent_uri", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2.AgentsClient" - }, - "method": { - "shortName": "ExportAgent", - "fullName": "google.cloud.dialogflow.v2.Agents.ExportAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.v2.Agents" - } - } - } + "start": 25, + "end": 68, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ExportAgent", + "fullName": "google.cloud.dialogflow.v2.Agents.ExportAgent", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "agent_uri", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "AgentsClient", + "fullName": "google.cloud.dialogflow.v2.AgentsClient" }, + "method": { + "shortName": "ExportAgent", + "fullName": "google.cloud.dialogflow.v2.Agents.ExportAgent", + "service": { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.v2.Agents" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Agents_ImportAgent_async", + "title": "dialogflow importAgent Sample", + "origin": "API_DEFINITION", + "description": " Imports the specified agent from a ZIP file. Uploads new intents and entity types without deleting the existing ones. Intents and entity types with the same name are replaced with the new versions from [ImportAgentRequest][google.cloud.dialogflow.v2.ImportAgentRequest]. After the import, the imported draft agent will be trained automatically (unless disabled in agent settings). However, once the import is done, training may not be completed yet. Please call [TrainAgent][google.cloud.dialogflow.v2.Agents.TrainAgent] and wait for the operation it returns in order to train explicitly. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](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. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", + "canonical": true, + "file": "agents.import_agent.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Agents_ImportAgent_async", - "title": "dialogflow importAgent Sample", - "origin": "API_DEFINITION", - "description": " Imports the specified agent from a ZIP file. Uploads new intents and entity types without deleting the existing ones. Intents and entity types with the same name are replaced with the new versions from [ImportAgentRequest][google.cloud.dialogflow.v2.ImportAgentRequest]. After the import, the imported draft agent will be trained automatically (unless disabled in agent settings). However, once the import is done, training may not be completed yet. Please call [TrainAgent][google.cloud.dialogflow.v2.Agents.TrainAgent] and wait for the operation it returns in order to train explicitly. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](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. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", - "canonical": true, - "file": "agents.import_agent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 69, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ImportAgent", - "fullName": "google.cloud.dialogflow.v2.Agents.ImportAgent", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "agent_uri", - "type": "TYPE_STRING" - }, - { - "name": "agent_content", - "type": "TYPE_BYTES" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2.AgentsClient" - }, - "method": { - "shortName": "ImportAgent", - "fullName": "google.cloud.dialogflow.v2.Agents.ImportAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.v2.Agents" - } - } - } + "start": 25, + "end": 69, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ImportAgent", + "fullName": "google.cloud.dialogflow.v2.Agents.ImportAgent", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "agent_uri", + "type": "TYPE_STRING" + }, + { + "name": "agent_content", + "type": "TYPE_BYTES" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "AgentsClient", + "fullName": "google.cloud.dialogflow.v2.AgentsClient" }, + "method": { + "shortName": "ImportAgent", + "fullName": "google.cloud.dialogflow.v2.Agents.ImportAgent", + "service": { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.v2.Agents" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Agents_RestoreAgent_async", + "title": "dialogflow restoreAgent Sample", + "origin": "API_DEFINITION", + "description": " Restores the specified agent from a ZIP file. Replaces the current agent version with a new one. All the intents and entity types in the older version are deleted. After the restore, the restored draft agent will be trained automatically (unless disabled in agent settings). However, once the restore is done, training may not be completed yet. Please call [TrainAgent][google.cloud.dialogflow.v2.Agents.TrainAgent] and wait for the operation it returns in order to train explicitly. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](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. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", + "canonical": true, + "file": "agents.restore_agent.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Agents_RestoreAgent_async", - "title": "dialogflow restoreAgent Sample", - "origin": "API_DEFINITION", - "description": " Restores the specified agent from a ZIP file. Replaces the current agent version with a new one. All the intents and entity types in the older version are deleted. After the restore, the restored draft agent will be trained automatically (unless disabled in agent settings). However, once the restore is done, training may not be completed yet. Please call [TrainAgent][google.cloud.dialogflow.v2.Agents.TrainAgent] and wait for the operation it returns in order to train explicitly. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](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. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", - "canonical": true, - "file": "agents.restore_agent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 69, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "RestoreAgent", - "fullName": "google.cloud.dialogflow.v2.Agents.RestoreAgent", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "agent_uri", - "type": "TYPE_STRING" - }, - { - "name": "agent_content", - "type": "TYPE_BYTES" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2.AgentsClient" - }, - "method": { - "shortName": "RestoreAgent", - "fullName": "google.cloud.dialogflow.v2.Agents.RestoreAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.v2.Agents" - } - } - } + "start": 25, + "end": 69, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "RestoreAgent", + "fullName": "google.cloud.dialogflow.v2.Agents.RestoreAgent", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "agent_uri", + "type": "TYPE_STRING" + }, + { + "name": "agent_content", + "type": "TYPE_BYTES" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "AgentsClient", + "fullName": "google.cloud.dialogflow.v2.AgentsClient" }, + "method": { + "shortName": "RestoreAgent", + "fullName": "google.cloud.dialogflow.v2.Agents.RestoreAgent", + "service": { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.v2.Agents" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Agents_GetValidationResult_async", + "title": "dialogflow getValidationResult Sample", + "origin": "API_DEFINITION", + "description": " Gets agent validation result. Agent validation is performed during training time and is updated automatically when training is completed.", + "canonical": true, + "file": "agents.get_validation_result.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Agents_GetValidationResult_async", - "title": "dialogflow getValidationResult Sample", - "origin": "API_DEFINITION", - "description": " Gets agent validation result. Agent validation is performed during training time and is updated automatically when training is completed.", - "canonical": true, - "file": "agents.get_validation_result.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 62, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetValidationResult", - "fullName": "google.cloud.dialogflow.v2.Agents.GetValidationResult", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.ValidationResult", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2.AgentsClient" - }, - "method": { - "shortName": "GetValidationResult", - "fullName": "google.cloud.dialogflow.v2.Agents.GetValidationResult", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.v2.Agents" - } - } - } + "start": 25, + "end": 62, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetValidationResult", + "fullName": "google.cloud.dialogflow.v2.Agents.GetValidationResult", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.ValidationResult", + "client": { + "shortName": "AgentsClient", + "fullName": "google.cloud.dialogflow.v2.AgentsClient" }, + "method": { + "shortName": "GetValidationResult", + "fullName": "google.cloud.dialogflow.v2.Agents.GetValidationResult", + "service": { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.v2.Agents" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_AnswerRecords_ListAnswerRecords_async", + "title": "dialogflow listAnswerRecords Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all answer records in the specified project in reverse chronological order.", + "canonical": true, + "file": "answer_records.list_answer_records.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_AnswerRecords_ListAnswerRecords_async", - "title": "dialogflow listAnswerRecords Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all answer records in the specified project in reverse chronological order.", - "canonical": true, - "file": "answer_records.list_answer_records.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 84, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListAnswerRecords", - "fullName": "google.cloud.dialogflow.v2.AnswerRecords.ListAnswerRecords", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.ListAnswerRecordsResponse", - "client": { - "shortName": "AnswerRecordsClient", - "fullName": "google.cloud.dialogflow.v2.AnswerRecordsClient" - }, - "method": { - "shortName": "ListAnswerRecords", - "fullName": "google.cloud.dialogflow.v2.AnswerRecords.ListAnswerRecords", - "service": { - "shortName": "AnswerRecords", - "fullName": "google.cloud.dialogflow.v2.AnswerRecords" - } - } - } + "start": 25, + "end": 84, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListAnswerRecords", + "fullName": "google.cloud.dialogflow.v2.AnswerRecords.ListAnswerRecords", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.ListAnswerRecordsResponse", + "client": { + "shortName": "AnswerRecordsClient", + "fullName": "google.cloud.dialogflow.v2.AnswerRecordsClient" }, + "method": { + "shortName": "ListAnswerRecords", + "fullName": "google.cloud.dialogflow.v2.AnswerRecords.ListAnswerRecords", + "service": { + "shortName": "AnswerRecords", + "fullName": "google.cloud.dialogflow.v2.AnswerRecords" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_AnswerRecords_UpdateAnswerRecord_async", + "title": "dialogflow updateAnswerRecord Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified answer record.", + "canonical": true, + "file": "answer_records.update_answer_record.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_AnswerRecords_UpdateAnswerRecord_async", - "title": "dialogflow updateAnswerRecord Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified answer record.", - "canonical": true, - "file": "answer_records.update_answer_record.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 58, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateAnswerRecord", - "fullName": "google.cloud.dialogflow.v2.AnswerRecords.UpdateAnswerRecord", - "async": true, - "parameters": [ - { - "name": "answer_record", - "type": ".google.cloud.dialogflow.v2.AnswerRecord" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.v2.AnswerRecord", - "client": { - "shortName": "AnswerRecordsClient", - "fullName": "google.cloud.dialogflow.v2.AnswerRecordsClient" - }, - "method": { - "shortName": "UpdateAnswerRecord", - "fullName": "google.cloud.dialogflow.v2.AnswerRecords.UpdateAnswerRecord", - "service": { - "shortName": "AnswerRecords", - "fullName": "google.cloud.dialogflow.v2.AnswerRecords" - } - } - } + "start": 25, + "end": 58, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateAnswerRecord", + "fullName": "google.cloud.dialogflow.v2.AnswerRecords.UpdateAnswerRecord", + "async": true, + "parameters": [ + { + "name": "answer_record", + "type": ".google.cloud.dialogflow.v2.AnswerRecord" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.v2.AnswerRecord", + "client": { + "shortName": "AnswerRecordsClient", + "fullName": "google.cloud.dialogflow.v2.AnswerRecordsClient" }, + "method": { + "shortName": "UpdateAnswerRecord", + "fullName": "google.cloud.dialogflow.v2.AnswerRecords.UpdateAnswerRecord", + "service": { + "shortName": "AnswerRecords", + "fullName": "google.cloud.dialogflow.v2.AnswerRecords" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Contexts_ListContexts_async", + "title": "dialogflow listContexts Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all contexts in the specified session.", + "canonical": true, + "file": "contexts.list_contexts.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Contexts_ListContexts_async", - "title": "dialogflow listContexts Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all contexts in the specified session.", - "canonical": true, - "file": "contexts.list_contexts.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 69, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListContexts", - "fullName": "google.cloud.dialogflow.v2.Contexts.ListContexts", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.ListContextsResponse", - "client": { - "shortName": "ContextsClient", - "fullName": "google.cloud.dialogflow.v2.ContextsClient" - }, - "method": { - "shortName": "ListContexts", - "fullName": "google.cloud.dialogflow.v2.Contexts.ListContexts", - "service": { - "shortName": "Contexts", - "fullName": "google.cloud.dialogflow.v2.Contexts" - } - } - } + "start": 25, + "end": 69, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListContexts", + "fullName": "google.cloud.dialogflow.v2.Contexts.ListContexts", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.ListContextsResponse", + "client": { + "shortName": "ContextsClient", + "fullName": "google.cloud.dialogflow.v2.ContextsClient" }, + "method": { + "shortName": "ListContexts", + "fullName": "google.cloud.dialogflow.v2.Contexts.ListContexts", + "service": { + "shortName": "Contexts", + "fullName": "google.cloud.dialogflow.v2.Contexts" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Contexts_GetContext_async", + "title": "dialogflow getContext Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified context.", + "canonical": true, + "file": "contexts.get_context.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Contexts_GetContext_async", - "title": "dialogflow getContext Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified context.", - "canonical": true, - "file": "contexts.get_context.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 58, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetContext", - "fullName": "google.cloud.dialogflow.v2.Contexts.GetContext", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.Context", - "client": { - "shortName": "ContextsClient", - "fullName": "google.cloud.dialogflow.v2.ContextsClient" - }, - "method": { - "shortName": "GetContext", - "fullName": "google.cloud.dialogflow.v2.Contexts.GetContext", - "service": { - "shortName": "Contexts", - "fullName": "google.cloud.dialogflow.v2.Contexts" - } - } - } + "start": 25, + "end": 58, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetContext", + "fullName": "google.cloud.dialogflow.v2.Contexts.GetContext", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.Context", + "client": { + "shortName": "ContextsClient", + "fullName": "google.cloud.dialogflow.v2.ContextsClient" }, + "method": { + "shortName": "GetContext", + "fullName": "google.cloud.dialogflow.v2.Contexts.GetContext", + "service": { + "shortName": "Contexts", + "fullName": "google.cloud.dialogflow.v2.Contexts" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Contexts_CreateContext_async", + "title": "dialogflow createContext Sample", + "origin": "API_DEFINITION", + "description": " Creates a context. If the specified context already exists, overrides the context.", + "canonical": true, + "file": "contexts.create_context.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Contexts_CreateContext_async", - "title": "dialogflow createContext Sample", - "origin": "API_DEFINITION", - "description": " Creates a context. If the specified context already exists, overrides the context.", - "canonical": true, - "file": "contexts.create_context.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 63, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateContext", - "fullName": "google.cloud.dialogflow.v2.Contexts.CreateContext", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "context", - "type": ".google.cloud.dialogflow.v2.Context" - } - ], - "resultType": ".google.cloud.dialogflow.v2.Context", - "client": { - "shortName": "ContextsClient", - "fullName": "google.cloud.dialogflow.v2.ContextsClient" - }, - "method": { - "shortName": "CreateContext", - "fullName": "google.cloud.dialogflow.v2.Contexts.CreateContext", - "service": { - "shortName": "Contexts", - "fullName": "google.cloud.dialogflow.v2.Contexts" - } - } - } + "start": 25, + "end": 63, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateContext", + "fullName": "google.cloud.dialogflow.v2.Contexts.CreateContext", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "context", + "type": ".google.cloud.dialogflow.v2.Context" + } + ], + "resultType": ".google.cloud.dialogflow.v2.Context", + "client": { + "shortName": "ContextsClient", + "fullName": "google.cloud.dialogflow.v2.ContextsClient" }, + "method": { + "shortName": "CreateContext", + "fullName": "google.cloud.dialogflow.v2.Contexts.CreateContext", + "service": { + "shortName": "Contexts", + "fullName": "google.cloud.dialogflow.v2.Contexts" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Contexts_UpdateContext_async", + "title": "dialogflow updateContext Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified context.", + "canonical": true, + "file": "contexts.update_context.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Contexts_UpdateContext_async", - "title": "dialogflow updateContext Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified context.", - "canonical": true, - "file": "contexts.update_context.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 57, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateContext", - "fullName": "google.cloud.dialogflow.v2.Contexts.UpdateContext", - "async": true, - "parameters": [ - { - "name": "context", - "type": ".google.cloud.dialogflow.v2.Context" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.v2.Context", - "client": { - "shortName": "ContextsClient", - "fullName": "google.cloud.dialogflow.v2.ContextsClient" - }, - "method": { - "shortName": "UpdateContext", - "fullName": "google.cloud.dialogflow.v2.Contexts.UpdateContext", - "service": { - "shortName": "Contexts", - "fullName": "google.cloud.dialogflow.v2.Contexts" - } - } - } + "start": 25, + "end": 57, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateContext", + "fullName": "google.cloud.dialogflow.v2.Contexts.UpdateContext", + "async": true, + "parameters": [ + { + "name": "context", + "type": ".google.cloud.dialogflow.v2.Context" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.v2.Context", + "client": { + "shortName": "ContextsClient", + "fullName": "google.cloud.dialogflow.v2.ContextsClient" }, + "method": { + "shortName": "UpdateContext", + "fullName": "google.cloud.dialogflow.v2.Contexts.UpdateContext", + "service": { + "shortName": "Contexts", + "fullName": "google.cloud.dialogflow.v2.Contexts" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Contexts_DeleteContext_async", + "title": "dialogflow deleteContext Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified context.", + "canonical": true, + "file": "contexts.delete_context.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Contexts_DeleteContext_async", - "title": "dialogflow deleteContext Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified context.", - "canonical": true, - "file": "contexts.delete_context.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 58, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteContext", - "fullName": "google.cloud.dialogflow.v2.Contexts.DeleteContext", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "ContextsClient", - "fullName": "google.cloud.dialogflow.v2.ContextsClient" - }, - "method": { - "shortName": "DeleteContext", - "fullName": "google.cloud.dialogflow.v2.Contexts.DeleteContext", - "service": { - "shortName": "Contexts", - "fullName": "google.cloud.dialogflow.v2.Contexts" - } - } - } + "start": 25, + "end": 58, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteContext", + "fullName": "google.cloud.dialogflow.v2.Contexts.DeleteContext", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "ContextsClient", + "fullName": "google.cloud.dialogflow.v2.ContextsClient" }, + "method": { + "shortName": "DeleteContext", + "fullName": "google.cloud.dialogflow.v2.Contexts.DeleteContext", + "service": { + "shortName": "Contexts", + "fullName": "google.cloud.dialogflow.v2.Contexts" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Contexts_DeleteAllContexts_async", + "title": "dialogflow deleteAllContexts Sample", + "origin": "API_DEFINITION", + "description": " Deletes all active contexts in the specified session.", + "canonical": true, + "file": "contexts.delete_all_contexts.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Contexts_DeleteAllContexts_async", - "title": "dialogflow deleteAllContexts Sample", - "origin": "API_DEFINITION", - "description": " Deletes all active contexts in the specified session.", - "canonical": true, - "file": "contexts.delete_all_contexts.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 58, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteAllContexts", - "fullName": "google.cloud.dialogflow.v2.Contexts.DeleteAllContexts", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "ContextsClient", - "fullName": "google.cloud.dialogflow.v2.ContextsClient" - }, - "method": { - "shortName": "DeleteAllContexts", - "fullName": "google.cloud.dialogflow.v2.Contexts.DeleteAllContexts", - "service": { - "shortName": "Contexts", - "fullName": "google.cloud.dialogflow.v2.Contexts" - } - } - } + "start": 25, + "end": 58, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteAllContexts", + "fullName": "google.cloud.dialogflow.v2.Contexts.DeleteAllContexts", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "ContextsClient", + "fullName": "google.cloud.dialogflow.v2.ContextsClient" }, + "method": { + "shortName": "DeleteAllContexts", + "fullName": "google.cloud.dialogflow.v2.Contexts.DeleteAllContexts", + "service": { + "shortName": "Contexts", + "fullName": "google.cloud.dialogflow.v2.Contexts" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_ConversationDatasets_CreateConversationDataset_async", + "title": "dialogflow createConversationDataset Sample", + "origin": "API_DEFINITION", + "description": " Creates a new conversation dataset. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: [CreateConversationDatasetOperationMetadata][google.cloud.dialogflow.v2.CreateConversationDatasetOperationMetadata] - `response`: [ConversationDataset][google.cloud.dialogflow.v2.ConversationDataset]", + "canonical": true, + "file": "conversation_datasets.create_conversation_dataset.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_ConversationDatasets_CreateConversationDataset_async", - "title": "dialogflow createConversationDataset Sample", - "origin": "API_DEFINITION", - "description": " Creates a new conversation dataset. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: [CreateConversationDatasetOperationMetadata][google.cloud.dialogflow.v2.CreateConversationDatasetOperationMetadata] - `response`: [ConversationDataset][google.cloud.dialogflow.v2.ConversationDataset]", - "canonical": true, - "file": "conversation_datasets.create_conversation_dataset.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 60, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateConversationDataset", - "fullName": "google.cloud.dialogflow.v2.ConversationDatasets.CreateConversationDataset", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "conversation_dataset", - "type": ".google.cloud.dialogflow.v2.ConversationDataset" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "ConversationDatasetsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationDatasetsClient" - }, - "method": { - "shortName": "CreateConversationDataset", - "fullName": "google.cloud.dialogflow.v2.ConversationDatasets.CreateConversationDataset", - "service": { - "shortName": "ConversationDatasets", - "fullName": "google.cloud.dialogflow.v2.ConversationDatasets" - } - } - } + "start": 25, + "end": 60, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateConversationDataset", + "fullName": "google.cloud.dialogflow.v2.ConversationDatasets.CreateConversationDataset", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "conversation_dataset", + "type": ".google.cloud.dialogflow.v2.ConversationDataset" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "ConversationDatasetsClient", + "fullName": "google.cloud.dialogflow.v2.ConversationDatasetsClient" }, + "method": { + "shortName": "CreateConversationDataset", + "fullName": "google.cloud.dialogflow.v2.ConversationDatasets.CreateConversationDataset", + "service": { + "shortName": "ConversationDatasets", + "fullName": "google.cloud.dialogflow.v2.ConversationDatasets" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_ConversationDatasets_GetConversationDataset_async", + "title": "dialogflow getConversationDataset Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified conversation dataset.", + "canonical": true, + "file": "conversation_datasets.get_conversation_dataset.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_ConversationDatasets_GetConversationDataset_async", - "title": "dialogflow getConversationDataset Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified conversation dataset.", - "canonical": true, - "file": "conversation_datasets.get_conversation_dataset.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetConversationDataset", - "fullName": "google.cloud.dialogflow.v2.ConversationDatasets.GetConversationDataset", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.ConversationDataset", - "client": { - "shortName": "ConversationDatasetsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationDatasetsClient" - }, - "method": { - "shortName": "GetConversationDataset", - "fullName": "google.cloud.dialogflow.v2.ConversationDatasets.GetConversationDataset", - "service": { - "shortName": "ConversationDatasets", - "fullName": "google.cloud.dialogflow.v2.ConversationDatasets" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetConversationDataset", + "fullName": "google.cloud.dialogflow.v2.ConversationDatasets.GetConversationDataset", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.ConversationDataset", + "client": { + "shortName": "ConversationDatasetsClient", + "fullName": "google.cloud.dialogflow.v2.ConversationDatasetsClient" }, + "method": { + "shortName": "GetConversationDataset", + "fullName": "google.cloud.dialogflow.v2.ConversationDatasets.GetConversationDataset", + "service": { + "shortName": "ConversationDatasets", + "fullName": "google.cloud.dialogflow.v2.ConversationDatasets" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_ConversationDatasets_ListConversationDatasets_async", + "title": "dialogflow listConversationDatasets Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all conversation datasets in the specified project and location.", + "canonical": true, + "file": "conversation_datasets.list_conversation_datasets.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_ConversationDatasets_ListConversationDatasets_async", - "title": "dialogflow listConversationDatasets Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all conversation datasets in the specified project and location.", - "canonical": true, - "file": "conversation_datasets.list_conversation_datasets.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 65, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListConversationDatasets", - "fullName": "google.cloud.dialogflow.v2.ConversationDatasets.ListConversationDatasets", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.ListConversationDatasetsResponse", - "client": { - "shortName": "ConversationDatasetsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationDatasetsClient" - }, - "method": { - "shortName": "ListConversationDatasets", - "fullName": "google.cloud.dialogflow.v2.ConversationDatasets.ListConversationDatasets", - "service": { - "shortName": "ConversationDatasets", - "fullName": "google.cloud.dialogflow.v2.ConversationDatasets" - } - } - } + "start": 25, + "end": 65, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListConversationDatasets", + "fullName": "google.cloud.dialogflow.v2.ConversationDatasets.ListConversationDatasets", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.ListConversationDatasetsResponse", + "client": { + "shortName": "ConversationDatasetsClient", + "fullName": "google.cloud.dialogflow.v2.ConversationDatasetsClient" }, + "method": { + "shortName": "ListConversationDatasets", + "fullName": "google.cloud.dialogflow.v2.ConversationDatasets.ListConversationDatasets", + "service": { + "shortName": "ConversationDatasets", + "fullName": "google.cloud.dialogflow.v2.ConversationDatasets" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_ConversationDatasets_DeleteConversationDataset_async", + "title": "dialogflow deleteConversationDataset Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified conversation dataset. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: [DeleteConversationDatasetOperationMetadata][google.cloud.dialogflow.v2.DeleteConversationDatasetOperationMetadata] - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)", + "canonical": true, + "file": "conversation_datasets.delete_conversation_dataset.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_ConversationDatasets_DeleteConversationDataset_async", - "title": "dialogflow deleteConversationDataset Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified conversation dataset. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: [DeleteConversationDatasetOperationMetadata][google.cloud.dialogflow.v2.DeleteConversationDatasetOperationMetadata] - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)", - "canonical": true, - "file": "conversation_datasets.delete_conversation_dataset.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 56, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteConversationDataset", - "fullName": "google.cloud.dialogflow.v2.ConversationDatasets.DeleteConversationDataset", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "ConversationDatasetsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationDatasetsClient" - }, - "method": { - "shortName": "DeleteConversationDataset", - "fullName": "google.cloud.dialogflow.v2.ConversationDatasets.DeleteConversationDataset", - "service": { - "shortName": "ConversationDatasets", - "fullName": "google.cloud.dialogflow.v2.ConversationDatasets" - } - } - } + "start": 25, + "end": 56, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteConversationDataset", + "fullName": "google.cloud.dialogflow.v2.ConversationDatasets.DeleteConversationDataset", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "ConversationDatasetsClient", + "fullName": "google.cloud.dialogflow.v2.ConversationDatasetsClient" }, + "method": { + "shortName": "DeleteConversationDataset", + "fullName": "google.cloud.dialogflow.v2.ConversationDatasets.DeleteConversationDataset", + "service": { + "shortName": "ConversationDatasets", + "fullName": "google.cloud.dialogflow.v2.ConversationDatasets" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_ConversationDatasets_ImportConversationData_async", + "title": "dialogflow importConversationData Sample", + "origin": "API_DEFINITION", + "description": " Import data into the specified conversation dataset. Note that it is not allowed to import data to a conversation dataset that already has data in it. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: [ImportConversationDataOperationMetadata][google.cloud.dialogflow.v2.ImportConversationDataOperationMetadata] - `response`: [ImportConversationDataOperationResponse][google.cloud.dialogflow.v2.ImportConversationDataOperationResponse]", + "canonical": true, + "file": "conversation_datasets.import_conversation_data.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_ConversationDatasets_ImportConversationData_async", - "title": "dialogflow importConversationData Sample", - "origin": "API_DEFINITION", - "description": " Import data into the specified conversation dataset. Note that it is not allowed to import data to a conversation dataset that already has data in it. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: [ImportConversationDataOperationMetadata][google.cloud.dialogflow.v2.ImportConversationDataOperationMetadata] - `response`: [ImportConversationDataOperationResponse][google.cloud.dialogflow.v2.ImportConversationDataOperationResponse]", - "canonical": true, - "file": "conversation_datasets.import_conversation_data.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ImportConversationData", - "fullName": "google.cloud.dialogflow.v2.ConversationDatasets.ImportConversationData", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "input_config", - "type": ".google.cloud.dialogflow.v2.InputConfig" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "ConversationDatasetsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationDatasetsClient" - }, - "method": { - "shortName": "ImportConversationData", - "fullName": "google.cloud.dialogflow.v2.ConversationDatasets.ImportConversationData", - "service": { - "shortName": "ConversationDatasets", - "fullName": "google.cloud.dialogflow.v2.ConversationDatasets" - } - } - } + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ImportConversationData", + "fullName": "google.cloud.dialogflow.v2.ConversationDatasets.ImportConversationData", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "input_config", + "type": ".google.cloud.dialogflow.v2.InputConfig" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "ConversationDatasetsClient", + "fullName": "google.cloud.dialogflow.v2.ConversationDatasetsClient" }, + "method": { + "shortName": "ImportConversationData", + "fullName": "google.cloud.dialogflow.v2.ConversationDatasets.ImportConversationData", + "service": { + "shortName": "ConversationDatasets", + "fullName": "google.cloud.dialogflow.v2.ConversationDatasets" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_ConversationModels_CreateConversationModel_async", + "title": "dialogflow createConversationModel Sample", + "origin": "API_DEFINITION", + "description": " Creates a model. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: [CreateConversationModelOperationMetadata][google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata] - `response`: [ConversationModel][google.cloud.dialogflow.v2.ConversationModel]", + "canonical": true, + "file": "conversation_models.create_conversation_model.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_ConversationModels_CreateConversationModel_async", - "title": "dialogflow createConversationModel Sample", - "origin": "API_DEFINITION", - "description": " Creates a model. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: [CreateConversationModelOperationMetadata][google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata] - `response`: [ConversationModel][google.cloud.dialogflow.v2.ConversationModel]", - "canonical": true, - "file": "conversation_models.create_conversation_model.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateConversationModel", - "fullName": "google.cloud.dialogflow.v2.ConversationModels.CreateConversationModel", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "conversation_model", - "type": ".google.cloud.dialogflow.v2.ConversationModel" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "ConversationModelsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient" - }, - "method": { - "shortName": "CreateConversationModel", - "fullName": "google.cloud.dialogflow.v2.ConversationModels.CreateConversationModel", - "service": { - "shortName": "ConversationModels", - "fullName": "google.cloud.dialogflow.v2.ConversationModels" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateConversationModel", + "fullName": "google.cloud.dialogflow.v2.ConversationModels.CreateConversationModel", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "conversation_model", + "type": ".google.cloud.dialogflow.v2.ConversationModel" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "ConversationModelsClient", + "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient" }, + "method": { + "shortName": "CreateConversationModel", + "fullName": "google.cloud.dialogflow.v2.ConversationModels.CreateConversationModel", + "service": { + "shortName": "ConversationModels", + "fullName": "google.cloud.dialogflow.v2.ConversationModels" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_ConversationModels_GetConversationModel_async", + "title": "dialogflow getConversationModel Sample", + "origin": "API_DEFINITION", + "description": " Gets conversation model.", + "canonical": true, + "file": "conversation_models.get_conversation_model.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_ConversationModels_GetConversationModel_async", - "title": "dialogflow getConversationModel Sample", - "origin": "API_DEFINITION", - "description": " Gets conversation model.", - "canonical": true, - "file": "conversation_models.get_conversation_model.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetConversationModel", - "fullName": "google.cloud.dialogflow.v2.ConversationModels.GetConversationModel", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.ConversationModel", - "client": { - "shortName": "ConversationModelsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient" - }, - "method": { - "shortName": "GetConversationModel", - "fullName": "google.cloud.dialogflow.v2.ConversationModels.GetConversationModel", - "service": { - "shortName": "ConversationModels", - "fullName": "google.cloud.dialogflow.v2.ConversationModels" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetConversationModel", + "fullName": "google.cloud.dialogflow.v2.ConversationModels.GetConversationModel", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.ConversationModel", + "client": { + "shortName": "ConversationModelsClient", + "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient" }, + "method": { + "shortName": "GetConversationModel", + "fullName": "google.cloud.dialogflow.v2.ConversationModels.GetConversationModel", + "service": { + "shortName": "ConversationModels", + "fullName": "google.cloud.dialogflow.v2.ConversationModels" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_ConversationModels_ListConversationModels_async", + "title": "dialogflow listConversationModels Sample", + "origin": "API_DEFINITION", + "description": " Lists conversation models.", + "canonical": true, + "file": "conversation_models.list_conversation_models.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_ConversationModels_ListConversationModels_async", - "title": "dialogflow listConversationModels Sample", - "origin": "API_DEFINITION", - "description": " Lists conversation models.", - "canonical": true, - "file": "conversation_models.list_conversation_models.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 65, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListConversationModels", - "fullName": "google.cloud.dialogflow.v2.ConversationModels.ListConversationModels", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.ListConversationModelsResponse", - "client": { - "shortName": "ConversationModelsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient" - }, - "method": { - "shortName": "ListConversationModels", - "fullName": "google.cloud.dialogflow.v2.ConversationModels.ListConversationModels", - "service": { - "shortName": "ConversationModels", - "fullName": "google.cloud.dialogflow.v2.ConversationModels" - } - } - } + "start": 25, + "end": 65, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListConversationModels", + "fullName": "google.cloud.dialogflow.v2.ConversationModels.ListConversationModels", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.ListConversationModelsResponse", + "client": { + "shortName": "ConversationModelsClient", + "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient" }, + "method": { + "shortName": "ListConversationModels", + "fullName": "google.cloud.dialogflow.v2.ConversationModels.ListConversationModels", + "service": { + "shortName": "ConversationModels", + "fullName": "google.cloud.dialogflow.v2.ConversationModels" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_ConversationModels_DeleteConversationModel_async", + "title": "dialogflow deleteConversationModel Sample", + "origin": "API_DEFINITION", + "description": " Deletes a model. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: [DeleteConversationModelOperationMetadata][google.cloud.dialogflow.v2.DeleteConversationModelOperationMetadata] - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)", + "canonical": true, + "file": "conversation_models.delete_conversation_model.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_ConversationModels_DeleteConversationModel_async", - "title": "dialogflow deleteConversationModel Sample", - "origin": "API_DEFINITION", - "description": " Deletes a model. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: [DeleteConversationModelOperationMetadata][google.cloud.dialogflow.v2.DeleteConversationModelOperationMetadata] - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)", - "canonical": true, - "file": "conversation_models.delete_conversation_model.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteConversationModel", - "fullName": "google.cloud.dialogflow.v2.ConversationModels.DeleteConversationModel", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "ConversationModelsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient" - }, - "method": { - "shortName": "DeleteConversationModel", - "fullName": "google.cloud.dialogflow.v2.ConversationModels.DeleteConversationModel", - "service": { - "shortName": "ConversationModels", - "fullName": "google.cloud.dialogflow.v2.ConversationModels" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteConversationModel", + "fullName": "google.cloud.dialogflow.v2.ConversationModels.DeleteConversationModel", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "ConversationModelsClient", + "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient" }, + "method": { + "shortName": "DeleteConversationModel", + "fullName": "google.cloud.dialogflow.v2.ConversationModels.DeleteConversationModel", + "service": { + "shortName": "ConversationModels", + "fullName": "google.cloud.dialogflow.v2.ConversationModels" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_ConversationModels_DeployConversationModel_async", + "title": "dialogflow deployConversationModel Sample", + "origin": "API_DEFINITION", + "description": " Deploys a model. If a model is already deployed, deploying it has no effect. A model can only serve prediction requests after it gets deployed. For article suggestion, custom model will not be used unless it is deployed. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: [DeployConversationModelOperationMetadata][google.cloud.dialogflow.v2.DeployConversationModelOperationMetadata] - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)", + "canonical": true, + "file": "conversation_models.deploy_conversation_model.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_ConversationModels_DeployConversationModel_async", - "title": "dialogflow deployConversationModel Sample", - "origin": "API_DEFINITION", - "description": " Deploys a model. If a model is already deployed, deploying it has no effect. A model can only serve prediction requests after it gets deployed. For article suggestion, custom model will not be used unless it is deployed. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: [DeployConversationModelOperationMetadata][google.cloud.dialogflow.v2.DeployConversationModelOperationMetadata] - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)", - "canonical": true, - "file": "conversation_models.deploy_conversation_model.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeployConversationModel", - "fullName": "google.cloud.dialogflow.v2.ConversationModels.DeployConversationModel", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "ConversationModelsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient" - }, - "method": { - "shortName": "DeployConversationModel", - "fullName": "google.cloud.dialogflow.v2.ConversationModels.DeployConversationModel", - "service": { - "shortName": "ConversationModels", - "fullName": "google.cloud.dialogflow.v2.ConversationModels" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeployConversationModel", + "fullName": "google.cloud.dialogflow.v2.ConversationModels.DeployConversationModel", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "ConversationModelsClient", + "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient" }, + "method": { + "shortName": "DeployConversationModel", + "fullName": "google.cloud.dialogflow.v2.ConversationModels.DeployConversationModel", + "service": { + "shortName": "ConversationModels", + "fullName": "google.cloud.dialogflow.v2.ConversationModels" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_ConversationModels_UndeployConversationModel_async", + "title": "dialogflow undeployConversationModel Sample", + "origin": "API_DEFINITION", + "description": " 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. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: [UndeployConversationModelOperationMetadata][google.cloud.dialogflow.v2.UndeployConversationModelOperationMetadata] - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)", + "canonical": true, + "file": "conversation_models.undeploy_conversation_model.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_ConversationModels_UndeployConversationModel_async", - "title": "dialogflow undeployConversationModel Sample", - "origin": "API_DEFINITION", - "description": " 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. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: [UndeployConversationModelOperationMetadata][google.cloud.dialogflow.v2.UndeployConversationModelOperationMetadata] - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)", - "canonical": true, - "file": "conversation_models.undeploy_conversation_model.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UndeployConversationModel", - "fullName": "google.cloud.dialogflow.v2.ConversationModels.UndeployConversationModel", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "ConversationModelsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient" - }, - "method": { - "shortName": "UndeployConversationModel", - "fullName": "google.cloud.dialogflow.v2.ConversationModels.UndeployConversationModel", - "service": { - "shortName": "ConversationModels", - "fullName": "google.cloud.dialogflow.v2.ConversationModels" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UndeployConversationModel", + "fullName": "google.cloud.dialogflow.v2.ConversationModels.UndeployConversationModel", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "ConversationModelsClient", + "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient" }, + "method": { + "shortName": "UndeployConversationModel", + "fullName": "google.cloud.dialogflow.v2.ConversationModels.UndeployConversationModel", + "service": { + "shortName": "ConversationModels", + "fullName": "google.cloud.dialogflow.v2.ConversationModels" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_ConversationModels_GetConversationModelEvaluation_async", + "title": "dialogflow getConversationModelEvaluation Sample", + "origin": "API_DEFINITION", + "description": " Gets an evaluation of conversation model.", + "canonical": true, + "file": "conversation_models.get_conversation_model_evaluation.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_ConversationModels_GetConversationModelEvaluation_async", - "title": "dialogflow getConversationModelEvaluation Sample", - "origin": "API_DEFINITION", - "description": " Gets an evaluation of conversation model.", - "canonical": true, - "file": "conversation_models.get_conversation_model_evaluation.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetConversationModelEvaluation", - "fullName": "google.cloud.dialogflow.v2.ConversationModels.GetConversationModelEvaluation", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.ConversationModelEvaluation", - "client": { - "shortName": "ConversationModelsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient" - }, - "method": { - "shortName": "GetConversationModelEvaluation", - "fullName": "google.cloud.dialogflow.v2.ConversationModels.GetConversationModelEvaluation", - "service": { - "shortName": "ConversationModels", - "fullName": "google.cloud.dialogflow.v2.ConversationModels" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetConversationModelEvaluation", + "fullName": "google.cloud.dialogflow.v2.ConversationModels.GetConversationModelEvaluation", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.ConversationModelEvaluation", + "client": { + "shortName": "ConversationModelsClient", + "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient" }, + "method": { + "shortName": "GetConversationModelEvaluation", + "fullName": "google.cloud.dialogflow.v2.ConversationModels.GetConversationModelEvaluation", + "service": { + "shortName": "ConversationModels", + "fullName": "google.cloud.dialogflow.v2.ConversationModels" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_ConversationModels_ListConversationModelEvaluations_async", + "title": "dialogflow listConversationModelEvaluations Sample", + "origin": "API_DEFINITION", + "description": " Lists evaluations of a conversation model.", + "canonical": true, + "file": "conversation_models.list_conversation_model_evaluations.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_ConversationModels_ListConversationModelEvaluations_async", - "title": "dialogflow listConversationModelEvaluations Sample", - "origin": "API_DEFINITION", - "description": " Lists evaluations of a conversation model.", - "canonical": true, - "file": "conversation_models.list_conversation_model_evaluations.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 65, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListConversationModelEvaluations", - "fullName": "google.cloud.dialogflow.v2.ConversationModels.ListConversationModelEvaluations", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.ListConversationModelEvaluationsResponse", - "client": { - "shortName": "ConversationModelsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient" - }, - "method": { - "shortName": "ListConversationModelEvaluations", - "fullName": "google.cloud.dialogflow.v2.ConversationModels.ListConversationModelEvaluations", - "service": { - "shortName": "ConversationModels", - "fullName": "google.cloud.dialogflow.v2.ConversationModels" - } - } - } + "start": 25, + "end": 65, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListConversationModelEvaluations", + "fullName": "google.cloud.dialogflow.v2.ConversationModels.ListConversationModelEvaluations", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.ListConversationModelEvaluationsResponse", + "client": { + "shortName": "ConversationModelsClient", + "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient" }, + "method": { + "shortName": "ListConversationModelEvaluations", + "fullName": "google.cloud.dialogflow.v2.ConversationModels.ListConversationModelEvaluations", + "service": { + "shortName": "ConversationModels", + "fullName": "google.cloud.dialogflow.v2.ConversationModels" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_ConversationModels_CreateConversationModelEvaluation_async", + "title": "dialogflow createConversationModelEvaluation Sample", + "origin": "API_DEFINITION", + "description": " Creates evaluation of a conversation model.", + "canonical": true, + "file": "conversation_models.create_conversation_model_evaluation.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_ConversationModels_CreateConversationModelEvaluation_async", - "title": "dialogflow createConversationModelEvaluation Sample", - "origin": "API_DEFINITION", - "description": " Creates evaluation of a conversation model.", - "canonical": true, - "file": "conversation_models.create_conversation_model_evaluation.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateConversationModelEvaluation", - "fullName": "google.cloud.dialogflow.v2.ConversationModels.CreateConversationModelEvaluation", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "conversation_model_evaluation", - "type": ".google.cloud.dialogflow.v2.ConversationModelEvaluation" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "ConversationModelsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient" - }, - "method": { - "shortName": "CreateConversationModelEvaluation", - "fullName": "google.cloud.dialogflow.v2.ConversationModels.CreateConversationModelEvaluation", - "service": { - "shortName": "ConversationModels", - "fullName": "google.cloud.dialogflow.v2.ConversationModels" - } - } - } + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateConversationModelEvaluation", + "fullName": "google.cloud.dialogflow.v2.ConversationModels.CreateConversationModelEvaluation", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "conversation_model_evaluation", + "type": ".google.cloud.dialogflow.v2.ConversationModelEvaluation" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "ConversationModelsClient", + "fullName": "google.cloud.dialogflow.v2.ConversationModelsClient" }, + "method": { + "shortName": "CreateConversationModelEvaluation", + "fullName": "google.cloud.dialogflow.v2.ConversationModels.CreateConversationModelEvaluation", + "service": { + "shortName": "ConversationModels", + "fullName": "google.cloud.dialogflow.v2.ConversationModels" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_ConversationProfiles_ListConversationProfiles_async", + "title": "dialogflow listConversationProfiles Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all conversation profiles in the specified project.", + "canonical": true, + "file": "conversation_profiles.list_conversation_profiles.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_ConversationProfiles_ListConversationProfiles_async", - "title": "dialogflow listConversationProfiles Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all conversation profiles in the specified project.", - "canonical": true, - "file": "conversation_profiles.list_conversation_profiles.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 65, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListConversationProfiles", - "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.ListConversationProfiles", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.ListConversationProfilesResponse", - "client": { - "shortName": "ConversationProfilesClient", - "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient" - }, - "method": { - "shortName": "ListConversationProfiles", - "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.ListConversationProfiles", - "service": { - "shortName": "ConversationProfiles", - "fullName": "google.cloud.dialogflow.v2.ConversationProfiles" - } - } - } + "start": 25, + "end": 65, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListConversationProfiles", + "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.ListConversationProfiles", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.ListConversationProfilesResponse", + "client": { + "shortName": "ConversationProfilesClient", + "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient" }, + "method": { + "shortName": "ListConversationProfiles", + "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.ListConversationProfiles", + "service": { + "shortName": "ConversationProfiles", + "fullName": "google.cloud.dialogflow.v2.ConversationProfiles" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_ConversationProfiles_GetConversationProfile_async", + "title": "dialogflow getConversationProfile Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified conversation profile.", + "canonical": true, + "file": "conversation_profiles.get_conversation_profile.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_ConversationProfiles_GetConversationProfile_async", - "title": "dialogflow getConversationProfile Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified conversation profile.", - "canonical": true, - "file": "conversation_profiles.get_conversation_profile.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetConversationProfile", - "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.GetConversationProfile", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.ConversationProfile", - "client": { - "shortName": "ConversationProfilesClient", - "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient" - }, - "method": { - "shortName": "GetConversationProfile", - "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.GetConversationProfile", - "service": { - "shortName": "ConversationProfiles", - "fullName": "google.cloud.dialogflow.v2.ConversationProfiles" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetConversationProfile", + "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.GetConversationProfile", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.ConversationProfile", + "client": { + "shortName": "ConversationProfilesClient", + "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient" }, + "method": { + "shortName": "GetConversationProfile", + "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.GetConversationProfile", + "service": { + "shortName": "ConversationProfiles", + "fullName": "google.cloud.dialogflow.v2.ConversationProfiles" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_ConversationProfiles_CreateConversationProfile_async", + "title": "dialogflow createConversationProfile Sample", + "origin": "API_DEFINITION", + "description": " Creates a conversation profile in the specified project. [ConversationProfile.create_time][google.cloud.dialogflow.v2.ConversationProfile.create_time] and [ConversationProfile.update_time][google.cloud.dialogflow.v2.ConversationProfile.update_time] aren't populated in the response. You can retrieve them via [GetConversationProfile][google.cloud.dialogflow.v2.ConversationProfiles.GetConversationProfile] API.", + "canonical": true, + "file": "conversation_profiles.create_conversation_profile.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_ConversationProfiles_CreateConversationProfile_async", - "title": "dialogflow createConversationProfile Sample", - "origin": "API_DEFINITION", - "description": " Creates a conversation profile in the specified project. [ConversationProfile.create_time][google.cloud.dialogflow.v2.ConversationProfile.create_time] and [ConversationProfile.update_time][google.cloud.dialogflow.v2.ConversationProfile.update_time] aren't populated in the response. You can retrieve them via [GetConversationProfile][google.cloud.dialogflow.v2.ConversationProfiles.GetConversationProfile] API.", - "canonical": true, - "file": "conversation_profiles.create_conversation_profile.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateConversationProfile", - "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.CreateConversationProfile", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "conversation_profile", - "type": ".google.cloud.dialogflow.v2.ConversationProfile" - } - ], - "resultType": ".google.cloud.dialogflow.v2.ConversationProfile", - "client": { - "shortName": "ConversationProfilesClient", - "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient" - }, - "method": { - "shortName": "CreateConversationProfile", - "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.CreateConversationProfile", - "service": { - "shortName": "ConversationProfiles", - "fullName": "google.cloud.dialogflow.v2.ConversationProfiles" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateConversationProfile", + "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.CreateConversationProfile", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "conversation_profile", + "type": ".google.cloud.dialogflow.v2.ConversationProfile" + } + ], + "resultType": ".google.cloud.dialogflow.v2.ConversationProfile", + "client": { + "shortName": "ConversationProfilesClient", + "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient" }, + "method": { + "shortName": "CreateConversationProfile", + "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.CreateConversationProfile", + "service": { + "shortName": "ConversationProfiles", + "fullName": "google.cloud.dialogflow.v2.ConversationProfiles" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_ConversationProfiles_UpdateConversationProfile_async", + "title": "dialogflow updateConversationProfile Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified conversation profile. [ConversationProfile.create_time][google.cloud.dialogflow.v2.ConversationProfile.create_time] and [ConversationProfile.update_time][google.cloud.dialogflow.v2.ConversationProfile.update_time] aren't populated in the response. You can retrieve them via [GetConversationProfile][google.cloud.dialogflow.v2.ConversationProfiles.GetConversationProfile] API.", + "canonical": true, + "file": "conversation_profiles.update_conversation_profile.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_ConversationProfiles_UpdateConversationProfile_async", - "title": "dialogflow updateConversationProfile Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified conversation profile. [ConversationProfile.create_time][google.cloud.dialogflow.v2.ConversationProfile.create_time] and [ConversationProfile.update_time][google.cloud.dialogflow.v2.ConversationProfile.update_time] aren't populated in the response. You can retrieve them via [GetConversationProfile][google.cloud.dialogflow.v2.ConversationProfiles.GetConversationProfile] API.", - "canonical": true, - "file": "conversation_profiles.update_conversation_profile.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 58, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateConversationProfile", - "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.UpdateConversationProfile", - "async": true, - "parameters": [ - { - "name": "conversation_profile", - "type": ".google.cloud.dialogflow.v2.ConversationProfile" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.v2.ConversationProfile", - "client": { - "shortName": "ConversationProfilesClient", - "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient" - }, - "method": { - "shortName": "UpdateConversationProfile", - "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.UpdateConversationProfile", - "service": { - "shortName": "ConversationProfiles", - "fullName": "google.cloud.dialogflow.v2.ConversationProfiles" - } - } - } + "start": 25, + "end": 58, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateConversationProfile", + "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.UpdateConversationProfile", + "async": true, + "parameters": [ + { + "name": "conversation_profile", + "type": ".google.cloud.dialogflow.v2.ConversationProfile" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.v2.ConversationProfile", + "client": { + "shortName": "ConversationProfilesClient", + "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient" }, + "method": { + "shortName": "UpdateConversationProfile", + "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.UpdateConversationProfile", + "service": { + "shortName": "ConversationProfiles", + "fullName": "google.cloud.dialogflow.v2.ConversationProfiles" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_ConversationProfiles_DeleteConversationProfile_async", + "title": "dialogflow deleteConversationProfile Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified conversation profile.", + "canonical": true, + "file": "conversation_profiles.delete_conversation_profile.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_ConversationProfiles_DeleteConversationProfile_async", - "title": "dialogflow deleteConversationProfile Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified conversation profile.", - "canonical": true, - "file": "conversation_profiles.delete_conversation_profile.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteConversationProfile", - "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.DeleteConversationProfile", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "ConversationProfilesClient", - "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient" - }, - "method": { - "shortName": "DeleteConversationProfile", - "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.DeleteConversationProfile", - "service": { - "shortName": "ConversationProfiles", - "fullName": "google.cloud.dialogflow.v2.ConversationProfiles" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteConversationProfile", + "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.DeleteConversationProfile", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "ConversationProfilesClient", + "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient" }, + "method": { + "shortName": "DeleteConversationProfile", + "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.DeleteConversationProfile", + "service": { + "shortName": "ConversationProfiles", + "fullName": "google.cloud.dialogflow.v2.ConversationProfiles" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_ConversationProfiles_SetSuggestionFeatureConfig_async", + "title": "dialogflow setSuggestionFeatureConfig Sample", + "origin": "API_DEFINITION", + "description": " Adds or updates a suggestion feature in a conversation profile. If the conversation profile contains the type of suggestion feature for the participant role, it will update it. Otherwise it will insert the suggestion feature. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: [SetSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2.SetSuggestionFeatureConfigOperationMetadata] - `response`: [ConversationProfile][google.cloud.dialogflow.v2.ConversationProfile] If a long running operation to add or update suggestion feature config for the same conversation profile, participant role and suggestion feature type exists, please cancel the existing long running operation before sending such request, otherwise the request will be rejected.", + "canonical": true, + "file": "conversation_profiles.set_suggestion_feature_config.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_ConversationProfiles_SetSuggestionFeatureConfig_async", - "title": "dialogflow setSuggestionFeatureConfig Sample", - "origin": "API_DEFINITION", - "description": " Adds or updates a suggestion feature in a conversation profile. If the conversation profile contains the type of suggestion feature for the participant role, it will update it. Otherwise it will insert the suggestion feature. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: [SetSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2.SetSuggestionFeatureConfigOperationMetadata] - `response`: [ConversationProfile][google.cloud.dialogflow.v2.ConversationProfile] If a long running operation to add or update suggestion feature config for the same conversation profile, participant role and suggestion feature type exists, please cancel the existing long running operation before sending such request, otherwise the request will be rejected.", - "canonical": true, - "file": "conversation_profiles.set_suggestion_feature_config.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 67, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "SetSuggestionFeatureConfig", - "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.SetSuggestionFeatureConfig", - "async": true, - "parameters": [ - { - "name": "conversation_profile", - "type": "TYPE_STRING" - }, - { - "name": "participant_role", - "type": ".google.cloud.dialogflow.v2.Participant.Role" - }, - { - "name": "suggestion_feature_config", - "type": ".google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "ConversationProfilesClient", - "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient" - }, - "method": { - "shortName": "SetSuggestionFeatureConfig", - "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.SetSuggestionFeatureConfig", - "service": { - "shortName": "ConversationProfiles", - "fullName": "google.cloud.dialogflow.v2.ConversationProfiles" - } - } - } + "start": 25, + "end": 67, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "SetSuggestionFeatureConfig", + "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.SetSuggestionFeatureConfig", + "async": true, + "parameters": [ + { + "name": "conversation_profile", + "type": "TYPE_STRING" + }, + { + "name": "participant_role", + "type": ".google.cloud.dialogflow.v2.Participant.Role" + }, + { + "name": "suggestion_feature_config", + "type": ".google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "ConversationProfilesClient", + "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient" }, + "method": { + "shortName": "SetSuggestionFeatureConfig", + "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.SetSuggestionFeatureConfig", + "service": { + "shortName": "ConversationProfiles", + "fullName": "google.cloud.dialogflow.v2.ConversationProfiles" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_ConversationProfiles_ClearSuggestionFeatureConfig_async", + "title": "dialogflow clearSuggestionFeatureConfig Sample", + "origin": "API_DEFINITION", + "description": " Clears a suggestion feature from a conversation profile for the given participant role. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: [ClearSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2.ClearSuggestionFeatureConfigOperationMetadata] - `response`: [ConversationProfile][google.cloud.dialogflow.v2.ConversationProfile]", + "canonical": true, + "file": "conversation_profiles.clear_suggestion_feature_config.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_ConversationProfiles_ClearSuggestionFeatureConfig_async", - "title": "dialogflow clearSuggestionFeatureConfig Sample", - "origin": "API_DEFINITION", - "description": " Clears a suggestion feature from a conversation profile for the given participant role. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: [ClearSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2.ClearSuggestionFeatureConfigOperationMetadata] - `response`: [ConversationProfile][google.cloud.dialogflow.v2.ConversationProfile]", - "canonical": true, - "file": "conversation_profiles.clear_suggestion_feature_config.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 67, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ClearSuggestionFeatureConfig", - "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.ClearSuggestionFeatureConfig", - "async": true, - "parameters": [ - { - "name": "conversation_profile", - "type": "TYPE_STRING" - }, - { - "name": "participant_role", - "type": ".google.cloud.dialogflow.v2.Participant.Role" - }, - { - "name": "suggestion_feature_type", - "type": ".google.cloud.dialogflow.v2.SuggestionFeature.Type" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "ConversationProfilesClient", - "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient" - }, - "method": { - "shortName": "ClearSuggestionFeatureConfig", - "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.ClearSuggestionFeatureConfig", - "service": { - "shortName": "ConversationProfiles", - "fullName": "google.cloud.dialogflow.v2.ConversationProfiles" - } - } - } + "start": 25, + "end": 67, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ClearSuggestionFeatureConfig", + "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.ClearSuggestionFeatureConfig", + "async": true, + "parameters": [ + { + "name": "conversation_profile", + "type": "TYPE_STRING" + }, + { + "name": "participant_role", + "type": ".google.cloud.dialogflow.v2.Participant.Role" + }, + { + "name": "suggestion_feature_type", + "type": ".google.cloud.dialogflow.v2.SuggestionFeature.Type" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "ConversationProfilesClient", + "fullName": "google.cloud.dialogflow.v2.ConversationProfilesClient" }, + "method": { + "shortName": "ClearSuggestionFeatureConfig", + "fullName": "google.cloud.dialogflow.v2.ConversationProfiles.ClearSuggestionFeatureConfig", + "service": { + "shortName": "ConversationProfiles", + "fullName": "google.cloud.dialogflow.v2.ConversationProfiles" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Conversations_CreateConversation_async", + "title": "dialogflow createConversation Sample", + "origin": "API_DEFINITION", + "description": " Creates a new conversation. Conversations are auto-completed after 24 hours. Conversation Lifecycle: There are two stages during a conversation: Automated Agent Stage and Assist Stage. For Automated Agent Stage, there will be a dialogflow agent responding to user queries. For Assist Stage, there's no dialogflow agent responding to user queries. But we will provide suggestions which are generated from conversation. If [Conversation.conversation_profile][google.cloud.dialogflow.v2.Conversation.conversation_profile] is configured for a dialogflow agent, conversation will start from `Automated Agent Stage`, otherwise, it will start from `Assist Stage`. And during `Automated Agent Stage`, once an [Intent][google.cloud.dialogflow.v2.Intent] with [Intent.live_agent_handoff][google.cloud.dialogflow.v2.Intent.live_agent_handoff] is triggered, conversation will transfer to Assist Stage.", + "canonical": true, + "file": "conversations.create_conversation.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Conversations_CreateConversation_async", - "title": "dialogflow createConversation Sample", - "origin": "API_DEFINITION", - "description": " Creates a new conversation. Conversations are auto-completed after 24 hours. Conversation Lifecycle: There are two stages during a conversation: Automated Agent Stage and Assist Stage. For Automated Agent Stage, there will be a dialogflow agent responding to user queries. For Assist Stage, there's no dialogflow agent responding to user queries. But we will provide suggestions which are generated from conversation. If [Conversation.conversation_profile][google.cloud.dialogflow.v2.Conversation.conversation_profile] is configured for a dialogflow agent, conversation will start from `Automated Agent Stage`, otherwise, it will start from `Assist Stage`. And during `Automated Agent Stage`, once an [Intent][google.cloud.dialogflow.v2.Intent] with [Intent.live_agent_handoff][google.cloud.dialogflow.v2.Intent.live_agent_handoff] is triggered, conversation will transfer to Assist Stage.", - "canonical": true, - "file": "conversations.create_conversation.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 71, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateConversation", - "fullName": "google.cloud.dialogflow.v2.Conversations.CreateConversation", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "conversation", - "type": ".google.cloud.dialogflow.v2.Conversation" - }, - { - "name": "conversation_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.Conversation", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationsClient" - }, - "method": { - "shortName": "CreateConversation", - "fullName": "google.cloud.dialogflow.v2.Conversations.CreateConversation", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2.Conversations" - } - } - } + "start": 25, + "end": 71, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateConversation", + "fullName": "google.cloud.dialogflow.v2.Conversations.CreateConversation", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "conversation", + "type": ".google.cloud.dialogflow.v2.Conversation" + }, + { + "name": "conversation_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.Conversation", + "client": { + "shortName": "ConversationsClient", + "fullName": "google.cloud.dialogflow.v2.ConversationsClient" }, + "method": { + "shortName": "CreateConversation", + "fullName": "google.cloud.dialogflow.v2.Conversations.CreateConversation", + "service": { + "shortName": "Conversations", + "fullName": "google.cloud.dialogflow.v2.Conversations" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Conversations_ListConversations_async", + "title": "dialogflow listConversations Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all conversations in the specified project.", + "canonical": true, + "file": "conversations.list_conversations.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Conversations_ListConversations_async", - "title": "dialogflow listConversations Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all conversations in the specified project.", - "canonical": true, - "file": "conversations.list_conversations.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 74, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListConversations", - "fullName": "google.cloud.dialogflow.v2.Conversations.ListConversations", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.ListConversationsResponse", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationsClient" - }, - "method": { - "shortName": "ListConversations", - "fullName": "google.cloud.dialogflow.v2.Conversations.ListConversations", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2.Conversations" - } - } - } + "start": 25, + "end": 74, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListConversations", + "fullName": "google.cloud.dialogflow.v2.Conversations.ListConversations", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.ListConversationsResponse", + "client": { + "shortName": "ConversationsClient", + "fullName": "google.cloud.dialogflow.v2.ConversationsClient" }, + "method": { + "shortName": "ListConversations", + "fullName": "google.cloud.dialogflow.v2.Conversations.ListConversations", + "service": { + "shortName": "Conversations", + "fullName": "google.cloud.dialogflow.v2.Conversations" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Conversations_GetConversation_async", + "title": "dialogflow getConversation Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specific conversation.", + "canonical": true, + "file": "conversations.get_conversation.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Conversations_GetConversation_async", - "title": "dialogflow getConversation Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specific conversation.", - "canonical": true, - "file": "conversations.get_conversation.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetConversation", - "fullName": "google.cloud.dialogflow.v2.Conversations.GetConversation", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.Conversation", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationsClient" - }, - "method": { - "shortName": "GetConversation", - "fullName": "google.cloud.dialogflow.v2.Conversations.GetConversation", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2.Conversations" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetConversation", + "fullName": "google.cloud.dialogflow.v2.Conversations.GetConversation", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.Conversation", + "client": { + "shortName": "ConversationsClient", + "fullName": "google.cloud.dialogflow.v2.ConversationsClient" }, + "method": { + "shortName": "GetConversation", + "fullName": "google.cloud.dialogflow.v2.Conversations.GetConversation", + "service": { + "shortName": "Conversations", + "fullName": "google.cloud.dialogflow.v2.Conversations" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Conversations_CompleteConversation_async", + "title": "dialogflow completeConversation Sample", + "origin": "API_DEFINITION", + "description": " Completes the specified conversation. Finished conversations are purged from the database after 30 days.", + "canonical": true, + "file": "conversations.complete_conversation.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Conversations_CompleteConversation_async", - "title": "dialogflow completeConversation Sample", - "origin": "API_DEFINITION", - "description": " Completes the specified conversation. Finished conversations are purged from the database after 30 days.", - "canonical": true, - "file": "conversations.complete_conversation.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CompleteConversation", - "fullName": "google.cloud.dialogflow.v2.Conversations.CompleteConversation", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.Conversation", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationsClient" - }, - "method": { - "shortName": "CompleteConversation", - "fullName": "google.cloud.dialogflow.v2.Conversations.CompleteConversation", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2.Conversations" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CompleteConversation", + "fullName": "google.cloud.dialogflow.v2.Conversations.CompleteConversation", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.Conversation", + "client": { + "shortName": "ConversationsClient", + "fullName": "google.cloud.dialogflow.v2.ConversationsClient" }, + "method": { + "shortName": "CompleteConversation", + "fullName": "google.cloud.dialogflow.v2.Conversations.CompleteConversation", + "service": { + "shortName": "Conversations", + "fullName": "google.cloud.dialogflow.v2.Conversations" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Conversations_IngestContextReferences_async", + "title": "dialogflow ingestContextReferences Sample", + "origin": "API_DEFINITION", + "description": " Data ingestion API. Ingests context references for an existing conversation.", + "canonical": true, + "file": "conversations.ingest_context_references.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Conversations_IngestContextReferences_async", - "title": "dialogflow ingestContextReferences Sample", - "origin": "API_DEFINITION", - "description": " Data ingestion API. Ingests context references for an existing conversation.", - "canonical": true, - "file": "conversations.ingest_context_references.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 63, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "IngestContextReferences", - "fullName": "google.cloud.dialogflow.v2.Conversations.IngestContextReferences", - "async": true, - "parameters": [ - { - "name": "conversation", - "type": "TYPE_STRING" - }, - { - "name": "context_references", - "type": "TYPE_MESSAGE[]" - } - ], - "resultType": ".google.cloud.dialogflow.v2.IngestContextReferencesResponse", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationsClient" - }, - "method": { - "shortName": "IngestContextReferences", - "fullName": "google.cloud.dialogflow.v2.Conversations.IngestContextReferences", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2.Conversations" - } - } - } + "start": 25, + "end": 63, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "IngestContextReferences", + "fullName": "google.cloud.dialogflow.v2.Conversations.IngestContextReferences", + "async": true, + "parameters": [ + { + "name": "conversation", + "type": "TYPE_STRING" + }, + { + "name": "context_references", + "type": "TYPE_MESSAGE[]" + } + ], + "resultType": ".google.cloud.dialogflow.v2.IngestContextReferencesResponse", + "client": { + "shortName": "ConversationsClient", + "fullName": "google.cloud.dialogflow.v2.ConversationsClient" }, + "method": { + "shortName": "IngestContextReferences", + "fullName": "google.cloud.dialogflow.v2.Conversations.IngestContextReferences", + "service": { + "shortName": "Conversations", + "fullName": "google.cloud.dialogflow.v2.Conversations" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Conversations_ListMessages_async", + "title": "dialogflow listMessages Sample", + "origin": "API_DEFINITION", + "description": " Lists messages that belong to a given conversation. `messages` are ordered by `create_time` in descending order. To fetch updates without duplication, send request with filter `create_time_epoch_microseconds > [first item's create_time of previous request]` and empty page_token.", + "canonical": true, + "file": "conversations.list_messages.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Conversations_ListMessages_async", - "title": "dialogflow listMessages Sample", - "origin": "API_DEFINITION", - "description": " Lists messages that belong to a given conversation. `messages` are ordered by `create_time` in descending order. To fetch updates without duplication, send request with filter `create_time_epoch_microseconds > [first item's create_time of previous request]` and empty page_token.", - "canonical": true, - "file": "conversations.list_messages.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 76, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListMessages", - "fullName": "google.cloud.dialogflow.v2.Conversations.ListMessages", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.ListMessagesResponse", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationsClient" - }, - "method": { - "shortName": "ListMessages", - "fullName": "google.cloud.dialogflow.v2.Conversations.ListMessages", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2.Conversations" - } - } - } + "start": 25, + "end": 76, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListMessages", + "fullName": "google.cloud.dialogflow.v2.Conversations.ListMessages", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.ListMessagesResponse", + "client": { + "shortName": "ConversationsClient", + "fullName": "google.cloud.dialogflow.v2.ConversationsClient" }, + "method": { + "shortName": "ListMessages", + "fullName": "google.cloud.dialogflow.v2.Conversations.ListMessages", + "service": { + "shortName": "Conversations", + "fullName": "google.cloud.dialogflow.v2.Conversations" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Conversations_SuggestConversationSummary_async", + "title": "dialogflow suggestConversationSummary Sample", + "origin": "API_DEFINITION", + "description": " Suggests summary for a conversation based on specific historical messages. The range of the messages to be used for summary can be specified in the request.", + "canonical": true, + "file": "conversations.suggest_conversation_summary.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Conversations_SuggestConversationSummary_async", - "title": "dialogflow suggestConversationSummary Sample", - "origin": "API_DEFINITION", - "description": " Suggests summary for a conversation based on specific historical messages. The range of the messages to be used for summary can be specified in the request.", - "canonical": true, - "file": "conversations.suggest_conversation_summary.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 74, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "SuggestConversationSummary", - "fullName": "google.cloud.dialogflow.v2.Conversations.SuggestConversationSummary", - "async": true, - "parameters": [ - { - "name": "conversation", - "type": "TYPE_STRING" - }, - { - "name": "latest_message", - "type": "TYPE_STRING" - }, - { - "name": "context_size", - "type": "TYPE_INT32" - }, - { - "name": "assist_query_params", - "type": ".google.cloud.dialogflow.v2.AssistQueryParameters" - } - ], - "resultType": ".google.cloud.dialogflow.v2.SuggestConversationSummaryResponse", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationsClient" - }, - "method": { - "shortName": "SuggestConversationSummary", - "fullName": "google.cloud.dialogflow.v2.Conversations.SuggestConversationSummary", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2.Conversations" - } - } - } + "start": 25, + "end": 74, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "SuggestConversationSummary", + "fullName": "google.cloud.dialogflow.v2.Conversations.SuggestConversationSummary", + "async": true, + "parameters": [ + { + "name": "conversation", + "type": "TYPE_STRING" + }, + { + "name": "latest_message", + "type": "TYPE_STRING" + }, + { + "name": "context_size", + "type": "TYPE_INT32" + }, + { + "name": "assist_query_params", + "type": ".google.cloud.dialogflow.v2.AssistQueryParameters" + } + ], + "resultType": ".google.cloud.dialogflow.v2.SuggestConversationSummaryResponse", + "client": { + "shortName": "ConversationsClient", + "fullName": "google.cloud.dialogflow.v2.ConversationsClient" }, + "method": { + "shortName": "SuggestConversationSummary", + "fullName": "google.cloud.dialogflow.v2.Conversations.SuggestConversationSummary", + "service": { + "shortName": "Conversations", + "fullName": "google.cloud.dialogflow.v2.Conversations" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Conversations_GenerateStatelessSummary_async", + "title": "dialogflow generateStatelessSummary Sample", + "origin": "API_DEFINITION", + "description": " Generates and returns a summary for a conversation that does not have a resource created for it.", + "canonical": true, + "file": "conversations.generate_stateless_summary.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Conversations_GenerateStatelessSummary_async", - "title": "dialogflow generateStatelessSummary Sample", - "origin": "API_DEFINITION", - "description": " Generates and returns a summary for a conversation that does not have a resource created for it.", - "canonical": true, - "file": "conversations.generate_stateless_summary.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 74, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GenerateStatelessSummary", - "fullName": "google.cloud.dialogflow.v2.Conversations.GenerateStatelessSummary", - "async": true, - "parameters": [ - { - "name": "stateless_conversation", - "type": ".google.cloud.dialogflow.v2.GenerateStatelessSummaryRequest.MinimalConversation" - }, - { - "name": "conversation_profile", - "type": ".google.cloud.dialogflow.v2.ConversationProfile" - }, - { - "name": "latest_message", - "type": "TYPE_STRING" - }, - { - "name": "max_context_size", - "type": "TYPE_INT32" - } - ], - "resultType": ".google.cloud.dialogflow.v2.GenerateStatelessSummaryResponse", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationsClient" - }, - "method": { - "shortName": "GenerateStatelessSummary", - "fullName": "google.cloud.dialogflow.v2.Conversations.GenerateStatelessSummary", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2.Conversations" - } - } - } + "start": 25, + "end": 74, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GenerateStatelessSummary", + "fullName": "google.cloud.dialogflow.v2.Conversations.GenerateStatelessSummary", + "async": true, + "parameters": [ + { + "name": "stateless_conversation", + "type": ".google.cloud.dialogflow.v2.GenerateStatelessSummaryRequest.MinimalConversation" + }, + { + "name": "conversation_profile", + "type": ".google.cloud.dialogflow.v2.ConversationProfile" + }, + { + "name": "latest_message", + "type": "TYPE_STRING" + }, + { + "name": "max_context_size", + "type": "TYPE_INT32" + } + ], + "resultType": ".google.cloud.dialogflow.v2.GenerateStatelessSummaryResponse", + "client": { + "shortName": "ConversationsClient", + "fullName": "google.cloud.dialogflow.v2.ConversationsClient" }, + "method": { + "shortName": "GenerateStatelessSummary", + "fullName": "google.cloud.dialogflow.v2.Conversations.GenerateStatelessSummary", + "service": { + "shortName": "Conversations", + "fullName": "google.cloud.dialogflow.v2.Conversations" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Conversations_GenerateStatelessSuggestion_async", + "title": "dialogflow generateStatelessSuggestion Sample", + "origin": "API_DEFINITION", + "description": " Generates and returns a suggestion for a conversation that does not have a resource created for it.", + "canonical": true, + "file": "conversations.generate_stateless_suggestion.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Conversations_GenerateStatelessSuggestion_async", - "title": "dialogflow generateStatelessSuggestion Sample", - "origin": "API_DEFINITION", - "description": " Generates and returns a suggestion for a conversation that does not have a resource created for it.", - "canonical": true, - "file": "conversations.generate_stateless_suggestion.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 80, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GenerateStatelessSuggestion", - "fullName": "google.cloud.dialogflow.v2.Conversations.GenerateStatelessSuggestion", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "generator", - "type": ".google.cloud.dialogflow.v2.Generator" - }, - { - "name": "generator_name", - "type": "TYPE_STRING" - }, - { - "name": "context_references", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "conversation_context", - "type": ".google.cloud.dialogflow.v2.ConversationContext" - }, - { - "name": "trigger_events", - "type": "TYPE_ENUM[]" - } - ], - "resultType": ".google.cloud.dialogflow.v2.GenerateStatelessSuggestionResponse", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationsClient" - }, - "method": { - "shortName": "GenerateStatelessSuggestion", - "fullName": "google.cloud.dialogflow.v2.Conversations.GenerateStatelessSuggestion", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2.Conversations" - } - } - } + "start": 25, + "end": 80, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GenerateStatelessSuggestion", + "fullName": "google.cloud.dialogflow.v2.Conversations.GenerateStatelessSuggestion", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "generator", + "type": ".google.cloud.dialogflow.v2.Generator" + }, + { + "name": "generator_name", + "type": "TYPE_STRING" + }, + { + "name": "context_references", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "conversation_context", + "type": ".google.cloud.dialogflow.v2.ConversationContext" + }, + { + "name": "trigger_events", + "type": "TYPE_ENUM[]" + } + ], + "resultType": ".google.cloud.dialogflow.v2.GenerateStatelessSuggestionResponse", + "client": { + "shortName": "ConversationsClient", + "fullName": "google.cloud.dialogflow.v2.ConversationsClient" }, + "method": { + "shortName": "GenerateStatelessSuggestion", + "fullName": "google.cloud.dialogflow.v2.Conversations.GenerateStatelessSuggestion", + "service": { + "shortName": "Conversations", + "fullName": "google.cloud.dialogflow.v2.Conversations" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Conversations_SearchKnowledge_async", + "title": "dialogflow searchKnowledge Sample", + "origin": "API_DEFINITION", + "description": " Get answers for the given query based on knowledge documents.", + "canonical": true, + "file": "conversations.search_knowledge.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Conversations_SearchKnowledge_async", - "title": "dialogflow searchKnowledge Sample", - "origin": "API_DEFINITION", - "description": " Get answers for the given query based on knowledge documents.", - "canonical": true, - "file": "conversations.search_knowledge.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 120, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "SearchKnowledge", - "fullName": "google.cloud.dialogflow.v2.Conversations.SearchKnowledge", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "query", - "type": ".google.cloud.dialogflow.v2.TextInput" - }, - { - "name": "conversation_profile", - "type": "TYPE_STRING" - }, - { - "name": "session_id", - "type": "TYPE_STRING" - }, - { - "name": "conversation", - "type": "TYPE_STRING" - }, - { - "name": "latest_message", - "type": "TYPE_STRING" - }, - { - "name": "query_source", - "type": ".google.cloud.dialogflow.v2.SearchKnowledgeRequest.QuerySource" - }, - { - "name": "end_user_metadata", - "type": ".google.protobuf.Struct" - }, - { - "name": "search_config", - "type": ".google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig" - }, - { - "name": "exact_search", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.cloud.dialogflow.v2.SearchKnowledgeResponse", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationsClient" - }, - "method": { - "shortName": "SearchKnowledge", - "fullName": "google.cloud.dialogflow.v2.Conversations.SearchKnowledge", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2.Conversations" - } - } - } + "start": 25, + "end": 120, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "SearchKnowledge", + "fullName": "google.cloud.dialogflow.v2.Conversations.SearchKnowledge", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "query", + "type": ".google.cloud.dialogflow.v2.TextInput" + }, + { + "name": "conversation_profile", + "type": "TYPE_STRING" + }, + { + "name": "session_id", + "type": "TYPE_STRING" + }, + { + "name": "conversation", + "type": "TYPE_STRING" + }, + { + "name": "latest_message", + "type": "TYPE_STRING" + }, + { + "name": "query_source", + "type": ".google.cloud.dialogflow.v2.SearchKnowledgeRequest.QuerySource" + }, + { + "name": "end_user_metadata", + "type": ".google.protobuf.Struct" + }, + { + "name": "search_config", + "type": ".google.cloud.dialogflow.v2.SearchKnowledgeRequest.SearchConfig" + }, + { + "name": "exact_search", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.cloud.dialogflow.v2.SearchKnowledgeResponse", + "client": { + "shortName": "ConversationsClient", + "fullName": "google.cloud.dialogflow.v2.ConversationsClient" }, + "method": { + "shortName": "SearchKnowledge", + "fullName": "google.cloud.dialogflow.v2.Conversations.SearchKnowledge", + "service": { + "shortName": "Conversations", + "fullName": "google.cloud.dialogflow.v2.Conversations" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Conversations_GenerateSuggestions_async", + "title": "dialogflow generateSuggestions Sample", + "origin": "API_DEFINITION", + "description": " Generates all the suggestions using generators configured in the conversation profile. A generator is used only if its trigger event is matched.", + "canonical": true, + "file": "conversations.generate_suggestions.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Conversations_GenerateSuggestions_async", - "title": "dialogflow generateSuggestions Sample", - "origin": "API_DEFINITION", - "description": " Generates all the suggestions using generators configured in the conversation profile. A generator is used only if its trigger event is matched.", - "canonical": true, - "file": "conversations.generate_suggestions.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 68, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GenerateSuggestions", - "fullName": "google.cloud.dialogflow.v2.Conversations.GenerateSuggestions", - "async": true, - "parameters": [ - { - "name": "conversation", - "type": "TYPE_STRING" - }, - { - "name": "latest_message", - "type": "TYPE_STRING" - }, - { - "name": "trigger_events", - "type": "TYPE_ENUM[]" - } - ], - "resultType": ".google.cloud.dialogflow.v2.GenerateSuggestionsResponse", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2.ConversationsClient" - }, - "method": { - "shortName": "GenerateSuggestions", - "fullName": "google.cloud.dialogflow.v2.Conversations.GenerateSuggestions", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2.Conversations" - } - } - } + "start": 25, + "end": 68, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GenerateSuggestions", + "fullName": "google.cloud.dialogflow.v2.Conversations.GenerateSuggestions", + "async": true, + "parameters": [ + { + "name": "conversation", + "type": "TYPE_STRING" + }, + { + "name": "latest_message", + "type": "TYPE_STRING" + }, + { + "name": "trigger_events", + "type": "TYPE_ENUM[]" + } + ], + "resultType": ".google.cloud.dialogflow.v2.GenerateSuggestionsResponse", + "client": { + "shortName": "ConversationsClient", + "fullName": "google.cloud.dialogflow.v2.ConversationsClient" }, + "method": { + "shortName": "GenerateSuggestions", + "fullName": "google.cloud.dialogflow.v2.Conversations.GenerateSuggestions", + "service": { + "shortName": "Conversations", + "fullName": "google.cloud.dialogflow.v2.Conversations" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Documents_ListDocuments_async", + "title": "dialogflow listDocuments Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all documents of the knowledge base.", + "canonical": true, + "file": "documents.list_documents.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Documents_ListDocuments_async", - "title": "dialogflow listDocuments Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all documents of the knowledge base.", - "canonical": true, - "file": "documents.list_documents.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 84, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListDocuments", - "fullName": "google.cloud.dialogflow.v2.Documents.ListDocuments", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.ListDocumentsResponse", - "client": { - "shortName": "DocumentsClient", - "fullName": "google.cloud.dialogflow.v2.DocumentsClient" - }, - "method": { - "shortName": "ListDocuments", - "fullName": "google.cloud.dialogflow.v2.Documents.ListDocuments", - "service": { - "shortName": "Documents", - "fullName": "google.cloud.dialogflow.v2.Documents" - } - } - } + "start": 25, + "end": 84, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListDocuments", + "fullName": "google.cloud.dialogflow.v2.Documents.ListDocuments", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.ListDocumentsResponse", + "client": { + "shortName": "DocumentsClient", + "fullName": "google.cloud.dialogflow.v2.DocumentsClient" }, + "method": { + "shortName": "ListDocuments", + "fullName": "google.cloud.dialogflow.v2.Documents.ListDocuments", + "service": { + "shortName": "Documents", + "fullName": "google.cloud.dialogflow.v2.Documents" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Documents_GetDocument_async", + "title": "dialogflow getDocument Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified document.", + "canonical": true, + "file": "documents.get_document.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Documents_GetDocument_async", - "title": "dialogflow getDocument Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified document.", - "canonical": true, - "file": "documents.get_document.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetDocument", - "fullName": "google.cloud.dialogflow.v2.Documents.GetDocument", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.Document", - "client": { - "shortName": "DocumentsClient", - "fullName": "google.cloud.dialogflow.v2.DocumentsClient" - }, - "method": { - "shortName": "GetDocument", - "fullName": "google.cloud.dialogflow.v2.Documents.GetDocument", - "service": { - "shortName": "Documents", - "fullName": "google.cloud.dialogflow.v2.Documents" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetDocument", + "fullName": "google.cloud.dialogflow.v2.Documents.GetDocument", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.Document", + "client": { + "shortName": "DocumentsClient", + "fullName": "google.cloud.dialogflow.v2.DocumentsClient" }, + "method": { + "shortName": "GetDocument", + "fullName": "google.cloud.dialogflow.v2.Documents.GetDocument", + "service": { + "shortName": "Documents", + "fullName": "google.cloud.dialogflow.v2.Documents" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Documents_CreateDocument_async", + "title": "dialogflow createDocument Sample", + "origin": "API_DEFINITION", + "description": " Creates a new document. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2.KnowledgeOperationMetadata] - `response`: [Document][google.cloud.dialogflow.v2.Document]", + "canonical": true, + "file": "documents.create_document.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Documents_CreateDocument_async", - "title": "dialogflow createDocument Sample", - "origin": "API_DEFINITION", - "description": " Creates a new document. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2.KnowledgeOperationMetadata] - `response`: [Document][google.cloud.dialogflow.v2.Document]", - "canonical": true, - "file": "documents.create_document.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateDocument", - "fullName": "google.cloud.dialogflow.v2.Documents.CreateDocument", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "document", - "type": ".google.cloud.dialogflow.v2.Document" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DocumentsClient", - "fullName": "google.cloud.dialogflow.v2.DocumentsClient" - }, - "method": { - "shortName": "CreateDocument", - "fullName": "google.cloud.dialogflow.v2.Documents.CreateDocument", - "service": { - "shortName": "Documents", - "fullName": "google.cloud.dialogflow.v2.Documents" - } - } - } + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateDocument", + "fullName": "google.cloud.dialogflow.v2.Documents.CreateDocument", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "document", + "type": ".google.cloud.dialogflow.v2.Document" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DocumentsClient", + "fullName": "google.cloud.dialogflow.v2.DocumentsClient" }, + "method": { + "shortName": "CreateDocument", + "fullName": "google.cloud.dialogflow.v2.Documents.CreateDocument", + "service": { + "shortName": "Documents", + "fullName": "google.cloud.dialogflow.v2.Documents" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Documents_ImportDocuments_async", + "title": "dialogflow importDocuments Sample", + "origin": "API_DEFINITION", + "description": " Creates documents by importing data from external sources. Dialogflow supports up to 350 documents in each request. If you try to import more, Dialogflow will return an error. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2.KnowledgeOperationMetadata] - `response`: [ImportDocumentsResponse][google.cloud.dialogflow.v2.ImportDocumentsResponse]", + "canonical": true, + "file": "documents.import_documents.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Documents_ImportDocuments_async", - "title": "dialogflow importDocuments Sample", - "origin": "API_DEFINITION", - "description": " Creates documents by importing data from external sources. Dialogflow supports up to 350 documents in each request. If you try to import more, Dialogflow will return an error. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2.KnowledgeOperationMetadata] - `response`: [ImportDocumentsResponse][google.cloud.dialogflow.v2.ImportDocumentsResponse]", - "canonical": true, - "file": "documents.import_documents.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 74, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ImportDocuments", - "fullName": "google.cloud.dialogflow.v2.Documents.ImportDocuments", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "gcs_source", - "type": ".google.cloud.dialogflow.v2.GcsSources" - }, - { - "name": "document_template", - "type": ".google.cloud.dialogflow.v2.ImportDocumentTemplate" - }, - { - "name": "import_gcs_custom_metadata", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DocumentsClient", - "fullName": "google.cloud.dialogflow.v2.DocumentsClient" - }, - "method": { - "shortName": "ImportDocuments", - "fullName": "google.cloud.dialogflow.v2.Documents.ImportDocuments", - "service": { - "shortName": "Documents", - "fullName": "google.cloud.dialogflow.v2.Documents" - } - } - } + "start": 25, + "end": 74, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ImportDocuments", + "fullName": "google.cloud.dialogflow.v2.Documents.ImportDocuments", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "gcs_source", + "type": ".google.cloud.dialogflow.v2.GcsSources" + }, + { + "name": "document_template", + "type": ".google.cloud.dialogflow.v2.ImportDocumentTemplate" + }, + { + "name": "import_gcs_custom_metadata", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DocumentsClient", + "fullName": "google.cloud.dialogflow.v2.DocumentsClient" }, + "method": { + "shortName": "ImportDocuments", + "fullName": "google.cloud.dialogflow.v2.Documents.ImportDocuments", + "service": { + "shortName": "Documents", + "fullName": "google.cloud.dialogflow.v2.Documents" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Documents_DeleteDocument_async", + "title": "dialogflow deleteDocument Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified document. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2.KnowledgeOperationMetadata] - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)", + "canonical": true, + "file": "documents.delete_document.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Documents_DeleteDocument_async", - "title": "dialogflow deleteDocument Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified document. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2.KnowledgeOperationMetadata] - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)", - "canonical": true, - "file": "documents.delete_document.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 56, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteDocument", - "fullName": "google.cloud.dialogflow.v2.Documents.DeleteDocument", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DocumentsClient", - "fullName": "google.cloud.dialogflow.v2.DocumentsClient" - }, - "method": { - "shortName": "DeleteDocument", - "fullName": "google.cloud.dialogflow.v2.Documents.DeleteDocument", - "service": { - "shortName": "Documents", - "fullName": "google.cloud.dialogflow.v2.Documents" - } - } - } + "start": 25, + "end": 56, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteDocument", + "fullName": "google.cloud.dialogflow.v2.Documents.DeleteDocument", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DocumentsClient", + "fullName": "google.cloud.dialogflow.v2.DocumentsClient" }, + "method": { + "shortName": "DeleteDocument", + "fullName": "google.cloud.dialogflow.v2.Documents.DeleteDocument", + "service": { + "shortName": "Documents", + "fullName": "google.cloud.dialogflow.v2.Documents" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Documents_UpdateDocument_async", + "title": "dialogflow updateDocument Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified document. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2.KnowledgeOperationMetadata] - `response`: [Document][google.cloud.dialogflow.v2.Document]", + "canonical": true, + "file": "documents.update_document.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Documents_UpdateDocument_async", - "title": "dialogflow updateDocument Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified document. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2.KnowledgeOperationMetadata] - `response`: [Document][google.cloud.dialogflow.v2.Document]", - "canonical": true, - "file": "documents.update_document.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 60, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateDocument", - "fullName": "google.cloud.dialogflow.v2.Documents.UpdateDocument", - "async": true, - "parameters": [ - { - "name": "document", - "type": ".google.cloud.dialogflow.v2.Document" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DocumentsClient", - "fullName": "google.cloud.dialogflow.v2.DocumentsClient" - }, - "method": { - "shortName": "UpdateDocument", - "fullName": "google.cloud.dialogflow.v2.Documents.UpdateDocument", - "service": { - "shortName": "Documents", - "fullName": "google.cloud.dialogflow.v2.Documents" - } - } - } + "start": 25, + "end": 60, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateDocument", + "fullName": "google.cloud.dialogflow.v2.Documents.UpdateDocument", + "async": true, + "parameters": [ + { + "name": "document", + "type": ".google.cloud.dialogflow.v2.Document" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DocumentsClient", + "fullName": "google.cloud.dialogflow.v2.DocumentsClient" }, + "method": { + "shortName": "UpdateDocument", + "fullName": "google.cloud.dialogflow.v2.Documents.UpdateDocument", + "service": { + "shortName": "Documents", + "fullName": "google.cloud.dialogflow.v2.Documents" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Documents_ReloadDocument_async", + "title": "dialogflow reloadDocument Sample", + "origin": "API_DEFINITION", + "description": " Reloads the specified document from its specified source, content_uri or content. The previously loaded content of the document will be deleted. Note: Even when the content of the document has not changed, there still may be side effects because of internal implementation changes. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2.KnowledgeOperationMetadata] - `response`: [Document][google.cloud.dialogflow.v2.Document] Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`.", + "canonical": true, + "file": "documents.reload_document.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Documents_ReloadDocument_async", - "title": "dialogflow reloadDocument Sample", - "origin": "API_DEFINITION", - "description": " Reloads the specified document from its specified source, content_uri or content. The previously loaded content of the document will be deleted. Note: Even when the content of the document has not changed, there still may be side effects because of internal implementation changes. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2.KnowledgeOperationMetadata] - `response`: [Document][google.cloud.dialogflow.v2.Document] Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`.", - "canonical": true, - "file": "documents.reload_document.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 73, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ReloadDocument", - "fullName": "google.cloud.dialogflow.v2.Documents.ReloadDocument", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "content_uri", - "type": "TYPE_STRING" - }, - { - "name": "import_gcs_custom_metadata", - "type": "TYPE_BOOL" - }, - { - "name": "smart_messaging_partial_update", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DocumentsClient", - "fullName": "google.cloud.dialogflow.v2.DocumentsClient" - }, - "method": { - "shortName": "ReloadDocument", - "fullName": "google.cloud.dialogflow.v2.Documents.ReloadDocument", - "service": { - "shortName": "Documents", - "fullName": "google.cloud.dialogflow.v2.Documents" - } - } - } + "start": 25, + "end": 73, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ReloadDocument", + "fullName": "google.cloud.dialogflow.v2.Documents.ReloadDocument", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "content_uri", + "type": "TYPE_STRING" + }, + { + "name": "import_gcs_custom_metadata", + "type": "TYPE_BOOL" + }, + { + "name": "smart_messaging_partial_update", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DocumentsClient", + "fullName": "google.cloud.dialogflow.v2.DocumentsClient" }, + "method": { + "shortName": "ReloadDocument", + "fullName": "google.cloud.dialogflow.v2.Documents.ReloadDocument", + "service": { + "shortName": "Documents", + "fullName": "google.cloud.dialogflow.v2.Documents" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Documents_ExportDocument_async", + "title": "dialogflow exportDocument Sample", + "origin": "API_DEFINITION", + "description": " Exports a smart messaging candidate document into the specified destination. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2.KnowledgeOperationMetadata] - `response`: [Document][google.cloud.dialogflow.v2.Document]", + "canonical": true, + "file": "documents.export_document.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Documents_ExportDocument_async", - "title": "dialogflow exportDocument Sample", - "origin": "API_DEFINITION", - "description": " Exports a smart messaging candidate document into the specified destination. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2.KnowledgeOperationMetadata] - `response`: [Document][google.cloud.dialogflow.v2.Document]", - "canonical": true, - "file": "documents.export_document.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 70, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ExportDocument", - "fullName": "google.cloud.dialogflow.v2.Documents.ExportDocument", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "gcs_destination", - "type": ".google.cloud.dialogflow.v2.GcsDestination" - }, - { - "name": "export_full_content", - "type": "TYPE_BOOL" - }, - { - "name": "smart_messaging_partial_update", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DocumentsClient", - "fullName": "google.cloud.dialogflow.v2.DocumentsClient" - }, - "method": { - "shortName": "ExportDocument", - "fullName": "google.cloud.dialogflow.v2.Documents.ExportDocument", - "service": { - "shortName": "Documents", - "fullName": "google.cloud.dialogflow.v2.Documents" - } - } - } + "start": 25, + "end": 70, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ExportDocument", + "fullName": "google.cloud.dialogflow.v2.Documents.ExportDocument", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "gcs_destination", + "type": ".google.cloud.dialogflow.v2.GcsDestination" + }, + { + "name": "export_full_content", + "type": "TYPE_BOOL" + }, + { + "name": "smart_messaging_partial_update", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DocumentsClient", + "fullName": "google.cloud.dialogflow.v2.DocumentsClient" }, + "method": { + "shortName": "ExportDocument", + "fullName": "google.cloud.dialogflow.v2.Documents.ExportDocument", + "service": { + "shortName": "Documents", + "fullName": "google.cloud.dialogflow.v2.Documents" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_EncryptionSpecService_GetEncryptionSpec_async", + "title": "dialogflow getEncryptionSpec Sample", + "origin": "API_DEFINITION", + "description": " Gets location-level encryption key specification.", + "canonical": true, + "file": "encryption_spec_service.get_encryption_spec.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_EncryptionSpecService_GetEncryptionSpec_async", - "title": "dialogflow getEncryptionSpec Sample", - "origin": "API_DEFINITION", - "description": " Gets location-level encryption key specification.", - "canonical": true, - "file": "encryption_spec_service.get_encryption_spec.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 53, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetEncryptionSpec", - "fullName": "google.cloud.dialogflow.v2.EncryptionSpecService.GetEncryptionSpec", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.EncryptionSpec", - "client": { - "shortName": "EncryptionSpecServiceClient", - "fullName": "google.cloud.dialogflow.v2.EncryptionSpecServiceClient" - }, - "method": { - "shortName": "GetEncryptionSpec", - "fullName": "google.cloud.dialogflow.v2.EncryptionSpecService.GetEncryptionSpec", - "service": { - "shortName": "EncryptionSpecService", - "fullName": "google.cloud.dialogflow.v2.EncryptionSpecService" - } - } - } + "start": 25, + "end": 53, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetEncryptionSpec", + "fullName": "google.cloud.dialogflow.v2.EncryptionSpecService.GetEncryptionSpec", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.EncryptionSpec", + "client": { + "shortName": "EncryptionSpecServiceClient", + "fullName": "google.cloud.dialogflow.v2.EncryptionSpecServiceClient" }, + "method": { + "shortName": "GetEncryptionSpec", + "fullName": "google.cloud.dialogflow.v2.EncryptionSpecService.GetEncryptionSpec", + "service": { + "shortName": "EncryptionSpecService", + "fullName": "google.cloud.dialogflow.v2.EncryptionSpecService" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_EncryptionSpecService_InitializeEncryptionSpec_async", + "title": "dialogflow initializeEncryptionSpec Sample", + "origin": "API_DEFINITION", + "description": " Initializes a location-level encryption key specification. An error will be thrown if the location has resources already created before the initialization. Once the encryption specification is initialized at a location, it is immutable and all newly created resources under the location will be encrypted with the existing specification.", + "canonical": true, + "file": "encryption_spec_service.initialize_encryption_spec.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_EncryptionSpecService_InitializeEncryptionSpec_async", - "title": "dialogflow initializeEncryptionSpec Sample", - "origin": "API_DEFINITION", - "description": " Initializes a location-level encryption key specification. An error will be thrown if the location has resources already created before the initialization. Once the encryption specification is initialized at a location, it is immutable and all newly created resources under the location will be encrypted with the existing specification.", - "canonical": true, - "file": "encryption_spec_service.initialize_encryption_spec.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 57, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "InitializeEncryptionSpec", - "fullName": "google.cloud.dialogflow.v2.EncryptionSpecService.InitializeEncryptionSpec", - "async": true, - "parameters": [ - { - "name": "encryption_spec", - "type": ".google.cloud.dialogflow.v2.EncryptionSpec" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EncryptionSpecServiceClient", - "fullName": "google.cloud.dialogflow.v2.EncryptionSpecServiceClient" - }, - "method": { - "shortName": "InitializeEncryptionSpec", - "fullName": "google.cloud.dialogflow.v2.EncryptionSpecService.InitializeEncryptionSpec", - "service": { - "shortName": "EncryptionSpecService", - "fullName": "google.cloud.dialogflow.v2.EncryptionSpecService" - } - } - } + "start": 25, + "end": 57, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "InitializeEncryptionSpec", + "fullName": "google.cloud.dialogflow.v2.EncryptionSpecService.InitializeEncryptionSpec", + "async": true, + "parameters": [ + { + "name": "encryption_spec", + "type": ".google.cloud.dialogflow.v2.EncryptionSpec" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EncryptionSpecServiceClient", + "fullName": "google.cloud.dialogflow.v2.EncryptionSpecServiceClient" }, + "method": { + "shortName": "InitializeEncryptionSpec", + "fullName": "google.cloud.dialogflow.v2.EncryptionSpecService.InitializeEncryptionSpec", + "service": { + "shortName": "EncryptionSpecService", + "fullName": "google.cloud.dialogflow.v2.EncryptionSpecService" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_EntityTypes_ListEntityTypes_async", + "title": "dialogflow listEntityTypes Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all entity types in the specified agent.", + "canonical": true, + "file": "entity_types.list_entity_types.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_EntityTypes_ListEntityTypes_async", - "title": "dialogflow listEntityTypes Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all entity types in the specified agent.", - "canonical": true, - "file": "entity_types.list_entity_types.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 73, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListEntityTypes", - "fullName": "google.cloud.dialogflow.v2.EntityTypes.ListEntityTypes", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.ListEntityTypesResponse", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2.EntityTypesClient" - }, - "method": { - "shortName": "ListEntityTypes", - "fullName": "google.cloud.dialogflow.v2.EntityTypes.ListEntityTypes", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.v2.EntityTypes" - } - } - } + "start": 25, + "end": 73, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListEntityTypes", + "fullName": "google.cloud.dialogflow.v2.EntityTypes.ListEntityTypes", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.ListEntityTypesResponse", + "client": { + "shortName": "EntityTypesClient", + "fullName": "google.cloud.dialogflow.v2.EntityTypesClient" }, + "method": { + "shortName": "ListEntityTypes", + "fullName": "google.cloud.dialogflow.v2.EntityTypes.ListEntityTypes", + "service": { + "shortName": "EntityTypes", + "fullName": "google.cloud.dialogflow.v2.EntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_EntityTypes_GetEntityType_async", + "title": "dialogflow getEntityType Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified entity type.", + "canonical": true, + "file": "entity_types.get_entity_type.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_EntityTypes_GetEntityType_async", - "title": "dialogflow getEntityType Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified entity type.", - "canonical": true, - "file": "entity_types.get_entity_type.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 62, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetEntityType", - "fullName": "google.cloud.dialogflow.v2.EntityTypes.GetEntityType", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.EntityType", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2.EntityTypesClient" - }, - "method": { - "shortName": "GetEntityType", - "fullName": "google.cloud.dialogflow.v2.EntityTypes.GetEntityType", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.v2.EntityTypes" - } - } - } + "start": 25, + "end": 62, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetEntityType", + "fullName": "google.cloud.dialogflow.v2.EntityTypes.GetEntityType", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.EntityType", + "client": { + "shortName": "EntityTypesClient", + "fullName": "google.cloud.dialogflow.v2.EntityTypesClient" }, + "method": { + "shortName": "GetEntityType", + "fullName": "google.cloud.dialogflow.v2.EntityTypes.GetEntityType", + "service": { + "shortName": "EntityTypes", + "fullName": "google.cloud.dialogflow.v2.EntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_EntityTypes_CreateEntityType_async", + "title": "dialogflow createEntityType Sample", + "origin": "API_DEFINITION", + "description": " Creates an entity type in the specified agent. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", + "canonical": true, + "file": "entity_types.create_entity_type.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_EntityTypes_CreateEntityType_async", - "title": "dialogflow createEntityType Sample", - "origin": "API_DEFINITION", - "description": " Creates an entity type in the specified agent. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", - "canonical": true, - "file": "entity_types.create_entity_type.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 67, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateEntityType", - "fullName": "google.cloud.dialogflow.v2.EntityTypes.CreateEntityType", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "entity_type", - "type": ".google.cloud.dialogflow.v2.EntityType" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.EntityType", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2.EntityTypesClient" - }, - "method": { - "shortName": "CreateEntityType", - "fullName": "google.cloud.dialogflow.v2.EntityTypes.CreateEntityType", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.v2.EntityTypes" - } - } - } + "start": 25, + "end": 67, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateEntityType", + "fullName": "google.cloud.dialogflow.v2.EntityTypes.CreateEntityType", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "entity_type", + "type": ".google.cloud.dialogflow.v2.EntityType" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.EntityType", + "client": { + "shortName": "EntityTypesClient", + "fullName": "google.cloud.dialogflow.v2.EntityTypesClient" }, + "method": { + "shortName": "CreateEntityType", + "fullName": "google.cloud.dialogflow.v2.EntityTypes.CreateEntityType", + "service": { + "shortName": "EntityTypes", + "fullName": "google.cloud.dialogflow.v2.EntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_EntityTypes_UpdateEntityType_async", + "title": "dialogflow updateEntityType Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified entity type. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", + "canonical": true, + "file": "entity_types.update_entity_type.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_EntityTypes_UpdateEntityType_async", - "title": "dialogflow updateEntityType Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified entity type. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", - "canonical": true, - "file": "entity_types.update_entity_type.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 65, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateEntityType", - "fullName": "google.cloud.dialogflow.v2.EntityTypes.UpdateEntityType", - "async": true, - "parameters": [ - { - "name": "entity_type", - "type": ".google.cloud.dialogflow.v2.EntityType" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.v2.EntityType", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2.EntityTypesClient" - }, - "method": { - "shortName": "UpdateEntityType", - "fullName": "google.cloud.dialogflow.v2.EntityTypes.UpdateEntityType", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.v2.EntityTypes" - } - } - } + "start": 25, + "end": 65, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateEntityType", + "fullName": "google.cloud.dialogflow.v2.EntityTypes.UpdateEntityType", + "async": true, + "parameters": [ + { + "name": "entity_type", + "type": ".google.cloud.dialogflow.v2.EntityType" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.v2.EntityType", + "client": { + "shortName": "EntityTypesClient", + "fullName": "google.cloud.dialogflow.v2.EntityTypesClient" }, + "method": { + "shortName": "UpdateEntityType", + "fullName": "google.cloud.dialogflow.v2.EntityTypes.UpdateEntityType", + "service": { + "shortName": "EntityTypes", + "fullName": "google.cloud.dialogflow.v2.EntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_EntityTypes_DeleteEntityType_async", + "title": "dialogflow deleteEntityType Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified entity type. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", + "canonical": true, + "file": "entity_types.delete_entity_type.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_EntityTypes_DeleteEntityType_async", - "title": "dialogflow deleteEntityType Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified entity type. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", - "canonical": true, - "file": "entity_types.delete_entity_type.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteEntityType", - "fullName": "google.cloud.dialogflow.v2.EntityTypes.DeleteEntityType", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2.EntityTypesClient" - }, - "method": { - "shortName": "DeleteEntityType", - "fullName": "google.cloud.dialogflow.v2.EntityTypes.DeleteEntityType", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.v2.EntityTypes" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteEntityType", + "fullName": "google.cloud.dialogflow.v2.EntityTypes.DeleteEntityType", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "EntityTypesClient", + "fullName": "google.cloud.dialogflow.v2.EntityTypesClient" }, + "method": { + "shortName": "DeleteEntityType", + "fullName": "google.cloud.dialogflow.v2.EntityTypes.DeleteEntityType", + "service": { + "shortName": "EntityTypes", + "fullName": "google.cloud.dialogflow.v2.EntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_EntityTypes_BatchUpdateEntityTypes_async", + "title": "dialogflow batchUpdateEntityTypes Sample", + "origin": "API_DEFINITION", + "description": " Updates/Creates multiple entity types in the specified agent. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [BatchUpdateEntityTypesResponse][google.cloud.dialogflow.v2.BatchUpdateEntityTypesResponse] Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", + "canonical": true, + "file": "entity_types.batch_update_entity_types.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_EntityTypes_BatchUpdateEntityTypes_async", - "title": "dialogflow batchUpdateEntityTypes Sample", - "origin": "API_DEFINITION", - "description": " Updates/Creates multiple entity types in the specified agent. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [BatchUpdateEntityTypesResponse][google.cloud.dialogflow.v2.BatchUpdateEntityTypesResponse] Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", - "canonical": true, - "file": "entity_types.batch_update_entity_types.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 78, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "BatchUpdateEntityTypes", - "fullName": "google.cloud.dialogflow.v2.EntityTypes.BatchUpdateEntityTypes", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "entity_type_batch_uri", - "type": "TYPE_STRING" - }, - { - "name": "entity_type_batch_inline", - "type": ".google.cloud.dialogflow.v2.EntityTypeBatch" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2.EntityTypesClient" - }, - "method": { - "shortName": "BatchUpdateEntityTypes", - "fullName": "google.cloud.dialogflow.v2.EntityTypes.BatchUpdateEntityTypes", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.v2.EntityTypes" - } - } - } + "start": 25, + "end": 78, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "BatchUpdateEntityTypes", + "fullName": "google.cloud.dialogflow.v2.EntityTypes.BatchUpdateEntityTypes", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "entity_type_batch_uri", + "type": "TYPE_STRING" + }, + { + "name": "entity_type_batch_inline", + "type": ".google.cloud.dialogflow.v2.EntityTypeBatch" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EntityTypesClient", + "fullName": "google.cloud.dialogflow.v2.EntityTypesClient" }, + "method": { + "shortName": "BatchUpdateEntityTypes", + "fullName": "google.cloud.dialogflow.v2.EntityTypes.BatchUpdateEntityTypes", + "service": { + "shortName": "EntityTypes", + "fullName": "google.cloud.dialogflow.v2.EntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_EntityTypes_BatchDeleteEntityTypes_async", + "title": "dialogflow batchDeleteEntityTypes Sample", + "origin": "API_DEFINITION", + "description": " Deletes entity types in the specified agent. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](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 documentation](https://cloud.google.com/dialogflow/es/docs/training).", + "canonical": true, + "file": "entity_types.batch_delete_entity_types.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_EntityTypes_BatchDeleteEntityTypes_async", - "title": "dialogflow batchDeleteEntityTypes Sample", - "origin": "API_DEFINITION", - "description": " Deletes entity types in the specified agent. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](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 documentation](https://cloud.google.com/dialogflow/es/docs/training).", - "canonical": true, - "file": "entity_types.batch_delete_entity_types.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "BatchDeleteEntityTypes", - "fullName": "google.cloud.dialogflow.v2.EntityTypes.BatchDeleteEntityTypes", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "entity_type_names", - "type": "TYPE_STRING[]" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2.EntityTypesClient" - }, - "method": { - "shortName": "BatchDeleteEntityTypes", - "fullName": "google.cloud.dialogflow.v2.EntityTypes.BatchDeleteEntityTypes", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.v2.EntityTypes" - } - } - } + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "BatchDeleteEntityTypes", + "fullName": "google.cloud.dialogflow.v2.EntityTypes.BatchDeleteEntityTypes", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "entity_type_names", + "type": "TYPE_STRING[]" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EntityTypesClient", + "fullName": "google.cloud.dialogflow.v2.EntityTypesClient" }, + "method": { + "shortName": "BatchDeleteEntityTypes", + "fullName": "google.cloud.dialogflow.v2.EntityTypes.BatchDeleteEntityTypes", + "service": { + "shortName": "EntityTypes", + "fullName": "google.cloud.dialogflow.v2.EntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_EntityTypes_BatchCreateEntities_async", + "title": "dialogflow batchCreateEntities Sample", + "origin": "API_DEFINITION", + "description": " Creates multiple new entities in the specified entity type. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](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 documentation](https://cloud.google.com/dialogflow/es/docs/training).", + "canonical": true, + "file": "entity_types.batch_create_entities.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_EntityTypes_BatchCreateEntities_async", - "title": "dialogflow batchCreateEntities Sample", - "origin": "API_DEFINITION", - "description": " Creates multiple new entities in the specified entity type. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](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 documentation](https://cloud.google.com/dialogflow/es/docs/training).", - "canonical": true, - "file": "entity_types.batch_create_entities.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 68, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "BatchCreateEntities", - "fullName": "google.cloud.dialogflow.v2.EntityTypes.BatchCreateEntities", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "entities", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2.EntityTypesClient" - }, - "method": { - "shortName": "BatchCreateEntities", - "fullName": "google.cloud.dialogflow.v2.EntityTypes.BatchCreateEntities", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.v2.EntityTypes" - } - } - } + "start": 25, + "end": 68, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "BatchCreateEntities", + "fullName": "google.cloud.dialogflow.v2.EntityTypes.BatchCreateEntities", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "entities", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EntityTypesClient", + "fullName": "google.cloud.dialogflow.v2.EntityTypesClient" }, + "method": { + "shortName": "BatchCreateEntities", + "fullName": "google.cloud.dialogflow.v2.EntityTypes.BatchCreateEntities", + "service": { + "shortName": "EntityTypes", + "fullName": "google.cloud.dialogflow.v2.EntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_EntityTypes_BatchUpdateEntities_async", + "title": "dialogflow batchUpdateEntities Sample", + "origin": "API_DEFINITION", + "description": " Updates or creates multiple entities in the specified entity type. This method does not affect entities in the entity type that aren't explicitly specified in the request. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](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 documentation](https://cloud.google.com/dialogflow/es/docs/training).", + "canonical": true, + "file": "entity_types.batch_update_entities.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_EntityTypes_BatchUpdateEntities_async", - "title": "dialogflow batchUpdateEntities Sample", - "origin": "API_DEFINITION", - "description": " Updates or creates multiple entities in the specified entity type. This method does not affect entities in the entity type that aren't explicitly specified in the request. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](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 documentation](https://cloud.google.com/dialogflow/es/docs/training).", - "canonical": true, - "file": "entity_types.batch_update_entities.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 72, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "BatchUpdateEntities", - "fullName": "google.cloud.dialogflow.v2.EntityTypes.BatchUpdateEntities", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "entities", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2.EntityTypesClient" - }, - "method": { - "shortName": "BatchUpdateEntities", - "fullName": "google.cloud.dialogflow.v2.EntityTypes.BatchUpdateEntities", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.v2.EntityTypes" - } - } - } + "start": 25, + "end": 72, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "BatchUpdateEntities", + "fullName": "google.cloud.dialogflow.v2.EntityTypes.BatchUpdateEntities", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "entities", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EntityTypesClient", + "fullName": "google.cloud.dialogflow.v2.EntityTypesClient" }, + "method": { + "shortName": "BatchUpdateEntities", + "fullName": "google.cloud.dialogflow.v2.EntityTypes.BatchUpdateEntities", + "service": { + "shortName": "EntityTypes", + "fullName": "google.cloud.dialogflow.v2.EntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_EntityTypes_BatchDeleteEntities_async", + "title": "dialogflow batchDeleteEntities Sample", + "origin": "API_DEFINITION", + "description": " Deletes entities in the specified entity type. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](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 documentation](https://cloud.google.com/dialogflow/es/docs/training).", + "canonical": true, + "file": "entity_types.batch_delete_entities.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_EntityTypes_BatchDeleteEntities_async", - "title": "dialogflow batchDeleteEntities Sample", - "origin": "API_DEFINITION", - "description": " Deletes entities in the specified entity type. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](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 documentation](https://cloud.google.com/dialogflow/es/docs/training).", - "canonical": true, - "file": "entity_types.batch_delete_entities.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 70, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "BatchDeleteEntities", - "fullName": "google.cloud.dialogflow.v2.EntityTypes.BatchDeleteEntities", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "entity_values", - "type": "TYPE_STRING[]" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2.EntityTypesClient" - }, - "method": { - "shortName": "BatchDeleteEntities", - "fullName": "google.cloud.dialogflow.v2.EntityTypes.BatchDeleteEntities", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.v2.EntityTypes" - } - } - } + "start": 25, + "end": 70, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "BatchDeleteEntities", + "fullName": "google.cloud.dialogflow.v2.EntityTypes.BatchDeleteEntities", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "entity_values", + "type": "TYPE_STRING[]" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EntityTypesClient", + "fullName": "google.cloud.dialogflow.v2.EntityTypesClient" }, + "method": { + "shortName": "BatchDeleteEntities", + "fullName": "google.cloud.dialogflow.v2.EntityTypes.BatchDeleteEntities", + "service": { + "shortName": "EntityTypes", + "fullName": "google.cloud.dialogflow.v2.EntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Environments_ListEnvironments_async", + "title": "dialogflow listEnvironments Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all non-default environments of the specified agent.", + "canonical": true, + "file": "environments.list_environments.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Environments_ListEnvironments_async", - "title": "dialogflow listEnvironments Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all non-default environments of the specified agent.", - "canonical": true, - "file": "environments.list_environments.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 67, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListEnvironments", - "fullName": "google.cloud.dialogflow.v2.Environments.ListEnvironments", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.ListEnvironmentsResponse", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient" - }, - "method": { - "shortName": "ListEnvironments", - "fullName": "google.cloud.dialogflow.v2.Environments.ListEnvironments", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.v2.Environments" - } - } - } + "start": 25, + "end": 67, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListEnvironments", + "fullName": "google.cloud.dialogflow.v2.Environments.ListEnvironments", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.ListEnvironmentsResponse", + "client": { + "shortName": "EnvironmentsClient", + "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient" }, + "method": { + "shortName": "ListEnvironments", + "fullName": "google.cloud.dialogflow.v2.Environments.ListEnvironments", + "service": { + "shortName": "Environments", + "fullName": "google.cloud.dialogflow.v2.Environments" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Environments_GetEnvironment_async", + "title": "dialogflow getEnvironment Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified agent environment.", + "canonical": true, + "file": "environments.get_environment.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Environments_GetEnvironment_async", - "title": "dialogflow getEnvironment Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified agent environment.", - "canonical": true, - "file": "environments.get_environment.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 58, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetEnvironment", - "fullName": "google.cloud.dialogflow.v2.Environments.GetEnvironment", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.Environment", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient" - }, - "method": { - "shortName": "GetEnvironment", - "fullName": "google.cloud.dialogflow.v2.Environments.GetEnvironment", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.v2.Environments" - } - } - } + "start": 25, + "end": 58, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetEnvironment", + "fullName": "google.cloud.dialogflow.v2.Environments.GetEnvironment", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.Environment", + "client": { + "shortName": "EnvironmentsClient", + "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient" }, + "method": { + "shortName": "GetEnvironment", + "fullName": "google.cloud.dialogflow.v2.Environments.GetEnvironment", + "service": { + "shortName": "Environments", + "fullName": "google.cloud.dialogflow.v2.Environments" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Environments_CreateEnvironment_async", + "title": "dialogflow createEnvironment Sample", + "origin": "API_DEFINITION", + "description": " Creates an agent environment.", + "canonical": true, + "file": "environments.create_environment.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Environments_CreateEnvironment_async", - "title": "dialogflow createEnvironment Sample", - "origin": "API_DEFINITION", - "description": " Creates an agent environment.", - "canonical": true, - "file": "environments.create_environment.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 66, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateEnvironment", - "fullName": "google.cloud.dialogflow.v2.Environments.CreateEnvironment", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "environment", - "type": ".google.cloud.dialogflow.v2.Environment" - }, - { - "name": "environment_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.Environment", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient" - }, - "method": { - "shortName": "CreateEnvironment", - "fullName": "google.cloud.dialogflow.v2.Environments.CreateEnvironment", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.v2.Environments" - } - } - } + "start": 25, + "end": 66, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateEnvironment", + "fullName": "google.cloud.dialogflow.v2.Environments.CreateEnvironment", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "environment", + "type": ".google.cloud.dialogflow.v2.Environment" + }, + { + "name": "environment_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.Environment", + "client": { + "shortName": "EnvironmentsClient", + "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient" }, + "method": { + "shortName": "CreateEnvironment", + "fullName": "google.cloud.dialogflow.v2.Environments.CreateEnvironment", + "service": { + "shortName": "Environments", + "fullName": "google.cloud.dialogflow.v2.Environments" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Environments_UpdateEnvironment_async", + "title": "dialogflow updateEnvironment Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified agent environment. This method allows you to deploy new agent versions into the environment. When an environment is pointed to a new agent version by setting `environment.agent_version`, the environment is temporarily set to the `LOADING` state. During that time, the environment continues serving the previous version of the agent. After the new agent version is done loading, the environment is set back to the `RUNNING` state. You can use \"-\" as Environment ID in environment name to update an agent version in the default environment. WARNING: this will negate all recent changes to the draft agent and can't be undone. You may want to save the draft agent to a version before calling this method.", + "canonical": true, + "file": "environments.update_environment.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Environments_UpdateEnvironment_async", - "title": "dialogflow updateEnvironment Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified agent environment. This method allows you to deploy new agent versions into the environment. When an environment is pointed to a new agent version by setting `environment.agent_version`, the environment is temporarily set to the `LOADING` state. During that time, the environment continues serving the previous version of the agent. After the new agent version is done loading, the environment is set back to the `RUNNING` state. You can use \"-\" as Environment ID in environment name to update an agent version in the default environment. WARNING: this will negate all recent changes to the draft agent and can't be undone. You may want to save the draft agent to a version before calling this method.", - "canonical": true, - "file": "environments.update_environment.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 65, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateEnvironment", - "fullName": "google.cloud.dialogflow.v2.Environments.UpdateEnvironment", - "async": true, - "parameters": [ - { - "name": "environment", - "type": ".google.cloud.dialogflow.v2.Environment" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - }, - { - "name": "allow_load_to_draft_and_discard_changes", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.cloud.dialogflow.v2.Environment", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient" - }, - "method": { - "shortName": "UpdateEnvironment", - "fullName": "google.cloud.dialogflow.v2.Environments.UpdateEnvironment", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.v2.Environments" - } - } - } + "start": 25, + "end": 65, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateEnvironment", + "fullName": "google.cloud.dialogflow.v2.Environments.UpdateEnvironment", + "async": true, + "parameters": [ + { + "name": "environment", + "type": ".google.cloud.dialogflow.v2.Environment" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + }, + { + "name": "allow_load_to_draft_and_discard_changes", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.cloud.dialogflow.v2.Environment", + "client": { + "shortName": "EnvironmentsClient", + "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient" }, + "method": { + "shortName": "UpdateEnvironment", + "fullName": "google.cloud.dialogflow.v2.Environments.UpdateEnvironment", + "service": { + "shortName": "Environments", + "fullName": "google.cloud.dialogflow.v2.Environments" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Environments_DeleteEnvironment_async", + "title": "dialogflow deleteEnvironment Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified agent environment.", + "canonical": true, + "file": "environments.delete_environment.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Environments_DeleteEnvironment_async", - "title": "dialogflow deleteEnvironment Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified agent environment.", - "canonical": true, - "file": "environments.delete_environment.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 58, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteEnvironment", - "fullName": "google.cloud.dialogflow.v2.Environments.DeleteEnvironment", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient" - }, - "method": { - "shortName": "DeleteEnvironment", - "fullName": "google.cloud.dialogflow.v2.Environments.DeleteEnvironment", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.v2.Environments" - } - } - } + "start": 25, + "end": 58, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteEnvironment", + "fullName": "google.cloud.dialogflow.v2.Environments.DeleteEnvironment", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "EnvironmentsClient", + "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient" }, + "method": { + "shortName": "DeleteEnvironment", + "fullName": "google.cloud.dialogflow.v2.Environments.DeleteEnvironment", + "service": { + "shortName": "Environments", + "fullName": "google.cloud.dialogflow.v2.Environments" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Environments_GetEnvironmentHistory_async", + "title": "dialogflow getEnvironmentHistory Sample", + "origin": "API_DEFINITION", + "description": " Gets the history of the specified environment.", + "canonical": true, + "file": "environments.get_environment_history.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Environments_GetEnvironmentHistory_async", - "title": "dialogflow getEnvironmentHistory Sample", - "origin": "API_DEFINITION", - "description": " Gets the history of the specified environment.", - "canonical": true, - "file": "environments.get_environment_history.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 69, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetEnvironmentHistory", - "fullName": "google.cloud.dialogflow.v2.Environments.GetEnvironmentHistory", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.EnvironmentHistory", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient" - }, - "method": { - "shortName": "GetEnvironmentHistory", - "fullName": "google.cloud.dialogflow.v2.Environments.GetEnvironmentHistory", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.v2.Environments" - } - } - } + "start": 25, + "end": 69, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetEnvironmentHistory", + "fullName": "google.cloud.dialogflow.v2.Environments.GetEnvironmentHistory", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.EnvironmentHistory", + "client": { + "shortName": "EnvironmentsClient", + "fullName": "google.cloud.dialogflow.v2.EnvironmentsClient" }, + "method": { + "shortName": "GetEnvironmentHistory", + "fullName": "google.cloud.dialogflow.v2.Environments.GetEnvironmentHistory", + "service": { + "shortName": "Environments", + "fullName": "google.cloud.dialogflow.v2.Environments" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Fulfillments_GetFulfillment_async", + "title": "dialogflow getFulfillment Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the fulfillment.", + "canonical": true, + "file": "fulfillments.get_fulfillment.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Fulfillments_GetFulfillment_async", - "title": "dialogflow getFulfillment Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the fulfillment.", - "canonical": true, - "file": "fulfillments.get_fulfillment.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetFulfillment", - "fullName": "google.cloud.dialogflow.v2.Fulfillments.GetFulfillment", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.Fulfillment", - "client": { - "shortName": "FulfillmentsClient", - "fullName": "google.cloud.dialogflow.v2.FulfillmentsClient" - }, - "method": { - "shortName": "GetFulfillment", - "fullName": "google.cloud.dialogflow.v2.Fulfillments.GetFulfillment", - "service": { - "shortName": "Fulfillments", - "fullName": "google.cloud.dialogflow.v2.Fulfillments" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetFulfillment", + "fullName": "google.cloud.dialogflow.v2.Fulfillments.GetFulfillment", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.Fulfillment", + "client": { + "shortName": "FulfillmentsClient", + "fullName": "google.cloud.dialogflow.v2.FulfillmentsClient" }, + "method": { + "shortName": "GetFulfillment", + "fullName": "google.cloud.dialogflow.v2.Fulfillments.GetFulfillment", + "service": { + "shortName": "Fulfillments", + "fullName": "google.cloud.dialogflow.v2.Fulfillments" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Fulfillments_UpdateFulfillment_async", + "title": "dialogflow updateFulfillment Sample", + "origin": "API_DEFINITION", + "description": " Updates the fulfillment.", + "canonical": true, + "file": "fulfillments.update_fulfillment.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Fulfillments_UpdateFulfillment_async", - "title": "dialogflow updateFulfillment Sample", - "origin": "API_DEFINITION", - "description": " Updates the fulfillment.", - "canonical": true, - "file": "fulfillments.update_fulfillment.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateFulfillment", - "fullName": "google.cloud.dialogflow.v2.Fulfillments.UpdateFulfillment", - "async": true, - "parameters": [ - { - "name": "fulfillment", - "type": ".google.cloud.dialogflow.v2.Fulfillment" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.v2.Fulfillment", - "client": { - "shortName": "FulfillmentsClient", - "fullName": "google.cloud.dialogflow.v2.FulfillmentsClient" - }, - "method": { - "shortName": "UpdateFulfillment", - "fullName": "google.cloud.dialogflow.v2.Fulfillments.UpdateFulfillment", - "service": { - "shortName": "Fulfillments", - "fullName": "google.cloud.dialogflow.v2.Fulfillments" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateFulfillment", + "fullName": "google.cloud.dialogflow.v2.Fulfillments.UpdateFulfillment", + "async": true, + "parameters": [ + { + "name": "fulfillment", + "type": ".google.cloud.dialogflow.v2.Fulfillment" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.v2.Fulfillment", + "client": { + "shortName": "FulfillmentsClient", + "fullName": "google.cloud.dialogflow.v2.FulfillmentsClient" }, + "method": { + "shortName": "UpdateFulfillment", + "fullName": "google.cloud.dialogflow.v2.Fulfillments.UpdateFulfillment", + "service": { + "shortName": "Fulfillments", + "fullName": "google.cloud.dialogflow.v2.Fulfillments" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Generators_CreateGenerator_async", + "title": "dialogflow createGenerator Sample", + "origin": "API_DEFINITION", + "description": " Creates a generator.", + "canonical": true, + "file": "generators.create_generator.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Generators_CreateGenerator_async", - "title": "dialogflow createGenerator Sample", - "origin": "API_DEFINITION", - "description": " Creates a generator.", - "canonical": true, - "file": "generators.create_generator.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 71, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateGenerator", - "fullName": "google.cloud.dialogflow.v2.Generators.CreateGenerator", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "generator", - "type": ".google.cloud.dialogflow.v2.Generator" - }, - { - "name": "generator_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.Generator", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.v2.GeneratorsClient" - }, - "method": { - "shortName": "CreateGenerator", - "fullName": "google.cloud.dialogflow.v2.Generators.CreateGenerator", - "service": { - "shortName": "Generators", - "fullName": "google.cloud.dialogflow.v2.Generators" - } - } - } + "start": 25, + "end": 71, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateGenerator", + "fullName": "google.cloud.dialogflow.v2.Generators.CreateGenerator", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "generator", + "type": ".google.cloud.dialogflow.v2.Generator" + }, + { + "name": "generator_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.Generator", + "client": { + "shortName": "GeneratorsClient", + "fullName": "google.cloud.dialogflow.v2.GeneratorsClient" }, + "method": { + "shortName": "CreateGenerator", + "fullName": "google.cloud.dialogflow.v2.Generators.CreateGenerator", + "service": { + "shortName": "Generators", + "fullName": "google.cloud.dialogflow.v2.Generators" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Generators_GetGenerator_async", + "title": "dialogflow getGenerator Sample", + "origin": "API_DEFINITION", + "description": " Retrieves a generator.", + "canonical": true, + "file": "generators.get_generator.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Generators_GetGenerator_async", - "title": "dialogflow getGenerator Sample", - "origin": "API_DEFINITION", - "description": " Retrieves a generator.", - "canonical": true, - "file": "generators.get_generator.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetGenerator", - "fullName": "google.cloud.dialogflow.v2.Generators.GetGenerator", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.Generator", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.v2.GeneratorsClient" - }, - "method": { - "shortName": "GetGenerator", - "fullName": "google.cloud.dialogflow.v2.Generators.GetGenerator", - "service": { - "shortName": "Generators", - "fullName": "google.cloud.dialogflow.v2.Generators" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetGenerator", + "fullName": "google.cloud.dialogflow.v2.Generators.GetGenerator", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.Generator", + "client": { + "shortName": "GeneratorsClient", + "fullName": "google.cloud.dialogflow.v2.GeneratorsClient" }, + "method": { + "shortName": "GetGenerator", + "fullName": "google.cloud.dialogflow.v2.Generators.GetGenerator", + "service": { + "shortName": "Generators", + "fullName": "google.cloud.dialogflow.v2.Generators" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Generators_ListGenerators_async", + "title": "dialogflow listGenerators Sample", + "origin": "API_DEFINITION", + "description": " Lists generators.", + "canonical": true, + "file": "generators.list_generators.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Generators_ListGenerators_async", - "title": "dialogflow listGenerators Sample", - "origin": "API_DEFINITION", - "description": " Lists generators.", - "canonical": true, - "file": "generators.list_generators.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 65, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListGenerators", - "fullName": "google.cloud.dialogflow.v2.Generators.ListGenerators", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.ListGeneratorsResponse", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.v2.GeneratorsClient" - }, - "method": { - "shortName": "ListGenerators", - "fullName": "google.cloud.dialogflow.v2.Generators.ListGenerators", - "service": { - "shortName": "Generators", - "fullName": "google.cloud.dialogflow.v2.Generators" - } - } - } + "start": 25, + "end": 65, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListGenerators", + "fullName": "google.cloud.dialogflow.v2.Generators.ListGenerators", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.ListGeneratorsResponse", + "client": { + "shortName": "GeneratorsClient", + "fullName": "google.cloud.dialogflow.v2.GeneratorsClient" }, + "method": { + "shortName": "ListGenerators", + "fullName": "google.cloud.dialogflow.v2.Generators.ListGenerators", + "service": { + "shortName": "Generators", + "fullName": "google.cloud.dialogflow.v2.Generators" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Generators_DeleteGenerator_async", + "title": "dialogflow deleteGenerator Sample", + "origin": "API_DEFINITION", + "description": " Deletes a generator.", + "canonical": true, + "file": "generators.delete_generator.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Generators_DeleteGenerator_async", - "title": "dialogflow deleteGenerator Sample", - "origin": "API_DEFINITION", - "description": " Deletes a generator.", - "canonical": true, - "file": "generators.delete_generator.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteGenerator", - "fullName": "google.cloud.dialogflow.v2.Generators.DeleteGenerator", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.v2.GeneratorsClient" - }, - "method": { - "shortName": "DeleteGenerator", - "fullName": "google.cloud.dialogflow.v2.Generators.DeleteGenerator", - "service": { - "shortName": "Generators", - "fullName": "google.cloud.dialogflow.v2.Generators" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteGenerator", + "fullName": "google.cloud.dialogflow.v2.Generators.DeleteGenerator", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "GeneratorsClient", + "fullName": "google.cloud.dialogflow.v2.GeneratorsClient" }, + "method": { + "shortName": "DeleteGenerator", + "fullName": "google.cloud.dialogflow.v2.Generators.DeleteGenerator", + "service": { + "shortName": "Generators", + "fullName": "google.cloud.dialogflow.v2.Generators" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Generators_UpdateGenerator_async", + "title": "dialogflow updateGenerator Sample", + "origin": "API_DEFINITION", + "description": " Updates a generator.", + "canonical": true, + "file": "generators.update_generator.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Generators_UpdateGenerator_async", - "title": "dialogflow updateGenerator Sample", - "origin": "API_DEFINITION", - "description": " Updates a generator.", - "canonical": true, - "file": "generators.update_generator.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 58, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateGenerator", - "fullName": "google.cloud.dialogflow.v2.Generators.UpdateGenerator", - "async": true, - "parameters": [ - { - "name": "generator", - "type": ".google.cloud.dialogflow.v2.Generator" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.v2.Generator", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.v2.GeneratorsClient" - }, - "method": { - "shortName": "UpdateGenerator", - "fullName": "google.cloud.dialogflow.v2.Generators.UpdateGenerator", - "service": { - "shortName": "Generators", - "fullName": "google.cloud.dialogflow.v2.Generators" - } - } - } + "start": 25, + "end": 58, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateGenerator", + "fullName": "google.cloud.dialogflow.v2.Generators.UpdateGenerator", + "async": true, + "parameters": [ + { + "name": "generator", + "type": ".google.cloud.dialogflow.v2.Generator" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.v2.Generator", + "client": { + "shortName": "GeneratorsClient", + "fullName": "google.cloud.dialogflow.v2.GeneratorsClient" }, + "method": { + "shortName": "UpdateGenerator", + "fullName": "google.cloud.dialogflow.v2.Generators.UpdateGenerator", + "service": { + "shortName": "Generators", + "fullName": "google.cloud.dialogflow.v2.Generators" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Intents_ListIntents_async", + "title": "dialogflow listIntents Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all intents in the specified agent.", + "canonical": true, + "file": "intents.list_intents.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Intents_ListIntents_async", - "title": "dialogflow listIntents Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all intents in the specified agent.", - "canonical": true, - "file": "intents.list_intents.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 84, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListIntents", - "fullName": "google.cloud.dialogflow.v2.Intents.ListIntents", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - }, - { - "name": "intent_view", - "type": ".google.cloud.dialogflow.v2.IntentView" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.ListIntentsResponse", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.v2.IntentsClient" - }, - "method": { - "shortName": "ListIntents", - "fullName": "google.cloud.dialogflow.v2.Intents.ListIntents", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.v2.Intents" - } - } - } + "start": 25, + "end": 84, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListIntents", + "fullName": "google.cloud.dialogflow.v2.Intents.ListIntents", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + }, + { + "name": "intent_view", + "type": ".google.cloud.dialogflow.v2.IntentView" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.ListIntentsResponse", + "client": { + "shortName": "IntentsClient", + "fullName": "google.cloud.dialogflow.v2.IntentsClient" }, + "method": { + "shortName": "ListIntents", + "fullName": "google.cloud.dialogflow.v2.Intents.ListIntents", + "service": { + "shortName": "Intents", + "fullName": "google.cloud.dialogflow.v2.Intents" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Intents_GetIntent_async", + "title": "dialogflow getIntent Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified intent.", + "canonical": true, + "file": "intents.get_intent.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Intents_GetIntent_async", - "title": "dialogflow getIntent Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified intent.", - "canonical": true, - "file": "intents.get_intent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 66, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetIntent", - "fullName": "google.cloud.dialogflow.v2.Intents.GetIntent", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - }, - { - "name": "intent_view", - "type": ".google.cloud.dialogflow.v2.IntentView" - } - ], - "resultType": ".google.cloud.dialogflow.v2.Intent", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.v2.IntentsClient" - }, - "method": { - "shortName": "GetIntent", - "fullName": "google.cloud.dialogflow.v2.Intents.GetIntent", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.v2.Intents" - } - } - } + "start": 25, + "end": 66, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetIntent", + "fullName": "google.cloud.dialogflow.v2.Intents.GetIntent", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + }, + { + "name": "intent_view", + "type": ".google.cloud.dialogflow.v2.IntentView" + } + ], + "resultType": ".google.cloud.dialogflow.v2.Intent", + "client": { + "shortName": "IntentsClient", + "fullName": "google.cloud.dialogflow.v2.IntentsClient" }, + "method": { + "shortName": "GetIntent", + "fullName": "google.cloud.dialogflow.v2.Intents.GetIntent", + "service": { + "shortName": "Intents", + "fullName": "google.cloud.dialogflow.v2.Intents" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Intents_CreateIntent_async", + "title": "dialogflow createIntent Sample", + "origin": "API_DEFINITION", + "description": " Creates an intent in the specified agent. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", + "canonical": true, + "file": "intents.create_intent.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Intents_CreateIntent_async", - "title": "dialogflow createIntent Sample", - "origin": "API_DEFINITION", - "description": " Creates an intent in the specified agent. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", - "canonical": true, - "file": "intents.create_intent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 71, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateIntent", - "fullName": "google.cloud.dialogflow.v2.Intents.CreateIntent", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "intent", - "type": ".google.cloud.dialogflow.v2.Intent" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - }, - { - "name": "intent_view", - "type": ".google.cloud.dialogflow.v2.IntentView" - } - ], - "resultType": ".google.cloud.dialogflow.v2.Intent", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.v2.IntentsClient" - }, - "method": { - "shortName": "CreateIntent", - "fullName": "google.cloud.dialogflow.v2.Intents.CreateIntent", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.v2.Intents" - } - } - } + "start": 25, + "end": 71, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateIntent", + "fullName": "google.cloud.dialogflow.v2.Intents.CreateIntent", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "intent", + "type": ".google.cloud.dialogflow.v2.Intent" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + }, + { + "name": "intent_view", + "type": ".google.cloud.dialogflow.v2.IntentView" + } + ], + "resultType": ".google.cloud.dialogflow.v2.Intent", + "client": { + "shortName": "IntentsClient", + "fullName": "google.cloud.dialogflow.v2.IntentsClient" }, + "method": { + "shortName": "CreateIntent", + "fullName": "google.cloud.dialogflow.v2.Intents.CreateIntent", + "service": { + "shortName": "Intents", + "fullName": "google.cloud.dialogflow.v2.Intents" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Intents_UpdateIntent_async", + "title": "dialogflow updateIntent Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified intent. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", + "canonical": true, + "file": "intents.update_intent.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Intents_UpdateIntent_async", - "title": "dialogflow updateIntent Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified intent. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", - "canonical": true, - "file": "intents.update_intent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 69, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateIntent", - "fullName": "google.cloud.dialogflow.v2.Intents.UpdateIntent", - "async": true, - "parameters": [ - { - "name": "intent", - "type": ".google.cloud.dialogflow.v2.Intent" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - }, - { - "name": "intent_view", - "type": ".google.cloud.dialogflow.v2.IntentView" - } - ], - "resultType": ".google.cloud.dialogflow.v2.Intent", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.v2.IntentsClient" - }, - "method": { - "shortName": "UpdateIntent", - "fullName": "google.cloud.dialogflow.v2.Intents.UpdateIntent", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.v2.Intents" - } - } - } + "start": 25, + "end": 69, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateIntent", + "fullName": "google.cloud.dialogflow.v2.Intents.UpdateIntent", + "async": true, + "parameters": [ + { + "name": "intent", + "type": ".google.cloud.dialogflow.v2.Intent" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + }, + { + "name": "intent_view", + "type": ".google.cloud.dialogflow.v2.IntentView" + } + ], + "resultType": ".google.cloud.dialogflow.v2.Intent", + "client": { + "shortName": "IntentsClient", + "fullName": "google.cloud.dialogflow.v2.IntentsClient" }, + "method": { + "shortName": "UpdateIntent", + "fullName": "google.cloud.dialogflow.v2.Intents.UpdateIntent", + "service": { + "shortName": "Intents", + "fullName": "google.cloud.dialogflow.v2.Intents" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Intents_DeleteIntent_async", + "title": "dialogflow deleteIntent Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified intent and its direct or indirect followup intents. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", + "canonical": true, + "file": "intents.delete_intent.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Intents_DeleteIntent_async", - "title": "dialogflow deleteIntent Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified intent and its direct or indirect followup intents. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", - "canonical": true, - "file": "intents.delete_intent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteIntent", - "fullName": "google.cloud.dialogflow.v2.Intents.DeleteIntent", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.v2.IntentsClient" - }, - "method": { - "shortName": "DeleteIntent", - "fullName": "google.cloud.dialogflow.v2.Intents.DeleteIntent", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.v2.Intents" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteIntent", + "fullName": "google.cloud.dialogflow.v2.Intents.DeleteIntent", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "IntentsClient", + "fullName": "google.cloud.dialogflow.v2.IntentsClient" }, + "method": { + "shortName": "DeleteIntent", + "fullName": "google.cloud.dialogflow.v2.Intents.DeleteIntent", + "service": { + "shortName": "Intents", + "fullName": "google.cloud.dialogflow.v2.Intents" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Intents_BatchUpdateIntents_async", + "title": "dialogflow batchUpdateIntents Sample", + "origin": "API_DEFINITION", + "description": " Updates/Creates multiple intents in the specified agent. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [BatchUpdateIntentsResponse][google.cloud.dialogflow.v2.BatchUpdateIntentsResponse] Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", + "canonical": true, + "file": "intents.batch_update_intents.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Intents_BatchUpdateIntents_async", - "title": "dialogflow batchUpdateIntents Sample", - "origin": "API_DEFINITION", - "description": " Updates/Creates multiple intents in the specified agent. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [BatchUpdateIntentsResponse][google.cloud.dialogflow.v2.BatchUpdateIntentsResponse] Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", - "canonical": true, - "file": "intents.batch_update_intents.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 81, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "BatchUpdateIntents", - "fullName": "google.cloud.dialogflow.v2.Intents.BatchUpdateIntents", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "intent_batch_uri", - "type": "TYPE_STRING" - }, - { - "name": "intent_batch_inline", - "type": ".google.cloud.dialogflow.v2.IntentBatch" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - }, - { - "name": "intent_view", - "type": ".google.cloud.dialogflow.v2.IntentView" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.v2.IntentsClient" - }, - "method": { - "shortName": "BatchUpdateIntents", - "fullName": "google.cloud.dialogflow.v2.Intents.BatchUpdateIntents", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.v2.Intents" - } - } - } + "start": 25, + "end": 81, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "BatchUpdateIntents", + "fullName": "google.cloud.dialogflow.v2.Intents.BatchUpdateIntents", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "intent_batch_uri", + "type": "TYPE_STRING" + }, + { + "name": "intent_batch_inline", + "type": ".google.cloud.dialogflow.v2.IntentBatch" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + }, + { + "name": "intent_view", + "type": ".google.cloud.dialogflow.v2.IntentView" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "IntentsClient", + "fullName": "google.cloud.dialogflow.v2.IntentsClient" }, + "method": { + "shortName": "BatchUpdateIntents", + "fullName": "google.cloud.dialogflow.v2.Intents.BatchUpdateIntents", + "service": { + "shortName": "Intents", + "fullName": "google.cloud.dialogflow.v2.Intents" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Intents_BatchDeleteIntents_async", + "title": "dialogflow batchDeleteIntents Sample", + "origin": "API_DEFINITION", + "description": " Deletes intents in the specified agent. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](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 documentation](https://cloud.google.com/dialogflow/es/docs/training).", + "canonical": true, + "file": "intents.batch_delete_intents.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Intents_BatchDeleteIntents_async", - "title": "dialogflow batchDeleteIntents Sample", - "origin": "API_DEFINITION", - "description": " Deletes intents in the specified agent. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](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 documentation](https://cloud.google.com/dialogflow/es/docs/training).", - "canonical": true, - "file": "intents.batch_delete_intents.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "BatchDeleteIntents", - "fullName": "google.cloud.dialogflow.v2.Intents.BatchDeleteIntents", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "intents", - "type": "TYPE_MESSAGE[]" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.v2.IntentsClient" - }, - "method": { - "shortName": "BatchDeleteIntents", - "fullName": "google.cloud.dialogflow.v2.Intents.BatchDeleteIntents", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.v2.Intents" - } - } - } + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "BatchDeleteIntents", + "fullName": "google.cloud.dialogflow.v2.Intents.BatchDeleteIntents", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "intents", + "type": "TYPE_MESSAGE[]" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "IntentsClient", + "fullName": "google.cloud.dialogflow.v2.IntentsClient" }, + "method": { + "shortName": "BatchDeleteIntents", + "fullName": "google.cloud.dialogflow.v2.Intents.BatchDeleteIntents", + "service": { + "shortName": "Intents", + "fullName": "google.cloud.dialogflow.v2.Intents" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_KnowledgeBases_ListKnowledgeBases_async", + "title": "dialogflow listKnowledgeBases Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all knowledge bases of the specified agent.", + "canonical": true, + "file": "knowledge_bases.list_knowledge_bases.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_KnowledgeBases_ListKnowledgeBases_async", - "title": "dialogflow listKnowledgeBases Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all knowledge bases of the specified agent.", - "canonical": true, - "file": "knowledge_bases.list_knowledge_bases.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 87, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListKnowledgeBases", - "fullName": "google.cloud.dialogflow.v2.KnowledgeBases.ListKnowledgeBases", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.ListKnowledgeBasesResponse", - "client": { - "shortName": "KnowledgeBasesClient", - "fullName": "google.cloud.dialogflow.v2.KnowledgeBasesClient" - }, - "method": { - "shortName": "ListKnowledgeBases", - "fullName": "google.cloud.dialogflow.v2.KnowledgeBases.ListKnowledgeBases", - "service": { - "shortName": "KnowledgeBases", - "fullName": "google.cloud.dialogflow.v2.KnowledgeBases" - } - } - } + "start": 25, + "end": 87, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListKnowledgeBases", + "fullName": "google.cloud.dialogflow.v2.KnowledgeBases.ListKnowledgeBases", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.ListKnowledgeBasesResponse", + "client": { + "shortName": "KnowledgeBasesClient", + "fullName": "google.cloud.dialogflow.v2.KnowledgeBasesClient" }, + "method": { + "shortName": "ListKnowledgeBases", + "fullName": "google.cloud.dialogflow.v2.KnowledgeBases.ListKnowledgeBases", + "service": { + "shortName": "KnowledgeBases", + "fullName": "google.cloud.dialogflow.v2.KnowledgeBases" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_KnowledgeBases_GetKnowledgeBase_async", + "title": "dialogflow getKnowledgeBase Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified knowledge base.", + "canonical": true, + "file": "knowledge_bases.get_knowledge_base.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_KnowledgeBases_GetKnowledgeBase_async", - "title": "dialogflow getKnowledgeBase Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified knowledge base.", - "canonical": true, - "file": "knowledge_bases.get_knowledge_base.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetKnowledgeBase", - "fullName": "google.cloud.dialogflow.v2.KnowledgeBases.GetKnowledgeBase", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.KnowledgeBase", - "client": { - "shortName": "KnowledgeBasesClient", - "fullName": "google.cloud.dialogflow.v2.KnowledgeBasesClient" - }, - "method": { - "shortName": "GetKnowledgeBase", - "fullName": "google.cloud.dialogflow.v2.KnowledgeBases.GetKnowledgeBase", - "service": { - "shortName": "KnowledgeBases", - "fullName": "google.cloud.dialogflow.v2.KnowledgeBases" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetKnowledgeBase", + "fullName": "google.cloud.dialogflow.v2.KnowledgeBases.GetKnowledgeBase", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.KnowledgeBase", + "client": { + "shortName": "KnowledgeBasesClient", + "fullName": "google.cloud.dialogflow.v2.KnowledgeBasesClient" }, + "method": { + "shortName": "GetKnowledgeBase", + "fullName": "google.cloud.dialogflow.v2.KnowledgeBases.GetKnowledgeBase", + "service": { + "shortName": "KnowledgeBases", + "fullName": "google.cloud.dialogflow.v2.KnowledgeBases" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_KnowledgeBases_CreateKnowledgeBase_async", + "title": "dialogflow createKnowledgeBase Sample", + "origin": "API_DEFINITION", + "description": " Creates a knowledge base.", + "canonical": true, + "file": "knowledge_bases.create_knowledge_base.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_KnowledgeBases_CreateKnowledgeBase_async", - "title": "dialogflow createKnowledgeBase Sample", - "origin": "API_DEFINITION", - "description": " Creates a knowledge base.", - "canonical": true, - "file": "knowledge_bases.create_knowledge_base.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateKnowledgeBase", - "fullName": "google.cloud.dialogflow.v2.KnowledgeBases.CreateKnowledgeBase", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "knowledge_base", - "type": ".google.cloud.dialogflow.v2.KnowledgeBase" - } - ], - "resultType": ".google.cloud.dialogflow.v2.KnowledgeBase", - "client": { - "shortName": "KnowledgeBasesClient", - "fullName": "google.cloud.dialogflow.v2.KnowledgeBasesClient" - }, - "method": { - "shortName": "CreateKnowledgeBase", - "fullName": "google.cloud.dialogflow.v2.KnowledgeBases.CreateKnowledgeBase", - "service": { - "shortName": "KnowledgeBases", - "fullName": "google.cloud.dialogflow.v2.KnowledgeBases" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateKnowledgeBase", + "fullName": "google.cloud.dialogflow.v2.KnowledgeBases.CreateKnowledgeBase", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "knowledge_base", + "type": ".google.cloud.dialogflow.v2.KnowledgeBase" + } + ], + "resultType": ".google.cloud.dialogflow.v2.KnowledgeBase", + "client": { + "shortName": "KnowledgeBasesClient", + "fullName": "google.cloud.dialogflow.v2.KnowledgeBasesClient" }, + "method": { + "shortName": "CreateKnowledgeBase", + "fullName": "google.cloud.dialogflow.v2.KnowledgeBases.CreateKnowledgeBase", + "service": { + "shortName": "KnowledgeBases", + "fullName": "google.cloud.dialogflow.v2.KnowledgeBases" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_KnowledgeBases_DeleteKnowledgeBase_async", + "title": "dialogflow deleteKnowledgeBase Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified knowledge base.", + "canonical": true, + "file": "knowledge_bases.delete_knowledge_base.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_KnowledgeBases_DeleteKnowledgeBase_async", - "title": "dialogflow deleteKnowledgeBase Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified knowledge base.", - "canonical": true, - "file": "knowledge_bases.delete_knowledge_base.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 60, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteKnowledgeBase", - "fullName": "google.cloud.dialogflow.v2.KnowledgeBases.DeleteKnowledgeBase", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "force", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "KnowledgeBasesClient", - "fullName": "google.cloud.dialogflow.v2.KnowledgeBasesClient" - }, - "method": { - "shortName": "DeleteKnowledgeBase", - "fullName": "google.cloud.dialogflow.v2.KnowledgeBases.DeleteKnowledgeBase", - "service": { - "shortName": "KnowledgeBases", - "fullName": "google.cloud.dialogflow.v2.KnowledgeBases" - } - } - } + "start": 25, + "end": 60, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteKnowledgeBase", + "fullName": "google.cloud.dialogflow.v2.KnowledgeBases.DeleteKnowledgeBase", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "force", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "KnowledgeBasesClient", + "fullName": "google.cloud.dialogflow.v2.KnowledgeBasesClient" }, + "method": { + "shortName": "DeleteKnowledgeBase", + "fullName": "google.cloud.dialogflow.v2.KnowledgeBases.DeleteKnowledgeBase", + "service": { + "shortName": "KnowledgeBases", + "fullName": "google.cloud.dialogflow.v2.KnowledgeBases" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_KnowledgeBases_UpdateKnowledgeBase_async", + "title": "dialogflow updateKnowledgeBase Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified knowledge base.", + "canonical": true, + "file": "knowledge_bases.update_knowledge_base.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_KnowledgeBases_UpdateKnowledgeBase_async", - "title": "dialogflow updateKnowledgeBase Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified knowledge base.", - "canonical": true, - "file": "knowledge_bases.update_knowledge_base.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateKnowledgeBase", - "fullName": "google.cloud.dialogflow.v2.KnowledgeBases.UpdateKnowledgeBase", - "async": true, - "parameters": [ - { - "name": "knowledge_base", - "type": ".google.cloud.dialogflow.v2.KnowledgeBase" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.v2.KnowledgeBase", - "client": { - "shortName": "KnowledgeBasesClient", - "fullName": "google.cloud.dialogflow.v2.KnowledgeBasesClient" - }, - "method": { - "shortName": "UpdateKnowledgeBase", - "fullName": "google.cloud.dialogflow.v2.KnowledgeBases.UpdateKnowledgeBase", - "service": { - "shortName": "KnowledgeBases", - "fullName": "google.cloud.dialogflow.v2.KnowledgeBases" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateKnowledgeBase", + "fullName": "google.cloud.dialogflow.v2.KnowledgeBases.UpdateKnowledgeBase", + "async": true, + "parameters": [ + { + "name": "knowledge_base", + "type": ".google.cloud.dialogflow.v2.KnowledgeBase" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.v2.KnowledgeBase", + "client": { + "shortName": "KnowledgeBasesClient", + "fullName": "google.cloud.dialogflow.v2.KnowledgeBasesClient" }, + "method": { + "shortName": "UpdateKnowledgeBase", + "fullName": "google.cloud.dialogflow.v2.KnowledgeBases.UpdateKnowledgeBase", + "service": { + "shortName": "KnowledgeBases", + "fullName": "google.cloud.dialogflow.v2.KnowledgeBases" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Participants_CreateParticipant_async", + "title": "dialogflow createParticipant Sample", + "origin": "API_DEFINITION", + "description": " Creates a new participant in a conversation.", + "canonical": true, + "file": "participants.create_participant.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Participants_CreateParticipant_async", - "title": "dialogflow createParticipant Sample", - "origin": "API_DEFINITION", - "description": " Creates a new participant in a conversation.", - "canonical": true, - "file": "participants.create_participant.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 60, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateParticipant", - "fullName": "google.cloud.dialogflow.v2.Participants.CreateParticipant", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "participant", - "type": ".google.cloud.dialogflow.v2.Participant" - } - ], - "resultType": ".google.cloud.dialogflow.v2.Participant", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2.ParticipantsClient" - }, - "method": { - "shortName": "CreateParticipant", - "fullName": "google.cloud.dialogflow.v2.Participants.CreateParticipant", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2.Participants" - } - } - } + "start": 25, + "end": 60, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateParticipant", + "fullName": "google.cloud.dialogflow.v2.Participants.CreateParticipant", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "participant", + "type": ".google.cloud.dialogflow.v2.Participant" + } + ], + "resultType": ".google.cloud.dialogflow.v2.Participant", + "client": { + "shortName": "ParticipantsClient", + "fullName": "google.cloud.dialogflow.v2.ParticipantsClient" }, + "method": { + "shortName": "CreateParticipant", + "fullName": "google.cloud.dialogflow.v2.Participants.CreateParticipant", + "service": { + "shortName": "Participants", + "fullName": "google.cloud.dialogflow.v2.Participants" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Participants_GetParticipant_async", + "title": "dialogflow getParticipant Sample", + "origin": "API_DEFINITION", + "description": " Retrieves a conversation participant.", + "canonical": true, + "file": "participants.get_participant.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Participants_GetParticipant_async", - "title": "dialogflow getParticipant Sample", - "origin": "API_DEFINITION", - "description": " Retrieves a conversation participant.", - "canonical": true, - "file": "participants.get_participant.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetParticipant", - "fullName": "google.cloud.dialogflow.v2.Participants.GetParticipant", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.Participant", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2.ParticipantsClient" - }, - "method": { - "shortName": "GetParticipant", - "fullName": "google.cloud.dialogflow.v2.Participants.GetParticipant", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2.Participants" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetParticipant", + "fullName": "google.cloud.dialogflow.v2.Participants.GetParticipant", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.Participant", + "client": { + "shortName": "ParticipantsClient", + "fullName": "google.cloud.dialogflow.v2.ParticipantsClient" }, + "method": { + "shortName": "GetParticipant", + "fullName": "google.cloud.dialogflow.v2.Participants.GetParticipant", + "service": { + "shortName": "Participants", + "fullName": "google.cloud.dialogflow.v2.Participants" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Participants_ListParticipants_async", + "title": "dialogflow listParticipants Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all participants in the specified conversation.", + "canonical": true, + "file": "participants.list_participants.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Participants_ListParticipants_async", - "title": "dialogflow listParticipants Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all participants in the specified conversation.", - "canonical": true, - "file": "participants.list_participants.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 66, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListParticipants", - "fullName": "google.cloud.dialogflow.v2.Participants.ListParticipants", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.ListParticipantsResponse", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2.ParticipantsClient" - }, - "method": { - "shortName": "ListParticipants", - "fullName": "google.cloud.dialogflow.v2.Participants.ListParticipants", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2.Participants" - } - } - } + "start": 25, + "end": 66, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListParticipants", + "fullName": "google.cloud.dialogflow.v2.Participants.ListParticipants", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.ListParticipantsResponse", + "client": { + "shortName": "ParticipantsClient", + "fullName": "google.cloud.dialogflow.v2.ParticipantsClient" }, + "method": { + "shortName": "ListParticipants", + "fullName": "google.cloud.dialogflow.v2.Participants.ListParticipants", + "service": { + "shortName": "Participants", + "fullName": "google.cloud.dialogflow.v2.Participants" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Participants_UpdateParticipant_async", + "title": "dialogflow updateParticipant Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified participant.", + "canonical": true, + "file": "participants.update_participant.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Participants_UpdateParticipant_async", - "title": "dialogflow updateParticipant Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified participant.", - "canonical": true, - "file": "participants.update_participant.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 58, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateParticipant", - "fullName": "google.cloud.dialogflow.v2.Participants.UpdateParticipant", - "async": true, - "parameters": [ - { - "name": "participant", - "type": ".google.cloud.dialogflow.v2.Participant" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.v2.Participant", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2.ParticipantsClient" - }, - "method": { - "shortName": "UpdateParticipant", - "fullName": "google.cloud.dialogflow.v2.Participants.UpdateParticipant", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2.Participants" - } - } - } + "start": 25, + "end": 58, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateParticipant", + "fullName": "google.cloud.dialogflow.v2.Participants.UpdateParticipant", + "async": true, + "parameters": [ + { + "name": "participant", + "type": ".google.cloud.dialogflow.v2.Participant" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.v2.Participant", + "client": { + "shortName": "ParticipantsClient", + "fullName": "google.cloud.dialogflow.v2.ParticipantsClient" }, + "method": { + "shortName": "UpdateParticipant", + "fullName": "google.cloud.dialogflow.v2.Participants.UpdateParticipant", + "service": { + "shortName": "Participants", + "fullName": "google.cloud.dialogflow.v2.Participants" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Participants_AnalyzeContent_async", + "title": "dialogflow analyzeContent Sample", + "origin": "API_DEFINITION", + "description": " Adds a text (chat, for example), or audio (phone recording, for example) message from a participant into the conversation. Note: Always use agent versions for production traffic sent to virtual agents. See [Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).", + "canonical": true, + "file": "participants.analyze_content.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Participants_AnalyzeContent_async", - "title": "dialogflow analyzeContent Sample", - "origin": "API_DEFINITION", - "description": " Adds a text (chat, for example), or audio (phone recording, for example) message from a participant into the conversation. Note: Always use agent versions for production traffic sent to virtual agents. See [Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).", - "canonical": true, - "file": "participants.analyze_content.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 101, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "AnalyzeContent", - "fullName": "google.cloud.dialogflow.v2.Participants.AnalyzeContent", - "async": true, - "parameters": [ - { - "name": "participant", - "type": "TYPE_STRING" - }, - { - "name": "text_input", - "type": ".google.cloud.dialogflow.v2.TextInput" - }, - { - "name": "audio_input", - "type": ".google.cloud.dialogflow.v2.AudioInput" - }, - { - "name": "event_input", - "type": ".google.cloud.dialogflow.v2.EventInput" - }, - { - "name": "suggestion_input", - "type": ".google.cloud.dialogflow.v2.SuggestionInput" - }, - { - "name": "reply_audio_config", - "type": ".google.cloud.dialogflow.v2.OutputAudioConfig" - }, - { - "name": "query_params", - "type": ".google.cloud.dialogflow.v2.QueryParameters" - }, - { - "name": "assist_query_params", - "type": ".google.cloud.dialogflow.v2.AssistQueryParameters" - }, - { - "name": "cx_parameters", - "type": ".google.protobuf.Struct" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.AnalyzeContentResponse", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2.ParticipantsClient" - }, - "method": { - "shortName": "AnalyzeContent", - "fullName": "google.cloud.dialogflow.v2.Participants.AnalyzeContent", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2.Participants" - } - } - } + "start": 25, + "end": 101, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "AnalyzeContent", + "fullName": "google.cloud.dialogflow.v2.Participants.AnalyzeContent", + "async": true, + "parameters": [ + { + "name": "participant", + "type": "TYPE_STRING" + }, + { + "name": "text_input", + "type": ".google.cloud.dialogflow.v2.TextInput" + }, + { + "name": "audio_input", + "type": ".google.cloud.dialogflow.v2.AudioInput" + }, + { + "name": "event_input", + "type": ".google.cloud.dialogflow.v2.EventInput" + }, + { + "name": "suggestion_input", + "type": ".google.cloud.dialogflow.v2.SuggestionInput" + }, + { + "name": "reply_audio_config", + "type": ".google.cloud.dialogflow.v2.OutputAudioConfig" + }, + { + "name": "query_params", + "type": ".google.cloud.dialogflow.v2.QueryParameters" + }, + { + "name": "assist_query_params", + "type": ".google.cloud.dialogflow.v2.AssistQueryParameters" + }, + { + "name": "cx_parameters", + "type": ".google.protobuf.Struct" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.AnalyzeContentResponse", + "client": { + "shortName": "ParticipantsClient", + "fullName": "google.cloud.dialogflow.v2.ParticipantsClient" }, + "method": { + "shortName": "AnalyzeContent", + "fullName": "google.cloud.dialogflow.v2.Participants.AnalyzeContent", + "service": { + "shortName": "Participants", + "fullName": "google.cloud.dialogflow.v2.Participants" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Participants_StreamingAnalyzeContent_async", + "title": "dialogflow streamingAnalyzeContent Sample", + "origin": "API_DEFINITION", + "description": " Adds a text (chat, for example), or audio (phone recording, for example) message from a participant into the conversation. Note: This method is only available through the gRPC API (not REST). The top-level message sent to the client by the server is `StreamingAnalyzeContentResponse`. Multiple response messages can be returned in order. The first one or more messages contain the `recognition_result` field. Each result represents a more complete transcript of what the user said. The next message contains the `reply_text` field and potentially the `reply_audio` field. The message can also contain the `automated_agent_reply` field. Note: Always use agent versions for production traffic sent to virtual agents. See [Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).", + "canonical": true, + "file": "participants.streaming_analyze_content.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Participants_StreamingAnalyzeContent_async", - "title": "dialogflow streamingAnalyzeContent Sample", - "origin": "API_DEFINITION", - "description": " Adds a text (chat, for example), or audio (phone recording, for example) message from a participant into the conversation. Note: This method is only available through the gRPC API (not REST). The top-level message sent to the client by the server is `StreamingAnalyzeContentResponse`. Multiple response messages can be returned in order. The first one or more messages contain the `recognition_result` field. Each result represents a more complete transcript of what the user said. The next message contains the `reply_text` field and potentially the `reply_audio` field. The message can also contain the `automated_agent_reply` field. Note: Always use agent versions for production traffic sent to virtual agents. See [Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).", - "canonical": true, - "file": "participants.streaming_analyze_content.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 141, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "StreamingAnalyzeContent", - "fullName": "google.cloud.dialogflow.v2.Participants.StreamingAnalyzeContent", - "async": true, - "parameters": [ - { - "name": "participant", - "type": "TYPE_STRING" - }, - { - "name": "audio_config", - "type": ".google.cloud.dialogflow.v2.InputAudioConfig" - }, - { - "name": "text_config", - "type": ".google.cloud.dialogflow.v2.InputTextConfig" - }, - { - "name": "reply_audio_config", - "type": ".google.cloud.dialogflow.v2.OutputAudioConfig" - }, - { - "name": "input_audio", - "type": "TYPE_BYTES" - }, - { - "name": "input_text", - "type": "TYPE_STRING" - }, - { - "name": "input_dtmf", - "type": ".google.cloud.dialogflow.v2.TelephonyDtmfEvents" - }, - { - "name": "query_params", - "type": ".google.cloud.dialogflow.v2.QueryParameters" - }, - { - "name": "assist_query_params", - "type": ".google.cloud.dialogflow.v2.AssistQueryParameters" - }, - { - "name": "cx_parameters", - "type": ".google.protobuf.Struct" - }, - { - "name": "enable_extended_streaming", - "type": "TYPE_BOOL" - }, - { - "name": "enable_partial_automated_agent_reply", - "type": "TYPE_BOOL" - }, - { - "name": "enable_debugging_info", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2.ParticipantsClient" - }, - "method": { - "shortName": "StreamingAnalyzeContent", - "fullName": "google.cloud.dialogflow.v2.Participants.StreamingAnalyzeContent", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2.Participants" - } - } - } + "start": 25, + "end": 141, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "StreamingAnalyzeContent", + "fullName": "google.cloud.dialogflow.v2.Participants.StreamingAnalyzeContent", + "async": true, + "parameters": [ + { + "name": "participant", + "type": "TYPE_STRING" + }, + { + "name": "audio_config", + "type": ".google.cloud.dialogflow.v2.InputAudioConfig" + }, + { + "name": "text_config", + "type": ".google.cloud.dialogflow.v2.InputTextConfig" + }, + { + "name": "reply_audio_config", + "type": ".google.cloud.dialogflow.v2.OutputAudioConfig" + }, + { + "name": "input_audio", + "type": "TYPE_BYTES" + }, + { + "name": "input_text", + "type": "TYPE_STRING" + }, + { + "name": "input_dtmf", + "type": ".google.cloud.dialogflow.v2.TelephonyDtmfEvents" + }, + { + "name": "query_params", + "type": ".google.cloud.dialogflow.v2.QueryParameters" + }, + { + "name": "assist_query_params", + "type": ".google.cloud.dialogflow.v2.AssistQueryParameters" + }, + { + "name": "cx_parameters", + "type": ".google.protobuf.Struct" + }, + { + "name": "enable_extended_streaming", + "type": "TYPE_BOOL" + }, + { + "name": "enable_partial_automated_agent_reply", + "type": "TYPE_BOOL" + }, + { + "name": "enable_debugging_info", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.cloud.dialogflow.v2.StreamingAnalyzeContentResponse", + "client": { + "shortName": "ParticipantsClient", + "fullName": "google.cloud.dialogflow.v2.ParticipantsClient" }, + "method": { + "shortName": "StreamingAnalyzeContent", + "fullName": "google.cloud.dialogflow.v2.Participants.StreamingAnalyzeContent", + "service": { + "shortName": "Participants", + "fullName": "google.cloud.dialogflow.v2.Participants" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Participants_SuggestArticles_async", + "title": "dialogflow suggestArticles Sample", + "origin": "API_DEFINITION", + "description": " Gets suggested articles for a participant based on specific historical messages.", + "canonical": true, + "file": "participants.suggest_articles.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Participants_SuggestArticles_async", - "title": "dialogflow suggestArticles Sample", - "origin": "API_DEFINITION", - "description": " Gets suggested articles for a participant based on specific historical messages.", - "canonical": true, - "file": "participants.suggest_articles.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 73, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "SuggestArticles", - "fullName": "google.cloud.dialogflow.v2.Participants.SuggestArticles", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "latest_message", - "type": "TYPE_STRING" - }, - { - "name": "context_size", - "type": "TYPE_INT32" - }, - { - "name": "assist_query_params", - "type": ".google.cloud.dialogflow.v2.AssistQueryParameters" - } - ], - "resultType": ".google.cloud.dialogflow.v2.SuggestArticlesResponse", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2.ParticipantsClient" - }, - "method": { - "shortName": "SuggestArticles", - "fullName": "google.cloud.dialogflow.v2.Participants.SuggestArticles", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2.Participants" - } - } - } + "start": 25, + "end": 73, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "SuggestArticles", + "fullName": "google.cloud.dialogflow.v2.Participants.SuggestArticles", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "latest_message", + "type": "TYPE_STRING" + }, + { + "name": "context_size", + "type": "TYPE_INT32" + }, + { + "name": "assist_query_params", + "type": ".google.cloud.dialogflow.v2.AssistQueryParameters" + } + ], + "resultType": ".google.cloud.dialogflow.v2.SuggestArticlesResponse", + "client": { + "shortName": "ParticipantsClient", + "fullName": "google.cloud.dialogflow.v2.ParticipantsClient" }, + "method": { + "shortName": "SuggestArticles", + "fullName": "google.cloud.dialogflow.v2.Participants.SuggestArticles", + "service": { + "shortName": "Participants", + "fullName": "google.cloud.dialogflow.v2.Participants" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Participants_SuggestFaqAnswers_async", + "title": "dialogflow suggestFaqAnswers Sample", + "origin": "API_DEFINITION", + "description": " Gets suggested faq answers for a participant based on specific historical messages.", + "canonical": true, + "file": "participants.suggest_faq_answers.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Participants_SuggestFaqAnswers_async", - "title": "dialogflow suggestFaqAnswers Sample", - "origin": "API_DEFINITION", - "description": " Gets suggested faq answers for a participant based on specific historical messages.", - "canonical": true, - "file": "participants.suggest_faq_answers.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 72, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "SuggestFaqAnswers", - "fullName": "google.cloud.dialogflow.v2.Participants.SuggestFaqAnswers", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "latest_message", - "type": "TYPE_STRING" - }, - { - "name": "context_size", - "type": "TYPE_INT32" - }, - { - "name": "assist_query_params", - "type": ".google.cloud.dialogflow.v2.AssistQueryParameters" - } - ], - "resultType": ".google.cloud.dialogflow.v2.SuggestFaqAnswersResponse", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2.ParticipantsClient" - }, - "method": { - "shortName": "SuggestFaqAnswers", - "fullName": "google.cloud.dialogflow.v2.Participants.SuggestFaqAnswers", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2.Participants" - } - } - } + "start": 25, + "end": 72, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "SuggestFaqAnswers", + "fullName": "google.cloud.dialogflow.v2.Participants.SuggestFaqAnswers", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "latest_message", + "type": "TYPE_STRING" + }, + { + "name": "context_size", + "type": "TYPE_INT32" + }, + { + "name": "assist_query_params", + "type": ".google.cloud.dialogflow.v2.AssistQueryParameters" + } + ], + "resultType": ".google.cloud.dialogflow.v2.SuggestFaqAnswersResponse", + "client": { + "shortName": "ParticipantsClient", + "fullName": "google.cloud.dialogflow.v2.ParticipantsClient" }, + "method": { + "shortName": "SuggestFaqAnswers", + "fullName": "google.cloud.dialogflow.v2.Participants.SuggestFaqAnswers", + "service": { + "shortName": "Participants", + "fullName": "google.cloud.dialogflow.v2.Participants" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Participants_SuggestSmartReplies_async", + "title": "dialogflow suggestSmartReplies Sample", + "origin": "API_DEFINITION", + "description": " Gets smart replies for a participant based on specific historical messages.", + "canonical": true, + "file": "participants.suggest_smart_replies.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Participants_SuggestSmartReplies_async", - "title": "dialogflow suggestSmartReplies Sample", - "origin": "API_DEFINITION", - "description": " Gets smart replies for a participant based on specific historical messages.", - "canonical": true, - "file": "participants.suggest_smart_replies.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 74, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "SuggestSmartReplies", - "fullName": "google.cloud.dialogflow.v2.Participants.SuggestSmartReplies", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "current_text_input", - "type": ".google.cloud.dialogflow.v2.TextInput" - }, - { - "name": "latest_message", - "type": "TYPE_STRING" - }, - { - "name": "context_size", - "type": "TYPE_INT32" - } - ], - "resultType": ".google.cloud.dialogflow.v2.SuggestSmartRepliesResponse", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2.ParticipantsClient" - }, - "method": { - "shortName": "SuggestSmartReplies", - "fullName": "google.cloud.dialogflow.v2.Participants.SuggestSmartReplies", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2.Participants" - } - } - } + "start": 25, + "end": 74, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "SuggestSmartReplies", + "fullName": "google.cloud.dialogflow.v2.Participants.SuggestSmartReplies", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "current_text_input", + "type": ".google.cloud.dialogflow.v2.TextInput" + }, + { + "name": "latest_message", + "type": "TYPE_STRING" + }, + { + "name": "context_size", + "type": "TYPE_INT32" + } + ], + "resultType": ".google.cloud.dialogflow.v2.SuggestSmartRepliesResponse", + "client": { + "shortName": "ParticipantsClient", + "fullName": "google.cloud.dialogflow.v2.ParticipantsClient" }, + "method": { + "shortName": "SuggestSmartReplies", + "fullName": "google.cloud.dialogflow.v2.Participants.SuggestSmartReplies", + "service": { + "shortName": "Participants", + "fullName": "google.cloud.dialogflow.v2.Participants" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Participants_SuggestKnowledgeAssist_async", + "title": "dialogflow suggestKnowledgeAssist Sample", + "origin": "API_DEFINITION", + "description": " Gets knowledge assist suggestions based on historical messages.", + "canonical": true, + "file": "participants.suggest_knowledge_assist.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Participants_SuggestKnowledgeAssist_async", - "title": "dialogflow suggestKnowledgeAssist Sample", - "origin": "API_DEFINITION", - "description": " Gets knowledge assist suggestions based on historical messages.", - "canonical": true, - "file": "participants.suggest_knowledge_assist.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 76, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "SuggestKnowledgeAssist", - "fullName": "google.cloud.dialogflow.v2.Participants.SuggestKnowledgeAssist", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "latest_message", - "type": "TYPE_STRING" - }, - { - "name": "context_size", - "type": "TYPE_INT32" - }, - { - "name": "previous_suggested_query", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.SuggestKnowledgeAssistResponse", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2.ParticipantsClient" - }, - "method": { - "shortName": "SuggestKnowledgeAssist", - "fullName": "google.cloud.dialogflow.v2.Participants.SuggestKnowledgeAssist", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2.Participants" - } - } - } + "start": 25, + "end": 76, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "SuggestKnowledgeAssist", + "fullName": "google.cloud.dialogflow.v2.Participants.SuggestKnowledgeAssist", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "latest_message", + "type": "TYPE_STRING" + }, + { + "name": "context_size", + "type": "TYPE_INT32" + }, + { + "name": "previous_suggested_query", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.SuggestKnowledgeAssistResponse", + "client": { + "shortName": "ParticipantsClient", + "fullName": "google.cloud.dialogflow.v2.ParticipantsClient" }, + "method": { + "shortName": "SuggestKnowledgeAssist", + "fullName": "google.cloud.dialogflow.v2.Participants.SuggestKnowledgeAssist", + "service": { + "shortName": "Participants", + "fullName": "google.cloud.dialogflow.v2.Participants" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_SessionEntityTypes_ListSessionEntityTypes_async", + "title": "dialogflow listSessionEntityTypes Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all session entity types in the specified session. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.", + "canonical": true, + "file": "session_entity_types.list_session_entity_types.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_SessionEntityTypes_ListSessionEntityTypes_async", - "title": "dialogflow listSessionEntityTypes Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all session entity types in the specified session. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.", - "canonical": true, - "file": "session_entity_types.list_session_entity_types.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 69, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListSessionEntityTypes", - "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes.ListSessionEntityTypes", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.ListSessionEntityTypesResponse", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.v2.SessionEntityTypesClient" - }, - "method": { - "shortName": "ListSessionEntityTypes", - "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes.ListSessionEntityTypes", - "service": { - "shortName": "SessionEntityTypes", - "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes" - } - } - } + "start": 25, + "end": 69, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListSessionEntityTypes", + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes.ListSessionEntityTypes", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.ListSessionEntityTypesResponse", + "client": { + "shortName": "SessionEntityTypesClient", + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypesClient" }, + "method": { + "shortName": "ListSessionEntityTypes", + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes.ListSessionEntityTypes", + "service": { + "shortName": "SessionEntityTypes", + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_SessionEntityTypes_GetSessionEntityType_async", + "title": "dialogflow getSessionEntityType Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.", + "canonical": true, + "file": "session_entity_types.get_session_entity_type.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_SessionEntityTypes_GetSessionEntityType_async", - "title": "dialogflow getSessionEntityType Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.", - "canonical": true, - "file": "session_entity_types.get_session_entity_type.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetSessionEntityType", - "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes.GetSessionEntityType", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.SessionEntityType", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.v2.SessionEntityTypesClient" - }, - "method": { - "shortName": "GetSessionEntityType", - "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes.GetSessionEntityType", - "service": { - "shortName": "SessionEntityTypes", - "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetSessionEntityType", + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes.GetSessionEntityType", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.SessionEntityType", + "client": { + "shortName": "SessionEntityTypesClient", + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypesClient" }, + "method": { + "shortName": "GetSessionEntityType", + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes.GetSessionEntityType", + "service": { + "shortName": "SessionEntityTypes", + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_SessionEntityTypes_CreateSessionEntityType_async", + "title": "dialogflow createSessionEntityType Sample", + "origin": "API_DEFINITION", + "description": " Creates a session entity type. If the specified session entity type already exists, overrides the session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.", + "canonical": true, + "file": "session_entity_types.create_session_entity_type.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_SessionEntityTypes_CreateSessionEntityType_async", - "title": "dialogflow createSessionEntityType Sample", - "origin": "API_DEFINITION", - "description": " Creates a session entity type. If the specified session entity type already exists, overrides the session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.", - "canonical": true, - "file": "session_entity_types.create_session_entity_type.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 63, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateSessionEntityType", - "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes.CreateSessionEntityType", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "session_entity_type", - "type": ".google.cloud.dialogflow.v2.SessionEntityType" - } - ], - "resultType": ".google.cloud.dialogflow.v2.SessionEntityType", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.v2.SessionEntityTypesClient" - }, - "method": { - "shortName": "CreateSessionEntityType", - "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes.CreateSessionEntityType", - "service": { - "shortName": "SessionEntityTypes", - "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes" - } - } - } + "start": 25, + "end": 63, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateSessionEntityType", + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes.CreateSessionEntityType", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "session_entity_type", + "type": ".google.cloud.dialogflow.v2.SessionEntityType" + } + ], + "resultType": ".google.cloud.dialogflow.v2.SessionEntityType", + "client": { + "shortName": "SessionEntityTypesClient", + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypesClient" }, + "method": { + "shortName": "CreateSessionEntityType", + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes.CreateSessionEntityType", + "service": { + "shortName": "SessionEntityTypes", + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_SessionEntityTypes_UpdateSessionEntityType_async", + "title": "dialogflow updateSessionEntityType Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.", + "canonical": true, + "file": "session_entity_types.update_session_entity_type.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_SessionEntityTypes_UpdateSessionEntityType_async", - "title": "dialogflow updateSessionEntityType Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.", - "canonical": true, - "file": "session_entity_types.update_session_entity_type.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 57, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateSessionEntityType", - "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes.UpdateSessionEntityType", - "async": true, - "parameters": [ - { - "name": "session_entity_type", - "type": ".google.cloud.dialogflow.v2.SessionEntityType" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.v2.SessionEntityType", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.v2.SessionEntityTypesClient" - }, - "method": { - "shortName": "UpdateSessionEntityType", - "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes.UpdateSessionEntityType", - "service": { - "shortName": "SessionEntityTypes", - "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes" - } - } - } + "start": 25, + "end": 57, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateSessionEntityType", + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes.UpdateSessionEntityType", + "async": true, + "parameters": [ + { + "name": "session_entity_type", + "type": ".google.cloud.dialogflow.v2.SessionEntityType" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.v2.SessionEntityType", + "client": { + "shortName": "SessionEntityTypesClient", + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypesClient" }, + "method": { + "shortName": "UpdateSessionEntityType", + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes.UpdateSessionEntityType", + "service": { + "shortName": "SessionEntityTypes", + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_SessionEntityTypes_DeleteSessionEntityType_async", + "title": "dialogflow deleteSessionEntityType Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.", + "canonical": true, + "file": "session_entity_types.delete_session_entity_type.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_SessionEntityTypes_DeleteSessionEntityType_async", - "title": "dialogflow deleteSessionEntityType Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.", - "canonical": true, - "file": "session_entity_types.delete_session_entity_type.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteSessionEntityType", - "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes.DeleteSessionEntityType", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.v2.SessionEntityTypesClient" - }, - "method": { - "shortName": "DeleteSessionEntityType", - "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes.DeleteSessionEntityType", - "service": { - "shortName": "SessionEntityTypes", - "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteSessionEntityType", + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes.DeleteSessionEntityType", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "SessionEntityTypesClient", + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypesClient" }, + "method": { + "shortName": "DeleteSessionEntityType", + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes.DeleteSessionEntityType", + "service": { + "shortName": "SessionEntityTypes", + "fullName": "google.cloud.dialogflow.v2.SessionEntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Sessions_DetectIntent_async", + "title": "dialogflow detectIntent Sample", + "origin": "API_DEFINITION", + "description": " Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause contexts and session entity types to be updated, which in turn might affect results of future queries. If you might use [Agent Assist](https://cloud.google.com/dialogflow/docs/#aa) or other CCAI products now or in the future, consider using [AnalyzeContent][google.cloud.dialogflow.v2.Participants.AnalyzeContent] instead of `DetectIntent`. `AnalyzeContent` has additional functionality for Agent Assist and other CCAI products. Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).", + "canonical": true, + "file": "sessions.detect_intent.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Sessions_DetectIntent_async", - "title": "dialogflow detectIntent Sample", - "origin": "API_DEFINITION", - "description": " Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause contexts and session entity types to be updated, which in turn might affect results of future queries. If you might use [Agent Assist](https://cloud.google.com/dialogflow/docs/#aa) or other CCAI products now or in the future, consider using [AnalyzeContent][google.cloud.dialogflow.v2.Participants.AnalyzeContent] instead of `DetectIntent`. `AnalyzeContent` has additional functionality for Agent Assist and other CCAI products. Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).", - "canonical": true, - "file": "sessions.detect_intent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 102, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DetectIntent", - "fullName": "google.cloud.dialogflow.v2.Sessions.DetectIntent", - "async": true, - "parameters": [ - { - "name": "session", - "type": "TYPE_STRING" - }, - { - "name": "query_params", - "type": ".google.cloud.dialogflow.v2.QueryParameters" - }, - { - "name": "query_input", - "type": ".google.cloud.dialogflow.v2.QueryInput" - }, - { - "name": "output_audio_config", - "type": ".google.cloud.dialogflow.v2.OutputAudioConfig" - }, - { - "name": "output_audio_config_mask", - "type": ".google.protobuf.FieldMask" - }, - { - "name": "input_audio", - "type": "TYPE_BYTES" - } - ], - "resultType": ".google.cloud.dialogflow.v2.DetectIntentResponse", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.v2.SessionsClient" - }, - "method": { - "shortName": "DetectIntent", - "fullName": "google.cloud.dialogflow.v2.Sessions.DetectIntent", - "service": { - "shortName": "Sessions", - "fullName": "google.cloud.dialogflow.v2.Sessions" - } - } - } + "start": 25, + "end": 102, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DetectIntent", + "fullName": "google.cloud.dialogflow.v2.Sessions.DetectIntent", + "async": true, + "parameters": [ + { + "name": "session", + "type": "TYPE_STRING" + }, + { + "name": "query_params", + "type": ".google.cloud.dialogflow.v2.QueryParameters" + }, + { + "name": "query_input", + "type": ".google.cloud.dialogflow.v2.QueryInput" + }, + { + "name": "output_audio_config", + "type": ".google.cloud.dialogflow.v2.OutputAudioConfig" + }, + { + "name": "output_audio_config_mask", + "type": ".google.protobuf.FieldMask" + }, + { + "name": "input_audio", + "type": "TYPE_BYTES" + } + ], + "resultType": ".google.cloud.dialogflow.v2.DetectIntentResponse", + "client": { + "shortName": "SessionsClient", + "fullName": "google.cloud.dialogflow.v2.SessionsClient" }, + "method": { + "shortName": "DetectIntent", + "fullName": "google.cloud.dialogflow.v2.Sessions.DetectIntent", + "service": { + "shortName": "Sessions", + "fullName": "google.cloud.dialogflow.v2.Sessions" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Sessions_StreamingDetectIntent_async", + "title": "dialogflow streamingDetectIntent Sample", + "origin": "API_DEFINITION", + "description": " Processes a natural language query in audio format in a streaming fashion and returns structured, actionable data as a result. This method is only available via the gRPC API (not REST). If you might use [Agent Assist](https://cloud.google.com/dialogflow/docs/#aa) or other CCAI products now or in the future, consider using [StreamingAnalyzeContent][google.cloud.dialogflow.v2.Participants.StreamingAnalyzeContent] instead of `StreamingDetectIntent`. `StreamingAnalyzeContent` has additional functionality for Agent Assist and other CCAI products. Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).", + "canonical": true, + "file": "sessions.streaming_detect_intent.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Sessions_StreamingDetectIntent_async", - "title": "dialogflow streamingDetectIntent Sample", - "origin": "API_DEFINITION", - "description": " Processes a natural language query in audio format in a streaming fashion and returns structured, actionable data as a result. This method is only available via the gRPC API (not REST). If you might use [Agent Assist](https://cloud.google.com/dialogflow/docs/#aa) or other CCAI products now or in the future, consider using [StreamingAnalyzeContent][google.cloud.dialogflow.v2.Participants.StreamingAnalyzeContent] instead of `StreamingDetectIntent`. `StreamingAnalyzeContent` has additional functionality for Agent Assist and other CCAI products. Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).", - "canonical": true, - "file": "sessions.streaming_detect_intent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 122, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "StreamingDetectIntent", - "fullName": "google.cloud.dialogflow.v2.Sessions.StreamingDetectIntent", - "async": true, - "parameters": [ - { - "name": "session", - "type": "TYPE_STRING" - }, - { - "name": "query_params", - "type": ".google.cloud.dialogflow.v2.QueryParameters" - }, - { - "name": "query_input", - "type": ".google.cloud.dialogflow.v2.QueryInput" - }, - { - "name": "single_utterance", - "type": "TYPE_BOOL" - }, - { - "name": "output_audio_config", - "type": ".google.cloud.dialogflow.v2.OutputAudioConfig" - }, - { - "name": "output_audio_config_mask", - "type": ".google.protobuf.FieldMask" - }, - { - "name": "input_audio", - "type": "TYPE_BYTES" - }, - { - "name": "enable_debugging_info", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.cloud.dialogflow.v2.StreamingDetectIntentResponse", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.v2.SessionsClient" - }, - "method": { - "shortName": "StreamingDetectIntent", - "fullName": "google.cloud.dialogflow.v2.Sessions.StreamingDetectIntent", - "service": { - "shortName": "Sessions", - "fullName": "google.cloud.dialogflow.v2.Sessions" - } - } - } + "start": 25, + "end": 122, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "StreamingDetectIntent", + "fullName": "google.cloud.dialogflow.v2.Sessions.StreamingDetectIntent", + "async": true, + "parameters": [ + { + "name": "session", + "type": "TYPE_STRING" + }, + { + "name": "query_params", + "type": ".google.cloud.dialogflow.v2.QueryParameters" + }, + { + "name": "query_input", + "type": ".google.cloud.dialogflow.v2.QueryInput" + }, + { + "name": "single_utterance", + "type": "TYPE_BOOL" + }, + { + "name": "output_audio_config", + "type": ".google.cloud.dialogflow.v2.OutputAudioConfig" + }, + { + "name": "output_audio_config_mask", + "type": ".google.protobuf.FieldMask" + }, + { + "name": "input_audio", + "type": "TYPE_BYTES" + }, + { + "name": "enable_debugging_info", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.cloud.dialogflow.v2.StreamingDetectIntentResponse", + "client": { + "shortName": "SessionsClient", + "fullName": "google.cloud.dialogflow.v2.SessionsClient" }, + "method": { + "shortName": "StreamingDetectIntent", + "fullName": "google.cloud.dialogflow.v2.Sessions.StreamingDetectIntent", + "service": { + "shortName": "Sessions", + "fullName": "google.cloud.dialogflow.v2.Sessions" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Versions_ListVersions_async", + "title": "dialogflow listVersions Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all versions of the specified agent.", + "canonical": true, + "file": "versions.list_versions.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Versions_ListVersions_async", - "title": "dialogflow listVersions Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all versions of the specified agent.", - "canonical": true, - "file": "versions.list_versions.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 67, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListVersions", - "fullName": "google.cloud.dialogflow.v2.Versions.ListVersions", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.ListVersionsResponse", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.v2.VersionsClient" - }, - "method": { - "shortName": "ListVersions", - "fullName": "google.cloud.dialogflow.v2.Versions.ListVersions", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.v2.Versions" - } - } - } + "start": 25, + "end": 67, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListVersions", + "fullName": "google.cloud.dialogflow.v2.Versions.ListVersions", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.ListVersionsResponse", + "client": { + "shortName": "VersionsClient", + "fullName": "google.cloud.dialogflow.v2.VersionsClient" }, + "method": { + "shortName": "ListVersions", + "fullName": "google.cloud.dialogflow.v2.Versions.ListVersions", + "service": { + "shortName": "Versions", + "fullName": "google.cloud.dialogflow.v2.Versions" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Versions_GetVersion_async", + "title": "dialogflow getVersion Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified agent version.", + "canonical": true, + "file": "versions.get_version.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Versions_GetVersion_async", - "title": "dialogflow getVersion Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified agent version.", - "canonical": true, - "file": "versions.get_version.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 57, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetVersion", - "fullName": "google.cloud.dialogflow.v2.Versions.GetVersion", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2.Version", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.v2.VersionsClient" - }, - "method": { - "shortName": "GetVersion", - "fullName": "google.cloud.dialogflow.v2.Versions.GetVersion", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.v2.Versions" - } - } - } + "start": 25, + "end": 57, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetVersion", + "fullName": "google.cloud.dialogflow.v2.Versions.GetVersion", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2.Version", + "client": { + "shortName": "VersionsClient", + "fullName": "google.cloud.dialogflow.v2.VersionsClient" }, + "method": { + "shortName": "GetVersion", + "fullName": "google.cloud.dialogflow.v2.Versions.GetVersion", + "service": { + "shortName": "Versions", + "fullName": "google.cloud.dialogflow.v2.Versions" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Versions_CreateVersion_async", + "title": "dialogflow createVersion Sample", + "origin": "API_DEFINITION", + "description": " Creates an agent version. The new version points to the agent instance in the \"default\" environment.", + "canonical": true, + "file": "versions.create_version.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Versions_CreateVersion_async", - "title": "dialogflow createVersion Sample", - "origin": "API_DEFINITION", - "description": " Creates an agent version. The new version points to the agent instance in the \"default\" environment.", - "canonical": true, - "file": "versions.create_version.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateVersion", - "fullName": "google.cloud.dialogflow.v2.Versions.CreateVersion", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "version", - "type": ".google.cloud.dialogflow.v2.Version" - } - ], - "resultType": ".google.cloud.dialogflow.v2.Version", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.v2.VersionsClient" - }, - "method": { - "shortName": "CreateVersion", - "fullName": "google.cloud.dialogflow.v2.Versions.CreateVersion", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.v2.Versions" - } - } - } + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateVersion", + "fullName": "google.cloud.dialogflow.v2.Versions.CreateVersion", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "version", + "type": ".google.cloud.dialogflow.v2.Version" + } + ], + "resultType": ".google.cloud.dialogflow.v2.Version", + "client": { + "shortName": "VersionsClient", + "fullName": "google.cloud.dialogflow.v2.VersionsClient" }, + "method": { + "shortName": "CreateVersion", + "fullName": "google.cloud.dialogflow.v2.Versions.CreateVersion", + "service": { + "shortName": "Versions", + "fullName": "google.cloud.dialogflow.v2.Versions" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Versions_UpdateVersion_async", + "title": "dialogflow updateVersion Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified agent version. Note that this method does not allow you to update the state of the agent the given version points to. It allows you to update only mutable properties of the version resource.", + "canonical": true, + "file": "versions.update_version.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Versions_UpdateVersion_async", - "title": "dialogflow updateVersion Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified agent version. Note that this method does not allow you to update the state of the agent the given version points to. It allows you to update only mutable properties of the version resource.", - "canonical": true, - "file": "versions.update_version.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 62, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateVersion", - "fullName": "google.cloud.dialogflow.v2.Versions.UpdateVersion", - "async": true, - "parameters": [ - { - "name": "version", - "type": ".google.cloud.dialogflow.v2.Version" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.v2.Version", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.v2.VersionsClient" - }, - "method": { - "shortName": "UpdateVersion", - "fullName": "google.cloud.dialogflow.v2.Versions.UpdateVersion", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.v2.Versions" - } - } - } + "start": 25, + "end": 62, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateVersion", + "fullName": "google.cloud.dialogflow.v2.Versions.UpdateVersion", + "async": true, + "parameters": [ + { + "name": "version", + "type": ".google.cloud.dialogflow.v2.Version" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.v2.Version", + "client": { + "shortName": "VersionsClient", + "fullName": "google.cloud.dialogflow.v2.VersionsClient" }, + "method": { + "shortName": "UpdateVersion", + "fullName": "google.cloud.dialogflow.v2.Versions.UpdateVersion", + "service": { + "shortName": "Versions", + "fullName": "google.cloud.dialogflow.v2.Versions" + } + } + } + }, + { + "regionTag": "dialogflow_v2_generated_Versions_DeleteVersion_async", + "title": "dialogflow deleteVersion Sample", + "origin": "API_DEFINITION", + "description": " Delete the specified agent version.", + "canonical": true, + "file": "versions.delete_version.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2_generated_Versions_DeleteVersion_async", - "title": "dialogflow deleteVersion Sample", - "origin": "API_DEFINITION", - "description": " Delete the specified agent version.", - "canonical": true, - "file": "versions.delete_version.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 57, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteVersion", - "fullName": "google.cloud.dialogflow.v2.Versions.DeleteVersion", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.v2.VersionsClient" - }, - "method": { - "shortName": "DeleteVersion", - "fullName": "google.cloud.dialogflow.v2.Versions.DeleteVersion", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.v2.Versions" - } - } - } + "start": 25, + "end": 57, + "type": "FULL" } - ] -} \ No newline at end of file + ], + "clientMethod": { + "shortName": "DeleteVersion", + "fullName": "google.cloud.dialogflow.v2.Versions.DeleteVersion", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "VersionsClient", + "fullName": "google.cloud.dialogflow.v2.VersionsClient" + }, + "method": { + "shortName": "DeleteVersion", + "fullName": "google.cloud.dialogflow.v2.Versions.DeleteVersion", + "service": { + "shortName": "Versions", + "fullName": "google.cloud.dialogflow.v2.Versions" + } + } + } + } + ] +} diff --git a/packages/google-cloud-dialogflow/samples/generated/v2beta1/snippet_metadata_google.cloud.dialogflow.v2beta1.json b/packages/google-cloud-dialogflow/samples/generated/v2beta1/snippet_metadata_google.cloud.dialogflow.v2beta1.json index 2732d2493670..2201fca58cd6 100644 --- a/packages/google-cloud-dialogflow/samples/generated/v2beta1/snippet_metadata_google.cloud.dialogflow.v2beta1.json +++ b/packages/google-cloud-dialogflow/samples/generated/v2beta1/snippet_metadata_google.cloud.dialogflow.v2beta1.json @@ -1,5383 +1,5383 @@ { - "clientLibrary": { - "name": "nodejs-dialogflow", - "version": "7.2.0", - "language": "TYPESCRIPT", - "apis": [ - { - "id": "google.cloud.dialogflow.v2beta1", - "version": "v2beta1" - } - ] - }, - "snippets": [ + "clientLibrary": { + "name": "nodejs-dialogflow", + "version": "0.1.0", + "language": "TYPESCRIPT", + "apis": [ + { + "id": "google.cloud.dialogflow.v2beta1", + "version": "v2beta1" + } + ] + }, + "snippets": [ + { + "regionTag": "dialogflow_v2beta1_generated_Agents_GetAgent_async", + "title": "dialogflow getAgent Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified agent.", + "canonical": true, + "file": "agents.get_agent.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Agents_GetAgent_async", - "title": "dialogflow getAgent Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified agent.", - "canonical": true, - "file": "agents.get_agent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetAgent", - "fullName": "google.cloud.dialogflow.v2beta1.Agents.GetAgent", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.Agent", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient" - }, - "method": { - "shortName": "GetAgent", - "fullName": "google.cloud.dialogflow.v2beta1.Agents.GetAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.v2beta1.Agents" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetAgent", + "fullName": "google.cloud.dialogflow.v2beta1.Agents.GetAgent", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.Agent", + "client": { + "shortName": "AgentsClient", + "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient" }, + "method": { + "shortName": "GetAgent", + "fullName": "google.cloud.dialogflow.v2beta1.Agents.GetAgent", + "service": { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.v2beta1.Agents" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Agents_SetAgent_async", + "title": "dialogflow setAgent Sample", + "origin": "API_DEFINITION", + "description": " Creates/updates the specified agent. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", + "canonical": true, + "file": "agents.set_agent.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Agents_SetAgent_async", - "title": "dialogflow setAgent Sample", - "origin": "API_DEFINITION", - "description": " Creates/updates the specified agent. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", - "canonical": true, - "file": "agents.set_agent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 57, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "SetAgent", - "fullName": "google.cloud.dialogflow.v2beta1.Agents.SetAgent", - "async": true, - "parameters": [ - { - "name": "agent", - "type": ".google.cloud.dialogflow.v2beta1.Agent" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.Agent", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient" - }, - "method": { - "shortName": "SetAgent", - "fullName": "google.cloud.dialogflow.v2beta1.Agents.SetAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.v2beta1.Agents" - } - } - } + "start": 25, + "end": 57, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "SetAgent", + "fullName": "google.cloud.dialogflow.v2beta1.Agents.SetAgent", + "async": true, + "parameters": [ + { + "name": "agent", + "type": ".google.cloud.dialogflow.v2beta1.Agent" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.Agent", + "client": { + "shortName": "AgentsClient", + "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient" }, + "method": { + "shortName": "SetAgent", + "fullName": "google.cloud.dialogflow.v2beta1.Agents.SetAgent", + "service": { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.v2beta1.Agents" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Agents_DeleteAgent_async", + "title": "dialogflow deleteAgent Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified agent.", + "canonical": true, + "file": "agents.delete_agent.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Agents_DeleteAgent_async", - "title": "dialogflow deleteAgent Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified agent.", - "canonical": true, - "file": "agents.delete_agent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteAgent", - "fullName": "google.cloud.dialogflow.v2beta1.Agents.DeleteAgent", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient" - }, - "method": { - "shortName": "DeleteAgent", - "fullName": "google.cloud.dialogflow.v2beta1.Agents.DeleteAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.v2beta1.Agents" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteAgent", + "fullName": "google.cloud.dialogflow.v2beta1.Agents.DeleteAgent", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "AgentsClient", + "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient" }, + "method": { + "shortName": "DeleteAgent", + "fullName": "google.cloud.dialogflow.v2beta1.Agents.DeleteAgent", + "service": { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.v2beta1.Agents" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Agents_SearchAgents_async", + "title": "dialogflow searchAgents Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of agents. Since there is at most one conversational agent per project, this method is useful primarily for listing all agents across projects the caller has access to. One can achieve that with a wildcard project collection id \"-\". Refer to [List Sub-Collections](https://cloud.google.com/apis/design/design_patterns#list_sub-collections).", + "canonical": true, + "file": "agents.search_agents.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Agents_SearchAgents_async", - "title": "dialogflow searchAgents Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of agents. Since there is at most one conversational agent per project, this method is useful primarily for listing all agents across projects the caller has access to. One can achieve that with a wildcard project collection id \"-\". Refer to [List Sub-Collections](https://cloud.google.com/apis/design/design_patterns#list_sub-collections).", - "canonical": true, - "file": "agents.search_agents.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 66, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "SearchAgents", - "fullName": "google.cloud.dialogflow.v2beta1.Agents.SearchAgents", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.SearchAgentsResponse", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient" - }, - "method": { - "shortName": "SearchAgents", - "fullName": "google.cloud.dialogflow.v2beta1.Agents.SearchAgents", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.v2beta1.Agents" - } - } - } + "start": 25, + "end": 66, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "SearchAgents", + "fullName": "google.cloud.dialogflow.v2beta1.Agents.SearchAgents", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.SearchAgentsResponse", + "client": { + "shortName": "AgentsClient", + "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient" }, + "method": { + "shortName": "SearchAgents", + "fullName": "google.cloud.dialogflow.v2beta1.Agents.SearchAgents", + "service": { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.v2beta1.Agents" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Agents_TrainAgent_async", + "title": "dialogflow trainAgent Sample", + "origin": "API_DEFINITION", + "description": " Trains the specified agent. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](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 documentation](https://cloud.google.com/dialogflow/es/docs/training).", + "canonical": true, + "file": "agents.train_agent.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Agents_TrainAgent_async", - "title": "dialogflow trainAgent Sample", - "origin": "API_DEFINITION", - "description": " Trains the specified agent. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](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 documentation](https://cloud.google.com/dialogflow/es/docs/training).", - "canonical": true, - "file": "agents.train_agent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 56, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "TrainAgent", - "fullName": "google.cloud.dialogflow.v2beta1.Agents.TrainAgent", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient" - }, - "method": { - "shortName": "TrainAgent", - "fullName": "google.cloud.dialogflow.v2beta1.Agents.TrainAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.v2beta1.Agents" - } - } - } + "start": 25, + "end": 56, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "TrainAgent", + "fullName": "google.cloud.dialogflow.v2beta1.Agents.TrainAgent", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "AgentsClient", + "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient" }, + "method": { + "shortName": "TrainAgent", + "fullName": "google.cloud.dialogflow.v2beta1.Agents.TrainAgent", + "service": { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.v2beta1.Agents" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Agents_ExportAgent_async", + "title": "dialogflow exportAgent Sample", + "origin": "API_DEFINITION", + "description": " Exports the specified agent to a ZIP file. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [ExportAgentResponse][google.cloud.dialogflow.v2beta1.ExportAgentResponse]", + "canonical": true, + "file": "agents.export_agent.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Agents_ExportAgent_async", - "title": "dialogflow exportAgent Sample", - "origin": "API_DEFINITION", - "description": " Exports the specified agent to a ZIP file. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [ExportAgentResponse][google.cloud.dialogflow.v2beta1.ExportAgentResponse]", - "canonical": true, - "file": "agents.export_agent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 69, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ExportAgent", - "fullName": "google.cloud.dialogflow.v2beta1.Agents.ExportAgent", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "agent_uri", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient" - }, - "method": { - "shortName": "ExportAgent", - "fullName": "google.cloud.dialogflow.v2beta1.Agents.ExportAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.v2beta1.Agents" - } - } - } + "start": 25, + "end": 69, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ExportAgent", + "fullName": "google.cloud.dialogflow.v2beta1.Agents.ExportAgent", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "agent_uri", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "AgentsClient", + "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient" }, + "method": { + "shortName": "ExportAgent", + "fullName": "google.cloud.dialogflow.v2beta1.Agents.ExportAgent", + "service": { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.v2beta1.Agents" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Agents_ImportAgent_async", + "title": "dialogflow importAgent Sample", + "origin": "API_DEFINITION", + "description": " Imports the specified agent from a ZIP file. Uploads new intents and entity types without deleting the existing ones. Intents and entity types with the same name are replaced with the new versions from [ImportAgentRequest][google.cloud.dialogflow.v2beta1.ImportAgentRequest]. After the import, the imported draft agent will be trained automatically (unless disabled in agent settings). However, once the import is done, training may not be completed yet. Please call [TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait for the operation it returns in order to train explicitly. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](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. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", + "canonical": true, + "file": "agents.import_agent.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Agents_ImportAgent_async", - "title": "dialogflow importAgent Sample", - "origin": "API_DEFINITION", - "description": " Imports the specified agent from a ZIP file. Uploads new intents and entity types without deleting the existing ones. Intents and entity types with the same name are replaced with the new versions from [ImportAgentRequest][google.cloud.dialogflow.v2beta1.ImportAgentRequest]. After the import, the imported draft agent will be trained automatically (unless disabled in agent settings). However, once the import is done, training may not be completed yet. Please call [TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait for the operation it returns in order to train explicitly. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](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. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", - "canonical": true, - "file": "agents.import_agent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 70, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ImportAgent", - "fullName": "google.cloud.dialogflow.v2beta1.Agents.ImportAgent", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "agent_uri", - "type": "TYPE_STRING" - }, - { - "name": "agent_content", - "type": "TYPE_BYTES" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient" - }, - "method": { - "shortName": "ImportAgent", - "fullName": "google.cloud.dialogflow.v2beta1.Agents.ImportAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.v2beta1.Agents" - } - } - } + "start": 25, + "end": 70, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ImportAgent", + "fullName": "google.cloud.dialogflow.v2beta1.Agents.ImportAgent", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "agent_uri", + "type": "TYPE_STRING" + }, + { + "name": "agent_content", + "type": "TYPE_BYTES" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "AgentsClient", + "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient" }, + "method": { + "shortName": "ImportAgent", + "fullName": "google.cloud.dialogflow.v2beta1.Agents.ImportAgent", + "service": { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.v2beta1.Agents" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Agents_RestoreAgent_async", + "title": "dialogflow restoreAgent Sample", + "origin": "API_DEFINITION", + "description": " Restores the specified agent from a ZIP file. Replaces the current agent version with a new one. All the intents and entity types in the older version are deleted. After the restore, the restored draft agent will be trained automatically (unless disabled in agent settings). However, once the restore is done, training may not be completed yet. Please call [TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait for the operation it returns in order to train explicitly. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](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. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", + "canonical": true, + "file": "agents.restore_agent.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Agents_RestoreAgent_async", - "title": "dialogflow restoreAgent Sample", - "origin": "API_DEFINITION", - "description": " Restores the specified agent from a ZIP file. Replaces the current agent version with a new one. All the intents and entity types in the older version are deleted. After the restore, the restored draft agent will be trained automatically (unless disabled in agent settings). However, once the restore is done, training may not be completed yet. Please call [TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait for the operation it returns in order to train explicitly. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](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. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", - "canonical": true, - "file": "agents.restore_agent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 70, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "RestoreAgent", - "fullName": "google.cloud.dialogflow.v2beta1.Agents.RestoreAgent", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "agent_uri", - "type": "TYPE_STRING" - }, - { - "name": "agent_content", - "type": "TYPE_BYTES" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient" - }, - "method": { - "shortName": "RestoreAgent", - "fullName": "google.cloud.dialogflow.v2beta1.Agents.RestoreAgent", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.v2beta1.Agents" - } - } - } + "start": 25, + "end": 70, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "RestoreAgent", + "fullName": "google.cloud.dialogflow.v2beta1.Agents.RestoreAgent", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "agent_uri", + "type": "TYPE_STRING" + }, + { + "name": "agent_content", + "type": "TYPE_BYTES" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "AgentsClient", + "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient" }, + "method": { + "shortName": "RestoreAgent", + "fullName": "google.cloud.dialogflow.v2beta1.Agents.RestoreAgent", + "service": { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.v2beta1.Agents" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Agents_GetValidationResult_async", + "title": "dialogflow getValidationResult Sample", + "origin": "API_DEFINITION", + "description": " Gets agent validation result. Agent validation is performed during training time and is updated automatically when training is completed.", + "canonical": true, + "file": "agents.get_validation_result.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Agents_GetValidationResult_async", - "title": "dialogflow getValidationResult Sample", - "origin": "API_DEFINITION", - "description": " Gets agent validation result. Agent validation is performed during training time and is updated automatically when training is completed.", - "canonical": true, - "file": "agents.get_validation_result.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 63, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetValidationResult", - "fullName": "google.cloud.dialogflow.v2beta1.Agents.GetValidationResult", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.ValidationResult", - "client": { - "shortName": "AgentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient" - }, - "method": { - "shortName": "GetValidationResult", - "fullName": "google.cloud.dialogflow.v2beta1.Agents.GetValidationResult", - "service": { - "shortName": "Agents", - "fullName": "google.cloud.dialogflow.v2beta1.Agents" - } - } - } + "start": 25, + "end": 63, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetValidationResult", + "fullName": "google.cloud.dialogflow.v2beta1.Agents.GetValidationResult", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.ValidationResult", + "client": { + "shortName": "AgentsClient", + "fullName": "google.cloud.dialogflow.v2beta1.AgentsClient" }, + "method": { + "shortName": "GetValidationResult", + "fullName": "google.cloud.dialogflow.v2beta1.Agents.GetValidationResult", + "service": { + "shortName": "Agents", + "fullName": "google.cloud.dialogflow.v2beta1.Agents" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_AnswerRecords_GetAnswerRecord_async", + "title": "dialogflow getAnswerRecord Sample", + "origin": "API_DEFINITION", + "description": " Deprecated. Retrieves a specific answer record.", + "canonical": true, + "file": "answer_records.get_answer_record.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_AnswerRecords_GetAnswerRecord_async", - "title": "dialogflow getAnswerRecord Sample", - "origin": "API_DEFINITION", - "description": " Deprecated. Retrieves a specific answer record.", - "canonical": true, - "file": "answer_records.get_answer_record.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetAnswerRecord", - "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords.GetAnswerRecord", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.AnswerRecord", - "client": { - "shortName": "AnswerRecordsClient", - "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient" - }, - "method": { - "shortName": "GetAnswerRecord", - "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords.GetAnswerRecord", - "service": { - "shortName": "AnswerRecords", - "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetAnswerRecord", + "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords.GetAnswerRecord", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.AnswerRecord", + "client": { + "shortName": "AnswerRecordsClient", + "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient" }, + "method": { + "shortName": "GetAnswerRecord", + "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords.GetAnswerRecord", + "service": { + "shortName": "AnswerRecords", + "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_AnswerRecords_ListAnswerRecords_async", + "title": "dialogflow listAnswerRecords Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all answer records in the specified project in reverse chronological order.", + "canonical": true, + "file": "answer_records.list_answer_records.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_AnswerRecords_ListAnswerRecords_async", - "title": "dialogflow listAnswerRecords Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all answer records in the specified project in reverse chronological order.", - "canonical": true, - "file": "answer_records.list_answer_records.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 83, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListAnswerRecords", - "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords.ListAnswerRecords", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.ListAnswerRecordsResponse", - "client": { - "shortName": "AnswerRecordsClient", - "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient" - }, - "method": { - "shortName": "ListAnswerRecords", - "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords.ListAnswerRecords", - "service": { - "shortName": "AnswerRecords", - "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords" - } - } - } + "start": 25, + "end": 83, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListAnswerRecords", + "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords.ListAnswerRecords", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.ListAnswerRecordsResponse", + "client": { + "shortName": "AnswerRecordsClient", + "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient" }, + "method": { + "shortName": "ListAnswerRecords", + "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords.ListAnswerRecords", + "service": { + "shortName": "AnswerRecords", + "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_AnswerRecords_UpdateAnswerRecord_async", + "title": "dialogflow updateAnswerRecord Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified answer record.", + "canonical": true, + "file": "answer_records.update_answer_record.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_AnswerRecords_UpdateAnswerRecord_async", - "title": "dialogflow updateAnswerRecord Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified answer record.", - "canonical": true, - "file": "answer_records.update_answer_record.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 57, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateAnswerRecord", - "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord", - "async": true, - "parameters": [ - { - "name": "answer_record", - "type": ".google.cloud.dialogflow.v2beta1.AnswerRecord" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.AnswerRecord", - "client": { - "shortName": "AnswerRecordsClient", - "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient" - }, - "method": { - "shortName": "UpdateAnswerRecord", - "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord", - "service": { - "shortName": "AnswerRecords", - "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords" - } - } - } + "start": 25, + "end": 57, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateAnswerRecord", + "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord", + "async": true, + "parameters": [ + { + "name": "answer_record", + "type": ".google.cloud.dialogflow.v2beta1.AnswerRecord" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.AnswerRecord", + "client": { + "shortName": "AnswerRecordsClient", + "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecordsClient" }, + "method": { + "shortName": "UpdateAnswerRecord", + "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord", + "service": { + "shortName": "AnswerRecords", + "fullName": "google.cloud.dialogflow.v2beta1.AnswerRecords" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Contexts_ListContexts_async", + "title": "dialogflow listContexts Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all contexts in the specified session.", + "canonical": true, + "file": "contexts.list_contexts.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Contexts_ListContexts_async", - "title": "dialogflow listContexts Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all contexts in the specified session.", - "canonical": true, - "file": "contexts.list_contexts.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 75, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListContexts", - "fullName": "google.cloud.dialogflow.v2beta1.Contexts.ListContexts", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.ListContextsResponse", - "client": { - "shortName": "ContextsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient" - }, - "method": { - "shortName": "ListContexts", - "fullName": "google.cloud.dialogflow.v2beta1.Contexts.ListContexts", - "service": { - "shortName": "Contexts", - "fullName": "google.cloud.dialogflow.v2beta1.Contexts" - } - } - } + "start": 25, + "end": 75, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListContexts", + "fullName": "google.cloud.dialogflow.v2beta1.Contexts.ListContexts", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.ListContextsResponse", + "client": { + "shortName": "ContextsClient", + "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient" }, + "method": { + "shortName": "ListContexts", + "fullName": "google.cloud.dialogflow.v2beta1.Contexts.ListContexts", + "service": { + "shortName": "Contexts", + "fullName": "google.cloud.dialogflow.v2beta1.Contexts" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Contexts_GetContext_async", + "title": "dialogflow getContext Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified context.", + "canonical": true, + "file": "contexts.get_context.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Contexts_GetContext_async", - "title": "dialogflow getContext Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified context.", - "canonical": true, - "file": "contexts.get_context.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 65, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetContext", - "fullName": "google.cloud.dialogflow.v2beta1.Contexts.GetContext", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.Context", - "client": { - "shortName": "ContextsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient" - }, - "method": { - "shortName": "GetContext", - "fullName": "google.cloud.dialogflow.v2beta1.Contexts.GetContext", - "service": { - "shortName": "Contexts", - "fullName": "google.cloud.dialogflow.v2beta1.Contexts" - } - } - } + "start": 25, + "end": 65, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetContext", + "fullName": "google.cloud.dialogflow.v2beta1.Contexts.GetContext", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.Context", + "client": { + "shortName": "ContextsClient", + "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient" }, + "method": { + "shortName": "GetContext", + "fullName": "google.cloud.dialogflow.v2beta1.Contexts.GetContext", + "service": { + "shortName": "Contexts", + "fullName": "google.cloud.dialogflow.v2beta1.Contexts" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Contexts_CreateContext_async", + "title": "dialogflow createContext Sample", + "origin": "API_DEFINITION", + "description": " Creates a context. If the specified context already exists, overrides the context.", + "canonical": true, + "file": "contexts.create_context.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Contexts_CreateContext_async", - "title": "dialogflow createContext Sample", - "origin": "API_DEFINITION", - "description": " Creates a context. If the specified context already exists, overrides the context.", - "canonical": true, - "file": "contexts.create_context.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 69, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateContext", - "fullName": "google.cloud.dialogflow.v2beta1.Contexts.CreateContext", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "context", - "type": ".google.cloud.dialogflow.v2beta1.Context" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.Context", - "client": { - "shortName": "ContextsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient" - }, - "method": { - "shortName": "CreateContext", - "fullName": "google.cloud.dialogflow.v2beta1.Contexts.CreateContext", - "service": { - "shortName": "Contexts", - "fullName": "google.cloud.dialogflow.v2beta1.Contexts" - } - } - } + "start": 25, + "end": 69, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateContext", + "fullName": "google.cloud.dialogflow.v2beta1.Contexts.CreateContext", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "context", + "type": ".google.cloud.dialogflow.v2beta1.Context" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.Context", + "client": { + "shortName": "ContextsClient", + "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient" }, + "method": { + "shortName": "CreateContext", + "fullName": "google.cloud.dialogflow.v2beta1.Contexts.CreateContext", + "service": { + "shortName": "Contexts", + "fullName": "google.cloud.dialogflow.v2beta1.Contexts" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Contexts_UpdateContext_async", + "title": "dialogflow updateContext Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified context.", + "canonical": true, + "file": "contexts.update_context.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Contexts_UpdateContext_async", - "title": "dialogflow updateContext Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified context.", - "canonical": true, - "file": "contexts.update_context.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 57, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateContext", - "fullName": "google.cloud.dialogflow.v2beta1.Contexts.UpdateContext", - "async": true, - "parameters": [ - { - "name": "context", - "type": ".google.cloud.dialogflow.v2beta1.Context" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.Context", - "client": { - "shortName": "ContextsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient" - }, - "method": { - "shortName": "UpdateContext", - "fullName": "google.cloud.dialogflow.v2beta1.Contexts.UpdateContext", - "service": { - "shortName": "Contexts", - "fullName": "google.cloud.dialogflow.v2beta1.Contexts" - } - } - } + "start": 25, + "end": 57, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateContext", + "fullName": "google.cloud.dialogflow.v2beta1.Contexts.UpdateContext", + "async": true, + "parameters": [ + { + "name": "context", + "type": ".google.cloud.dialogflow.v2beta1.Context" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.Context", + "client": { + "shortName": "ContextsClient", + "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient" }, + "method": { + "shortName": "UpdateContext", + "fullName": "google.cloud.dialogflow.v2beta1.Contexts.UpdateContext", + "service": { + "shortName": "Contexts", + "fullName": "google.cloud.dialogflow.v2beta1.Contexts" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Contexts_DeleteContext_async", + "title": "dialogflow deleteContext Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified context.", + "canonical": true, + "file": "contexts.delete_context.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Contexts_DeleteContext_async", - "title": "dialogflow deleteContext Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified context.", - "canonical": true, - "file": "contexts.delete_context.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 65, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteContext", - "fullName": "google.cloud.dialogflow.v2beta1.Contexts.DeleteContext", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "ContextsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient" - }, - "method": { - "shortName": "DeleteContext", - "fullName": "google.cloud.dialogflow.v2beta1.Contexts.DeleteContext", - "service": { - "shortName": "Contexts", - "fullName": "google.cloud.dialogflow.v2beta1.Contexts" - } - } - } + "start": 25, + "end": 65, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteContext", + "fullName": "google.cloud.dialogflow.v2beta1.Contexts.DeleteContext", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "ContextsClient", + "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient" }, + "method": { + "shortName": "DeleteContext", + "fullName": "google.cloud.dialogflow.v2beta1.Contexts.DeleteContext", + "service": { + "shortName": "Contexts", + "fullName": "google.cloud.dialogflow.v2beta1.Contexts" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Contexts_DeleteAllContexts_async", + "title": "dialogflow deleteAllContexts Sample", + "origin": "API_DEFINITION", + "description": " Deletes all active contexts in the specified session.", + "canonical": true, + "file": "contexts.delete_all_contexts.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Contexts_DeleteAllContexts_async", - "title": "dialogflow deleteAllContexts Sample", - "origin": "API_DEFINITION", - "description": " Deletes all active contexts in the specified session.", - "canonical": true, - "file": "contexts.delete_all_contexts.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 65, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteAllContexts", - "fullName": "google.cloud.dialogflow.v2beta1.Contexts.DeleteAllContexts", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "ContextsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient" - }, - "method": { - "shortName": "DeleteAllContexts", - "fullName": "google.cloud.dialogflow.v2beta1.Contexts.DeleteAllContexts", - "service": { - "shortName": "Contexts", - "fullName": "google.cloud.dialogflow.v2beta1.Contexts" - } - } - } + "start": 25, + "end": 65, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteAllContexts", + "fullName": "google.cloud.dialogflow.v2beta1.Contexts.DeleteAllContexts", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "ContextsClient", + "fullName": "google.cloud.dialogflow.v2beta1.ContextsClient" }, + "method": { + "shortName": "DeleteAllContexts", + "fullName": "google.cloud.dialogflow.v2beta1.Contexts.DeleteAllContexts", + "service": { + "shortName": "Contexts", + "fullName": "google.cloud.dialogflow.v2beta1.Contexts" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_ListConversationProfiles_async", + "title": "dialogflow listConversationProfiles Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all conversation profiles in the specified project.", + "canonical": true, + "file": "conversation_profiles.list_conversation_profiles.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_ListConversationProfiles_async", - "title": "dialogflow listConversationProfiles Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all conversation profiles in the specified project.", - "canonical": true, - "file": "conversation_profiles.list_conversation_profiles.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 65, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListConversationProfiles", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.ListConversationProfiles", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.ListConversationProfilesResponse", - "client": { - "shortName": "ConversationProfilesClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient" - }, - "method": { - "shortName": "ListConversationProfiles", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.ListConversationProfiles", - "service": { - "shortName": "ConversationProfiles", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles" - } - } - } + "start": 25, + "end": 65, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListConversationProfiles", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.ListConversationProfiles", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.ListConversationProfilesResponse", + "client": { + "shortName": "ConversationProfilesClient", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient" }, + "method": { + "shortName": "ListConversationProfiles", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.ListConversationProfiles", + "service": { + "shortName": "ConversationProfiles", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_GetConversationProfile_async", + "title": "dialogflow getConversationProfile Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified conversation profile.", + "canonical": true, + "file": "conversation_profiles.get_conversation_profile.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_GetConversationProfile_async", - "title": "dialogflow getConversationProfile Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified conversation profile.", - "canonical": true, - "file": "conversation_profiles.get_conversation_profile.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetConversationProfile", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.ConversationProfile", - "client": { - "shortName": "ConversationProfilesClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient" - }, - "method": { - "shortName": "GetConversationProfile", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile", - "service": { - "shortName": "ConversationProfiles", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetConversationProfile", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.ConversationProfile", + "client": { + "shortName": "ConversationProfilesClient", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient" }, + "method": { + "shortName": "GetConversationProfile", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile", + "service": { + "shortName": "ConversationProfiles", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_CreateConversationProfile_async", + "title": "dialogflow createConversationProfile Sample", + "origin": "API_DEFINITION", + "description": " Creates a conversation profile in the specified project. [ConversationProfile.CreateTime][] and [ConversationProfile.UpdateTime][] aren't populated in the response. You can retrieve them via [GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile] API.", + "canonical": true, + "file": "conversation_profiles.create_conversation_profile.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_CreateConversationProfile_async", - "title": "dialogflow createConversationProfile Sample", - "origin": "API_DEFINITION", - "description": " Creates a conversation profile in the specified project. [ConversationProfile.CreateTime][] and [ConversationProfile.UpdateTime][] aren't populated in the response. You can retrieve them via [GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile] API.", - "canonical": true, - "file": "conversation_profiles.create_conversation_profile.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateConversationProfile", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.CreateConversationProfile", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "conversation_profile", - "type": ".google.cloud.dialogflow.v2beta1.ConversationProfile" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.ConversationProfile", - "client": { - "shortName": "ConversationProfilesClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient" - }, - "method": { - "shortName": "CreateConversationProfile", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.CreateConversationProfile", - "service": { - "shortName": "ConversationProfiles", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateConversationProfile", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.CreateConversationProfile", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "conversation_profile", + "type": ".google.cloud.dialogflow.v2beta1.ConversationProfile" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.ConversationProfile", + "client": { + "shortName": "ConversationProfilesClient", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient" }, + "method": { + "shortName": "CreateConversationProfile", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.CreateConversationProfile", + "service": { + "shortName": "ConversationProfiles", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_UpdateConversationProfile_async", + "title": "dialogflow updateConversationProfile Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified conversation profile. [ConversationProfile.CreateTime][] and [ConversationProfile.UpdateTime][] aren't populated in the response. You can retrieve them via [GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile] API.", + "canonical": true, + "file": "conversation_profiles.update_conversation_profile.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_UpdateConversationProfile_async", - "title": "dialogflow updateConversationProfile Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified conversation profile. [ConversationProfile.CreateTime][] and [ConversationProfile.UpdateTime][] aren't populated in the response. You can retrieve them via [GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile] API.", - "canonical": true, - "file": "conversation_profiles.update_conversation_profile.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 58, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateConversationProfile", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.UpdateConversationProfile", - "async": true, - "parameters": [ - { - "name": "conversation_profile", - "type": ".google.cloud.dialogflow.v2beta1.ConversationProfile" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.ConversationProfile", - "client": { - "shortName": "ConversationProfilesClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient" - }, - "method": { - "shortName": "UpdateConversationProfile", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.UpdateConversationProfile", - "service": { - "shortName": "ConversationProfiles", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles" - } - } - } + "start": 25, + "end": 58, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateConversationProfile", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.UpdateConversationProfile", + "async": true, + "parameters": [ + { + "name": "conversation_profile", + "type": ".google.cloud.dialogflow.v2beta1.ConversationProfile" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.ConversationProfile", + "client": { + "shortName": "ConversationProfilesClient", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient" }, + "method": { + "shortName": "UpdateConversationProfile", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.UpdateConversationProfile", + "service": { + "shortName": "ConversationProfiles", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_DeleteConversationProfile_async", + "title": "dialogflow deleteConversationProfile Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified conversation profile.", + "canonical": true, + "file": "conversation_profiles.delete_conversation_profile.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_DeleteConversationProfile_async", - "title": "dialogflow deleteConversationProfile Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified conversation profile.", - "canonical": true, - "file": "conversation_profiles.delete_conversation_profile.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteConversationProfile", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.DeleteConversationProfile", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "ConversationProfilesClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient" - }, - "method": { - "shortName": "DeleteConversationProfile", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.DeleteConversationProfile", - "service": { - "shortName": "ConversationProfiles", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteConversationProfile", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.DeleteConversationProfile", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "ConversationProfilesClient", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient" }, + "method": { + "shortName": "DeleteConversationProfile", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.DeleteConversationProfile", + "service": { + "shortName": "ConversationProfiles", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_SetSuggestionFeatureConfig_async", + "title": "dialogflow setSuggestionFeatureConfig Sample", + "origin": "API_DEFINITION", + "description": " Adds or updates a suggestion feature in a conversation profile. If the conversation profile contains the type of suggestion feature for the participant role, it will update it. Otherwise it will insert the suggestion feature. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: [SetSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2beta1.SetSuggestionFeatureConfigOperationMetadata] - `response`: [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile] If a long running operation to add or update suggestion feature config for the same conversation profile, participant role and suggestion feature type exists, please cancel the existing long running operation before sending such request, otherwise the request will be rejected.", + "canonical": true, + "file": "conversation_profiles.set_suggestion_feature_config.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_SetSuggestionFeatureConfig_async", - "title": "dialogflow setSuggestionFeatureConfig Sample", - "origin": "API_DEFINITION", - "description": " Adds or updates a suggestion feature in a conversation profile. If the conversation profile contains the type of suggestion feature for the participant role, it will update it. Otherwise it will insert the suggestion feature. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: [SetSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2beta1.SetSuggestionFeatureConfigOperationMetadata] - `response`: [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile] If a long running operation to add or update suggestion feature config for the same conversation profile, participant role and suggestion feature type exists, please cancel the existing long running operation before sending such request, otherwise the request will be rejected.", - "canonical": true, - "file": "conversation_profiles.set_suggestion_feature_config.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 67, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "SetSuggestionFeatureConfig", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.SetSuggestionFeatureConfig", - "async": true, - "parameters": [ - { - "name": "conversation_profile", - "type": "TYPE_STRING" - }, - { - "name": "participant_role", - "type": ".google.cloud.dialogflow.v2beta1.Participant.Role" - }, - { - "name": "suggestion_feature_config", - "type": ".google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfig" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "ConversationProfilesClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient" - }, - "method": { - "shortName": "SetSuggestionFeatureConfig", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.SetSuggestionFeatureConfig", - "service": { - "shortName": "ConversationProfiles", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles" - } - } - } + "start": 25, + "end": 67, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "SetSuggestionFeatureConfig", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.SetSuggestionFeatureConfig", + "async": true, + "parameters": [ + { + "name": "conversation_profile", + "type": "TYPE_STRING" + }, + { + "name": "participant_role", + "type": ".google.cloud.dialogflow.v2beta1.Participant.Role" + }, + { + "name": "suggestion_feature_config", + "type": ".google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfig" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "ConversationProfilesClient", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient" }, + "method": { + "shortName": "SetSuggestionFeatureConfig", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.SetSuggestionFeatureConfig", + "service": { + "shortName": "ConversationProfiles", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_ClearSuggestionFeatureConfig_async", + "title": "dialogflow clearSuggestionFeatureConfig Sample", + "origin": "API_DEFINITION", + "description": " Clears a suggestion feature from a conversation profile for the given participant role. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: [ClearSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2beta1.ClearSuggestionFeatureConfigOperationMetadata] - `response`: [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile]", + "canonical": true, + "file": "conversation_profiles.clear_suggestion_feature_config.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_ConversationProfiles_ClearSuggestionFeatureConfig_async", - "title": "dialogflow clearSuggestionFeatureConfig Sample", - "origin": "API_DEFINITION", - "description": " Clears a suggestion feature from a conversation profile for the given participant role. This method is a [long-running operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: [ClearSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2beta1.ClearSuggestionFeatureConfigOperationMetadata] - `response`: [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile]", - "canonical": true, - "file": "conversation_profiles.clear_suggestion_feature_config.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 67, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ClearSuggestionFeatureConfig", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.ClearSuggestionFeatureConfig", - "async": true, - "parameters": [ - { - "name": "conversation_profile", - "type": "TYPE_STRING" - }, - { - "name": "participant_role", - "type": ".google.cloud.dialogflow.v2beta1.Participant.Role" - }, - { - "name": "suggestion_feature_type", - "type": ".google.cloud.dialogflow.v2beta1.SuggestionFeature.Type" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "ConversationProfilesClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient" - }, - "method": { - "shortName": "ClearSuggestionFeatureConfig", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.ClearSuggestionFeatureConfig", - "service": { - "shortName": "ConversationProfiles", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles" - } - } - } + "start": 25, + "end": 67, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ClearSuggestionFeatureConfig", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.ClearSuggestionFeatureConfig", + "async": true, + "parameters": [ + { + "name": "conversation_profile", + "type": "TYPE_STRING" + }, + { + "name": "participant_role", + "type": ".google.cloud.dialogflow.v2beta1.Participant.Role" + }, + { + "name": "suggestion_feature_type", + "type": ".google.cloud.dialogflow.v2beta1.SuggestionFeature.Type" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "ConversationProfilesClient", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfilesClient" }, + "method": { + "shortName": "ClearSuggestionFeatureConfig", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles.ClearSuggestionFeatureConfig", + "service": { + "shortName": "ConversationProfiles", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationProfiles" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Conversations_CreateConversation_async", + "title": "dialogflow createConversation Sample", + "origin": "API_DEFINITION", + "description": " Creates a new conversation. Conversations are auto-completed after 24 hours. Conversation Lifecycle: There are two stages during a conversation: Automated Agent Stage and Assist Stage. For Automated Agent Stage, there will be a dialogflow agent responding to user queries. For Assist Stage, there's no dialogflow agent responding to user queries. But we will provide suggestions which are generated from conversation. If [Conversation.conversation_profile][google.cloud.dialogflow.v2beta1.Conversation.conversation_profile] is configured for a dialogflow agent, conversation will start from `Automated Agent Stage`, otherwise, it will start from `Assist Stage`. And during `Automated Agent Stage`, once an [Intent][google.cloud.dialogflow.v2beta1.Intent] with [Intent.live_agent_handoff][google.cloud.dialogflow.v2beta1.Intent.live_agent_handoff] is triggered, conversation will transfer to Assist Stage.", + "canonical": true, + "file": "conversations.create_conversation.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Conversations_CreateConversation_async", - "title": "dialogflow createConversation Sample", - "origin": "API_DEFINITION", - "description": " Creates a new conversation. Conversations are auto-completed after 24 hours. Conversation Lifecycle: There are two stages during a conversation: Automated Agent Stage and Assist Stage. For Automated Agent Stage, there will be a dialogflow agent responding to user queries. For Assist Stage, there's no dialogflow agent responding to user queries. But we will provide suggestions which are generated from conversation. If [Conversation.conversation_profile][google.cloud.dialogflow.v2beta1.Conversation.conversation_profile] is configured for a dialogflow agent, conversation will start from `Automated Agent Stage`, otherwise, it will start from `Assist Stage`. And during `Automated Agent Stage`, once an [Intent][google.cloud.dialogflow.v2beta1.Intent] with [Intent.live_agent_handoff][google.cloud.dialogflow.v2beta1.Intent.live_agent_handoff] is triggered, conversation will transfer to Assist Stage.", - "canonical": true, - "file": "conversations.create_conversation.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 71, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateConversation", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations.CreateConversation", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "conversation", - "type": ".google.cloud.dialogflow.v2beta1.Conversation" - }, - { - "name": "conversation_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.Conversation", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient" - }, - "method": { - "shortName": "CreateConversation", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations.CreateConversation", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations" - } - } - } + "start": 25, + "end": 71, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateConversation", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.CreateConversation", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "conversation", + "type": ".google.cloud.dialogflow.v2beta1.Conversation" + }, + { + "name": "conversation_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.Conversation", + "client": { + "shortName": "ConversationsClient", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient" }, + "method": { + "shortName": "CreateConversation", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.CreateConversation", + "service": { + "shortName": "Conversations", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Conversations_ListConversations_async", + "title": "dialogflow listConversations Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all conversations in the specified project.", + "canonical": true, + "file": "conversations.list_conversations.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Conversations_ListConversations_async", - "title": "dialogflow listConversations Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all conversations in the specified project.", - "canonical": true, - "file": "conversations.list_conversations.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 74, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListConversations", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations.ListConversations", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.ListConversationsResponse", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient" - }, - "method": { - "shortName": "ListConversations", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations.ListConversations", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations" - } - } - } + "start": 25, + "end": 74, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListConversations", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.ListConversations", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.ListConversationsResponse", + "client": { + "shortName": "ConversationsClient", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient" }, + "method": { + "shortName": "ListConversations", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.ListConversations", + "service": { + "shortName": "Conversations", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Conversations_GetConversation_async", + "title": "dialogflow getConversation Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specific conversation.", + "canonical": true, + "file": "conversations.get_conversation.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Conversations_GetConversation_async", - "title": "dialogflow getConversation Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specific conversation.", - "canonical": true, - "file": "conversations.get_conversation.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetConversation", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations.GetConversation", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.Conversation", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient" - }, - "method": { - "shortName": "GetConversation", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations.GetConversation", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetConversation", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.GetConversation", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.Conversation", + "client": { + "shortName": "ConversationsClient", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient" }, + "method": { + "shortName": "GetConversation", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.GetConversation", + "service": { + "shortName": "Conversations", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Conversations_CompleteConversation_async", + "title": "dialogflow completeConversation Sample", + "origin": "API_DEFINITION", + "description": " Completes the specified conversation. Finished conversations are purged from the database after 30 days.", + "canonical": true, + "file": "conversations.complete_conversation.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Conversations_CompleteConversation_async", - "title": "dialogflow completeConversation Sample", - "origin": "API_DEFINITION", - "description": " Completes the specified conversation. Finished conversations are purged from the database after 30 days.", - "canonical": true, - "file": "conversations.complete_conversation.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CompleteConversation", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations.CompleteConversation", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.Conversation", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient" - }, - "method": { - "shortName": "CompleteConversation", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations.CompleteConversation", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CompleteConversation", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.CompleteConversation", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.Conversation", + "client": { + "shortName": "ConversationsClient", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient" }, + "method": { + "shortName": "CompleteConversation", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.CompleteConversation", + "service": { + "shortName": "Conversations", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Conversations_IngestContextReferences_async", + "title": "dialogflow ingestContextReferences Sample", + "origin": "API_DEFINITION", + "description": " Data ingestion API. Ingests context references for an existing conversation.", + "canonical": true, + "file": "conversations.ingest_context_references.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Conversations_IngestContextReferences_async", - "title": "dialogflow ingestContextReferences Sample", - "origin": "API_DEFINITION", - "description": " Data ingestion API. Ingests context references for an existing conversation.", - "canonical": true, - "file": "conversations.ingest_context_references.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 63, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "IngestContextReferences", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations.IngestContextReferences", - "async": true, - "parameters": [ - { - "name": "conversation", - "type": "TYPE_STRING" - }, - { - "name": "context_references", - "type": "TYPE_MESSAGE[]" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.IngestContextReferencesResponse", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient" - }, - "method": { - "shortName": "IngestContextReferences", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations.IngestContextReferences", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations" - } - } - } + "start": 25, + "end": 63, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "IngestContextReferences", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.IngestContextReferences", + "async": true, + "parameters": [ + { + "name": "conversation", + "type": "TYPE_STRING" + }, + { + "name": "context_references", + "type": "TYPE_MESSAGE[]" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.IngestContextReferencesResponse", + "client": { + "shortName": "ConversationsClient", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient" }, + "method": { + "shortName": "IngestContextReferences", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.IngestContextReferences", + "service": { + "shortName": "Conversations", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Conversations_BatchCreateMessages_async", + "title": "dialogflow batchCreateMessages Sample", + "origin": "API_DEFINITION", + "description": " Batch ingests messages to conversation. Customers can use this RPC to ingest historical messages to conversation.", + "canonical": true, + "file": "conversations.batch_create_messages.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Conversations_BatchCreateMessages_async", - "title": "dialogflow batchCreateMessages Sample", - "origin": "API_DEFINITION", - "description": " Batch ingests messages to conversation. Customers can use this RPC to ingest historical messages to conversation.", - "canonical": true, - "file": "conversations.batch_create_messages.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 63, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "BatchCreateMessages", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations.BatchCreateMessages", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "requests", - "type": "TYPE_MESSAGE[]" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.BatchCreateMessagesResponse", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient" - }, - "method": { - "shortName": "BatchCreateMessages", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations.BatchCreateMessages", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations" - } - } - } + "start": 25, + "end": 63, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "BatchCreateMessages", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.BatchCreateMessages", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "requests", + "type": "TYPE_MESSAGE[]" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.BatchCreateMessagesResponse", + "client": { + "shortName": "ConversationsClient", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient" }, + "method": { + "shortName": "BatchCreateMessages", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.BatchCreateMessages", + "service": { + "shortName": "Conversations", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Conversations_ListMessages_async", + "title": "dialogflow listMessages Sample", + "origin": "API_DEFINITION", + "description": " Lists messages that belong to a given conversation. `messages` are ordered by `create_time` in descending order. To fetch updates without duplication, send request with filter `create_time_epoch_microseconds > [first item's create_time of previous request]` and empty page_token.", + "canonical": true, + "file": "conversations.list_messages.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Conversations_ListMessages_async", - "title": "dialogflow listMessages Sample", - "origin": "API_DEFINITION", - "description": " Lists messages that belong to a given conversation. `messages` are ordered by `create_time` in descending order. To fetch updates without duplication, send request with filter `create_time_epoch_microseconds > [first item's create_time of previous request]` and empty page_token.", - "canonical": true, - "file": "conversations.list_messages.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 76, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListMessages", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations.ListMessages", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.ListMessagesResponse", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient" - }, - "method": { - "shortName": "ListMessages", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations.ListMessages", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations" - } - } - } + "start": 25, + "end": 76, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListMessages", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.ListMessages", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.ListMessagesResponse", + "client": { + "shortName": "ConversationsClient", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient" }, + "method": { + "shortName": "ListMessages", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.ListMessages", + "service": { + "shortName": "Conversations", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Conversations_SuggestConversationSummary_async", + "title": "dialogflow suggestConversationSummary Sample", + "origin": "API_DEFINITION", + "description": " Suggest summary for a conversation based on specific historical messages. The range of the messages to be used for summary can be specified in the request.", + "canonical": true, + "file": "conversations.suggest_conversation_summary.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Conversations_SuggestConversationSummary_async", - "title": "dialogflow suggestConversationSummary Sample", - "origin": "API_DEFINITION", - "description": " Suggest summary for a conversation based on specific historical messages. The range of the messages to be used for summary can be specified in the request.", - "canonical": true, - "file": "conversations.suggest_conversation_summary.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 74, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "SuggestConversationSummary", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations.SuggestConversationSummary", - "async": true, - "parameters": [ - { - "name": "conversation", - "type": "TYPE_STRING" - }, - { - "name": "latest_message", - "type": "TYPE_STRING" - }, - { - "name": "context_size", - "type": "TYPE_INT32" - }, - { - "name": "assist_query_params", - "type": ".google.cloud.dialogflow.v2beta1.AssistQueryParameters" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.SuggestConversationSummaryResponse", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient" - }, - "method": { - "shortName": "SuggestConversationSummary", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations.SuggestConversationSummary", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations" - } - } - } + "start": 25, + "end": 74, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "SuggestConversationSummary", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.SuggestConversationSummary", + "async": true, + "parameters": [ + { + "name": "conversation", + "type": "TYPE_STRING" + }, + { + "name": "latest_message", + "type": "TYPE_STRING" + }, + { + "name": "context_size", + "type": "TYPE_INT32" + }, + { + "name": "assist_query_params", + "type": ".google.cloud.dialogflow.v2beta1.AssistQueryParameters" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.SuggestConversationSummaryResponse", + "client": { + "shortName": "ConversationsClient", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient" }, + "method": { + "shortName": "SuggestConversationSummary", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.SuggestConversationSummary", + "service": { + "shortName": "Conversations", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Conversations_GenerateStatelessSummary_async", + "title": "dialogflow generateStatelessSummary Sample", + "origin": "API_DEFINITION", + "description": " Generates and returns a summary for a conversation that does not have a resource created for it.", + "canonical": true, + "file": "conversations.generate_stateless_summary.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Conversations_GenerateStatelessSummary_async", - "title": "dialogflow generateStatelessSummary Sample", - "origin": "API_DEFINITION", - "description": " Generates and returns a summary for a conversation that does not have a resource created for it.", - "canonical": true, - "file": "conversations.generate_stateless_summary.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 74, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GenerateStatelessSummary", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations.GenerateStatelessSummary", - "async": true, - "parameters": [ - { - "name": "stateless_conversation", - "type": ".google.cloud.dialogflow.v2beta1.GenerateStatelessSummaryRequest.MinimalConversation" - }, - { - "name": "conversation_profile", - "type": ".google.cloud.dialogflow.v2beta1.ConversationProfile" - }, - { - "name": "latest_message", - "type": "TYPE_STRING" - }, - { - "name": "max_context_size", - "type": "TYPE_INT32" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.GenerateStatelessSummaryResponse", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient" - }, - "method": { - "shortName": "GenerateStatelessSummary", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations.GenerateStatelessSummary", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations" - } - } - } + "start": 25, + "end": 74, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GenerateStatelessSummary", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.GenerateStatelessSummary", + "async": true, + "parameters": [ + { + "name": "stateless_conversation", + "type": ".google.cloud.dialogflow.v2beta1.GenerateStatelessSummaryRequest.MinimalConversation" + }, + { + "name": "conversation_profile", + "type": ".google.cloud.dialogflow.v2beta1.ConversationProfile" + }, + { + "name": "latest_message", + "type": "TYPE_STRING" + }, + { + "name": "max_context_size", + "type": "TYPE_INT32" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.GenerateStatelessSummaryResponse", + "client": { + "shortName": "ConversationsClient", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient" }, + "method": { + "shortName": "GenerateStatelessSummary", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.GenerateStatelessSummary", + "service": { + "shortName": "Conversations", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Conversations_GenerateStatelessSuggestion_async", + "title": "dialogflow generateStatelessSuggestion Sample", + "origin": "API_DEFINITION", + "description": " Generates and returns a suggestion for a conversation that does not have a resource created for it.", + "canonical": true, + "file": "conversations.generate_stateless_suggestion.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Conversations_GenerateStatelessSuggestion_async", - "title": "dialogflow generateStatelessSuggestion Sample", - "origin": "API_DEFINITION", - "description": " Generates and returns a suggestion for a conversation that does not have a resource created for it.", - "canonical": true, - "file": "conversations.generate_stateless_suggestion.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 80, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GenerateStatelessSuggestion", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations.GenerateStatelessSuggestion", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "generator", - "type": ".google.cloud.dialogflow.v2beta1.Generator" - }, - { - "name": "generator_name", - "type": "TYPE_STRING" - }, - { - "name": "context_references", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "conversation_context", - "type": ".google.cloud.dialogflow.v2beta1.ConversationContext" - }, - { - "name": "trigger_events", - "type": "TYPE_ENUM[]" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.GenerateStatelessSuggestionResponse", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient" - }, - "method": { - "shortName": "GenerateStatelessSuggestion", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations.GenerateStatelessSuggestion", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations" - } - } - } + "start": 25, + "end": 80, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GenerateStatelessSuggestion", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.GenerateStatelessSuggestion", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "generator", + "type": ".google.cloud.dialogflow.v2beta1.Generator" + }, + { + "name": "generator_name", + "type": "TYPE_STRING" + }, + { + "name": "context_references", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "conversation_context", + "type": ".google.cloud.dialogflow.v2beta1.ConversationContext" + }, + { + "name": "trigger_events", + "type": "TYPE_ENUM[]" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.GenerateStatelessSuggestionResponse", + "client": { + "shortName": "ConversationsClient", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient" }, + "method": { + "shortName": "GenerateStatelessSuggestion", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.GenerateStatelessSuggestion", + "service": { + "shortName": "Conversations", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Conversations_SearchKnowledge_async", + "title": "dialogflow searchKnowledge Sample", + "origin": "API_DEFINITION", + "description": " Get answers for the given query based on knowledge documents.", + "canonical": true, + "file": "conversations.search_knowledge.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Conversations_SearchKnowledge_async", - "title": "dialogflow searchKnowledge Sample", - "origin": "API_DEFINITION", - "description": " Get answers for the given query based on knowledge documents.", - "canonical": true, - "file": "conversations.search_knowledge.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 120, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "SearchKnowledge", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations.SearchKnowledge", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "query", - "type": ".google.cloud.dialogflow.v2beta1.TextInput" - }, - { - "name": "conversation_profile", - "type": "TYPE_STRING" - }, - { - "name": "session_id", - "type": "TYPE_STRING" - }, - { - "name": "conversation", - "type": "TYPE_STRING" - }, - { - "name": "latest_message", - "type": "TYPE_STRING" - }, - { - "name": "query_source", - "type": ".google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.QuerySource" - }, - { - "name": "end_user_metadata", - "type": ".google.protobuf.Struct" - }, - { - "name": "search_config", - "type": ".google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig" - }, - { - "name": "exact_search", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.SearchKnowledgeResponse", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient" - }, - "method": { - "shortName": "SearchKnowledge", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations.SearchKnowledge", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations" - } - } - } + "start": 25, + "end": 120, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "SearchKnowledge", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.SearchKnowledge", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "query", + "type": ".google.cloud.dialogflow.v2beta1.TextInput" + }, + { + "name": "conversation_profile", + "type": "TYPE_STRING" + }, + { + "name": "session_id", + "type": "TYPE_STRING" + }, + { + "name": "conversation", + "type": "TYPE_STRING" + }, + { + "name": "latest_message", + "type": "TYPE_STRING" + }, + { + "name": "query_source", + "type": ".google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.QuerySource" + }, + { + "name": "end_user_metadata", + "type": ".google.protobuf.Struct" + }, + { + "name": "search_config", + "type": ".google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest.SearchConfig" + }, + { + "name": "exact_search", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.SearchKnowledgeResponse", + "client": { + "shortName": "ConversationsClient", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient" }, + "method": { + "shortName": "SearchKnowledge", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.SearchKnowledge", + "service": { + "shortName": "Conversations", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Conversations_GenerateSuggestions_async", + "title": "dialogflow generateSuggestions Sample", + "origin": "API_DEFINITION", + "description": " Generates all the suggestions using generators configured in the conversation profile. A generator is used only if its trigger event is matched.", + "canonical": true, + "file": "conversations.generate_suggestions.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Conversations_GenerateSuggestions_async", - "title": "dialogflow generateSuggestions Sample", - "origin": "API_DEFINITION", - "description": " Generates all the suggestions using generators configured in the conversation profile. A generator is used only if its trigger event is matched.", - "canonical": true, - "file": "conversations.generate_suggestions.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 68, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GenerateSuggestions", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations.GenerateSuggestions", - "async": true, - "parameters": [ - { - "name": "conversation", - "type": "TYPE_STRING" - }, - { - "name": "latest_message", - "type": "TYPE_STRING" - }, - { - "name": "trigger_events", - "type": "TYPE_ENUM[]" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.GenerateSuggestionsResponse", - "client": { - "shortName": "ConversationsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient" - }, - "method": { - "shortName": "GenerateSuggestions", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations.GenerateSuggestions", - "service": { - "shortName": "Conversations", - "fullName": "google.cloud.dialogflow.v2beta1.Conversations" - } - } - } + "start": 25, + "end": 68, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GenerateSuggestions", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.GenerateSuggestions", + "async": true, + "parameters": [ + { + "name": "conversation", + "type": "TYPE_STRING" + }, + { + "name": "latest_message", + "type": "TYPE_STRING" + }, + { + "name": "trigger_events", + "type": "TYPE_ENUM[]" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.GenerateSuggestionsResponse", + "client": { + "shortName": "ConversationsClient", + "fullName": "google.cloud.dialogflow.v2beta1.ConversationsClient" }, + "method": { + "shortName": "GenerateSuggestions", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.GenerateSuggestions", + "service": { + "shortName": "Conversations", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Documents_ListDocuments_async", + "title": "dialogflow listDocuments Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all documents of the knowledge base. Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`.", + "canonical": true, + "file": "documents.list_documents.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Documents_ListDocuments_async", - "title": "dialogflow listDocuments Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all documents of the knowledge base. Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`.", - "canonical": true, - "file": "documents.list_documents.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 84, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListDocuments", - "fullName": "google.cloud.dialogflow.v2beta1.Documents.ListDocuments", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.ListDocumentsResponse", - "client": { - "shortName": "DocumentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient" - }, - "method": { - "shortName": "ListDocuments", - "fullName": "google.cloud.dialogflow.v2beta1.Documents.ListDocuments", - "service": { - "shortName": "Documents", - "fullName": "google.cloud.dialogflow.v2beta1.Documents" - } - } - } + "start": 25, + "end": 84, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListDocuments", + "fullName": "google.cloud.dialogflow.v2beta1.Documents.ListDocuments", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.ListDocumentsResponse", + "client": { + "shortName": "DocumentsClient", + "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient" }, + "method": { + "shortName": "ListDocuments", + "fullName": "google.cloud.dialogflow.v2beta1.Documents.ListDocuments", + "service": { + "shortName": "Documents", + "fullName": "google.cloud.dialogflow.v2beta1.Documents" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Documents_GetDocument_async", + "title": "dialogflow getDocument Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified document. Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`.", + "canonical": true, + "file": "documents.get_document.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Documents_GetDocument_async", - "title": "dialogflow getDocument Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified document. Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`.", - "canonical": true, - "file": "documents.get_document.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetDocument", - "fullName": "google.cloud.dialogflow.v2beta1.Documents.GetDocument", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.Document", - "client": { - "shortName": "DocumentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient" - }, - "method": { - "shortName": "GetDocument", - "fullName": "google.cloud.dialogflow.v2beta1.Documents.GetDocument", - "service": { - "shortName": "Documents", - "fullName": "google.cloud.dialogflow.v2beta1.Documents" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetDocument", + "fullName": "google.cloud.dialogflow.v2beta1.Documents.GetDocument", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.Document", + "client": { + "shortName": "DocumentsClient", + "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient" }, + "method": { + "shortName": "GetDocument", + "fullName": "google.cloud.dialogflow.v2beta1.Documents.GetDocument", + "service": { + "shortName": "Documents", + "fullName": "google.cloud.dialogflow.v2beta1.Documents" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Documents_CreateDocument_async", + "title": "dialogflow createDocument Sample", + "origin": "API_DEFINITION", + "description": " Creates a new document. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] - `response`: [Document][google.cloud.dialogflow.v2beta1.Document] Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`.", + "canonical": true, + "file": "documents.create_document.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Documents_CreateDocument_async", - "title": "dialogflow createDocument Sample", - "origin": "API_DEFINITION", - "description": " Creates a new document. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] - `response`: [Document][google.cloud.dialogflow.v2beta1.Document] Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`.", - "canonical": true, - "file": "documents.create_document.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 66, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateDocument", - "fullName": "google.cloud.dialogflow.v2beta1.Documents.CreateDocument", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "document", - "type": ".google.cloud.dialogflow.v2beta1.Document" - }, - { - "name": "import_gcs_custom_metadata", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DocumentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient" - }, - "method": { - "shortName": "CreateDocument", - "fullName": "google.cloud.dialogflow.v2beta1.Documents.CreateDocument", - "service": { - "shortName": "Documents", - "fullName": "google.cloud.dialogflow.v2beta1.Documents" - } - } - } + "start": 25, + "end": 66, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateDocument", + "fullName": "google.cloud.dialogflow.v2beta1.Documents.CreateDocument", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "document", + "type": ".google.cloud.dialogflow.v2beta1.Document" + }, + { + "name": "import_gcs_custom_metadata", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DocumentsClient", + "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient" }, + "method": { + "shortName": "CreateDocument", + "fullName": "google.cloud.dialogflow.v2beta1.Documents.CreateDocument", + "service": { + "shortName": "Documents", + "fullName": "google.cloud.dialogflow.v2beta1.Documents" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Documents_ImportDocuments_async", + "title": "dialogflow importDocuments Sample", + "origin": "API_DEFINITION", + "description": " Create documents by importing data from external sources. Dialogflow supports up to 350 documents in each request. If you try to import more, Dialogflow will return an error. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] - `response`: [ImportDocumentsResponse][google.cloud.dialogflow.v2beta1.ImportDocumentsResponse]", + "canonical": true, + "file": "documents.import_documents.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Documents_ImportDocuments_async", - "title": "dialogflow importDocuments Sample", - "origin": "API_DEFINITION", - "description": " Create documents by importing data from external sources. Dialogflow supports up to 350 documents in each request. If you try to import more, Dialogflow will return an error. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] - `response`: [ImportDocumentsResponse][google.cloud.dialogflow.v2beta1.ImportDocumentsResponse]", - "canonical": true, - "file": "documents.import_documents.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 74, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ImportDocuments", - "fullName": "google.cloud.dialogflow.v2beta1.Documents.ImportDocuments", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "gcs_source", - "type": ".google.cloud.dialogflow.v2beta1.GcsSources" - }, - { - "name": "document_template", - "type": ".google.cloud.dialogflow.v2beta1.ImportDocumentTemplate" - }, - { - "name": "import_gcs_custom_metadata", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DocumentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient" - }, - "method": { - "shortName": "ImportDocuments", - "fullName": "google.cloud.dialogflow.v2beta1.Documents.ImportDocuments", - "service": { - "shortName": "Documents", - "fullName": "google.cloud.dialogflow.v2beta1.Documents" - } - } - } + "start": 25, + "end": 74, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ImportDocuments", + "fullName": "google.cloud.dialogflow.v2beta1.Documents.ImportDocuments", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "gcs_source", + "type": ".google.cloud.dialogflow.v2beta1.GcsSources" + }, + { + "name": "document_template", + "type": ".google.cloud.dialogflow.v2beta1.ImportDocumentTemplate" + }, + { + "name": "import_gcs_custom_metadata", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DocumentsClient", + "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient" }, + "method": { + "shortName": "ImportDocuments", + "fullName": "google.cloud.dialogflow.v2beta1.Documents.ImportDocuments", + "service": { + "shortName": "Documents", + "fullName": "google.cloud.dialogflow.v2beta1.Documents" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Documents_DeleteDocument_async", + "title": "dialogflow deleteDocument Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified document. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] - `response`: An [Empty message](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`.", + "canonical": true, + "file": "documents.delete_document.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Documents_DeleteDocument_async", - "title": "dialogflow deleteDocument Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified document. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] - `response`: An [Empty message](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`.", - "canonical": true, - "file": "documents.delete_document.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 56, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteDocument", - "fullName": "google.cloud.dialogflow.v2beta1.Documents.DeleteDocument", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DocumentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient" - }, - "method": { - "shortName": "DeleteDocument", - "fullName": "google.cloud.dialogflow.v2beta1.Documents.DeleteDocument", - "service": { - "shortName": "Documents", - "fullName": "google.cloud.dialogflow.v2beta1.Documents" - } - } - } + "start": 25, + "end": 56, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteDocument", + "fullName": "google.cloud.dialogflow.v2beta1.Documents.DeleteDocument", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DocumentsClient", + "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient" }, + "method": { + "shortName": "DeleteDocument", + "fullName": "google.cloud.dialogflow.v2beta1.Documents.DeleteDocument", + "service": { + "shortName": "Documents", + "fullName": "google.cloud.dialogflow.v2beta1.Documents" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Documents_UpdateDocument_async", + "title": "dialogflow updateDocument Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified document. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] - `response`: [Document][google.cloud.dialogflow.v2beta1.Document] Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`.", + "canonical": true, + "file": "documents.update_document.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Documents_UpdateDocument_async", - "title": "dialogflow updateDocument Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified document. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] - `response`: [Document][google.cloud.dialogflow.v2beta1.Document] Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`.", - "canonical": true, - "file": "documents.update_document.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 60, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateDocument", - "fullName": "google.cloud.dialogflow.v2beta1.Documents.UpdateDocument", - "async": true, - "parameters": [ - { - "name": "document", - "type": ".google.cloud.dialogflow.v2beta1.Document" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DocumentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient" - }, - "method": { - "shortName": "UpdateDocument", - "fullName": "google.cloud.dialogflow.v2beta1.Documents.UpdateDocument", - "service": { - "shortName": "Documents", - "fullName": "google.cloud.dialogflow.v2beta1.Documents" - } - } - } + "start": 25, + "end": 60, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateDocument", + "fullName": "google.cloud.dialogflow.v2beta1.Documents.UpdateDocument", + "async": true, + "parameters": [ + { + "name": "document", + "type": ".google.cloud.dialogflow.v2beta1.Document" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DocumentsClient", + "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient" }, + "method": { + "shortName": "UpdateDocument", + "fullName": "google.cloud.dialogflow.v2beta1.Documents.UpdateDocument", + "service": { + "shortName": "Documents", + "fullName": "google.cloud.dialogflow.v2beta1.Documents" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Documents_ReloadDocument_async", + "title": "dialogflow reloadDocument Sample", + "origin": "API_DEFINITION", + "description": " Reloads the specified document from its specified source, content_uri or content. The previously loaded content of the document will be deleted. Note: Even when the content of the document has not changed, there still may be side effects because of internal implementation changes. Note: If the document source is Google Cloud Storage URI, its metadata will be replaced with the custom metadata from Google Cloud Storage if the `import_gcs_custom_metadata` field is set to true in the request. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] - `response`: [Document][google.cloud.dialogflow.v2beta1.Document] Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`.", + "canonical": true, + "file": "documents.reload_document.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Documents_ReloadDocument_async", - "title": "dialogflow reloadDocument Sample", - "origin": "API_DEFINITION", - "description": " Reloads the specified document from its specified source, content_uri or content. The previously loaded content of the document will be deleted. Note: Even when the content of the document has not changed, there still may be side effects because of internal implementation changes. Note: If the document source is Google Cloud Storage URI, its metadata will be replaced with the custom metadata from Google Cloud Storage if the `import_gcs_custom_metadata` field is set to true in the request. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] - `response`: [Document][google.cloud.dialogflow.v2beta1.Document] Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`.", - "canonical": true, - "file": "documents.reload_document.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 66, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ReloadDocument", - "fullName": "google.cloud.dialogflow.v2beta1.Documents.ReloadDocument", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "gcs_source", - "type": ".google.cloud.dialogflow.v2beta1.GcsSource" - }, - { - "name": "import_gcs_custom_metadata", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DocumentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient" - }, - "method": { - "shortName": "ReloadDocument", - "fullName": "google.cloud.dialogflow.v2beta1.Documents.ReloadDocument", - "service": { - "shortName": "Documents", - "fullName": "google.cloud.dialogflow.v2beta1.Documents" - } - } - } + "start": 25, + "end": 66, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ReloadDocument", + "fullName": "google.cloud.dialogflow.v2beta1.Documents.ReloadDocument", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "gcs_source", + "type": ".google.cloud.dialogflow.v2beta1.GcsSource" + }, + { + "name": "import_gcs_custom_metadata", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DocumentsClient", + "fullName": "google.cloud.dialogflow.v2beta1.DocumentsClient" }, + "method": { + "shortName": "ReloadDocument", + "fullName": "google.cloud.dialogflow.v2beta1.Documents.ReloadDocument", + "service": { + "shortName": "Documents", + "fullName": "google.cloud.dialogflow.v2beta1.Documents" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_EncryptionSpecService_GetEncryptionSpec_async", + "title": "dialogflow getEncryptionSpec Sample", + "origin": "API_DEFINITION", + "description": " Gets location-level encryption key specification.", + "canonical": true, + "file": "encryption_spec_service.get_encryption_spec.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_EncryptionSpecService_GetEncryptionSpec_async", - "title": "dialogflow getEncryptionSpec Sample", - "origin": "API_DEFINITION", - "description": " Gets location-level encryption key specification.", - "canonical": true, - "file": "encryption_spec_service.get_encryption_spec.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 53, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetEncryptionSpec", - "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecService.GetEncryptionSpec", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.EncryptionSpec", - "client": { - "shortName": "EncryptionSpecServiceClient", - "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecServiceClient" - }, - "method": { - "shortName": "GetEncryptionSpec", - "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecService.GetEncryptionSpec", - "service": { - "shortName": "EncryptionSpecService", - "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecService" - } - } - } + "start": 25, + "end": 53, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetEncryptionSpec", + "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecService.GetEncryptionSpec", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.EncryptionSpec", + "client": { + "shortName": "EncryptionSpecServiceClient", + "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecServiceClient" }, + "method": { + "shortName": "GetEncryptionSpec", + "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecService.GetEncryptionSpec", + "service": { + "shortName": "EncryptionSpecService", + "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecService" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_EncryptionSpecService_InitializeEncryptionSpec_async", + "title": "dialogflow initializeEncryptionSpec Sample", + "origin": "API_DEFINITION", + "description": " Initializes a location-level encryption key specification. An error will be thrown if the location has resources already created before the initialization. Once the encryption specification is initialized at a location, it is immutable and all newly created resources under the location will be encrypted with the existing specification.", + "canonical": true, + "file": "encryption_spec_service.initialize_encryption_spec.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_EncryptionSpecService_InitializeEncryptionSpec_async", - "title": "dialogflow initializeEncryptionSpec Sample", - "origin": "API_DEFINITION", - "description": " Initializes a location-level encryption key specification. An error will be thrown if the location has resources already created before the initialization. Once the encryption specification is initialized at a location, it is immutable and all newly created resources under the location will be encrypted with the existing specification.", - "canonical": true, - "file": "encryption_spec_service.initialize_encryption_spec.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 57, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "InitializeEncryptionSpec", - "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecService.InitializeEncryptionSpec", - "async": true, - "parameters": [ - { - "name": "encryption_spec", - "type": ".google.cloud.dialogflow.v2beta1.EncryptionSpec" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EncryptionSpecServiceClient", - "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecServiceClient" - }, - "method": { - "shortName": "InitializeEncryptionSpec", - "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecService.InitializeEncryptionSpec", - "service": { - "shortName": "EncryptionSpecService", - "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecService" - } - } - } + "start": 25, + "end": 57, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "InitializeEncryptionSpec", + "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecService.InitializeEncryptionSpec", + "async": true, + "parameters": [ + { + "name": "encryption_spec", + "type": ".google.cloud.dialogflow.v2beta1.EncryptionSpec" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EncryptionSpecServiceClient", + "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecServiceClient" }, + "method": { + "shortName": "InitializeEncryptionSpec", + "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecService.InitializeEncryptionSpec", + "service": { + "shortName": "EncryptionSpecService", + "fullName": "google.cloud.dialogflow.v2beta1.EncryptionSpecService" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_EntityTypes_ListEntityTypes_async", + "title": "dialogflow listEntityTypes Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all entity types in the specified agent.", + "canonical": true, + "file": "entity_types.list_entity_types.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_EntityTypes_ListEntityTypes_async", - "title": "dialogflow listEntityTypes Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all entity types in the specified agent.", - "canonical": true, - "file": "entity_types.list_entity_types.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 75, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListEntityTypes", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.ListEntityTypes", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.ListEntityTypesResponse", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient" - }, - "method": { - "shortName": "ListEntityTypes", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.ListEntityTypes", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes" - } - } - } + "start": 25, + "end": 75, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListEntityTypes", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.ListEntityTypes", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.ListEntityTypesResponse", + "client": { + "shortName": "EntityTypesClient", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient" }, + "method": { + "shortName": "ListEntityTypes", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.ListEntityTypes", + "service": { + "shortName": "EntityTypes", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_EntityTypes_GetEntityType_async", + "title": "dialogflow getEntityType Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified entity type.", + "canonical": true, + "file": "entity_types.get_entity_type.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_EntityTypes_GetEntityType_async", - "title": "dialogflow getEntityType Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified entity type.", - "canonical": true, - "file": "entity_types.get_entity_type.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 65, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetEntityType", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.GetEntityType", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.EntityType", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient" - }, - "method": { - "shortName": "GetEntityType", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.GetEntityType", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes" - } - } - } + "start": 25, + "end": 65, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetEntityType", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.GetEntityType", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.EntityType", + "client": { + "shortName": "EntityTypesClient", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient" }, + "method": { + "shortName": "GetEntityType", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.GetEntityType", + "service": { + "shortName": "EntityTypes", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_EntityTypes_CreateEntityType_async", + "title": "dialogflow createEntityType Sample", + "origin": "API_DEFINITION", + "description": " Creates an entity type in the specified agent. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", + "canonical": true, + "file": "entity_types.create_entity_type.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_EntityTypes_CreateEntityType_async", - "title": "dialogflow createEntityType Sample", - "origin": "API_DEFINITION", - "description": " Creates an entity type in the specified agent. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", - "canonical": true, - "file": "entity_types.create_entity_type.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 69, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateEntityType", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.CreateEntityType", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "entity_type", - "type": ".google.cloud.dialogflow.v2beta1.EntityType" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.EntityType", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient" - }, - "method": { - "shortName": "CreateEntityType", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.CreateEntityType", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes" - } - } - } + "start": 25, + "end": 69, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateEntityType", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.CreateEntityType", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "entity_type", + "type": ".google.cloud.dialogflow.v2beta1.EntityType" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.EntityType", + "client": { + "shortName": "EntityTypesClient", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient" }, + "method": { + "shortName": "CreateEntityType", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.CreateEntityType", + "service": { + "shortName": "EntityTypes", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_EntityTypes_UpdateEntityType_async", + "title": "dialogflow updateEntityType Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified entity type. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", + "canonical": true, + "file": "entity_types.update_entity_type.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_EntityTypes_UpdateEntityType_async", - "title": "dialogflow updateEntityType Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified entity type. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", - "canonical": true, - "file": "entity_types.update_entity_type.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 65, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateEntityType", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.UpdateEntityType", - "async": true, - "parameters": [ - { - "name": "entity_type", - "type": ".google.cloud.dialogflow.v2beta1.EntityType" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.EntityType", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient" - }, - "method": { - "shortName": "UpdateEntityType", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.UpdateEntityType", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes" - } - } - } + "start": 25, + "end": 65, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateEntityType", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.UpdateEntityType", + "async": true, + "parameters": [ + { + "name": "entity_type", + "type": ".google.cloud.dialogflow.v2beta1.EntityType" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.EntityType", + "client": { + "shortName": "EntityTypesClient", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient" }, + "method": { + "shortName": "UpdateEntityType", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.UpdateEntityType", + "service": { + "shortName": "EntityTypes", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_EntityTypes_DeleteEntityType_async", + "title": "dialogflow deleteEntityType Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified entity type. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", + "canonical": true, + "file": "entity_types.delete_entity_type.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_EntityTypes_DeleteEntityType_async", - "title": "dialogflow deleteEntityType Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified entity type. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", - "canonical": true, - "file": "entity_types.delete_entity_type.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 57, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteEntityType", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.DeleteEntityType", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient" - }, - "method": { - "shortName": "DeleteEntityType", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.DeleteEntityType", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes" - } - } - } + "start": 25, + "end": 57, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteEntityType", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.DeleteEntityType", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "EntityTypesClient", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient" }, + "method": { + "shortName": "DeleteEntityType", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.DeleteEntityType", + "service": { + "shortName": "EntityTypes", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_EntityTypes_BatchUpdateEntityTypes_async", + "title": "dialogflow batchUpdateEntityTypes Sample", + "origin": "API_DEFINITION", + "description": " Updates/Creates multiple entity types in the specified agent. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [BatchUpdateEntityTypesResponse][google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesResponse] Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", + "canonical": true, + "file": "entity_types.batch_update_entity_types.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_EntityTypes_BatchUpdateEntityTypes_async", - "title": "dialogflow batchUpdateEntityTypes Sample", - "origin": "API_DEFINITION", - "description": " Updates/Creates multiple entity types in the specified agent. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [BatchUpdateEntityTypesResponse][google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesResponse] Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", - "canonical": true, - "file": "entity_types.batch_update_entity_types.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 80, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "BatchUpdateEntityTypes", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "entity_type_batch_uri", - "type": "TYPE_STRING" - }, - { - "name": "entity_type_batch_inline", - "type": ".google.cloud.dialogflow.v2beta1.EntityTypeBatch" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient" - }, - "method": { - "shortName": "BatchUpdateEntityTypes", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes" - } - } - } + "start": 25, + "end": 80, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "BatchUpdateEntityTypes", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "entity_type_batch_uri", + "type": "TYPE_STRING" + }, + { + "name": "entity_type_batch_inline", + "type": ".google.cloud.dialogflow.v2beta1.EntityTypeBatch" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EntityTypesClient", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient" }, + "method": { + "shortName": "BatchUpdateEntityTypes", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes", + "service": { + "shortName": "EntityTypes", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_EntityTypes_BatchDeleteEntityTypes_async", + "title": "dialogflow batchDeleteEntityTypes Sample", + "origin": "API_DEFINITION", + "description": " Deletes entity types in the specified agent. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](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 documentation](https://cloud.google.com/dialogflow/es/docs/training).", + "canonical": true, + "file": "entity_types.batch_delete_entity_types.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_EntityTypes_BatchDeleteEntityTypes_async", - "title": "dialogflow batchDeleteEntityTypes Sample", - "origin": "API_DEFINITION", - "description": " Deletes entity types in the specified agent. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](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 documentation](https://cloud.google.com/dialogflow/es/docs/training).", - "canonical": true, - "file": "entity_types.batch_delete_entity_types.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 63, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "BatchDeleteEntityTypes", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.BatchDeleteEntityTypes", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "entity_type_names", - "type": "TYPE_STRING[]" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient" - }, - "method": { - "shortName": "BatchDeleteEntityTypes", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.BatchDeleteEntityTypes", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes" - } - } - } + "start": 25, + "end": 63, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "BatchDeleteEntityTypes", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.BatchDeleteEntityTypes", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "entity_type_names", + "type": "TYPE_STRING[]" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EntityTypesClient", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient" }, + "method": { + "shortName": "BatchDeleteEntityTypes", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.BatchDeleteEntityTypes", + "service": { + "shortName": "EntityTypes", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_EntityTypes_BatchCreateEntities_async", + "title": "dialogflow batchCreateEntities Sample", + "origin": "API_DEFINITION", + "description": " Creates multiple new entities in the specified entity type. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](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 documentation](https://cloud.google.com/dialogflow/es/docs/training).", + "canonical": true, + "file": "entity_types.batch_create_entities.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_EntityTypes_BatchCreateEntities_async", - "title": "dialogflow batchCreateEntities Sample", - "origin": "API_DEFINITION", - "description": " Creates multiple new entities in the specified entity type. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](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 documentation](https://cloud.google.com/dialogflow/es/docs/training).", - "canonical": true, - "file": "entity_types.batch_create_entities.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 71, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "BatchCreateEntities", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.BatchCreateEntities", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "entities", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient" - }, - "method": { - "shortName": "BatchCreateEntities", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.BatchCreateEntities", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes" - } - } - } + "start": 25, + "end": 71, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "BatchCreateEntities", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.BatchCreateEntities", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "entities", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EntityTypesClient", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient" }, + "method": { + "shortName": "BatchCreateEntities", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.BatchCreateEntities", + "service": { + "shortName": "EntityTypes", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_EntityTypes_BatchUpdateEntities_async", + "title": "dialogflow batchUpdateEntities Sample", + "origin": "API_DEFINITION", + "description": " Updates or creates multiple entities in the specified entity type. This method does not affect entities in the entity type that aren't explicitly specified in the request. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training). This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)", + "canonical": true, + "file": "entity_types.batch_update_entities.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_EntityTypes_BatchUpdateEntities_async", - "title": "dialogflow batchUpdateEntities Sample", - "origin": "API_DEFINITION", - "description": " Updates or creates multiple entities in the specified entity type. This method does not affect entities in the entity type that aren't explicitly specified in the request. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training). This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)", - "canonical": true, - "file": "entity_types.batch_update_entities.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 75, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "BatchUpdateEntities", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntities", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "entities", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient" - }, - "method": { - "shortName": "BatchUpdateEntities", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntities", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes" - } - } - } + "start": 25, + "end": 75, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "BatchUpdateEntities", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntities", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "entities", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EntityTypesClient", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient" }, + "method": { + "shortName": "BatchUpdateEntities", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntities", + "service": { + "shortName": "EntityTypes", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_EntityTypes_BatchDeleteEntities_async", + "title": "dialogflow batchDeleteEntities Sample", + "origin": "API_DEFINITION", + "description": " Deletes entities in the specified entity type. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](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 documentation](https://cloud.google.com/dialogflow/es/docs/training).", + "canonical": true, + "file": "entity_types.batch_delete_entities.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_EntityTypes_BatchDeleteEntities_async", - "title": "dialogflow batchDeleteEntities Sample", - "origin": "API_DEFINITION", - "description": " Deletes entities in the specified entity type. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](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 documentation](https://cloud.google.com/dialogflow/es/docs/training).", - "canonical": true, - "file": "entity_types.batch_delete_entities.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 73, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "BatchDeleteEntities", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.BatchDeleteEntities", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "entity_values", - "type": "TYPE_STRING[]" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EntityTypesClient", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient" - }, - "method": { - "shortName": "BatchDeleteEntities", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.BatchDeleteEntities", - "service": { - "shortName": "EntityTypes", - "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes" - } - } - } + "start": 25, + "end": 73, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "BatchDeleteEntities", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.BatchDeleteEntities", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "entity_values", + "type": "TYPE_STRING[]" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EntityTypesClient", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypesClient" }, + "method": { + "shortName": "BatchDeleteEntities", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes.BatchDeleteEntities", + "service": { + "shortName": "EntityTypes", + "fullName": "google.cloud.dialogflow.v2beta1.EntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Environments_ListEnvironments_async", + "title": "dialogflow listEnvironments Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all non-draft environments of the specified agent.", + "canonical": true, + "file": "environments.list_environments.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Environments_ListEnvironments_async", - "title": "dialogflow listEnvironments Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all non-draft environments of the specified agent.", - "canonical": true, - "file": "environments.list_environments.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 67, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListEnvironments", - "fullName": "google.cloud.dialogflow.v2beta1.Environments.ListEnvironments", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient" - }, - "method": { - "shortName": "ListEnvironments", - "fullName": "google.cloud.dialogflow.v2beta1.Environments.ListEnvironments", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.v2beta1.Environments" - } - } - } + "start": 25, + "end": 67, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListEnvironments", + "fullName": "google.cloud.dialogflow.v2beta1.Environments.ListEnvironments", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse", + "client": { + "shortName": "EnvironmentsClient", + "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient" }, + "method": { + "shortName": "ListEnvironments", + "fullName": "google.cloud.dialogflow.v2beta1.Environments.ListEnvironments", + "service": { + "shortName": "Environments", + "fullName": "google.cloud.dialogflow.v2beta1.Environments" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Environments_GetEnvironment_async", + "title": "dialogflow getEnvironment Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified agent environment.", + "canonical": true, + "file": "environments.get_environment.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Environments_GetEnvironment_async", - "title": "dialogflow getEnvironment Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified agent environment.", - "canonical": true, - "file": "environments.get_environment.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 57, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetEnvironment", - "fullName": "google.cloud.dialogflow.v2beta1.Environments.GetEnvironment", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.Environment", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient" - }, - "method": { - "shortName": "GetEnvironment", - "fullName": "google.cloud.dialogflow.v2beta1.Environments.GetEnvironment", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.v2beta1.Environments" - } - } - } + "start": 25, + "end": 57, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetEnvironment", + "fullName": "google.cloud.dialogflow.v2beta1.Environments.GetEnvironment", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.Environment", + "client": { + "shortName": "EnvironmentsClient", + "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient" }, + "method": { + "shortName": "GetEnvironment", + "fullName": "google.cloud.dialogflow.v2beta1.Environments.GetEnvironment", + "service": { + "shortName": "Environments", + "fullName": "google.cloud.dialogflow.v2beta1.Environments" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Environments_CreateEnvironment_async", + "title": "dialogflow createEnvironment Sample", + "origin": "API_DEFINITION", + "description": " Creates an agent environment.", + "canonical": true, + "file": "environments.create_environment.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Environments_CreateEnvironment_async", - "title": "dialogflow createEnvironment Sample", - "origin": "API_DEFINITION", - "description": " Creates an agent environment.", - "canonical": true, - "file": "environments.create_environment.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 66, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateEnvironment", - "fullName": "google.cloud.dialogflow.v2beta1.Environments.CreateEnvironment", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "environment", - "type": ".google.cloud.dialogflow.v2beta1.Environment" - }, - { - "name": "environment_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.Environment", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient" - }, - "method": { - "shortName": "CreateEnvironment", - "fullName": "google.cloud.dialogflow.v2beta1.Environments.CreateEnvironment", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.v2beta1.Environments" - } - } - } + "start": 25, + "end": 66, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateEnvironment", + "fullName": "google.cloud.dialogflow.v2beta1.Environments.CreateEnvironment", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "environment", + "type": ".google.cloud.dialogflow.v2beta1.Environment" + }, + { + "name": "environment_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.Environment", + "client": { + "shortName": "EnvironmentsClient", + "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient" }, + "method": { + "shortName": "CreateEnvironment", + "fullName": "google.cloud.dialogflow.v2beta1.Environments.CreateEnvironment", + "service": { + "shortName": "Environments", + "fullName": "google.cloud.dialogflow.v2beta1.Environments" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Environments_UpdateEnvironment_async", + "title": "dialogflow updateEnvironment Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified agent environment. This method allows you to deploy new agent versions into the environment. When an environment is pointed to a new agent version by setting `environment.agent_version`, the environment is temporarily set to the `LOADING` state. During that time, the environment keeps on serving the previous version of the agent. After the new agent version is done loading, the environment is set back to the `RUNNING` state. You can use \"-\" as Environment ID in environment name to update version in \"draft\" environment. WARNING: this will negate all recent changes to draft and can't be undone. You may want to save the draft to a version before calling this function.", + "canonical": true, + "file": "environments.update_environment.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Environments_UpdateEnvironment_async", - "title": "dialogflow updateEnvironment Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified agent environment. This method allows you to deploy new agent versions into the environment. When an environment is pointed to a new agent version by setting `environment.agent_version`, the environment is temporarily set to the `LOADING` state. During that time, the environment keeps on serving the previous version of the agent. After the new agent version is done loading, the environment is set back to the `RUNNING` state. You can use \"-\" as Environment ID in environment name to update version in \"draft\" environment. WARNING: this will negate all recent changes to draft and can't be undone. You may want to save the draft to a version before calling this function.", - "canonical": true, - "file": "environments.update_environment.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 65, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateEnvironment", - "fullName": "google.cloud.dialogflow.v2beta1.Environments.UpdateEnvironment", - "async": true, - "parameters": [ - { - "name": "environment", - "type": ".google.cloud.dialogflow.v2beta1.Environment" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - }, - { - "name": "allow_load_to_draft_and_discard_changes", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.Environment", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient" - }, - "method": { - "shortName": "UpdateEnvironment", - "fullName": "google.cloud.dialogflow.v2beta1.Environments.UpdateEnvironment", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.v2beta1.Environments" - } - } - } + "start": 25, + "end": 65, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateEnvironment", + "fullName": "google.cloud.dialogflow.v2beta1.Environments.UpdateEnvironment", + "async": true, + "parameters": [ + { + "name": "environment", + "type": ".google.cloud.dialogflow.v2beta1.Environment" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + }, + { + "name": "allow_load_to_draft_and_discard_changes", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.Environment", + "client": { + "shortName": "EnvironmentsClient", + "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient" }, + "method": { + "shortName": "UpdateEnvironment", + "fullName": "google.cloud.dialogflow.v2beta1.Environments.UpdateEnvironment", + "service": { + "shortName": "Environments", + "fullName": "google.cloud.dialogflow.v2beta1.Environments" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Environments_DeleteEnvironment_async", + "title": "dialogflow deleteEnvironment Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified agent environment.", + "canonical": true, + "file": "environments.delete_environment.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Environments_DeleteEnvironment_async", - "title": "dialogflow deleteEnvironment Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified agent environment.", - "canonical": true, - "file": "environments.delete_environment.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 57, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteEnvironment", - "fullName": "google.cloud.dialogflow.v2beta1.Environments.DeleteEnvironment", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient" - }, - "method": { - "shortName": "DeleteEnvironment", - "fullName": "google.cloud.dialogflow.v2beta1.Environments.DeleteEnvironment", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.v2beta1.Environments" - } - } - } + "start": 25, + "end": 57, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteEnvironment", + "fullName": "google.cloud.dialogflow.v2beta1.Environments.DeleteEnvironment", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "EnvironmentsClient", + "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient" }, + "method": { + "shortName": "DeleteEnvironment", + "fullName": "google.cloud.dialogflow.v2beta1.Environments.DeleteEnvironment", + "service": { + "shortName": "Environments", + "fullName": "google.cloud.dialogflow.v2beta1.Environments" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Environments_GetEnvironmentHistory_async", + "title": "dialogflow getEnvironmentHistory Sample", + "origin": "API_DEFINITION", + "description": " Gets the history of the specified environment.", + "canonical": true, + "file": "environments.get_environment_history.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Environments_GetEnvironmentHistory_async", - "title": "dialogflow getEnvironmentHistory Sample", - "origin": "API_DEFINITION", - "description": " Gets the history of the specified environment.", - "canonical": true, - "file": "environments.get_environment_history.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 68, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetEnvironmentHistory", - "fullName": "google.cloud.dialogflow.v2beta1.Environments.GetEnvironmentHistory", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.EnvironmentHistory", - "client": { - "shortName": "EnvironmentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient" - }, - "method": { - "shortName": "GetEnvironmentHistory", - "fullName": "google.cloud.dialogflow.v2beta1.Environments.GetEnvironmentHistory", - "service": { - "shortName": "Environments", - "fullName": "google.cloud.dialogflow.v2beta1.Environments" - } - } - } + "start": 25, + "end": 68, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetEnvironmentHistory", + "fullName": "google.cloud.dialogflow.v2beta1.Environments.GetEnvironmentHistory", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.EnvironmentHistory", + "client": { + "shortName": "EnvironmentsClient", + "fullName": "google.cloud.dialogflow.v2beta1.EnvironmentsClient" }, + "method": { + "shortName": "GetEnvironmentHistory", + "fullName": "google.cloud.dialogflow.v2beta1.Environments.GetEnvironmentHistory", + "service": { + "shortName": "Environments", + "fullName": "google.cloud.dialogflow.v2beta1.Environments" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Fulfillments_GetFulfillment_async", + "title": "dialogflow getFulfillment Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the fulfillment.", + "canonical": true, + "file": "fulfillments.get_fulfillment.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Fulfillments_GetFulfillment_async", - "title": "dialogflow getFulfillment Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the fulfillment.", - "canonical": true, - "file": "fulfillments.get_fulfillment.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 56, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetFulfillment", - "fullName": "google.cloud.dialogflow.v2beta1.Fulfillments.GetFulfillment", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.Fulfillment", - "client": { - "shortName": "FulfillmentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.FulfillmentsClient" - }, - "method": { - "shortName": "GetFulfillment", - "fullName": "google.cloud.dialogflow.v2beta1.Fulfillments.GetFulfillment", - "service": { - "shortName": "Fulfillments", - "fullName": "google.cloud.dialogflow.v2beta1.Fulfillments" - } - } - } + "start": 25, + "end": 56, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetFulfillment", + "fullName": "google.cloud.dialogflow.v2beta1.Fulfillments.GetFulfillment", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.Fulfillment", + "client": { + "shortName": "FulfillmentsClient", + "fullName": "google.cloud.dialogflow.v2beta1.FulfillmentsClient" }, + "method": { + "shortName": "GetFulfillment", + "fullName": "google.cloud.dialogflow.v2beta1.Fulfillments.GetFulfillment", + "service": { + "shortName": "Fulfillments", + "fullName": "google.cloud.dialogflow.v2beta1.Fulfillments" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Fulfillments_UpdateFulfillment_async", + "title": "dialogflow updateFulfillment Sample", + "origin": "API_DEFINITION", + "description": " Updates the fulfillment.", + "canonical": true, + "file": "fulfillments.update_fulfillment.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Fulfillments_UpdateFulfillment_async", - "title": "dialogflow updateFulfillment Sample", - "origin": "API_DEFINITION", - "description": " Updates the fulfillment.", - "canonical": true, - "file": "fulfillments.update_fulfillment.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateFulfillment", - "fullName": "google.cloud.dialogflow.v2beta1.Fulfillments.UpdateFulfillment", - "async": true, - "parameters": [ - { - "name": "fulfillment", - "type": ".google.cloud.dialogflow.v2beta1.Fulfillment" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.Fulfillment", - "client": { - "shortName": "FulfillmentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.FulfillmentsClient" - }, - "method": { - "shortName": "UpdateFulfillment", - "fullName": "google.cloud.dialogflow.v2beta1.Fulfillments.UpdateFulfillment", - "service": { - "shortName": "Fulfillments", - "fullName": "google.cloud.dialogflow.v2beta1.Fulfillments" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateFulfillment", + "fullName": "google.cloud.dialogflow.v2beta1.Fulfillments.UpdateFulfillment", + "async": true, + "parameters": [ + { + "name": "fulfillment", + "type": ".google.cloud.dialogflow.v2beta1.Fulfillment" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.Fulfillment", + "client": { + "shortName": "FulfillmentsClient", + "fullName": "google.cloud.dialogflow.v2beta1.FulfillmentsClient" }, + "method": { + "shortName": "UpdateFulfillment", + "fullName": "google.cloud.dialogflow.v2beta1.Fulfillments.UpdateFulfillment", + "service": { + "shortName": "Fulfillments", + "fullName": "google.cloud.dialogflow.v2beta1.Fulfillments" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Generators_CreateGenerator_async", + "title": "dialogflow createGenerator Sample", + "origin": "API_DEFINITION", + "description": " Creates a generator.", + "canonical": true, + "file": "generators.create_generator.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Generators_CreateGenerator_async", - "title": "dialogflow createGenerator Sample", - "origin": "API_DEFINITION", - "description": " Creates a generator.", - "canonical": true, - "file": "generators.create_generator.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 71, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateGenerator", - "fullName": "google.cloud.dialogflow.v2beta1.Generators.CreateGenerator", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "generator", - "type": ".google.cloud.dialogflow.v2beta1.Generator" - }, - { - "name": "generator_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.Generator", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.v2beta1.GeneratorsClient" - }, - "method": { - "shortName": "CreateGenerator", - "fullName": "google.cloud.dialogflow.v2beta1.Generators.CreateGenerator", - "service": { - "shortName": "Generators", - "fullName": "google.cloud.dialogflow.v2beta1.Generators" - } - } - } + "start": 25, + "end": 71, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateGenerator", + "fullName": "google.cloud.dialogflow.v2beta1.Generators.CreateGenerator", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "generator", + "type": ".google.cloud.dialogflow.v2beta1.Generator" + }, + { + "name": "generator_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.Generator", + "client": { + "shortName": "GeneratorsClient", + "fullName": "google.cloud.dialogflow.v2beta1.GeneratorsClient" }, + "method": { + "shortName": "CreateGenerator", + "fullName": "google.cloud.dialogflow.v2beta1.Generators.CreateGenerator", + "service": { + "shortName": "Generators", + "fullName": "google.cloud.dialogflow.v2beta1.Generators" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Generators_GetGenerator_async", + "title": "dialogflow getGenerator Sample", + "origin": "API_DEFINITION", + "description": " Retrieves a generator.", + "canonical": true, + "file": "generators.get_generator.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Generators_GetGenerator_async", - "title": "dialogflow getGenerator Sample", - "origin": "API_DEFINITION", - "description": " Retrieves a generator.", - "canonical": true, - "file": "generators.get_generator.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetGenerator", - "fullName": "google.cloud.dialogflow.v2beta1.Generators.GetGenerator", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.Generator", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.v2beta1.GeneratorsClient" - }, - "method": { - "shortName": "GetGenerator", - "fullName": "google.cloud.dialogflow.v2beta1.Generators.GetGenerator", - "service": { - "shortName": "Generators", - "fullName": "google.cloud.dialogflow.v2beta1.Generators" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetGenerator", + "fullName": "google.cloud.dialogflow.v2beta1.Generators.GetGenerator", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.Generator", + "client": { + "shortName": "GeneratorsClient", + "fullName": "google.cloud.dialogflow.v2beta1.GeneratorsClient" }, + "method": { + "shortName": "GetGenerator", + "fullName": "google.cloud.dialogflow.v2beta1.Generators.GetGenerator", + "service": { + "shortName": "Generators", + "fullName": "google.cloud.dialogflow.v2beta1.Generators" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Generators_ListGenerators_async", + "title": "dialogflow listGenerators Sample", + "origin": "API_DEFINITION", + "description": " Lists generators.", + "canonical": true, + "file": "generators.list_generators.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Generators_ListGenerators_async", - "title": "dialogflow listGenerators Sample", - "origin": "API_DEFINITION", - "description": " Lists generators.", - "canonical": true, - "file": "generators.list_generators.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 65, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListGenerators", - "fullName": "google.cloud.dialogflow.v2beta1.Generators.ListGenerators", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.ListGeneratorsResponse", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.v2beta1.GeneratorsClient" - }, - "method": { - "shortName": "ListGenerators", - "fullName": "google.cloud.dialogflow.v2beta1.Generators.ListGenerators", - "service": { - "shortName": "Generators", - "fullName": "google.cloud.dialogflow.v2beta1.Generators" - } - } - } + "start": 25, + "end": 65, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListGenerators", + "fullName": "google.cloud.dialogflow.v2beta1.Generators.ListGenerators", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.ListGeneratorsResponse", + "client": { + "shortName": "GeneratorsClient", + "fullName": "google.cloud.dialogflow.v2beta1.GeneratorsClient" }, + "method": { + "shortName": "ListGenerators", + "fullName": "google.cloud.dialogflow.v2beta1.Generators.ListGenerators", + "service": { + "shortName": "Generators", + "fullName": "google.cloud.dialogflow.v2beta1.Generators" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Generators_DeleteGenerator_async", + "title": "dialogflow deleteGenerator Sample", + "origin": "API_DEFINITION", + "description": " Deletes a generator.", + "canonical": true, + "file": "generators.delete_generator.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Generators_DeleteGenerator_async", - "title": "dialogflow deleteGenerator Sample", - "origin": "API_DEFINITION", - "description": " Deletes a generator.", - "canonical": true, - "file": "generators.delete_generator.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteGenerator", - "fullName": "google.cloud.dialogflow.v2beta1.Generators.DeleteGenerator", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.v2beta1.GeneratorsClient" - }, - "method": { - "shortName": "DeleteGenerator", - "fullName": "google.cloud.dialogflow.v2beta1.Generators.DeleteGenerator", - "service": { - "shortName": "Generators", - "fullName": "google.cloud.dialogflow.v2beta1.Generators" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteGenerator", + "fullName": "google.cloud.dialogflow.v2beta1.Generators.DeleteGenerator", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "GeneratorsClient", + "fullName": "google.cloud.dialogflow.v2beta1.GeneratorsClient" }, + "method": { + "shortName": "DeleteGenerator", + "fullName": "google.cloud.dialogflow.v2beta1.Generators.DeleteGenerator", + "service": { + "shortName": "Generators", + "fullName": "google.cloud.dialogflow.v2beta1.Generators" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Generators_UpdateGenerator_async", + "title": "dialogflow updateGenerator Sample", + "origin": "API_DEFINITION", + "description": " Updates a generator.", + "canonical": true, + "file": "generators.update_generator.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Generators_UpdateGenerator_async", - "title": "dialogflow updateGenerator Sample", - "origin": "API_DEFINITION", - "description": " Updates a generator.", - "canonical": true, - "file": "generators.update_generator.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 58, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateGenerator", - "fullName": "google.cloud.dialogflow.v2beta1.Generators.UpdateGenerator", - "async": true, - "parameters": [ - { - "name": "generator", - "type": ".google.cloud.dialogflow.v2beta1.Generator" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.Generator", - "client": { - "shortName": "GeneratorsClient", - "fullName": "google.cloud.dialogflow.v2beta1.GeneratorsClient" - }, - "method": { - "shortName": "UpdateGenerator", - "fullName": "google.cloud.dialogflow.v2beta1.Generators.UpdateGenerator", - "service": { - "shortName": "Generators", - "fullName": "google.cloud.dialogflow.v2beta1.Generators" - } - } - } + "start": 25, + "end": 58, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateGenerator", + "fullName": "google.cloud.dialogflow.v2beta1.Generators.UpdateGenerator", + "async": true, + "parameters": [ + { + "name": "generator", + "type": ".google.cloud.dialogflow.v2beta1.Generator" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.Generator", + "client": { + "shortName": "GeneratorsClient", + "fullName": "google.cloud.dialogflow.v2beta1.GeneratorsClient" }, + "method": { + "shortName": "UpdateGenerator", + "fullName": "google.cloud.dialogflow.v2beta1.Generators.UpdateGenerator", + "service": { + "shortName": "Generators", + "fullName": "google.cloud.dialogflow.v2beta1.Generators" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Intents_ListIntents_async", + "title": "dialogflow listIntents Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all intents in the specified agent.", + "canonical": true, + "file": "intents.list_intents.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Intents_ListIntents_async", - "title": "dialogflow listIntents Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all intents in the specified agent.", - "canonical": true, - "file": "intents.list_intents.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 84, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListIntents", - "fullName": "google.cloud.dialogflow.v2beta1.Intents.ListIntents", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - }, - { - "name": "intent_view", - "type": ".google.cloud.dialogflow.v2beta1.IntentView" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.ListIntentsResponse", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient" - }, - "method": { - "shortName": "ListIntents", - "fullName": "google.cloud.dialogflow.v2beta1.Intents.ListIntents", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.v2beta1.Intents" - } - } - } + "start": 25, + "end": 84, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListIntents", + "fullName": "google.cloud.dialogflow.v2beta1.Intents.ListIntents", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + }, + { + "name": "intent_view", + "type": ".google.cloud.dialogflow.v2beta1.IntentView" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.ListIntentsResponse", + "client": { + "shortName": "IntentsClient", + "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient" }, + "method": { + "shortName": "ListIntents", + "fullName": "google.cloud.dialogflow.v2beta1.Intents.ListIntents", + "service": { + "shortName": "Intents", + "fullName": "google.cloud.dialogflow.v2beta1.Intents" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Intents_GetIntent_async", + "title": "dialogflow getIntent Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified intent.", + "canonical": true, + "file": "intents.get_intent.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Intents_GetIntent_async", - "title": "dialogflow getIntent Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified intent.", - "canonical": true, - "file": "intents.get_intent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 68, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetIntent", - "fullName": "google.cloud.dialogflow.v2beta1.Intents.GetIntent", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - }, - { - "name": "intent_view", - "type": ".google.cloud.dialogflow.v2beta1.IntentView" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.Intent", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient" - }, - "method": { - "shortName": "GetIntent", - "fullName": "google.cloud.dialogflow.v2beta1.Intents.GetIntent", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.v2beta1.Intents" - } - } - } + "start": 25, + "end": 68, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetIntent", + "fullName": "google.cloud.dialogflow.v2beta1.Intents.GetIntent", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + }, + { + "name": "intent_view", + "type": ".google.cloud.dialogflow.v2beta1.IntentView" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.Intent", + "client": { + "shortName": "IntentsClient", + "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient" }, + "method": { + "shortName": "GetIntent", + "fullName": "google.cloud.dialogflow.v2beta1.Intents.GetIntent", + "service": { + "shortName": "Intents", + "fullName": "google.cloud.dialogflow.v2beta1.Intents" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Intents_CreateIntent_async", + "title": "dialogflow createIntent Sample", + "origin": "API_DEFINITION", + "description": " Creates an intent in the specified agent. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", + "canonical": true, + "file": "intents.create_intent.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Intents_CreateIntent_async", - "title": "dialogflow createIntent Sample", - "origin": "API_DEFINITION", - "description": " Creates an intent in the specified agent. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", - "canonical": true, - "file": "intents.create_intent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 73, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateIntent", - "fullName": "google.cloud.dialogflow.v2beta1.Intents.CreateIntent", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "intent", - "type": ".google.cloud.dialogflow.v2beta1.Intent" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - }, - { - "name": "intent_view", - "type": ".google.cloud.dialogflow.v2beta1.IntentView" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.Intent", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient" - }, - "method": { - "shortName": "CreateIntent", - "fullName": "google.cloud.dialogflow.v2beta1.Intents.CreateIntent", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.v2beta1.Intents" - } - } - } + "start": 25, + "end": 73, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateIntent", + "fullName": "google.cloud.dialogflow.v2beta1.Intents.CreateIntent", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "intent", + "type": ".google.cloud.dialogflow.v2beta1.Intent" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + }, + { + "name": "intent_view", + "type": ".google.cloud.dialogflow.v2beta1.IntentView" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.Intent", + "client": { + "shortName": "IntentsClient", + "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient" }, + "method": { + "shortName": "CreateIntent", + "fullName": "google.cloud.dialogflow.v2beta1.Intents.CreateIntent", + "service": { + "shortName": "Intents", + "fullName": "google.cloud.dialogflow.v2beta1.Intents" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Intents_UpdateIntent_async", + "title": "dialogflow updateIntent Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified intent. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", + "canonical": true, + "file": "intents.update_intent.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Intents_UpdateIntent_async", - "title": "dialogflow updateIntent Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified intent. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", - "canonical": true, - "file": "intents.update_intent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 69, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateIntent", - "fullName": "google.cloud.dialogflow.v2beta1.Intents.UpdateIntent", - "async": true, - "parameters": [ - { - "name": "intent", - "type": ".google.cloud.dialogflow.v2beta1.Intent" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - }, - { - "name": "intent_view", - "type": ".google.cloud.dialogflow.v2beta1.IntentView" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.Intent", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient" - }, - "method": { - "shortName": "UpdateIntent", - "fullName": "google.cloud.dialogflow.v2beta1.Intents.UpdateIntent", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.v2beta1.Intents" - } - } - } + "start": 25, + "end": 69, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateIntent", + "fullName": "google.cloud.dialogflow.v2beta1.Intents.UpdateIntent", + "async": true, + "parameters": [ + { + "name": "intent", + "type": ".google.cloud.dialogflow.v2beta1.Intent" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + }, + { + "name": "intent_view", + "type": ".google.cloud.dialogflow.v2beta1.IntentView" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.Intent", + "client": { + "shortName": "IntentsClient", + "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient" }, + "method": { + "shortName": "UpdateIntent", + "fullName": "google.cloud.dialogflow.v2beta1.Intents.UpdateIntent", + "service": { + "shortName": "Intents", + "fullName": "google.cloud.dialogflow.v2beta1.Intents" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Intents_DeleteIntent_async", + "title": "dialogflow deleteIntent Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified intent and its direct or indirect followup intents. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", + "canonical": true, + "file": "intents.delete_intent.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Intents_DeleteIntent_async", - "title": "dialogflow deleteIntent Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified intent and its direct or indirect followup intents. Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", - "canonical": true, - "file": "intents.delete_intent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 57, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteIntent", - "fullName": "google.cloud.dialogflow.v2beta1.Intents.DeleteIntent", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient" - }, - "method": { - "shortName": "DeleteIntent", - "fullName": "google.cloud.dialogflow.v2beta1.Intents.DeleteIntent", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.v2beta1.Intents" - } - } - } + "start": 25, + "end": 57, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteIntent", + "fullName": "google.cloud.dialogflow.v2beta1.Intents.DeleteIntent", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "IntentsClient", + "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient" }, + "method": { + "shortName": "DeleteIntent", + "fullName": "google.cloud.dialogflow.v2beta1.Intents.DeleteIntent", + "service": { + "shortName": "Intents", + "fullName": "google.cloud.dialogflow.v2beta1.Intents" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Intents_BatchUpdateIntents_async", + "title": "dialogflow batchUpdateIntents Sample", + "origin": "API_DEFINITION", + "description": " Updates/Creates multiple intents in the specified agent. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [BatchUpdateIntentsResponse][google.cloud.dialogflow.v2beta1.BatchUpdateIntentsResponse] Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", + "canonical": true, + "file": "intents.batch_update_intents.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Intents_BatchUpdateIntents_async", - "title": "dialogflow batchUpdateIntents Sample", - "origin": "API_DEFINITION", - "description": " Updates/Creates multiple intents in the specified agent. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: [BatchUpdateIntentsResponse][google.cloud.dialogflow.v2beta1.BatchUpdateIntentsResponse] Note: You should always train an agent prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/es/docs/training).", - "canonical": true, - "file": "intents.batch_update_intents.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 83, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "BatchUpdateIntents", - "fullName": "google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "intent_batch_uri", - "type": "TYPE_STRING" - }, - { - "name": "intent_batch_inline", - "type": ".google.cloud.dialogflow.v2beta1.IntentBatch" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - }, - { - "name": "intent_view", - "type": ".google.cloud.dialogflow.v2beta1.IntentView" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient" - }, - "method": { - "shortName": "BatchUpdateIntents", - "fullName": "google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.v2beta1.Intents" - } - } - } + "start": 25, + "end": 83, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "BatchUpdateIntents", + "fullName": "google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "intent_batch_uri", + "type": "TYPE_STRING" + }, + { + "name": "intent_batch_inline", + "type": ".google.cloud.dialogflow.v2beta1.IntentBatch" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + }, + { + "name": "intent_view", + "type": ".google.cloud.dialogflow.v2beta1.IntentView" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "IntentsClient", + "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient" }, + "method": { + "shortName": "BatchUpdateIntents", + "fullName": "google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents", + "service": { + "shortName": "Intents", + "fullName": "google.cloud.dialogflow.v2beta1.Intents" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Intents_BatchDeleteIntents_async", + "title": "dialogflow batchDeleteIntents Sample", + "origin": "API_DEFINITION", + "description": " Deletes intents in the specified agent. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](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 documentation](https://cloud.google.com/dialogflow/es/docs/training).", + "canonical": true, + "file": "intents.batch_delete_intents.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Intents_BatchDeleteIntents_async", - "title": "dialogflow batchDeleteIntents Sample", - "origin": "API_DEFINITION", - "description": " Deletes intents in the specified agent. This method is a [long-running operation](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](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An [Empty message](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 documentation](https://cloud.google.com/dialogflow/es/docs/training).", - "canonical": true, - "file": "intents.batch_delete_intents.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 63, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "BatchDeleteIntents", - "fullName": "google.cloud.dialogflow.v2beta1.Intents.BatchDeleteIntents", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "intents", - "type": "TYPE_MESSAGE[]" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "IntentsClient", - "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient" - }, - "method": { - "shortName": "BatchDeleteIntents", - "fullName": "google.cloud.dialogflow.v2beta1.Intents.BatchDeleteIntents", - "service": { - "shortName": "Intents", - "fullName": "google.cloud.dialogflow.v2beta1.Intents" - } - } - } + "start": 25, + "end": 63, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "BatchDeleteIntents", + "fullName": "google.cloud.dialogflow.v2beta1.Intents.BatchDeleteIntents", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "intents", + "type": "TYPE_MESSAGE[]" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "IntentsClient", + "fullName": "google.cloud.dialogflow.v2beta1.IntentsClient" }, + "method": { + "shortName": "BatchDeleteIntents", + "fullName": "google.cloud.dialogflow.v2beta1.Intents.BatchDeleteIntents", + "service": { + "shortName": "Intents", + "fullName": "google.cloud.dialogflow.v2beta1.Intents" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_KnowledgeBases_ListKnowledgeBases_async", + "title": "dialogflow listKnowledgeBases Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all knowledge bases of the specified agent. Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.", + "canonical": true, + "file": "knowledge_bases.list_knowledge_bases.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_KnowledgeBases_ListKnowledgeBases_async", - "title": "dialogflow listKnowledgeBases Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all knowledge bases of the specified agent. Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.", - "canonical": true, - "file": "knowledge_bases.list_knowledge_bases.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 87, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListKnowledgeBases", - "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.ListKnowledgeBases", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.ListKnowledgeBasesResponse", - "client": { - "shortName": "KnowledgeBasesClient", - "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient" - }, - "method": { - "shortName": "ListKnowledgeBases", - "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.ListKnowledgeBases", - "service": { - "shortName": "KnowledgeBases", - "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases" - } - } - } + "start": 25, + "end": 87, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListKnowledgeBases", + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.ListKnowledgeBases", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.ListKnowledgeBasesResponse", + "client": { + "shortName": "KnowledgeBasesClient", + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient" }, + "method": { + "shortName": "ListKnowledgeBases", + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.ListKnowledgeBases", + "service": { + "shortName": "KnowledgeBases", + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_KnowledgeBases_GetKnowledgeBase_async", + "title": "dialogflow getKnowledgeBase Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified knowledge base. Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.", + "canonical": true, + "file": "knowledge_bases.get_knowledge_base.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_KnowledgeBases_GetKnowledgeBase_async", - "title": "dialogflow getKnowledgeBase Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified knowledge base. Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.", - "canonical": true, - "file": "knowledge_bases.get_knowledge_base.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetKnowledgeBase", - "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.GetKnowledgeBase", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.KnowledgeBase", - "client": { - "shortName": "KnowledgeBasesClient", - "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient" - }, - "method": { - "shortName": "GetKnowledgeBase", - "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.GetKnowledgeBase", - "service": { - "shortName": "KnowledgeBases", - "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetKnowledgeBase", + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.GetKnowledgeBase", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.KnowledgeBase", + "client": { + "shortName": "KnowledgeBasesClient", + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient" }, + "method": { + "shortName": "GetKnowledgeBase", + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.GetKnowledgeBase", + "service": { + "shortName": "KnowledgeBases", + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_KnowledgeBases_CreateKnowledgeBase_async", + "title": "dialogflow createKnowledgeBase Sample", + "origin": "API_DEFINITION", + "description": " Creates a knowledge base. Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.", + "canonical": true, + "file": "knowledge_bases.create_knowledge_base.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_KnowledgeBases_CreateKnowledgeBase_async", - "title": "dialogflow createKnowledgeBase Sample", - "origin": "API_DEFINITION", - "description": " Creates a knowledge base. Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.", - "canonical": true, - "file": "knowledge_bases.create_knowledge_base.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateKnowledgeBase", - "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.CreateKnowledgeBase", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "knowledge_base", - "type": ".google.cloud.dialogflow.v2beta1.KnowledgeBase" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.KnowledgeBase", - "client": { - "shortName": "KnowledgeBasesClient", - "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient" - }, - "method": { - "shortName": "CreateKnowledgeBase", - "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.CreateKnowledgeBase", - "service": { - "shortName": "KnowledgeBases", - "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateKnowledgeBase", + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.CreateKnowledgeBase", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "knowledge_base", + "type": ".google.cloud.dialogflow.v2beta1.KnowledgeBase" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.KnowledgeBase", + "client": { + "shortName": "KnowledgeBasesClient", + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient" }, + "method": { + "shortName": "CreateKnowledgeBase", + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.CreateKnowledgeBase", + "service": { + "shortName": "KnowledgeBases", + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_KnowledgeBases_DeleteKnowledgeBase_async", + "title": "dialogflow deleteKnowledgeBase Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified knowledge base. Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.", + "canonical": true, + "file": "knowledge_bases.delete_knowledge_base.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_KnowledgeBases_DeleteKnowledgeBase_async", - "title": "dialogflow deleteKnowledgeBase Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified knowledge base. Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.", - "canonical": true, - "file": "knowledge_bases.delete_knowledge_base.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 60, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteKnowledgeBase", - "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.DeleteKnowledgeBase", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "force", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "KnowledgeBasesClient", - "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient" - }, - "method": { - "shortName": "DeleteKnowledgeBase", - "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.DeleteKnowledgeBase", - "service": { - "shortName": "KnowledgeBases", - "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases" - } - } - } + "start": 25, + "end": 60, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteKnowledgeBase", + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.DeleteKnowledgeBase", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "force", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "KnowledgeBasesClient", + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient" }, + "method": { + "shortName": "DeleteKnowledgeBase", + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.DeleteKnowledgeBase", + "service": { + "shortName": "KnowledgeBases", + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_KnowledgeBases_UpdateKnowledgeBase_async", + "title": "dialogflow updateKnowledgeBase Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified knowledge base. Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.", + "canonical": true, + "file": "knowledge_bases.update_knowledge_base.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_KnowledgeBases_UpdateKnowledgeBase_async", - "title": "dialogflow updateKnowledgeBase Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified knowledge base. Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.", - "canonical": true, - "file": "knowledge_bases.update_knowledge_base.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateKnowledgeBase", - "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.UpdateKnowledgeBase", - "async": true, - "parameters": [ - { - "name": "knowledge_base", - "type": ".google.cloud.dialogflow.v2beta1.KnowledgeBase" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.KnowledgeBase", - "client": { - "shortName": "KnowledgeBasesClient", - "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient" - }, - "method": { - "shortName": "UpdateKnowledgeBase", - "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.UpdateKnowledgeBase", - "service": { - "shortName": "KnowledgeBases", - "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateKnowledgeBase", + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.UpdateKnowledgeBase", + "async": true, + "parameters": [ + { + "name": "knowledge_base", + "type": ".google.cloud.dialogflow.v2beta1.KnowledgeBase" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.KnowledgeBase", + "client": { + "shortName": "KnowledgeBasesClient", + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBasesClient" }, + "method": { + "shortName": "UpdateKnowledgeBase", + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases.UpdateKnowledgeBase", + "service": { + "shortName": "KnowledgeBases", + "fullName": "google.cloud.dialogflow.v2beta1.KnowledgeBases" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Participants_CreateParticipant_async", + "title": "dialogflow createParticipant Sample", + "origin": "API_DEFINITION", + "description": " Creates a new participant in a conversation.", + "canonical": true, + "file": "participants.create_participant.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Participants_CreateParticipant_async", - "title": "dialogflow createParticipant Sample", - "origin": "API_DEFINITION", - "description": " Creates a new participant in a conversation.", - "canonical": true, - "file": "participants.create_participant.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 60, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateParticipant", - "fullName": "google.cloud.dialogflow.v2beta1.Participants.CreateParticipant", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "participant", - "type": ".google.cloud.dialogflow.v2beta1.Participant" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.Participant", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient" - }, - "method": { - "shortName": "CreateParticipant", - "fullName": "google.cloud.dialogflow.v2beta1.Participants.CreateParticipant", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2beta1.Participants" - } - } - } + "start": 25, + "end": 60, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateParticipant", + "fullName": "google.cloud.dialogflow.v2beta1.Participants.CreateParticipant", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "participant", + "type": ".google.cloud.dialogflow.v2beta1.Participant" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.Participant", + "client": { + "shortName": "ParticipantsClient", + "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient" }, + "method": { + "shortName": "CreateParticipant", + "fullName": "google.cloud.dialogflow.v2beta1.Participants.CreateParticipant", + "service": { + "shortName": "Participants", + "fullName": "google.cloud.dialogflow.v2beta1.Participants" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Participants_GetParticipant_async", + "title": "dialogflow getParticipant Sample", + "origin": "API_DEFINITION", + "description": " Retrieves a conversation participant.", + "canonical": true, + "file": "participants.get_participant.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Participants_GetParticipant_async", - "title": "dialogflow getParticipant Sample", - "origin": "API_DEFINITION", - "description": " Retrieves a conversation participant.", - "canonical": true, - "file": "participants.get_participant.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetParticipant", - "fullName": "google.cloud.dialogflow.v2beta1.Participants.GetParticipant", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.Participant", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient" - }, - "method": { - "shortName": "GetParticipant", - "fullName": "google.cloud.dialogflow.v2beta1.Participants.GetParticipant", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2beta1.Participants" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetParticipant", + "fullName": "google.cloud.dialogflow.v2beta1.Participants.GetParticipant", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.Participant", + "client": { + "shortName": "ParticipantsClient", + "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient" }, + "method": { + "shortName": "GetParticipant", + "fullName": "google.cloud.dialogflow.v2beta1.Participants.GetParticipant", + "service": { + "shortName": "Participants", + "fullName": "google.cloud.dialogflow.v2beta1.Participants" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Participants_ListParticipants_async", + "title": "dialogflow listParticipants Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all participants in the specified conversation.", + "canonical": true, + "file": "participants.list_participants.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Participants_ListParticipants_async", - "title": "dialogflow listParticipants Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all participants in the specified conversation.", - "canonical": true, - "file": "participants.list_participants.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 66, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListParticipants", - "fullName": "google.cloud.dialogflow.v2beta1.Participants.ListParticipants", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.ListParticipantsResponse", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient" - }, - "method": { - "shortName": "ListParticipants", - "fullName": "google.cloud.dialogflow.v2beta1.Participants.ListParticipants", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2beta1.Participants" - } - } - } + "start": 25, + "end": 66, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListParticipants", + "fullName": "google.cloud.dialogflow.v2beta1.Participants.ListParticipants", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.ListParticipantsResponse", + "client": { + "shortName": "ParticipantsClient", + "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient" }, + "method": { + "shortName": "ListParticipants", + "fullName": "google.cloud.dialogflow.v2beta1.Participants.ListParticipants", + "service": { + "shortName": "Participants", + "fullName": "google.cloud.dialogflow.v2beta1.Participants" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Participants_UpdateParticipant_async", + "title": "dialogflow updateParticipant Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified participant.", + "canonical": true, + "file": "participants.update_participant.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Participants_UpdateParticipant_async", - "title": "dialogflow updateParticipant Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified participant.", - "canonical": true, - "file": "participants.update_participant.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 58, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateParticipant", - "fullName": "google.cloud.dialogflow.v2beta1.Participants.UpdateParticipant", - "async": true, - "parameters": [ - { - "name": "participant", - "type": ".google.cloud.dialogflow.v2beta1.Participant" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.Participant", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient" - }, - "method": { - "shortName": "UpdateParticipant", - "fullName": "google.cloud.dialogflow.v2beta1.Participants.UpdateParticipant", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2beta1.Participants" - } - } - } + "start": 25, + "end": 58, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateParticipant", + "fullName": "google.cloud.dialogflow.v2beta1.Participants.UpdateParticipant", + "async": true, + "parameters": [ + { + "name": "participant", + "type": ".google.cloud.dialogflow.v2beta1.Participant" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.Participant", + "client": { + "shortName": "ParticipantsClient", + "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient" }, + "method": { + "shortName": "UpdateParticipant", + "fullName": "google.cloud.dialogflow.v2beta1.Participants.UpdateParticipant", + "service": { + "shortName": "Participants", + "fullName": "google.cloud.dialogflow.v2beta1.Participants" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Participants_AnalyzeContent_async", + "title": "dialogflow analyzeContent Sample", + "origin": "API_DEFINITION", + "description": " Adds a text (chat, for example), or audio (phone recording, for example) message from a participant into the conversation. Note: Always use agent versions for production traffic sent to virtual agents. See [Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).", + "canonical": true, + "file": "participants.analyze_content.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Participants_AnalyzeContent_async", - "title": "dialogflow analyzeContent Sample", - "origin": "API_DEFINITION", - "description": " Adds a text (chat, for example), or audio (phone recording, for example) message from a participant into the conversation. Note: Always use agent versions for production traffic sent to virtual agents. See [Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).", - "canonical": true, - "file": "participants.analyze_content.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 136, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "AnalyzeContent", - "fullName": "google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent", - "async": true, - "parameters": [ - { - "name": "participant", - "type": "TYPE_STRING" - }, - { - "name": "text_input", - "type": ".google.cloud.dialogflow.v2beta1.TextInput" - }, - { - "name": "audio_input", - "type": ".google.cloud.dialogflow.v2beta1.AudioInput" - }, - { - "name": "event_input", - "type": ".google.cloud.dialogflow.v2beta1.EventInput" - }, - { - "name": "suggestion_input", - "type": ".google.cloud.dialogflow.v2beta1.SuggestionInput" - }, - { - "name": "intent_input", - "type": ".google.cloud.dialogflow.v2beta1.IntentInput" - }, - { - "name": "reply_audio_config", - "type": ".google.cloud.dialogflow.v2beta1.OutputAudioConfig" - }, - { - "name": "query_params", - "type": ".google.cloud.dialogflow.v2beta1.QueryParameters" - }, - { - "name": "assist_query_params", - "type": ".google.cloud.dialogflow.v2beta1.AssistQueryParameters" - }, - { - "name": "cx_parameters", - "type": ".google.protobuf.Struct" - }, - { - "name": "cx_current_page", - "type": "TYPE_STRING" - }, - { - "name": "message_send_time", - "type": ".google.protobuf.Timestamp" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.AnalyzeContentResponse", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient" - }, - "method": { - "shortName": "AnalyzeContent", - "fullName": "google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2beta1.Participants" - } - } - } + "start": 25, + "end": 136, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "AnalyzeContent", + "fullName": "google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent", + "async": true, + "parameters": [ + { + "name": "participant", + "type": "TYPE_STRING" + }, + { + "name": "text_input", + "type": ".google.cloud.dialogflow.v2beta1.TextInput" + }, + { + "name": "audio_input", + "type": ".google.cloud.dialogflow.v2beta1.AudioInput" + }, + { + "name": "event_input", + "type": ".google.cloud.dialogflow.v2beta1.EventInput" + }, + { + "name": "suggestion_input", + "type": ".google.cloud.dialogflow.v2beta1.SuggestionInput" + }, + { + "name": "intent_input", + "type": ".google.cloud.dialogflow.v2beta1.IntentInput" + }, + { + "name": "reply_audio_config", + "type": ".google.cloud.dialogflow.v2beta1.OutputAudioConfig" + }, + { + "name": "query_params", + "type": ".google.cloud.dialogflow.v2beta1.QueryParameters" + }, + { + "name": "assist_query_params", + "type": ".google.cloud.dialogflow.v2beta1.AssistQueryParameters" + }, + { + "name": "cx_parameters", + "type": ".google.protobuf.Struct" + }, + { + "name": "cx_current_page", + "type": "TYPE_STRING" + }, + { + "name": "message_send_time", + "type": ".google.protobuf.Timestamp" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.AnalyzeContentResponse", + "client": { + "shortName": "ParticipantsClient", + "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient" }, + "method": { + "shortName": "AnalyzeContent", + "fullName": "google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent", + "service": { + "shortName": "Participants", + "fullName": "google.cloud.dialogflow.v2beta1.Participants" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Participants_StreamingAnalyzeContent_async", + "title": "dialogflow streamingAnalyzeContent Sample", + "origin": "API_DEFINITION", + "description": " Adds a text (e.g., chat) or audio (e.g., phone recording) message from a participant into the conversation. Note: This method is only available through the gRPC API (not REST). The top-level message sent to the client by the server is `StreamingAnalyzeContentResponse`. Multiple response messages can be returned in order. The first one or more messages contain the `recognition_result` field. Each result represents a more complete transcript of what the user said. The next message contains the `reply_text` field, and potentially the `reply_audio` and/or the `automated_agent_reply` fields. Note: Always use agent versions for production traffic sent to virtual agents. See [Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).", + "canonical": true, + "file": "participants.streaming_analyze_content.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Participants_StreamingAnalyzeContent_async", - "title": "dialogflow streamingAnalyzeContent Sample", - "origin": "API_DEFINITION", - "description": " Adds a text (e.g., chat) or audio (e.g., phone recording) message from a participant into the conversation. Note: This method is only available through the gRPC API (not REST). The top-level message sent to the client by the server is `StreamingAnalyzeContentResponse`. Multiple response messages can be returned in order. The first one or more messages contain the `recognition_result` field. Each result represents a more complete transcript of what the user said. The next message contains the `reply_text` field, and potentially the `reply_audio` and/or the `automated_agent_reply` fields. Note: Always use agent versions for production traffic sent to virtual agents. See [Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).", - "canonical": true, - "file": "participants.streaming_analyze_content.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 167, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "StreamingAnalyzeContent", - "fullName": "google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent", - "async": true, - "parameters": [ - { - "name": "participant", - "type": "TYPE_STRING" - }, - { - "name": "audio_config", - "type": ".google.cloud.dialogflow.v2beta1.InputAudioConfig" - }, - { - "name": "text_config", - "type": ".google.cloud.dialogflow.v2beta1.InputTextConfig" - }, - { - "name": "reply_audio_config", - "type": ".google.cloud.dialogflow.v2beta1.OutputAudioConfig" - }, - { - "name": "input_audio", - "type": "TYPE_BYTES" - }, - { - "name": "input_text", - "type": "TYPE_STRING" - }, - { - "name": "input_dtmf", - "type": ".google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents" - }, - { - "name": "input_intent", - "type": "TYPE_STRING" - }, - { - "name": "input_event", - "type": "TYPE_STRING" - }, - { - "name": "query_params", - "type": ".google.cloud.dialogflow.v2beta1.QueryParameters" - }, - { - "name": "assist_query_params", - "type": ".google.cloud.dialogflow.v2beta1.AssistQueryParameters" - }, - { - "name": "cx_parameters", - "type": ".google.protobuf.Struct" - }, - { - "name": "cx_current_page", - "type": "TYPE_STRING" - }, - { - "name": "enable_extended_streaming", - "type": "TYPE_BOOL" - }, - { - "name": "enable_partial_automated_agent_reply", - "type": "TYPE_BOOL" - }, - { - "name": "enable_debugging_info", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient" - }, - "method": { - "shortName": "StreamingAnalyzeContent", - "fullName": "google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2beta1.Participants" - } - } - } + "start": 25, + "end": 167, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "StreamingAnalyzeContent", + "fullName": "google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent", + "async": true, + "parameters": [ + { + "name": "participant", + "type": "TYPE_STRING" + }, + { + "name": "audio_config", + "type": ".google.cloud.dialogflow.v2beta1.InputAudioConfig" + }, + { + "name": "text_config", + "type": ".google.cloud.dialogflow.v2beta1.InputTextConfig" + }, + { + "name": "reply_audio_config", + "type": ".google.cloud.dialogflow.v2beta1.OutputAudioConfig" + }, + { + "name": "input_audio", + "type": "TYPE_BYTES" + }, + { + "name": "input_text", + "type": "TYPE_STRING" + }, + { + "name": "input_dtmf", + "type": ".google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents" + }, + { + "name": "input_intent", + "type": "TYPE_STRING" + }, + { + "name": "input_event", + "type": "TYPE_STRING" + }, + { + "name": "query_params", + "type": ".google.cloud.dialogflow.v2beta1.QueryParameters" + }, + { + "name": "assist_query_params", + "type": ".google.cloud.dialogflow.v2beta1.AssistQueryParameters" + }, + { + "name": "cx_parameters", + "type": ".google.protobuf.Struct" + }, + { + "name": "cx_current_page", + "type": "TYPE_STRING" + }, + { + "name": "enable_extended_streaming", + "type": "TYPE_BOOL" + }, + { + "name": "enable_partial_automated_agent_reply", + "type": "TYPE_BOOL" + }, + { + "name": "enable_debugging_info", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse", + "client": { + "shortName": "ParticipantsClient", + "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient" }, + "method": { + "shortName": "StreamingAnalyzeContent", + "fullName": "google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent", + "service": { + "shortName": "Participants", + "fullName": "google.cloud.dialogflow.v2beta1.Participants" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Participants_SuggestArticles_async", + "title": "dialogflow suggestArticles Sample", + "origin": "API_DEFINITION", + "description": " Gets suggested articles for a participant based on specific historical messages. Note that [ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] will only list the auto-generated suggestions, while [CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion] will try to compile suggestion based on the provided conversation context in the real time.", + "canonical": true, + "file": "participants.suggest_articles.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Participants_SuggestArticles_async", - "title": "dialogflow suggestArticles Sample", - "origin": "API_DEFINITION", - "description": " Gets suggested articles for a participant based on specific historical messages. Note that [ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] will only list the auto-generated suggestions, while [CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion] will try to compile suggestion based on the provided conversation context in the real time.", - "canonical": true, - "file": "participants.suggest_articles.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 73, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "SuggestArticles", - "fullName": "google.cloud.dialogflow.v2beta1.Participants.SuggestArticles", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "latest_message", - "type": "TYPE_STRING" - }, - { - "name": "context_size", - "type": "TYPE_INT32" - }, - { - "name": "assist_query_params", - "type": ".google.cloud.dialogflow.v2beta1.AssistQueryParameters" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.SuggestArticlesResponse", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient" - }, - "method": { - "shortName": "SuggestArticles", - "fullName": "google.cloud.dialogflow.v2beta1.Participants.SuggestArticles", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2beta1.Participants" - } - } - } + "start": 25, + "end": 73, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "SuggestArticles", + "fullName": "google.cloud.dialogflow.v2beta1.Participants.SuggestArticles", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "latest_message", + "type": "TYPE_STRING" + }, + { + "name": "context_size", + "type": "TYPE_INT32" + }, + { + "name": "assist_query_params", + "type": ".google.cloud.dialogflow.v2beta1.AssistQueryParameters" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.SuggestArticlesResponse", + "client": { + "shortName": "ParticipantsClient", + "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient" }, + "method": { + "shortName": "SuggestArticles", + "fullName": "google.cloud.dialogflow.v2beta1.Participants.SuggestArticles", + "service": { + "shortName": "Participants", + "fullName": "google.cloud.dialogflow.v2beta1.Participants" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Participants_SuggestFaqAnswers_async", + "title": "dialogflow suggestFaqAnswers Sample", + "origin": "API_DEFINITION", + "description": " Gets suggested faq answers for a participant based on specific historical messages.", + "canonical": true, + "file": "participants.suggest_faq_answers.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Participants_SuggestFaqAnswers_async", - "title": "dialogflow suggestFaqAnswers Sample", - "origin": "API_DEFINITION", - "description": " Gets suggested faq answers for a participant based on specific historical messages.", - "canonical": true, - "file": "participants.suggest_faq_answers.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 72, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "SuggestFaqAnswers", - "fullName": "google.cloud.dialogflow.v2beta1.Participants.SuggestFaqAnswers", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "latest_message", - "type": "TYPE_STRING" - }, - { - "name": "context_size", - "type": "TYPE_INT32" - }, - { - "name": "assist_query_params", - "type": ".google.cloud.dialogflow.v2beta1.AssistQueryParameters" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.SuggestFaqAnswersResponse", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient" - }, - "method": { - "shortName": "SuggestFaqAnswers", - "fullName": "google.cloud.dialogflow.v2beta1.Participants.SuggestFaqAnswers", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2beta1.Participants" - } - } - } + "start": 25, + "end": 72, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "SuggestFaqAnswers", + "fullName": "google.cloud.dialogflow.v2beta1.Participants.SuggestFaqAnswers", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "latest_message", + "type": "TYPE_STRING" + }, + { + "name": "context_size", + "type": "TYPE_INT32" + }, + { + "name": "assist_query_params", + "type": ".google.cloud.dialogflow.v2beta1.AssistQueryParameters" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.SuggestFaqAnswersResponse", + "client": { + "shortName": "ParticipantsClient", + "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient" }, + "method": { + "shortName": "SuggestFaqAnswers", + "fullName": "google.cloud.dialogflow.v2beta1.Participants.SuggestFaqAnswers", + "service": { + "shortName": "Participants", + "fullName": "google.cloud.dialogflow.v2beta1.Participants" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Participants_SuggestSmartReplies_async", + "title": "dialogflow suggestSmartReplies Sample", + "origin": "API_DEFINITION", + "description": " Gets smart replies for a participant based on specific historical messages.", + "canonical": true, + "file": "participants.suggest_smart_replies.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Participants_SuggestSmartReplies_async", - "title": "dialogflow suggestSmartReplies Sample", - "origin": "API_DEFINITION", - "description": " Gets smart replies for a participant based on specific historical messages.", - "canonical": true, - "file": "participants.suggest_smart_replies.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 74, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "SuggestSmartReplies", - "fullName": "google.cloud.dialogflow.v2beta1.Participants.SuggestSmartReplies", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "current_text_input", - "type": ".google.cloud.dialogflow.v2beta1.TextInput" - }, - { - "name": "latest_message", - "type": "TYPE_STRING" - }, - { - "name": "context_size", - "type": "TYPE_INT32" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.SuggestSmartRepliesResponse", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient" - }, - "method": { - "shortName": "SuggestSmartReplies", - "fullName": "google.cloud.dialogflow.v2beta1.Participants.SuggestSmartReplies", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2beta1.Participants" - } - } - } + "start": 25, + "end": 74, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "SuggestSmartReplies", + "fullName": "google.cloud.dialogflow.v2beta1.Participants.SuggestSmartReplies", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "current_text_input", + "type": ".google.cloud.dialogflow.v2beta1.TextInput" + }, + { + "name": "latest_message", + "type": "TYPE_STRING" + }, + { + "name": "context_size", + "type": "TYPE_INT32" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.SuggestSmartRepliesResponse", + "client": { + "shortName": "ParticipantsClient", + "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient" }, + "method": { + "shortName": "SuggestSmartReplies", + "fullName": "google.cloud.dialogflow.v2beta1.Participants.SuggestSmartReplies", + "service": { + "shortName": "Participants", + "fullName": "google.cloud.dialogflow.v2beta1.Participants" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Participants_SuggestKnowledgeAssist_async", + "title": "dialogflow suggestKnowledgeAssist Sample", + "origin": "API_DEFINITION", + "description": " Gets knowledge assist suggestions based on historical messages.", + "canonical": true, + "file": "participants.suggest_knowledge_assist.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Participants_SuggestKnowledgeAssist_async", - "title": "dialogflow suggestKnowledgeAssist Sample", - "origin": "API_DEFINITION", - "description": " Gets knowledge assist suggestions based on historical messages.", - "canonical": true, - "file": "participants.suggest_knowledge_assist.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 76, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "SuggestKnowledgeAssist", - "fullName": "google.cloud.dialogflow.v2beta1.Participants.SuggestKnowledgeAssist", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "latest_message", - "type": "TYPE_STRING" - }, - { - "name": "context_size", - "type": "TYPE_INT32" - }, - { - "name": "previous_suggested_query", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.SuggestKnowledgeAssistResponse", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient" - }, - "method": { - "shortName": "SuggestKnowledgeAssist", - "fullName": "google.cloud.dialogflow.v2beta1.Participants.SuggestKnowledgeAssist", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2beta1.Participants" - } - } - } + "start": 25, + "end": 76, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "SuggestKnowledgeAssist", + "fullName": "google.cloud.dialogflow.v2beta1.Participants.SuggestKnowledgeAssist", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "latest_message", + "type": "TYPE_STRING" + }, + { + "name": "context_size", + "type": "TYPE_INT32" + }, + { + "name": "previous_suggested_query", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.SuggestKnowledgeAssistResponse", + "client": { + "shortName": "ParticipantsClient", + "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient" }, + "method": { + "shortName": "SuggestKnowledgeAssist", + "fullName": "google.cloud.dialogflow.v2beta1.Participants.SuggestKnowledgeAssist", + "service": { + "shortName": "Participants", + "fullName": "google.cloud.dialogflow.v2beta1.Participants" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Participants_ListSuggestions_async", + "title": "dialogflow listSuggestions Sample", + "origin": "API_DEFINITION", + "description": " Deprecated: Use inline suggestion, event based suggestion or Suggestion* API instead. See [HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name] for more details. Removal Date: 2020-09-01. Retrieves suggestions for live agents. This method should be used by human agent client software to fetch auto generated suggestions in real-time, while the conversation with an end user is in progress. The functionality is implemented in terms of the [list pagination](https://cloud.google.com/apis/design/design_patterns#list_pagination) design pattern. The client app should use the `next_page_token` field to fetch the next batch of suggestions. `suggestions` are sorted by `create_time` in descending order. To fetch latest suggestion, just set `page_size` to 1. To fetch new suggestions without duplication, send request with filter `create_time_epoch_microseconds > [first item's create_time of previous request]` and empty page_token.", + "canonical": true, + "file": "participants.list_suggestions.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Participants_ListSuggestions_async", - "title": "dialogflow listSuggestions Sample", - "origin": "API_DEFINITION", - "description": " Deprecated: Use inline suggestion, event based suggestion or Suggestion* API instead. See [HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name] for more details. Removal Date: 2020-09-01. Retrieves suggestions for live agents. This method should be used by human agent client software to fetch auto generated suggestions in real-time, while the conversation with an end user is in progress. The functionality is implemented in terms of the [list pagination](https://cloud.google.com/apis/design/design_patterns#list_pagination) design pattern. The client app should use the `next_page_token` field to fetch the next batch of suggestions. `suggestions` are sorted by `create_time` in descending order. To fetch latest suggestion, just set `page_size` to 1. To fetch new suggestions without duplication, send request with filter `create_time_epoch_microseconds > [first item's create_time of previous request]` and empty page_token.", - "canonical": true, - "file": "participants.list_suggestions.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 75, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListSuggestions", - "fullName": "google.cloud.dialogflow.v2beta1.Participants.ListSuggestions", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.ListSuggestionsResponse", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient" - }, - "method": { - "shortName": "ListSuggestions", - "fullName": "google.cloud.dialogflow.v2beta1.Participants.ListSuggestions", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2beta1.Participants" - } - } - } + "start": 25, + "end": 75, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListSuggestions", + "fullName": "google.cloud.dialogflow.v2beta1.Participants.ListSuggestions", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.ListSuggestionsResponse", + "client": { + "shortName": "ParticipantsClient", + "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient" }, + "method": { + "shortName": "ListSuggestions", + "fullName": "google.cloud.dialogflow.v2beta1.Participants.ListSuggestions", + "service": { + "shortName": "Participants", + "fullName": "google.cloud.dialogflow.v2beta1.Participants" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Participants_CompileSuggestion_async", + "title": "dialogflow compileSuggestion Sample", + "origin": "API_DEFINITION", + "description": " Deprecated. use [SuggestArticles][google.cloud.dialogflow.v2beta1.Participants.SuggestArticles] and [SuggestFaqAnswers][google.cloud.dialogflow.v2beta1.Participants.SuggestFaqAnswers] instead. Gets suggestions for a participant based on specific historical messages. Note that [ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] will only list the auto-generated suggestions, while [CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion] will try to compile suggestion based on the provided conversation context in the real time.", + "canonical": true, + "file": "participants.compile_suggestion.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Participants_CompileSuggestion_async", - "title": "dialogflow compileSuggestion Sample", - "origin": "API_DEFINITION", - "description": " Deprecated. use [SuggestArticles][google.cloud.dialogflow.v2beta1.Participants.SuggestArticles] and [SuggestFaqAnswers][google.cloud.dialogflow.v2beta1.Participants.SuggestFaqAnswers] instead. Gets suggestions for a participant based on specific historical messages. Note that [ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] will only list the auto-generated suggestions, while [CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion] will try to compile suggestion based on the provided conversation context in the real time.", - "canonical": true, - "file": "participants.compile_suggestion.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 67, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CompileSuggestion", - "fullName": "google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "latest_message", - "type": "TYPE_STRING" - }, - { - "name": "context_size", - "type": "TYPE_INT32" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.CompileSuggestionResponse", - "client": { - "shortName": "ParticipantsClient", - "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient" - }, - "method": { - "shortName": "CompileSuggestion", - "fullName": "google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion", - "service": { - "shortName": "Participants", - "fullName": "google.cloud.dialogflow.v2beta1.Participants" - } - } - } + "start": 25, + "end": 67, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CompileSuggestion", + "fullName": "google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "latest_message", + "type": "TYPE_STRING" + }, + { + "name": "context_size", + "type": "TYPE_INT32" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.CompileSuggestionResponse", + "client": { + "shortName": "ParticipantsClient", + "fullName": "google.cloud.dialogflow.v2beta1.ParticipantsClient" }, + "method": { + "shortName": "CompileSuggestion", + "fullName": "google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion", + "service": { + "shortName": "Participants", + "fullName": "google.cloud.dialogflow.v2beta1.Participants" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_PhoneNumbers_ListPhoneNumbers_async", + "title": "dialogflow listPhoneNumbers Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all phone numbers in the specified project.", + "canonical": true, + "file": "phone_numbers.list_phone_numbers.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_PhoneNumbers_ListPhoneNumbers_async", - "title": "dialogflow listPhoneNumbers Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all phone numbers in the specified project.", - "canonical": true, - "file": "phone_numbers.list_phone_numbers.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 72, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListPhoneNumbers", - "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbers.ListPhoneNumbers", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "show_deleted", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.ListPhoneNumbersResponse", - "client": { - "shortName": "PhoneNumbersClient", - "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbersClient" - }, - "method": { - "shortName": "ListPhoneNumbers", - "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbers.ListPhoneNumbers", - "service": { - "shortName": "PhoneNumbers", - "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbers" - } - } - } + "start": 25, + "end": 72, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListPhoneNumbers", + "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbers.ListPhoneNumbers", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "show_deleted", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.ListPhoneNumbersResponse", + "client": { + "shortName": "PhoneNumbersClient", + "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbersClient" }, + "method": { + "shortName": "ListPhoneNumbers", + "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbers.ListPhoneNumbers", + "service": { + "shortName": "PhoneNumbers", + "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbers" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_PhoneNumbers_UpdatePhoneNumber_async", + "title": "dialogflow updatePhoneNumber Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified `PhoneNumber`.", + "canonical": true, + "file": "phone_numbers.update_phone_number.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_PhoneNumbers_UpdatePhoneNumber_async", - "title": "dialogflow updatePhoneNumber Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified `PhoneNumber`.", - "canonical": true, - "file": "phone_numbers.update_phone_number.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 57, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdatePhoneNumber", - "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbers.UpdatePhoneNumber", - "async": true, - "parameters": [ - { - "name": "phone_number", - "type": ".google.cloud.dialogflow.v2beta1.PhoneNumber" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.PhoneNumber", - "client": { - "shortName": "PhoneNumbersClient", - "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbersClient" - }, - "method": { - "shortName": "UpdatePhoneNumber", - "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbers.UpdatePhoneNumber", - "service": { - "shortName": "PhoneNumbers", - "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbers" - } - } - } + "start": 25, + "end": 57, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdatePhoneNumber", + "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbers.UpdatePhoneNumber", + "async": true, + "parameters": [ + { + "name": "phone_number", + "type": ".google.cloud.dialogflow.v2beta1.PhoneNumber" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.PhoneNumber", + "client": { + "shortName": "PhoneNumbersClient", + "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbersClient" }, + "method": { + "shortName": "UpdatePhoneNumber", + "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbers.UpdatePhoneNumber", + "service": { + "shortName": "PhoneNumbers", + "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbers" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_PhoneNumbers_DeletePhoneNumber_async", + "title": "dialogflow deletePhoneNumber Sample", + "origin": "API_DEFINITION", + "description": " Requests deletion of a `PhoneNumber`. The `PhoneNumber` is moved into the [DELETE_REQUESTED][google.cloud.dialogflow.v2beta1.PhoneNumber.LifecycleState.DELETE_REQUESTED] state immediately, and is deleted approximately 30 days later. This method may only be called on a `PhoneNumber` in the [ACTIVE][google.cloud.dialogflow.v2beta1.PhoneNumber.LifecycleState.ACTIVE] state.", + "canonical": true, + "file": "phone_numbers.delete_phone_number.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_PhoneNumbers_DeletePhoneNumber_async", - "title": "dialogflow deletePhoneNumber Sample", - "origin": "API_DEFINITION", - "description": " Requests deletion of a `PhoneNumber`. The `PhoneNumber` is moved into the [DELETE_REQUESTED][google.cloud.dialogflow.v2beta1.PhoneNumber.LifecycleState.DELETE_REQUESTED] state immediately, and is deleted approximately 30 days later. This method may only be called on a `PhoneNumber` in the [ACTIVE][google.cloud.dialogflow.v2beta1.PhoneNumber.LifecycleState.ACTIVE] state.", - "canonical": true, - "file": "phone_numbers.delete_phone_number.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 56, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeletePhoneNumber", - "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbers.DeletePhoneNumber", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.PhoneNumber", - "client": { - "shortName": "PhoneNumbersClient", - "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbersClient" - }, - "method": { - "shortName": "DeletePhoneNumber", - "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbers.DeletePhoneNumber", - "service": { - "shortName": "PhoneNumbers", - "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbers" - } - } - } + "start": 25, + "end": 56, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeletePhoneNumber", + "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbers.DeletePhoneNumber", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.PhoneNumber", + "client": { + "shortName": "PhoneNumbersClient", + "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbersClient" }, + "method": { + "shortName": "DeletePhoneNumber", + "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbers.DeletePhoneNumber", + "service": { + "shortName": "PhoneNumbers", + "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbers" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_PhoneNumbers_UndeletePhoneNumber_async", + "title": "dialogflow undeletePhoneNumber Sample", + "origin": "API_DEFINITION", + "description": " Cancels the deletion request for a `PhoneNumber`. This method may only be called on a `PhoneNumber` in the [DELETE_REQUESTED][google.cloud.dialogflow.v2beta1.PhoneNumber.LifecycleState.DELETE_REQUESTED] state.", + "canonical": true, + "file": "phone_numbers.undelete_phone_number.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_PhoneNumbers_UndeletePhoneNumber_async", - "title": "dialogflow undeletePhoneNumber Sample", - "origin": "API_DEFINITION", - "description": " Cancels the deletion request for a `PhoneNumber`. This method may only be called on a `PhoneNumber` in the [DELETE_REQUESTED][google.cloud.dialogflow.v2beta1.PhoneNumber.LifecycleState.DELETE_REQUESTED] state.", - "canonical": true, - "file": "phone_numbers.undelete_phone_number.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 56, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UndeletePhoneNumber", - "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbers.UndeletePhoneNumber", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.PhoneNumber", - "client": { - "shortName": "PhoneNumbersClient", - "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbersClient" - }, - "method": { - "shortName": "UndeletePhoneNumber", - "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbers.UndeletePhoneNumber", - "service": { - "shortName": "PhoneNumbers", - "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbers" - } - } - } + "start": 25, + "end": 56, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UndeletePhoneNumber", + "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbers.UndeletePhoneNumber", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.PhoneNumber", + "client": { + "shortName": "PhoneNumbersClient", + "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbersClient" }, + "method": { + "shortName": "UndeletePhoneNumber", + "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbers.UndeletePhoneNumber", + "service": { + "shortName": "PhoneNumbers", + "fullName": "google.cloud.dialogflow.v2beta1.PhoneNumbers" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_SessionEntityTypes_ListSessionEntityTypes_async", + "title": "dialogflow listSessionEntityTypes Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all session entity types in the specified session. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.", + "canonical": true, + "file": "session_entity_types.list_session_entity_types.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_SessionEntityTypes_ListSessionEntityTypes_async", - "title": "dialogflow listSessionEntityTypes Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all session entity types in the specified session. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.", - "canonical": true, - "file": "session_entity_types.list_session_entity_types.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 76, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListSessionEntityTypes", - "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.ListSessionEntityTypes", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.ListSessionEntityTypesResponse", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient" - }, - "method": { - "shortName": "ListSessionEntityTypes", - "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.ListSessionEntityTypes", - "service": { - "shortName": "SessionEntityTypes", - "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes" - } - } - } + "start": 25, + "end": 76, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListSessionEntityTypes", + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.ListSessionEntityTypes", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.ListSessionEntityTypesResponse", + "client": { + "shortName": "SessionEntityTypesClient", + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient" }, + "method": { + "shortName": "ListSessionEntityTypes", + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.ListSessionEntityTypes", + "service": { + "shortName": "SessionEntityTypes", + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_SessionEntityTypes_GetSessionEntityType_async", + "title": "dialogflow getSessionEntityType Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.", + "canonical": true, + "file": "session_entity_types.get_session_entity_type.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_SessionEntityTypes_GetSessionEntityType_async", - "title": "dialogflow getSessionEntityType Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.", - "canonical": true, - "file": "session_entity_types.get_session_entity_type.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 65, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetSessionEntityType", - "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.GetSessionEntityType", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.SessionEntityType", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient" - }, - "method": { - "shortName": "GetSessionEntityType", - "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.GetSessionEntityType", - "service": { - "shortName": "SessionEntityTypes", - "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes" - } - } - } + "start": 25, + "end": 65, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetSessionEntityType", + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.GetSessionEntityType", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.SessionEntityType", + "client": { + "shortName": "SessionEntityTypesClient", + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient" }, + "method": { + "shortName": "GetSessionEntityType", + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.GetSessionEntityType", + "service": { + "shortName": "SessionEntityTypes", + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_SessionEntityTypes_CreateSessionEntityType_async", + "title": "dialogflow createSessionEntityType Sample", + "origin": "API_DEFINITION", + "description": " Creates a session entity type. If the specified session entity type already exists, overrides the session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.", + "canonical": true, + "file": "session_entity_types.create_session_entity_type.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_SessionEntityTypes_CreateSessionEntityType_async", - "title": "dialogflow createSessionEntityType Sample", - "origin": "API_DEFINITION", - "description": " Creates a session entity type. If the specified session entity type already exists, overrides the session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.", - "canonical": true, - "file": "session_entity_types.create_session_entity_type.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 70, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateSessionEntityType", - "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.CreateSessionEntityType", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "session_entity_type", - "type": ".google.cloud.dialogflow.v2beta1.SessionEntityType" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.SessionEntityType", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient" - }, - "method": { - "shortName": "CreateSessionEntityType", - "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.CreateSessionEntityType", - "service": { - "shortName": "SessionEntityTypes", - "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes" - } - } - } + "start": 25, + "end": 70, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateSessionEntityType", + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.CreateSessionEntityType", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "session_entity_type", + "type": ".google.cloud.dialogflow.v2beta1.SessionEntityType" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.SessionEntityType", + "client": { + "shortName": "SessionEntityTypesClient", + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient" }, + "method": { + "shortName": "CreateSessionEntityType", + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.CreateSessionEntityType", + "service": { + "shortName": "SessionEntityTypes", + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_SessionEntityTypes_UpdateSessionEntityType_async", + "title": "dialogflow updateSessionEntityType Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.", + "canonical": true, + "file": "session_entity_types.update_session_entity_type.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_SessionEntityTypes_UpdateSessionEntityType_async", - "title": "dialogflow updateSessionEntityType Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.", - "canonical": true, - "file": "session_entity_types.update_session_entity_type.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 57, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateSessionEntityType", - "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.UpdateSessionEntityType", - "async": true, - "parameters": [ - { - "name": "session_entity_type", - "type": ".google.cloud.dialogflow.v2beta1.SessionEntityType" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.SessionEntityType", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient" - }, - "method": { - "shortName": "UpdateSessionEntityType", - "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.UpdateSessionEntityType", - "service": { - "shortName": "SessionEntityTypes", - "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes" - } - } - } + "start": 25, + "end": 57, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateSessionEntityType", + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.UpdateSessionEntityType", + "async": true, + "parameters": [ + { + "name": "session_entity_type", + "type": ".google.cloud.dialogflow.v2beta1.SessionEntityType" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.SessionEntityType", + "client": { + "shortName": "SessionEntityTypesClient", + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient" }, + "method": { + "shortName": "UpdateSessionEntityType", + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.UpdateSessionEntityType", + "service": { + "shortName": "SessionEntityTypes", + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_SessionEntityTypes_DeleteSessionEntityType_async", + "title": "dialogflow deleteSessionEntityType Sample", + "origin": "API_DEFINITION", + "description": " Deletes the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.", + "canonical": true, + "file": "session_entity_types.delete_session_entity_type.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_SessionEntityTypes_DeleteSessionEntityType_async", - "title": "dialogflow deleteSessionEntityType Sample", - "origin": "API_DEFINITION", - "description": " Deletes the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.", - "canonical": true, - "file": "session_entity_types.delete_session_entity_type.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 66, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteSessionEntityType", - "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.DeleteSessionEntityType", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "SessionEntityTypesClient", - "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient" - }, - "method": { - "shortName": "DeleteSessionEntityType", - "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.DeleteSessionEntityType", - "service": { - "shortName": "SessionEntityTypes", - "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes" - } - } - } + "start": 25, + "end": 66, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteSessionEntityType", + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.DeleteSessionEntityType", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "SessionEntityTypesClient", + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypesClient" }, + "method": { + "shortName": "DeleteSessionEntityType", + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes.DeleteSessionEntityType", + "service": { + "shortName": "SessionEntityTypes", + "fullName": "google.cloud.dialogflow.v2beta1.SessionEntityTypes" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Sessions_DetectIntent_async", + "title": "dialogflow detectIntent Sample", + "origin": "API_DEFINITION", + "description": " Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause contexts and session entity types to be updated, which in turn might affect results of future queries. If you might use [Agent Assist](https://cloud.google.com/dialogflow/docs/#aa) or other CCAI products now or in the future, consider using [AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent] instead of `DetectIntent`. `AnalyzeContent` has additional functionality for Agent Assist and other CCAI products. Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).", + "canonical": true, + "file": "sessions.detect_intent.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Sessions_DetectIntent_async", - "title": "dialogflow detectIntent Sample", - "origin": "API_DEFINITION", - "description": " Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause contexts and session entity types to be updated, which in turn might affect results of future queries. If you might use [Agent Assist](https://cloud.google.com/dialogflow/docs/#aa) or other CCAI products now or in the future, consider using [AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent] instead of `DetectIntent`. `AnalyzeContent` has additional functionality for Agent Assist and other CCAI products. Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).", - "canonical": true, - "file": "sessions.detect_intent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 108, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DetectIntent", - "fullName": "google.cloud.dialogflow.v2beta1.Sessions.DetectIntent", - "async": true, - "parameters": [ - { - "name": "session", - "type": "TYPE_STRING" - }, - { - "name": "query_params", - "type": ".google.cloud.dialogflow.v2beta1.QueryParameters" - }, - { - "name": "query_input", - "type": ".google.cloud.dialogflow.v2beta1.QueryInput" - }, - { - "name": "output_audio_config", - "type": ".google.cloud.dialogflow.v2beta1.OutputAudioConfig" - }, - { - "name": "output_audio_config_mask", - "type": ".google.protobuf.FieldMask" - }, - { - "name": "input_audio", - "type": "TYPE_BYTES" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.DetectIntentResponse", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.v2beta1.SessionsClient" - }, - "method": { - "shortName": "DetectIntent", - "fullName": "google.cloud.dialogflow.v2beta1.Sessions.DetectIntent", - "service": { - "shortName": "Sessions", - "fullName": "google.cloud.dialogflow.v2beta1.Sessions" - } - } - } + "start": 25, + "end": 108, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DetectIntent", + "fullName": "google.cloud.dialogflow.v2beta1.Sessions.DetectIntent", + "async": true, + "parameters": [ + { + "name": "session", + "type": "TYPE_STRING" + }, + { + "name": "query_params", + "type": ".google.cloud.dialogflow.v2beta1.QueryParameters" + }, + { + "name": "query_input", + "type": ".google.cloud.dialogflow.v2beta1.QueryInput" + }, + { + "name": "output_audio_config", + "type": ".google.cloud.dialogflow.v2beta1.OutputAudioConfig" + }, + { + "name": "output_audio_config_mask", + "type": ".google.protobuf.FieldMask" + }, + { + "name": "input_audio", + "type": "TYPE_BYTES" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.DetectIntentResponse", + "client": { + "shortName": "SessionsClient", + "fullName": "google.cloud.dialogflow.v2beta1.SessionsClient" }, + "method": { + "shortName": "DetectIntent", + "fullName": "google.cloud.dialogflow.v2beta1.Sessions.DetectIntent", + "service": { + "shortName": "Sessions", + "fullName": "google.cloud.dialogflow.v2beta1.Sessions" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Sessions_StreamingDetectIntent_async", + "title": "dialogflow streamingDetectIntent Sample", + "origin": "API_DEFINITION", + "description": " Processes a natural language query in audio format in a streaming fashion and returns structured, actionable data as a result. This method is only available via the gRPC API (not REST). If you might use [Agent Assist](https://cloud.google.com/dialogflow/docs/#aa) or other CCAI products now or in the future, consider using [StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent] instead of `StreamingDetectIntent`. `StreamingAnalyzeContent` has additional functionality for Agent Assist and other CCAI products. Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).", + "canonical": true, + "file": "sessions.streaming_detect_intent.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Sessions_StreamingDetectIntent_async", - "title": "dialogflow streamingDetectIntent Sample", - "origin": "API_DEFINITION", - "description": " Processes a natural language query in audio format in a streaming fashion and returns structured, actionable data as a result. This method is only available via the gRPC API (not REST). If you might use [Agent Assist](https://cloud.google.com/dialogflow/docs/#aa) or other CCAI products now or in the future, consider using [StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent] instead of `StreamingDetectIntent`. `StreamingAnalyzeContent` has additional functionality for Agent Assist and other CCAI products. Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/es/docs/agents-versions).", - "canonical": true, - "file": "sessions.streaming_detect_intent.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 128, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "StreamingDetectIntent", - "fullName": "google.cloud.dialogflow.v2beta1.Sessions.StreamingDetectIntent", - "async": true, - "parameters": [ - { - "name": "session", - "type": "TYPE_STRING" - }, - { - "name": "query_params", - "type": ".google.cloud.dialogflow.v2beta1.QueryParameters" - }, - { - "name": "query_input", - "type": ".google.cloud.dialogflow.v2beta1.QueryInput" - }, - { - "name": "single_utterance", - "type": "TYPE_BOOL" - }, - { - "name": "output_audio_config", - "type": ".google.cloud.dialogflow.v2beta1.OutputAudioConfig" - }, - { - "name": "output_audio_config_mask", - "type": ".google.protobuf.FieldMask" - }, - { - "name": "input_audio", - "type": "TYPE_BYTES" - }, - { - "name": "enable_debugging_info", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.StreamingDetectIntentResponse", - "client": { - "shortName": "SessionsClient", - "fullName": "google.cloud.dialogflow.v2beta1.SessionsClient" - }, - "method": { - "shortName": "StreamingDetectIntent", - "fullName": "google.cloud.dialogflow.v2beta1.Sessions.StreamingDetectIntent", - "service": { - "shortName": "Sessions", - "fullName": "google.cloud.dialogflow.v2beta1.Sessions" - } - } - } + "start": 25, + "end": 128, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "StreamingDetectIntent", + "fullName": "google.cloud.dialogflow.v2beta1.Sessions.StreamingDetectIntent", + "async": true, + "parameters": [ + { + "name": "session", + "type": "TYPE_STRING" + }, + { + "name": "query_params", + "type": ".google.cloud.dialogflow.v2beta1.QueryParameters" + }, + { + "name": "query_input", + "type": ".google.cloud.dialogflow.v2beta1.QueryInput" + }, + { + "name": "single_utterance", + "type": "TYPE_BOOL" + }, + { + "name": "output_audio_config", + "type": ".google.cloud.dialogflow.v2beta1.OutputAudioConfig" + }, + { + "name": "output_audio_config_mask", + "type": ".google.protobuf.FieldMask" + }, + { + "name": "input_audio", + "type": "TYPE_BYTES" + }, + { + "name": "enable_debugging_info", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.StreamingDetectIntentResponse", + "client": { + "shortName": "SessionsClient", + "fullName": "google.cloud.dialogflow.v2beta1.SessionsClient" }, + "method": { + "shortName": "StreamingDetectIntent", + "fullName": "google.cloud.dialogflow.v2beta1.Sessions.StreamingDetectIntent", + "service": { + "shortName": "Sessions", + "fullName": "google.cloud.dialogflow.v2beta1.Sessions" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_SipTrunks_CreateSipTrunk_async", + "title": "dialogflow createSipTrunk Sample", + "origin": "API_DEFINITION", + "description": " Creates a SipTrunk for a specified location.", + "canonical": true, + "file": "sip_trunks.create_sip_trunk.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_SipTrunks_CreateSipTrunk_async", - "title": "dialogflow createSipTrunk Sample", - "origin": "API_DEFINITION", - "description": " Creates a SipTrunk for a specified location.", - "canonical": true, - "file": "sip_trunks.create_sip_trunk.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateSipTrunk", - "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks.CreateSipTrunk", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "sip_trunk", - "type": ".google.cloud.dialogflow.v2beta1.SipTrunk" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.SipTrunk", - "client": { - "shortName": "SipTrunksClient", - "fullName": "google.cloud.dialogflow.v2beta1.SipTrunksClient" - }, - "method": { - "shortName": "CreateSipTrunk", - "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks.CreateSipTrunk", - "service": { - "shortName": "SipTrunks", - "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateSipTrunk", + "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks.CreateSipTrunk", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "sip_trunk", + "type": ".google.cloud.dialogflow.v2beta1.SipTrunk" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.SipTrunk", + "client": { + "shortName": "SipTrunksClient", + "fullName": "google.cloud.dialogflow.v2beta1.SipTrunksClient" }, + "method": { + "shortName": "CreateSipTrunk", + "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks.CreateSipTrunk", + "service": { + "shortName": "SipTrunks", + "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_SipTrunks_DeleteSipTrunk_async", + "title": "dialogflow deleteSipTrunk Sample", + "origin": "API_DEFINITION", + "description": " Deletes a specified SipTrunk.", + "canonical": true, + "file": "sip_trunks.delete_sip_trunk.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_SipTrunks_DeleteSipTrunk_async", - "title": "dialogflow deleteSipTrunk Sample", - "origin": "API_DEFINITION", - "description": " Deletes a specified SipTrunk.", - "canonical": true, - "file": "sip_trunks.delete_sip_trunk.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteSipTrunk", - "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks.DeleteSipTrunk", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "SipTrunksClient", - "fullName": "google.cloud.dialogflow.v2beta1.SipTrunksClient" - }, - "method": { - "shortName": "DeleteSipTrunk", - "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks.DeleteSipTrunk", - "service": { - "shortName": "SipTrunks", - "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteSipTrunk", + "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks.DeleteSipTrunk", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "SipTrunksClient", + "fullName": "google.cloud.dialogflow.v2beta1.SipTrunksClient" }, + "method": { + "shortName": "DeleteSipTrunk", + "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks.DeleteSipTrunk", + "service": { + "shortName": "SipTrunks", + "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_SipTrunks_ListSipTrunks_async", + "title": "dialogflow listSipTrunks Sample", + "origin": "API_DEFINITION", + "description": " Returns a list of SipTrunks in the specified location.", + "canonical": true, + "file": "sip_trunks.list_sip_trunks.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_SipTrunks_ListSipTrunks_async", - "title": "dialogflow listSipTrunks Sample", - "origin": "API_DEFINITION", - "description": " Returns a list of SipTrunks in the specified location.", - "canonical": true, - "file": "sip_trunks.list_sip_trunks.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 65, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListSipTrunks", - "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks.ListSipTrunks", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.ListSipTrunksResponse", - "client": { - "shortName": "SipTrunksClient", - "fullName": "google.cloud.dialogflow.v2beta1.SipTrunksClient" - }, - "method": { - "shortName": "ListSipTrunks", - "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks.ListSipTrunks", - "service": { - "shortName": "SipTrunks", - "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks" - } - } - } + "start": 25, + "end": 65, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListSipTrunks", + "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks.ListSipTrunks", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.ListSipTrunksResponse", + "client": { + "shortName": "SipTrunksClient", + "fullName": "google.cloud.dialogflow.v2beta1.SipTrunksClient" }, + "method": { + "shortName": "ListSipTrunks", + "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks.ListSipTrunks", + "service": { + "shortName": "SipTrunks", + "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_SipTrunks_GetSipTrunk_async", + "title": "dialogflow getSipTrunk Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified SipTrunk.", + "canonical": true, + "file": "sip_trunks.get_sip_trunk.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_SipTrunks_GetSipTrunk_async", - "title": "dialogflow getSipTrunk Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified SipTrunk.", - "canonical": true, - "file": "sip_trunks.get_sip_trunk.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetSipTrunk", - "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks.GetSipTrunk", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.SipTrunk", - "client": { - "shortName": "SipTrunksClient", - "fullName": "google.cloud.dialogflow.v2beta1.SipTrunksClient" - }, - "method": { - "shortName": "GetSipTrunk", - "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks.GetSipTrunk", - "service": { - "shortName": "SipTrunks", - "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetSipTrunk", + "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks.GetSipTrunk", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.SipTrunk", + "client": { + "shortName": "SipTrunksClient", + "fullName": "google.cloud.dialogflow.v2beta1.SipTrunksClient" }, + "method": { + "shortName": "GetSipTrunk", + "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks.GetSipTrunk", + "service": { + "shortName": "SipTrunks", + "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_SipTrunks_UpdateSipTrunk_async", + "title": "dialogflow updateSipTrunk Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified SipTrunk.", + "canonical": true, + "file": "sip_trunks.update_sip_trunk.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_SipTrunks_UpdateSipTrunk_async", - "title": "dialogflow updateSipTrunk Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified SipTrunk.", - "canonical": true, - "file": "sip_trunks.update_sip_trunk.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 58, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateSipTrunk", - "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks.UpdateSipTrunk", - "async": true, - "parameters": [ - { - "name": "sip_trunk", - "type": ".google.cloud.dialogflow.v2beta1.SipTrunk" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.SipTrunk", - "client": { - "shortName": "SipTrunksClient", - "fullName": "google.cloud.dialogflow.v2beta1.SipTrunksClient" - }, - "method": { - "shortName": "UpdateSipTrunk", - "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks.UpdateSipTrunk", - "service": { - "shortName": "SipTrunks", - "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks" - } - } - } + "start": 25, + "end": 58, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateSipTrunk", + "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks.UpdateSipTrunk", + "async": true, + "parameters": [ + { + "name": "sip_trunk", + "type": ".google.cloud.dialogflow.v2beta1.SipTrunk" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.SipTrunk", + "client": { + "shortName": "SipTrunksClient", + "fullName": "google.cloud.dialogflow.v2beta1.SipTrunksClient" }, + "method": { + "shortName": "UpdateSipTrunk", + "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks.UpdateSipTrunk", + "service": { + "shortName": "SipTrunks", + "fullName": "google.cloud.dialogflow.v2beta1.SipTrunks" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Versions_ListVersions_async", + "title": "dialogflow listVersions Sample", + "origin": "API_DEFINITION", + "description": " Returns the list of all versions of the specified agent.", + "canonical": true, + "file": "versions.list_versions.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Versions_ListVersions_async", - "title": "dialogflow listVersions Sample", - "origin": "API_DEFINITION", - "description": " Returns the list of all versions of the specified agent.", - "canonical": true, - "file": "versions.list_versions.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 67, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListVersions", - "fullName": "google.cloud.dialogflow.v2beta1.Versions.ListVersions", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.ListVersionsResponse", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.v2beta1.VersionsClient" - }, - "method": { - "shortName": "ListVersions", - "fullName": "google.cloud.dialogflow.v2beta1.Versions.ListVersions", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.v2beta1.Versions" - } - } - } + "start": 25, + "end": 67, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListVersions", + "fullName": "google.cloud.dialogflow.v2beta1.Versions.ListVersions", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.ListVersionsResponse", + "client": { + "shortName": "VersionsClient", + "fullName": "google.cloud.dialogflow.v2beta1.VersionsClient" }, + "method": { + "shortName": "ListVersions", + "fullName": "google.cloud.dialogflow.v2beta1.Versions.ListVersions", + "service": { + "shortName": "Versions", + "fullName": "google.cloud.dialogflow.v2beta1.Versions" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Versions_GetVersion_async", + "title": "dialogflow getVersion Sample", + "origin": "API_DEFINITION", + "description": " Retrieves the specified agent version.", + "canonical": true, + "file": "versions.get_version.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Versions_GetVersion_async", - "title": "dialogflow getVersion Sample", - "origin": "API_DEFINITION", - "description": " Retrieves the specified agent version.", - "canonical": true, - "file": "versions.get_version.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 57, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetVersion", - "fullName": "google.cloud.dialogflow.v2beta1.Versions.GetVersion", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.Version", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.v2beta1.VersionsClient" - }, - "method": { - "shortName": "GetVersion", - "fullName": "google.cloud.dialogflow.v2beta1.Versions.GetVersion", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.v2beta1.Versions" - } - } - } + "start": 25, + "end": 57, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetVersion", + "fullName": "google.cloud.dialogflow.v2beta1.Versions.GetVersion", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.Version", + "client": { + "shortName": "VersionsClient", + "fullName": "google.cloud.dialogflow.v2beta1.VersionsClient" }, + "method": { + "shortName": "GetVersion", + "fullName": "google.cloud.dialogflow.v2beta1.Versions.GetVersion", + "service": { + "shortName": "Versions", + "fullName": "google.cloud.dialogflow.v2beta1.Versions" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Versions_CreateVersion_async", + "title": "dialogflow createVersion Sample", + "origin": "API_DEFINITION", + "description": " Creates an agent version. The new version points to the agent instance in the \"default\" environment.", + "canonical": true, + "file": "versions.create_version.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Versions_CreateVersion_async", - "title": "dialogflow createVersion Sample", - "origin": "API_DEFINITION", - "description": " Creates an agent version. The new version points to the agent instance in the \"default\" environment.", - "canonical": true, - "file": "versions.create_version.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateVersion", - "fullName": "google.cloud.dialogflow.v2beta1.Versions.CreateVersion", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "version", - "type": ".google.cloud.dialogflow.v2beta1.Version" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.Version", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.v2beta1.VersionsClient" - }, - "method": { - "shortName": "CreateVersion", - "fullName": "google.cloud.dialogflow.v2beta1.Versions.CreateVersion", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.v2beta1.Versions" - } - } - } + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateVersion", + "fullName": "google.cloud.dialogflow.v2beta1.Versions.CreateVersion", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "version", + "type": ".google.cloud.dialogflow.v2beta1.Version" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.Version", + "client": { + "shortName": "VersionsClient", + "fullName": "google.cloud.dialogflow.v2beta1.VersionsClient" }, + "method": { + "shortName": "CreateVersion", + "fullName": "google.cloud.dialogflow.v2beta1.Versions.CreateVersion", + "service": { + "shortName": "Versions", + "fullName": "google.cloud.dialogflow.v2beta1.Versions" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Versions_UpdateVersion_async", + "title": "dialogflow updateVersion Sample", + "origin": "API_DEFINITION", + "description": " Updates the specified agent version. Note that this method does not allow you to update the state of the agent the given version points to. It allows you to update only mutable properties of the version resource.", + "canonical": true, + "file": "versions.update_version.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Versions_UpdateVersion_async", - "title": "dialogflow updateVersion Sample", - "origin": "API_DEFINITION", - "description": " Updates the specified agent version. Note that this method does not allow you to update the state of the agent the given version points to. It allows you to update only mutable properties of the version resource.", - "canonical": true, - "file": "versions.update_version.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 62, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateVersion", - "fullName": "google.cloud.dialogflow.v2beta1.Versions.UpdateVersion", - "async": true, - "parameters": [ - { - "name": "version", - "type": ".google.cloud.dialogflow.v2beta1.Version" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.dialogflow.v2beta1.Version", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.v2beta1.VersionsClient" - }, - "method": { - "shortName": "UpdateVersion", - "fullName": "google.cloud.dialogflow.v2beta1.Versions.UpdateVersion", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.v2beta1.Versions" - } - } - } + "start": 25, + "end": 62, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateVersion", + "fullName": "google.cloud.dialogflow.v2beta1.Versions.UpdateVersion", + "async": true, + "parameters": [ + { + "name": "version", + "type": ".google.cloud.dialogflow.v2beta1.Version" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.dialogflow.v2beta1.Version", + "client": { + "shortName": "VersionsClient", + "fullName": "google.cloud.dialogflow.v2beta1.VersionsClient" }, + "method": { + "shortName": "UpdateVersion", + "fullName": "google.cloud.dialogflow.v2beta1.Versions.UpdateVersion", + "service": { + "shortName": "Versions", + "fullName": "google.cloud.dialogflow.v2beta1.Versions" + } + } + } + }, + { + "regionTag": "dialogflow_v2beta1_generated_Versions_DeleteVersion_async", + "title": "dialogflow deleteVersion Sample", + "origin": "API_DEFINITION", + "description": " Delete the specified agent version.", + "canonical": true, + "file": "versions.delete_version.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "dialogflow_v2beta1_generated_Versions_DeleteVersion_async", - "title": "dialogflow deleteVersion Sample", - "origin": "API_DEFINITION", - "description": " Delete the specified agent version.", - "canonical": true, - "file": "versions.delete_version.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 57, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteVersion", - "fullName": "google.cloud.dialogflow.v2beta1.Versions.DeleteVersion", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "VersionsClient", - "fullName": "google.cloud.dialogflow.v2beta1.VersionsClient" - }, - "method": { - "shortName": "DeleteVersion", - "fullName": "google.cloud.dialogflow.v2beta1.Versions.DeleteVersion", - "service": { - "shortName": "Versions", - "fullName": "google.cloud.dialogflow.v2beta1.Versions" - } - } - } + "start": 25, + "end": 57, + "type": "FULL" } - ] -} \ No newline at end of file + ], + "clientMethod": { + "shortName": "DeleteVersion", + "fullName": "google.cloud.dialogflow.v2beta1.Versions.DeleteVersion", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "VersionsClient", + "fullName": "google.cloud.dialogflow.v2beta1.VersionsClient" + }, + "method": { + "shortName": "DeleteVersion", + "fullName": "google.cloud.dialogflow.v2beta1.Versions.DeleteVersion", + "service": { + "shortName": "Versions", + "fullName": "google.cloud.dialogflow.v2beta1.Versions" + } + } + } + } + ] +} diff --git a/packages/google-cloud-discoveryengine/.OwlBot.yaml b/packages/google-cloud-discoveryengine/.OwlBot.yaml index c0941b146116..b302a6220b24 100644 --- a/packages/google-cloud-discoveryengine/.OwlBot.yaml +++ b/packages/google-cloud-discoveryengine/.OwlBot.yaml @@ -1,10 +1,10 @@ -# Copyright 2022 Google LLC +# Copyright 2025 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,6 +13,7 @@ # limitations under the License. deep-copy-regex: - - source: /google/cloud/discoveryengine/google-cloud-discoveryengine-nodejs - dest: /owl-bot-staging/google-cloud-discoveryengine -api-name: discoveryengine + - source: /google/cloud/discoveryengine/google-cloud-discoveryengine-nodejs + dest: /owl-bot-staging/google-cloud-discoveryengine + +api-name: discoveryengine \ No newline at end of file diff --git a/packages/google-cloud-discoveryengine/.eslintignore b/packages/google-cloud-discoveryengine/.eslintignore index ea5b04aebe68..cfc348ec4d11 100644 --- a/packages/google-cloud-discoveryengine/.eslintignore +++ b/packages/google-cloud-discoveryengine/.eslintignore @@ -1,7 +1,7 @@ **/node_modules -**/coverage -test/fixtures +**/.coverage build/ docs/ protos/ +system-test/ samples/generated/ diff --git a/packages/google-cloud-discoveryengine/.mocharc.js b/packages/google-cloud-discoveryengine/.mocharc.js index eef6173ab449..24e9d15257f9 100644 --- a/packages/google-cloud-discoveryengine/.mocharc.js +++ b/packages/google-cloud-discoveryengine/.mocharc.js @@ -4,18 +4,22 @@ // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // -// http://www.apache.org/licenses/LICENSE-2.0 +// https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// ** This file is automatically generated by gapic-generator-typescript. ** +// ** https://github.com/googleapis/gapic-generator-typescript ** +// ** All changes to this file may be overwritten. ** + const config = { "enable-source-maps": true, "throw-deprecation": true, - "timeout": 10000, - "recursive": true + "timeout": 10000 } if (process.env.MOCHA_THROW_DEPRECATION === 'false') { delete config['throw-deprecation']; diff --git a/packages/google-cloud-discoveryengine/.nycrc b/packages/google-cloud-discoveryengine/.nycrc index b18d5472b62b..81a95fc94b00 100644 --- a/packages/google-cloud-discoveryengine/.nycrc +++ b/packages/google-cloud-discoveryengine/.nycrc @@ -21,4 +21,4 @@ ], "exclude-after-remap": false, "all": true -} +} \ No newline at end of file diff --git a/packages/google-cloud-discoveryengine/.prettierrc.js b/packages/google-cloud-discoveryengine/.prettierrc.js index b189724933b2..d89a632f90b0 100644 --- a/packages/google-cloud-discoveryengine/.prettierrc.js +++ b/packages/google-cloud-discoveryengine/.prettierrc.js @@ -4,13 +4,18 @@ // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // -// https://www.apache.org/licenses/LICENSE-2.0 +// https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// ** This file is automatically generated by gapic-generator-typescript. ** +// ** https://github.com/googleapis/gapic-generator-typescript ** +// ** All changes to this file may be overwritten. ** + module.exports = { ...require('gts/.prettierrc.json') diff --git a/packages/google-cloud-discoveryengine/CONTRIBUTING.md b/packages/google-cloud-discoveryengine/CONTRIBUTING.md index 195327718045..4fd089462364 100644 --- a/packages/google-cloud-discoveryengine/CONTRIBUTING.md +++ b/packages/google-cloud-discoveryengine/CONTRIBUTING.md @@ -40,8 +40,8 @@ accept your pull requests. ### Before you begin 1. [Select or create a Cloud Platform project][projects]. -1. [Enable billing for your project][billing]. -1. [Enable the Discovery Engine API API][enable_api]. +1. [Enable billing for your project][billing]. +1. [Enable the Discoveryengine API][enable_api]. 1. [Set up authentication with a service account][auth] so you can access the API from your local workstation. diff --git a/packages/google-cloud-discoveryengine/README.md b/packages/google-cloud-discoveryengine/README.md index e562b33ef969..82d22ddbc671 100644 --- a/packages/google-cloud-discoveryengine/README.md +++ b/packages/google-cloud-discoveryengine/README.md @@ -1,24 +1,25 @@ [//]: # "This README.md file is auto-generated, all changes to this file will be lost." -[//]: # "To regenerate it, use `python -m synthtool`." +[//]: # "The comments you see below are used to generate those parts of the template in later states." Google Cloud Platform logo -# [Discovery Engine API: Node.js Client](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-discoveryengine) - -[![release level](https://img.shields.io/badge/release%20level-stable-brightgreen.svg?style=flat)](https://cloud.google.com/terms/launch-stages) -[![npm version](https://img.shields.io/npm/v/@google-cloud/discoveryengine.svg)](https://www.npmjs.org/package/@google-cloud/discoveryengine) - +# [Discovery Engine API: Nodejs Client][homepage] +This library is considered to be **stable**. The code surface will not change in backwards-incompatible ways +unless absolutely necessary (e.g. because of critical security issues) or with +an extensive deprecation period. Issues and requests against **stable** libraries +are addressed with the highest priority +[![npm version](https://img.shields.io/npm/v/@google-cloud/discoveryengine.svg)](https://www.npmjs.org/package/@google-cloud/discoveryengine) Discovery Engine API client for Node.js +[//]: # "partials.introduction" A comprehensive list of changes in each version may be found in -[the CHANGELOG](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-discoveryengine/CHANGELOG.md). +[the CHANGELOG][homepage_changelog]. -* [Discovery Engine API Node.js Client API Reference][client-docs] -* [Discovery Engine API Documentation][product-docs] -* [github.com/googleapis/google-cloud-node/packages/google-cloud-discoveryengine](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-discoveryengine) +* [Discovery Engine API Nodejs Client API Reference](https://cloud.google.com/nodejs/docs/reference/discoveryengine/latest) +* [Discovery Engine API Documentation](https://cloud.google.com/generative-ai-app-builder/docs) Read more about the client libraries for Cloud APIs, including the older Google APIs Client Libraries, in [Client Libraries Explained][explained]. @@ -27,18 +28,15 @@ Google APIs Client Libraries, in [Client Libraries Explained][explained]. **Table of contents:** - * [Quickstart](#quickstart) * [Before you begin](#before-you-begin) * [Installing the client library](#installing-the-client-library) - * [Using the client library](#using-the-client-library) -* [Samples](#samples) + * [Versioning](#versioning) * [Contributing](#contributing) * [License](#license) ## Quickstart - ### Before you begin 1. [Select or create a Cloud Platform project][projects]. @@ -46,397 +44,330 @@ Google APIs Client Libraries, in [Client Libraries Explained][explained]. 1. [Enable the Discovery Engine API API][enable_api]. 1. [Set up authentication][auth] so you can access the API from your local workstation. - ### Installing the client library ```bash npm install @google-cloud/discoveryengine ``` - -### Using the client library - -```javascript -/** - * This snippet has been automatically generated and should be regarded as a code template only. - * It will require modifications to work. - * It may require correct/in-range values for request initialization. - * TODO(developer): Uncomment these variables before running the sample. - */ -/** - * Required. The parent branch resource name, such as - * `projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}`. - * Use `default_branch` as the branch ID, to list documents under the default - * branch. - * If the caller does not have permission to list Documents s under this - * branch, regardless of whether or not this branch exists, a - * PERMISSION_DENIED error is returned. - */ -// const parent = 'abc123' -/** - * Maximum number of Document google.cloud.discoveryengine.v1beta.Document s - * to return. If unspecified, defaults to 100. The maximum allowed value is - * 1000. Values above 1000 will be coerced to 1000. - * If this field is negative, an INVALID_ARGUMENT error is returned. - */ -// const pageSize = 1234 -/** - * A page token - * ListDocumentsResponse.next_page_token google.cloud.discoveryengine.v1beta.ListDocumentsResponse.next_page_token, - * received from a previous - * DocumentService.ListDocuments google.cloud.discoveryengine.v1beta.DocumentService.ListDocuments - * call. Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to - * DocumentService.ListDocuments google.cloud.discoveryengine.v1beta.DocumentService.ListDocuments - * must match the call that provided the page token. Otherwise, an - * INVALID_ARGUMENT error is returned. - */ -// const pageToken = 'abc123' - -// Imports the Discoveryengine library -const {DocumentServiceClient} = - require('@google-cloud/discoveryengine').v1beta; - -// Instantiates a client -const discoveryengineClient = new DocumentServiceClient(); - -async function callListDocuments() { - // Construct request - const request = { - parent, - }; - - // Run request - const iterable = await discoveryengineClient.listDocumentsAsync(request); - for await (const response of iterable) { - console.log(response); - } -} - -callListDocuments(); - -``` - - +[//]: # "partials.body" ## Samples -Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-discoveryengine/samples) directory. Each sample's `README.md` has instructions for running its sample. - -| Sample | Source Code | Try it | -| --------------------------- | --------------------------------- | ------ | -| Assistant_service.stream_assist | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/assistant_service.stream_assist.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/assistant_service.stream_assist.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Cmek_config_service.delete_cmek_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/cmek_config_service.delete_cmek_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/cmek_config_service.delete_cmek_config.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Cmek_config_service.get_cmek_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/cmek_config_service.get_cmek_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/cmek_config_service.get_cmek_config.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Cmek_config_service.list_cmek_configs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/cmek_config_service.list_cmek_configs.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/cmek_config_service.list_cmek_configs.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Cmek_config_service.update_cmek_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/cmek_config_service.update_cmek_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/cmek_config_service.update_cmek_config.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Completion_service.complete_query | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/completion_service.complete_query.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/completion_service.complete_query.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Completion_service.import_completion_suggestions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/completion_service.import_completion_suggestions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/completion_service.import_completion_suggestions.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Completion_service.import_suggestion_deny_list_entries | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/completion_service.import_suggestion_deny_list_entries.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/completion_service.import_suggestion_deny_list_entries.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Completion_service.purge_completion_suggestions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/completion_service.purge_completion_suggestions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/completion_service.purge_completion_suggestions.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Completion_service.purge_suggestion_deny_list_entries | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/completion_service.purge_suggestion_deny_list_entries.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/completion_service.purge_suggestion_deny_list_entries.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Control_service.create_control | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/control_service.create_control.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/control_service.create_control.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Control_service.delete_control | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/control_service.delete_control.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/control_service.delete_control.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Control_service.get_control | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/control_service.get_control.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/control_service.get_control.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Control_service.list_controls | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/control_service.list_controls.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/control_service.list_controls.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Control_service.update_control | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/control_service.update_control.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/control_service.update_control.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Conversational_search_service.answer_query | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/conversational_search_service.answer_query.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/conversational_search_service.answer_query.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Conversational_search_service.converse_conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/conversational_search_service.converse_conversation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/conversational_search_service.converse_conversation.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Conversational_search_service.create_conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/conversational_search_service.create_conversation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/conversational_search_service.create_conversation.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Conversational_search_service.create_session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/conversational_search_service.create_session.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/conversational_search_service.create_session.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Conversational_search_service.delete_conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/conversational_search_service.delete_conversation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/conversational_search_service.delete_conversation.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Conversational_search_service.delete_session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/conversational_search_service.delete_session.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/conversational_search_service.delete_session.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Conversational_search_service.get_answer | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/conversational_search_service.get_answer.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/conversational_search_service.get_answer.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Conversational_search_service.get_conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/conversational_search_service.get_conversation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/conversational_search_service.get_conversation.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Conversational_search_service.get_session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/conversational_search_service.get_session.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/conversational_search_service.get_session.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Conversational_search_service.list_conversations | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/conversational_search_service.list_conversations.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/conversational_search_service.list_conversations.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Conversational_search_service.list_sessions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/conversational_search_service.list_sessions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/conversational_search_service.list_sessions.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Conversational_search_service.stream_answer_query | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/conversational_search_service.stream_answer_query.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/conversational_search_service.stream_answer_query.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Conversational_search_service.update_conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/conversational_search_service.update_conversation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/conversational_search_service.update_conversation.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Conversational_search_service.update_session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/conversational_search_service.update_session.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/conversational_search_service.update_session.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Data_store_service.create_data_store | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/data_store_service.create_data_store.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/data_store_service.create_data_store.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Data_store_service.delete_data_store | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/data_store_service.delete_data_store.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/data_store_service.delete_data_store.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Data_store_service.get_data_store | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/data_store_service.get_data_store.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/data_store_service.get_data_store.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Data_store_service.list_data_stores | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/data_store_service.list_data_stores.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/data_store_service.list_data_stores.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Data_store_service.update_data_store | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/data_store_service.update_data_store.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/data_store_service.update_data_store.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Document_service.batch_get_documents_metadata | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/document_service.batch_get_documents_metadata.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/document_service.batch_get_documents_metadata.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Document_service.create_document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/document_service.create_document.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/document_service.create_document.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Document_service.delete_document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/document_service.delete_document.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/document_service.delete_document.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Document_service.get_document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/document_service.get_document.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/document_service.get_document.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Document_service.import_documents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/document_service.import_documents.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/document_service.import_documents.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Document_service.list_documents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/document_service.list_documents.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/document_service.list_documents.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Document_service.purge_documents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/document_service.purge_documents.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/document_service.purge_documents.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Document_service.update_document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/document_service.update_document.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/document_service.update_document.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Engine_service.create_engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/engine_service.create_engine.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/engine_service.create_engine.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Engine_service.delete_engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/engine_service.delete_engine.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/engine_service.delete_engine.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Engine_service.get_engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/engine_service.get_engine.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/engine_service.get_engine.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Engine_service.list_engines | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/engine_service.list_engines.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/engine_service.list_engines.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Engine_service.update_engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/engine_service.update_engine.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/engine_service.update_engine.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Grounded_generation_service.check_grounding | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/grounded_generation_service.check_grounding.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/grounded_generation_service.check_grounding.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Grounded_generation_service.generate_grounded_content | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/grounded_generation_service.generate_grounded_content.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/grounded_generation_service.generate_grounded_content.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Grounded_generation_service.stream_generate_grounded_content | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/grounded_generation_service.stream_generate_grounded_content.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/grounded_generation_service.stream_generate_grounded_content.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Identity_mapping_store_service.create_identity_mapping_store | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/identity_mapping_store_service.create_identity_mapping_store.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/identity_mapping_store_service.create_identity_mapping_store.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Identity_mapping_store_service.delete_identity_mapping_store | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/identity_mapping_store_service.delete_identity_mapping_store.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/identity_mapping_store_service.delete_identity_mapping_store.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Identity_mapping_store_service.get_identity_mapping_store | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/identity_mapping_store_service.get_identity_mapping_store.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/identity_mapping_store_service.get_identity_mapping_store.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Identity_mapping_store_service.import_identity_mappings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/identity_mapping_store_service.import_identity_mappings.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/identity_mapping_store_service.import_identity_mappings.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Identity_mapping_store_service.list_identity_mapping_stores | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/identity_mapping_store_service.list_identity_mapping_stores.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/identity_mapping_store_service.list_identity_mapping_stores.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Identity_mapping_store_service.list_identity_mappings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/identity_mapping_store_service.list_identity_mappings.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/identity_mapping_store_service.list_identity_mappings.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Identity_mapping_store_service.purge_identity_mappings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/identity_mapping_store_service.purge_identity_mappings.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/identity_mapping_store_service.purge_identity_mappings.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Project_service.provision_project | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/project_service.provision_project.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/project_service.provision_project.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Rank_service.rank | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/rank_service.rank.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/rank_service.rank.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Recommendation_service.recommend | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/recommendation_service.recommend.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/recommendation_service.recommend.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Schema_service.create_schema | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/schema_service.create_schema.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/schema_service.create_schema.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Schema_service.delete_schema | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/schema_service.delete_schema.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/schema_service.delete_schema.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Schema_service.get_schema | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/schema_service.get_schema.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/schema_service.get_schema.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Schema_service.list_schemas | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/schema_service.list_schemas.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/schema_service.list_schemas.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Schema_service.update_schema | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/schema_service.update_schema.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/schema_service.update_schema.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Search_service.search | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/search_service.search.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/search_service.search.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Search_service.search_lite | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/search_service.search_lite.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/search_service.search_lite.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Search_tuning_service.list_custom_models | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/search_tuning_service.list_custom_models.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/search_tuning_service.list_custom_models.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Search_tuning_service.train_custom_model | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/search_tuning_service.train_custom_model.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/search_tuning_service.train_custom_model.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Serving_config_service.update_serving_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/serving_config_service.update_serving_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/serving_config_service.update_serving_config.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Session_service.create_session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/session_service.create_session.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/session_service.create_session.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Session_service.delete_session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/session_service.delete_session.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/session_service.delete_session.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Session_service.get_session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/session_service.get_session.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/session_service.get_session.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Session_service.list_sessions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/session_service.list_sessions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/session_service.list_sessions.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Session_service.update_session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/session_service.update_session.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/session_service.update_session.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.batch_create_target_sites | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.batch_create_target_sites.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.batch_create_target_sites.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.batch_verify_target_sites | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.batch_verify_target_sites.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.batch_verify_target_sites.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.create_sitemap | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.create_sitemap.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.create_sitemap.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.create_target_site | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.create_target_site.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.create_target_site.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.delete_sitemap | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.delete_sitemap.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.delete_sitemap.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.delete_target_site | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.delete_target_site.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.delete_target_site.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.disable_advanced_site_search | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.disable_advanced_site_search.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.disable_advanced_site_search.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.enable_advanced_site_search | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.enable_advanced_site_search.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.enable_advanced_site_search.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.fetch_domain_verification_status | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.fetch_domain_verification_status.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.fetch_domain_verification_status.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.fetch_sitemaps | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.fetch_sitemaps.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.fetch_sitemaps.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.get_site_search_engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.get_site_search_engine.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.get_site_search_engine.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.get_target_site | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.get_target_site.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.get_target_site.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.list_target_sites | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.list_target_sites.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.list_target_sites.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.recrawl_uris | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.recrawl_uris.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.recrawl_uris.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.update_target_site | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.update_target_site.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.update_target_site.js,packages/google-cloud-discoveryengine/samples/README.md) | -| User_event_service.collect_user_event | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/user_event_service.collect_user_event.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/user_event_service.collect_user_event.js,packages/google-cloud-discoveryengine/samples/README.md) | -| User_event_service.import_user_events | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/user_event_service.import_user_events.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/user_event_service.import_user_events.js,packages/google-cloud-discoveryengine/samples/README.md) | -| User_event_service.purge_user_events | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/user_event_service.purge_user_events.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/user_event_service.purge_user_events.js,packages/google-cloud-discoveryengine/samples/README.md) | -| User_event_service.write_user_event | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/user_event_service.write_user_event.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/user_event_service.write_user_event.js,packages/google-cloud-discoveryengine/samples/README.md) | -| User_license_service.batch_update_user_licenses | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/user_license_service.batch_update_user_licenses.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/user_license_service.batch_update_user_licenses.js,packages/google-cloud-discoveryengine/samples/README.md) | -| User_license_service.list_user_licenses | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/user_license_service.list_user_licenses.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1/user_license_service.list_user_licenses.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Acl_config_service.get_acl_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/acl_config_service.get_acl_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/acl_config_service.get_acl_config.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Acl_config_service.update_acl_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/acl_config_service.update_acl_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/acl_config_service.update_acl_config.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Chunk_service.get_chunk | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/chunk_service.get_chunk.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/chunk_service.get_chunk.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Chunk_service.list_chunks | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/chunk_service.list_chunks.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/chunk_service.list_chunks.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Completion_service.complete_query | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/completion_service.complete_query.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/completion_service.complete_query.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Completion_service.import_completion_suggestions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/completion_service.import_completion_suggestions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/completion_service.import_completion_suggestions.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Completion_service.import_suggestion_deny_list_entries | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/completion_service.import_suggestion_deny_list_entries.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/completion_service.import_suggestion_deny_list_entries.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Completion_service.purge_completion_suggestions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/completion_service.purge_completion_suggestions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/completion_service.purge_completion_suggestions.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Completion_service.purge_suggestion_deny_list_entries | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/completion_service.purge_suggestion_deny_list_entries.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/completion_service.purge_suggestion_deny_list_entries.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Control_service.create_control | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/control_service.create_control.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/control_service.create_control.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Control_service.delete_control | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/control_service.delete_control.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/control_service.delete_control.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Control_service.get_control | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/control_service.get_control.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/control_service.get_control.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Control_service.list_controls | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/control_service.list_controls.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/control_service.list_controls.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Control_service.update_control | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/control_service.update_control.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/control_service.update_control.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Conversational_search_service.answer_query | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.answer_query.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.answer_query.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Conversational_search_service.converse_conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.converse_conversation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.converse_conversation.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Conversational_search_service.create_conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.create_conversation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.create_conversation.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Conversational_search_service.create_session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.create_session.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.create_session.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Conversational_search_service.delete_conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.delete_conversation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.delete_conversation.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Conversational_search_service.delete_session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.delete_session.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.delete_session.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Conversational_search_service.get_answer | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.get_answer.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.get_answer.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Conversational_search_service.get_conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.get_conversation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.get_conversation.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Conversational_search_service.get_session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.get_session.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.get_session.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Conversational_search_service.list_conversations | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.list_conversations.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.list_conversations.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Conversational_search_service.list_sessions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.list_sessions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.list_sessions.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Conversational_search_service.update_conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.update_conversation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.update_conversation.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Conversational_search_service.update_session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.update_session.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.update_session.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Data_store_service.create_data_store | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/data_store_service.create_data_store.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/data_store_service.create_data_store.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Data_store_service.delete_data_store | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/data_store_service.delete_data_store.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/data_store_service.delete_data_store.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Data_store_service.get_data_store | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/data_store_service.get_data_store.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/data_store_service.get_data_store.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Data_store_service.get_document_processing_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/data_store_service.get_document_processing_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/data_store_service.get_document_processing_config.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Data_store_service.list_data_stores | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/data_store_service.list_data_stores.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/data_store_service.list_data_stores.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Data_store_service.update_data_store | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/data_store_service.update_data_store.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/data_store_service.update_data_store.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Data_store_service.update_document_processing_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/data_store_service.update_document_processing_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/data_store_service.update_document_processing_config.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Document_service.batch_get_documents_metadata | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/document_service.batch_get_documents_metadata.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/document_service.batch_get_documents_metadata.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Document_service.create_document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/document_service.create_document.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/document_service.create_document.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Document_service.delete_document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/document_service.delete_document.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/document_service.delete_document.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Document_service.get_document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/document_service.get_document.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/document_service.get_document.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Document_service.get_processed_document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/document_service.get_processed_document.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/document_service.get_processed_document.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Document_service.import_documents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/document_service.import_documents.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/document_service.import_documents.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Document_service.list_documents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/document_service.list_documents.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/document_service.list_documents.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Document_service.purge_documents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/document_service.purge_documents.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/document_service.purge_documents.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Document_service.update_document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/document_service.update_document.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/document_service.update_document.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Engine_service.create_engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/engine_service.create_engine.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/engine_service.create_engine.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Engine_service.delete_engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/engine_service.delete_engine.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/engine_service.delete_engine.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Engine_service.get_engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/engine_service.get_engine.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/engine_service.get_engine.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Engine_service.list_engines | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/engine_service.list_engines.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/engine_service.list_engines.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Engine_service.pause_engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/engine_service.pause_engine.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/engine_service.pause_engine.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Engine_service.resume_engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/engine_service.resume_engine.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/engine_service.resume_engine.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Engine_service.tune_engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/engine_service.tune_engine.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/engine_service.tune_engine.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Engine_service.update_engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/engine_service.update_engine.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/engine_service.update_engine.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Estimate_billing_service.estimate_data_size | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/estimate_billing_service.estimate_data_size.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/estimate_billing_service.estimate_data_size.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Evaluation_service.create_evaluation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/evaluation_service.create_evaluation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/evaluation_service.create_evaluation.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Evaluation_service.get_evaluation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/evaluation_service.get_evaluation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/evaluation_service.get_evaluation.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Evaluation_service.list_evaluation_results | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/evaluation_service.list_evaluation_results.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/evaluation_service.list_evaluation_results.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Evaluation_service.list_evaluations | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/evaluation_service.list_evaluations.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/evaluation_service.list_evaluations.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Grounded_generation_service.check_grounding | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/grounded_generation_service.check_grounding.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/grounded_generation_service.check_grounding.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Project_service.get_project | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/project_service.get_project.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/project_service.get_project.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Project_service.provision_project | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/project_service.provision_project.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/project_service.provision_project.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Project_service.report_consent_change | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/project_service.report_consent_change.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/project_service.report_consent_change.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Rank_service.rank | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/rank_service.rank.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/rank_service.rank.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Recommendation_service.recommend | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/recommendation_service.recommend.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/recommendation_service.recommend.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Sample_query_service.create_sample_query | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/sample_query_service.create_sample_query.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/sample_query_service.create_sample_query.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Sample_query_service.delete_sample_query | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/sample_query_service.delete_sample_query.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/sample_query_service.delete_sample_query.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Sample_query_service.get_sample_query | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/sample_query_service.get_sample_query.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/sample_query_service.get_sample_query.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Sample_query_service.import_sample_queries | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/sample_query_service.import_sample_queries.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/sample_query_service.import_sample_queries.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Sample_query_service.list_sample_queries | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/sample_query_service.list_sample_queries.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/sample_query_service.list_sample_queries.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Sample_query_service.update_sample_query | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/sample_query_service.update_sample_query.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/sample_query_service.update_sample_query.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Sample_query_set_service.create_sample_query_set | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/sample_query_set_service.create_sample_query_set.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/sample_query_set_service.create_sample_query_set.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Sample_query_set_service.delete_sample_query_set | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/sample_query_set_service.delete_sample_query_set.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/sample_query_set_service.delete_sample_query_set.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Sample_query_set_service.get_sample_query_set | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/sample_query_set_service.get_sample_query_set.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/sample_query_set_service.get_sample_query_set.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Sample_query_set_service.list_sample_query_sets | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/sample_query_set_service.list_sample_query_sets.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/sample_query_set_service.list_sample_query_sets.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Sample_query_set_service.update_sample_query_set | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/sample_query_set_service.update_sample_query_set.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/sample_query_set_service.update_sample_query_set.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Schema_service.create_schema | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/schema_service.create_schema.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/schema_service.create_schema.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Schema_service.delete_schema | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/schema_service.delete_schema.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/schema_service.delete_schema.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Schema_service.get_schema | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/schema_service.get_schema.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/schema_service.get_schema.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Schema_service.list_schemas | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/schema_service.list_schemas.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/schema_service.list_schemas.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Schema_service.update_schema | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/schema_service.update_schema.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/schema_service.update_schema.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Search_service.search | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/search_service.search.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/search_service.search.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Search_tuning_service.list_custom_models | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/search_tuning_service.list_custom_models.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/search_tuning_service.list_custom_models.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Search_tuning_service.train_custom_model | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/search_tuning_service.train_custom_model.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/search_tuning_service.train_custom_model.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Serving_config_service.get_serving_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/serving_config_service.get_serving_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/serving_config_service.get_serving_config.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Serving_config_service.list_serving_configs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/serving_config_service.list_serving_configs.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/serving_config_service.list_serving_configs.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Serving_config_service.update_serving_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/serving_config_service.update_serving_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/serving_config_service.update_serving_config.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Session_service.create_session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/session_service.create_session.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/session_service.create_session.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Session_service.delete_session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/session_service.delete_session.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/session_service.delete_session.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Session_service.get_session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/session_service.get_session.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/session_service.get_session.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Session_service.list_files | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/session_service.list_files.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/session_service.list_files.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Session_service.list_sessions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/session_service.list_sessions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/session_service.list_sessions.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Session_service.update_session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/session_service.update_session.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/session_service.update_session.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.batch_create_target_sites | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.batch_create_target_sites.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.batch_create_target_sites.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.batch_verify_target_sites | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.batch_verify_target_sites.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.batch_verify_target_sites.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.create_target_site | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.create_target_site.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.create_target_site.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.delete_target_site | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.delete_target_site.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.delete_target_site.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.disable_advanced_site_search | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.disable_advanced_site_search.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.disable_advanced_site_search.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.enable_advanced_site_search | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.enable_advanced_site_search.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.enable_advanced_site_search.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.fetch_domain_verification_status | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.fetch_domain_verification_status.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.fetch_domain_verification_status.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.get_site_search_engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.get_site_search_engine.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.get_site_search_engine.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.get_target_site | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.get_target_site.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.get_target_site.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.get_uri_pattern_document_data | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.get_uri_pattern_document_data.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.get_uri_pattern_document_data.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.list_target_sites | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.list_target_sites.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.list_target_sites.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.recrawl_uris | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.recrawl_uris.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.recrawl_uris.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.set_uri_pattern_document_data | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.set_uri_pattern_document_data.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.set_uri_pattern_document_data.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.update_target_site | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.update_target_site.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.update_target_site.js,packages/google-cloud-discoveryengine/samples/README.md) | -| User_event_service.collect_user_event | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/user_event_service.collect_user_event.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/user_event_service.collect_user_event.js,packages/google-cloud-discoveryengine/samples/README.md) | -| User_event_service.import_user_events | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/user_event_service.import_user_events.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/user_event_service.import_user_events.js,packages/google-cloud-discoveryengine/samples/README.md) | -| User_event_service.purge_user_events | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/user_event_service.purge_user_events.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/user_event_service.purge_user_events.js,packages/google-cloud-discoveryengine/samples/README.md) | -| User_event_service.write_user_event | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/user_event_service.write_user_event.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/user_event_service.write_user_event.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Completion_service.advanced_complete_query | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/completion_service.advanced_complete_query.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/completion_service.advanced_complete_query.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Completion_service.complete_query | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/completion_service.complete_query.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/completion_service.complete_query.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Completion_service.import_completion_suggestions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/completion_service.import_completion_suggestions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/completion_service.import_completion_suggestions.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Completion_service.import_suggestion_deny_list_entries | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/completion_service.import_suggestion_deny_list_entries.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/completion_service.import_suggestion_deny_list_entries.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Completion_service.purge_completion_suggestions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/completion_service.purge_completion_suggestions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/completion_service.purge_completion_suggestions.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Completion_service.purge_suggestion_deny_list_entries | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/completion_service.purge_suggestion_deny_list_entries.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/completion_service.purge_suggestion_deny_list_entries.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Control_service.create_control | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/control_service.create_control.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/control_service.create_control.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Control_service.delete_control | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/control_service.delete_control.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/control_service.delete_control.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Control_service.get_control | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/control_service.get_control.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/control_service.get_control.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Control_service.list_controls | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/control_service.list_controls.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/control_service.list_controls.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Control_service.update_control | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/control_service.update_control.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/control_service.update_control.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Conversational_search_service.answer_query | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/conversational_search_service.answer_query.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/conversational_search_service.answer_query.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Conversational_search_service.converse_conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/conversational_search_service.converse_conversation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/conversational_search_service.converse_conversation.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Conversational_search_service.create_conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/conversational_search_service.create_conversation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/conversational_search_service.create_conversation.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Conversational_search_service.create_session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/conversational_search_service.create_session.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/conversational_search_service.create_session.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Conversational_search_service.delete_conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/conversational_search_service.delete_conversation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/conversational_search_service.delete_conversation.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Conversational_search_service.delete_session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/conversational_search_service.delete_session.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/conversational_search_service.delete_session.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Conversational_search_service.get_answer | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/conversational_search_service.get_answer.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/conversational_search_service.get_answer.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Conversational_search_service.get_conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/conversational_search_service.get_conversation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/conversational_search_service.get_conversation.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Conversational_search_service.get_session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/conversational_search_service.get_session.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/conversational_search_service.get_session.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Conversational_search_service.list_conversations | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/conversational_search_service.list_conversations.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/conversational_search_service.list_conversations.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Conversational_search_service.list_sessions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/conversational_search_service.list_sessions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/conversational_search_service.list_sessions.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Conversational_search_service.update_conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/conversational_search_service.update_conversation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/conversational_search_service.update_conversation.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Conversational_search_service.update_session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/conversational_search_service.update_session.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/conversational_search_service.update_session.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Data_store_service.create_data_store | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/data_store_service.create_data_store.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/data_store_service.create_data_store.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Data_store_service.delete_data_store | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/data_store_service.delete_data_store.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/data_store_service.delete_data_store.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Data_store_service.get_data_store | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/data_store_service.get_data_store.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/data_store_service.get_data_store.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Data_store_service.list_data_stores | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/data_store_service.list_data_stores.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/data_store_service.list_data_stores.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Data_store_service.update_data_store | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/data_store_service.update_data_store.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/data_store_service.update_data_store.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Document_service.batch_get_documents_metadata | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/document_service.batch_get_documents_metadata.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/document_service.batch_get_documents_metadata.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Document_service.create_document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/document_service.create_document.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/document_service.create_document.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Document_service.delete_document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/document_service.delete_document.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/document_service.delete_document.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Document_service.get_document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/document_service.get_document.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/document_service.get_document.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Document_service.import_documents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/document_service.import_documents.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/document_service.import_documents.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Document_service.list_documents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/document_service.list_documents.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/document_service.list_documents.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Document_service.purge_documents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/document_service.purge_documents.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/document_service.purge_documents.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Document_service.update_document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/document_service.update_document.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/document_service.update_document.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Engine_service.create_engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/engine_service.create_engine.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/engine_service.create_engine.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Engine_service.delete_engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/engine_service.delete_engine.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/engine_service.delete_engine.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Engine_service.get_engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/engine_service.get_engine.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/engine_service.get_engine.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Engine_service.list_engines | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/engine_service.list_engines.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/engine_service.list_engines.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Engine_service.pause_engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/engine_service.pause_engine.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/engine_service.pause_engine.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Engine_service.resume_engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/engine_service.resume_engine.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/engine_service.resume_engine.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Engine_service.tune_engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/engine_service.tune_engine.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/engine_service.tune_engine.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Engine_service.update_engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/engine_service.update_engine.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/engine_service.update_engine.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Evaluation_service.create_evaluation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/evaluation_service.create_evaluation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/evaluation_service.create_evaluation.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Evaluation_service.get_evaluation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/evaluation_service.get_evaluation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/evaluation_service.get_evaluation.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Evaluation_service.list_evaluation_results | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/evaluation_service.list_evaluation_results.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/evaluation_service.list_evaluation_results.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Evaluation_service.list_evaluations | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/evaluation_service.list_evaluations.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/evaluation_service.list_evaluations.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Grounded_generation_service.check_grounding | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/grounded_generation_service.check_grounding.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/grounded_generation_service.check_grounding.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Grounded_generation_service.generate_grounded_content | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/grounded_generation_service.generate_grounded_content.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/grounded_generation_service.generate_grounded_content.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Grounded_generation_service.stream_generate_grounded_content | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/grounded_generation_service.stream_generate_grounded_content.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/grounded_generation_service.stream_generate_grounded_content.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Project_service.provision_project | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/project_service.provision_project.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/project_service.provision_project.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Rank_service.rank | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/rank_service.rank.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/rank_service.rank.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Recommendation_service.recommend | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/recommendation_service.recommend.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/recommendation_service.recommend.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Sample_query_service.create_sample_query | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/sample_query_service.create_sample_query.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/sample_query_service.create_sample_query.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Sample_query_service.delete_sample_query | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/sample_query_service.delete_sample_query.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/sample_query_service.delete_sample_query.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Sample_query_service.get_sample_query | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/sample_query_service.get_sample_query.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/sample_query_service.get_sample_query.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Sample_query_service.import_sample_queries | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/sample_query_service.import_sample_queries.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/sample_query_service.import_sample_queries.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Sample_query_service.list_sample_queries | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/sample_query_service.list_sample_queries.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/sample_query_service.list_sample_queries.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Sample_query_service.update_sample_query | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/sample_query_service.update_sample_query.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/sample_query_service.update_sample_query.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Sample_query_set_service.create_sample_query_set | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/sample_query_set_service.create_sample_query_set.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/sample_query_set_service.create_sample_query_set.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Sample_query_set_service.delete_sample_query_set | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/sample_query_set_service.delete_sample_query_set.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/sample_query_set_service.delete_sample_query_set.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Sample_query_set_service.get_sample_query_set | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/sample_query_set_service.get_sample_query_set.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/sample_query_set_service.get_sample_query_set.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Sample_query_set_service.list_sample_query_sets | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/sample_query_set_service.list_sample_query_sets.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/sample_query_set_service.list_sample_query_sets.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Sample_query_set_service.update_sample_query_set | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/sample_query_set_service.update_sample_query_set.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/sample_query_set_service.update_sample_query_set.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Schema_service.create_schema | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/schema_service.create_schema.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/schema_service.create_schema.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Schema_service.delete_schema | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/schema_service.delete_schema.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/schema_service.delete_schema.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Schema_service.get_schema | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/schema_service.get_schema.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/schema_service.get_schema.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Schema_service.list_schemas | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/schema_service.list_schemas.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/schema_service.list_schemas.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Schema_service.update_schema | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/schema_service.update_schema.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/schema_service.update_schema.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Search_service.search | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/search_service.search.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/search_service.search.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Search_service.search_lite | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/search_service.search_lite.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/search_service.search_lite.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Search_tuning_service.list_custom_models | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/search_tuning_service.list_custom_models.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/search_tuning_service.list_custom_models.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Search_tuning_service.train_custom_model | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/search_tuning_service.train_custom_model.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/search_tuning_service.train_custom_model.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Serving_config_service.get_serving_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/serving_config_service.get_serving_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/serving_config_service.get_serving_config.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Serving_config_service.list_serving_configs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/serving_config_service.list_serving_configs.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/serving_config_service.list_serving_configs.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Serving_config_service.update_serving_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/serving_config_service.update_serving_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/serving_config_service.update_serving_config.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Session_service.create_session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/session_service.create_session.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/session_service.create_session.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Session_service.delete_session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/session_service.delete_session.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/session_service.delete_session.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Session_service.get_session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/session_service.get_session.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/session_service.get_session.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Session_service.list_sessions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/session_service.list_sessions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/session_service.list_sessions.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Session_service.update_session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/session_service.update_session.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/session_service.update_session.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.batch_create_target_sites | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.batch_create_target_sites.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.batch_create_target_sites.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.batch_verify_target_sites | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.batch_verify_target_sites.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.batch_verify_target_sites.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.create_sitemap | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.create_sitemap.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.create_sitemap.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.create_target_site | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.create_target_site.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.create_target_site.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.delete_sitemap | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.delete_sitemap.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.delete_sitemap.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.delete_target_site | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.delete_target_site.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.delete_target_site.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.disable_advanced_site_search | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.disable_advanced_site_search.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.disable_advanced_site_search.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.enable_advanced_site_search | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.enable_advanced_site_search.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.enable_advanced_site_search.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.fetch_domain_verification_status | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.fetch_domain_verification_status.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.fetch_domain_verification_status.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.fetch_sitemaps | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.fetch_sitemaps.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.fetch_sitemaps.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.get_site_search_engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.get_site_search_engine.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.get_site_search_engine.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.get_target_site | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.get_target_site.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.get_target_site.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.list_target_sites | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.list_target_sites.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.list_target_sites.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.recrawl_uris | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.recrawl_uris.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.recrawl_uris.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Site_search_engine_service.update_target_site | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.update_target_site.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.update_target_site.js,packages/google-cloud-discoveryengine/samples/README.md) | -| User_event_service.collect_user_event | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/user_event_service.collect_user_event.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/user_event_service.collect_user_event.js,packages/google-cloud-discoveryengine/samples/README.md) | -| User_event_service.import_user_events | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/user_event_service.import_user_events.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/user_event_service.import_user_events.js,packages/google-cloud-discoveryengine/samples/README.md) | -| User_event_service.purge_user_events | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/user_event_service.purge_user_events.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/user_event_service.purge_user_events.js,packages/google-cloud-discoveryengine/samples/README.md) | -| User_event_service.write_user_event | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/user_event_service.write_user_event.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1beta/user_event_service.write_user_event.js,packages/google-cloud-discoveryengine/samples/README.md) | -| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/quickstart.js,packages/google-cloud-discoveryengine/samples/README.md) | - - - -The [Discovery Engine API Node.js Client API Reference][client-docs] documentation -also contains samples. +Samples are in the [`samples/`][homepage_samples] directory. Each sample's `README.md` has instructions for running its sample. + +| Sample | Source Code | +| --------------------------- | --------------------------------- | +| stream assist | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/assistant_service.stream_assist.js) | +| delete cmek config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/cmek_config_service.delete_cmek_config.js) | +| get cmek config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/cmek_config_service.get_cmek_config.js) | +| list cmek configs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/cmek_config_service.list_cmek_configs.js) | +| update cmek config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/cmek_config_service.update_cmek_config.js) | +| complete query | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/completion_service.complete_query.js) | +| import completion suggestions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/completion_service.import_completion_suggestions.js) | +| import suggestion deny list entries | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/completion_service.import_suggestion_deny_list_entries.js) | +| purge completion suggestions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/completion_service.purge_completion_suggestions.js) | +| purge suggestion deny list entries | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/completion_service.purge_suggestion_deny_list_entries.js) | +| create control | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/control_service.create_control.js) | +| delete control | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/control_service.delete_control.js) | +| get control | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/control_service.get_control.js) | +| list controls | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/control_service.list_controls.js) | +| update control | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/control_service.update_control.js) | +| answer query | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/conversational_search_service.answer_query.js) | +| converse conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/conversational_search_service.converse_conversation.js) | +| create conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/conversational_search_service.create_conversation.js) | +| create session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/conversational_search_service.create_session.js) | +| delete conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/conversational_search_service.delete_conversation.js) | +| delete session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/conversational_search_service.delete_session.js) | +| get answer | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/conversational_search_service.get_answer.js) | +| get conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/conversational_search_service.get_conversation.js) | +| get session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/conversational_search_service.get_session.js) | +| list conversations | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/conversational_search_service.list_conversations.js) | +| list sessions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/conversational_search_service.list_sessions.js) | +| stream answer query | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/conversational_search_service.stream_answer_query.js) | +| update conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/conversational_search_service.update_conversation.js) | +| update session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/conversational_search_service.update_session.js) | +| create data store | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/data_store_service.create_data_store.js) | +| delete data store | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/data_store_service.delete_data_store.js) | +| get data store | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/data_store_service.get_data_store.js) | +| list data stores | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/data_store_service.list_data_stores.js) | +| update data store | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/data_store_service.update_data_store.js) | +| batch get documents metadata | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/document_service.batch_get_documents_metadata.js) | +| create document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/document_service.create_document.js) | +| delete document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/document_service.delete_document.js) | +| get document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/document_service.get_document.js) | +| import documents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/document_service.import_documents.js) | +| list documents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/document_service.list_documents.js) | +| purge documents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/document_service.purge_documents.js) | +| update document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/document_service.update_document.js) | +| create engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/engine_service.create_engine.js) | +| delete engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/engine_service.delete_engine.js) | +| get engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/engine_service.get_engine.js) | +| list engines | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/engine_service.list_engines.js) | +| update engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/engine_service.update_engine.js) | +| check grounding | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/grounded_generation_service.check_grounding.js) | +| generate grounded content | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/grounded_generation_service.generate_grounded_content.js) | +| stream generate grounded content | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/grounded_generation_service.stream_generate_grounded_content.js) | +| create identity mapping store | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/identity_mapping_store_service.create_identity_mapping_store.js) | +| delete identity mapping store | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/identity_mapping_store_service.delete_identity_mapping_store.js) | +| get identity mapping store | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/identity_mapping_store_service.get_identity_mapping_store.js) | +| import identity mappings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/identity_mapping_store_service.import_identity_mappings.js) | +| list identity mapping stores | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/identity_mapping_store_service.list_identity_mapping_stores.js) | +| list identity mappings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/identity_mapping_store_service.list_identity_mappings.js) | +| purge identity mappings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/identity_mapping_store_service.purge_identity_mappings.js) | +| provision project | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/project_service.provision_project.js) | +| rank | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/rank_service.rank.js) | +| recommend | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/recommendation_service.recommend.js) | +| create schema | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/schema_service.create_schema.js) | +| delete schema | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/schema_service.delete_schema.js) | +| get schema | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/schema_service.get_schema.js) | +| list schemas | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/schema_service.list_schemas.js) | +| update schema | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/schema_service.update_schema.js) | +| search | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/search_service.search.js) | +| search lite | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/search_service.search_lite.js) | +| list custom models | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/search_tuning_service.list_custom_models.js) | +| train custom model | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/search_tuning_service.train_custom_model.js) | +| update serving config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/serving_config_service.update_serving_config.js) | +| create session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/session_service.create_session.js) | +| delete session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/session_service.delete_session.js) | +| get session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/session_service.get_session.js) | +| list sessions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/session_service.list_sessions.js) | +| update session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/session_service.update_session.js) | +| batch create target sites | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.batch_create_target_sites.js) | +| batch verify target sites | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.batch_verify_target_sites.js) | +| create sitemap | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.create_sitemap.js) | +| create target site | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.create_target_site.js) | +| delete sitemap | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.delete_sitemap.js) | +| delete target site | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.delete_target_site.js) | +| disable advanced site search | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.disable_advanced_site_search.js) | +| enable advanced site search | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.enable_advanced_site_search.js) | +| fetch domain verification status | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.fetch_domain_verification_status.js) | +| fetch sitemaps | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.fetch_sitemaps.js) | +| get site search engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.get_site_search_engine.js) | +| get target site | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.get_target_site.js) | +| list target sites | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.list_target_sites.js) | +| recrawl uris | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.recrawl_uris.js) | +| update target site | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/site_search_engine_service.update_target_site.js) | +| cloud | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/snippet_metadata_google.cloud.discoveryengine.v1.json) | +| collect user event | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/user_event_service.collect_user_event.js) | +| import user events | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/user_event_service.import_user_events.js) | +| purge user events | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/user_event_service.purge_user_events.js) | +| write user event | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/user_event_service.write_user_event.js) | +| batch update user licenses | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/user_license_service.batch_update_user_licenses.js) | +| list user licenses | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/user_license_service.list_user_licenses.js) | +| get acl config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/acl_config_service.get_acl_config.js) | +| update acl config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/acl_config_service.update_acl_config.js) | +| get chunk | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/chunk_service.get_chunk.js) | +| list chunks | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/chunk_service.list_chunks.js) | +| complete query | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/completion_service.complete_query.js) | +| import completion suggestions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/completion_service.import_completion_suggestions.js) | +| import suggestion deny list entries | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/completion_service.import_suggestion_deny_list_entries.js) | +| purge completion suggestions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/completion_service.purge_completion_suggestions.js) | +| purge suggestion deny list entries | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/completion_service.purge_suggestion_deny_list_entries.js) | +| create control | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/control_service.create_control.js) | +| delete control | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/control_service.delete_control.js) | +| get control | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/control_service.get_control.js) | +| list controls | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/control_service.list_controls.js) | +| update control | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/control_service.update_control.js) | +| answer query | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.answer_query.js) | +| converse conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.converse_conversation.js) | +| create conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.create_conversation.js) | +| create session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.create_session.js) | +| delete conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.delete_conversation.js) | +| delete session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.delete_session.js) | +| get answer | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.get_answer.js) | +| get conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.get_conversation.js) | +| get session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.get_session.js) | +| list conversations | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.list_conversations.js) | +| list sessions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.list_sessions.js) | +| update conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.update_conversation.js) | +| update session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.update_session.js) | +| create data store | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/data_store_service.create_data_store.js) | +| delete data store | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/data_store_service.delete_data_store.js) | +| get data store | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/data_store_service.get_data_store.js) | +| get document processing config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/data_store_service.get_document_processing_config.js) | +| list data stores | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/data_store_service.list_data_stores.js) | +| update data store | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/data_store_service.update_data_store.js) | +| update document processing config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/data_store_service.update_document_processing_config.js) | +| batch get documents metadata | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/document_service.batch_get_documents_metadata.js) | +| create document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/document_service.create_document.js) | +| delete document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/document_service.delete_document.js) | +| get document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/document_service.get_document.js) | +| get processed document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/document_service.get_processed_document.js) | +| import documents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/document_service.import_documents.js) | +| list documents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/document_service.list_documents.js) | +| purge documents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/document_service.purge_documents.js) | +| update document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/document_service.update_document.js) | +| create engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/engine_service.create_engine.js) | +| delete engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/engine_service.delete_engine.js) | +| get engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/engine_service.get_engine.js) | +| list engines | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/engine_service.list_engines.js) | +| pause engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/engine_service.pause_engine.js) | +| resume engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/engine_service.resume_engine.js) | +| tune engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/engine_service.tune_engine.js) | +| update engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/engine_service.update_engine.js) | +| estimate data size | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/estimate_billing_service.estimate_data_size.js) | +| create evaluation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/evaluation_service.create_evaluation.js) | +| get evaluation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/evaluation_service.get_evaluation.js) | +| list evaluation results | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/evaluation_service.list_evaluation_results.js) | +| list evaluations | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/evaluation_service.list_evaluations.js) | +| check grounding | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/grounded_generation_service.check_grounding.js) | +| get project | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/project_service.get_project.js) | +| provision project | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/project_service.provision_project.js) | +| report consent change | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/project_service.report_consent_change.js) | +| rank | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/rank_service.rank.js) | +| recommend | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/recommendation_service.recommend.js) | +| create sample query | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/sample_query_service.create_sample_query.js) | +| delete sample query | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/sample_query_service.delete_sample_query.js) | +| get sample query | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/sample_query_service.get_sample_query.js) | +| import sample queries | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/sample_query_service.import_sample_queries.js) | +| list sample queries | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/sample_query_service.list_sample_queries.js) | +| update sample query | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/sample_query_service.update_sample_query.js) | +| create sample query set | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/sample_query_set_service.create_sample_query_set.js) | +| delete sample query set | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/sample_query_set_service.delete_sample_query_set.js) | +| get sample query set | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/sample_query_set_service.get_sample_query_set.js) | +| list sample query sets | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/sample_query_set_service.list_sample_query_sets.js) | +| update sample query set | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/sample_query_set_service.update_sample_query_set.js) | +| create schema | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/schema_service.create_schema.js) | +| delete schema | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/schema_service.delete_schema.js) | +| get schema | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/schema_service.get_schema.js) | +| list schemas | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/schema_service.list_schemas.js) | +| update schema | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/schema_service.update_schema.js) | +| search | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/search_service.search.js) | +| list custom models | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/search_tuning_service.list_custom_models.js) | +| train custom model | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/search_tuning_service.train_custom_model.js) | +| get serving config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/serving_config_service.get_serving_config.js) | +| list serving configs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/serving_config_service.list_serving_configs.js) | +| update serving config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/serving_config_service.update_serving_config.js) | +| create session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/session_service.create_session.js) | +| delete session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/session_service.delete_session.js) | +| get session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/session_service.get_session.js) | +| list files | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/session_service.list_files.js) | +| list sessions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/session_service.list_sessions.js) | +| update session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/session_service.update_session.js) | +| batch create target sites | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.batch_create_target_sites.js) | +| batch verify target sites | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.batch_verify_target_sites.js) | +| create target site | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.create_target_site.js) | +| delete target site | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.delete_target_site.js) | +| disable advanced site search | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.disable_advanced_site_search.js) | +| enable advanced site search | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.enable_advanced_site_search.js) | +| fetch domain verification status | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.fetch_domain_verification_status.js) | +| get site search engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.get_site_search_engine.js) | +| get target site | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.get_target_site.js) | +| get uri pattern document data | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.get_uri_pattern_document_data.js) | +| list target sites | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.list_target_sites.js) | +| recrawl uris | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.recrawl_uris.js) | +| set uri pattern document data | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.set_uri_pattern_document_data.js) | +| update target site | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.update_target_site.js) | +| cloud | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/snippet_metadata_google.cloud.discoveryengine.v1alpha.json) | +| collect user event | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/user_event_service.collect_user_event.js) | +| import user events | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/user_event_service.import_user_events.js) | +| purge user events | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/user_event_service.purge_user_events.js) | +| write user event | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/user_event_service.write_user_event.js) | +| advanced complete query | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/completion_service.advanced_complete_query.js) | +| complete query | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/completion_service.complete_query.js) | +| import completion suggestions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/completion_service.import_completion_suggestions.js) | +| import suggestion deny list entries | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/completion_service.import_suggestion_deny_list_entries.js) | +| purge completion suggestions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/completion_service.purge_completion_suggestions.js) | +| purge suggestion deny list entries | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/completion_service.purge_suggestion_deny_list_entries.js) | +| create control | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/control_service.create_control.js) | +| delete control | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/control_service.delete_control.js) | +| get control | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/control_service.get_control.js) | +| list controls | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/control_service.list_controls.js) | +| update control | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/control_service.update_control.js) | +| answer query | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/conversational_search_service.answer_query.js) | +| converse conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/conversational_search_service.converse_conversation.js) | +| create conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/conversational_search_service.create_conversation.js) | +| create session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/conversational_search_service.create_session.js) | +| delete conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/conversational_search_service.delete_conversation.js) | +| delete session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/conversational_search_service.delete_session.js) | +| get answer | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/conversational_search_service.get_answer.js) | +| get conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/conversational_search_service.get_conversation.js) | +| get session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/conversational_search_service.get_session.js) | +| list conversations | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/conversational_search_service.list_conversations.js) | +| list sessions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/conversational_search_service.list_sessions.js) | +| update conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/conversational_search_service.update_conversation.js) | +| update session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/conversational_search_service.update_session.js) | +| create data store | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/data_store_service.create_data_store.js) | +| delete data store | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/data_store_service.delete_data_store.js) | +| get data store | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/data_store_service.get_data_store.js) | +| list data stores | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/data_store_service.list_data_stores.js) | +| update data store | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/data_store_service.update_data_store.js) | +| batch get documents metadata | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/document_service.batch_get_documents_metadata.js) | +| create document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/document_service.create_document.js) | +| delete document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/document_service.delete_document.js) | +| get document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/document_service.get_document.js) | +| import documents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/document_service.import_documents.js) | +| list documents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/document_service.list_documents.js) | +| purge documents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/document_service.purge_documents.js) | +| update document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/document_service.update_document.js) | +| create engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/engine_service.create_engine.js) | +| delete engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/engine_service.delete_engine.js) | +| get engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/engine_service.get_engine.js) | +| list engines | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/engine_service.list_engines.js) | +| pause engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/engine_service.pause_engine.js) | +| resume engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/engine_service.resume_engine.js) | +| tune engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/engine_service.tune_engine.js) | +| update engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/engine_service.update_engine.js) | +| create evaluation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/evaluation_service.create_evaluation.js) | +| get evaluation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/evaluation_service.get_evaluation.js) | +| list evaluation results | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/evaluation_service.list_evaluation_results.js) | +| list evaluations | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/evaluation_service.list_evaluations.js) | +| check grounding | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/grounded_generation_service.check_grounding.js) | +| generate grounded content | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/grounded_generation_service.generate_grounded_content.js) | +| stream generate grounded content | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/grounded_generation_service.stream_generate_grounded_content.js) | +| provision project | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/project_service.provision_project.js) | +| rank | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/rank_service.rank.js) | +| recommend | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/recommendation_service.recommend.js) | +| create sample query | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/sample_query_service.create_sample_query.js) | +| delete sample query | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/sample_query_service.delete_sample_query.js) | +| get sample query | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/sample_query_service.get_sample_query.js) | +| import sample queries | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/sample_query_service.import_sample_queries.js) | +| list sample queries | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/sample_query_service.list_sample_queries.js) | +| update sample query | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/sample_query_service.update_sample_query.js) | +| create sample query set | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/sample_query_set_service.create_sample_query_set.js) | +| delete sample query set | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/sample_query_set_service.delete_sample_query_set.js) | +| get sample query set | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/sample_query_set_service.get_sample_query_set.js) | +| list sample query sets | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/sample_query_set_service.list_sample_query_sets.js) | +| update sample query set | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/sample_query_set_service.update_sample_query_set.js) | +| create schema | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/schema_service.create_schema.js) | +| delete schema | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/schema_service.delete_schema.js) | +| get schema | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/schema_service.get_schema.js) | +| list schemas | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/schema_service.list_schemas.js) | +| update schema | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/schema_service.update_schema.js) | +| search | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/search_service.search.js) | +| search lite | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/search_service.search_lite.js) | +| list custom models | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/search_tuning_service.list_custom_models.js) | +| train custom model | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/search_tuning_service.train_custom_model.js) | +| get serving config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/serving_config_service.get_serving_config.js) | +| list serving configs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/serving_config_service.list_serving_configs.js) | +| update serving config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/serving_config_service.update_serving_config.js) | +| create session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/session_service.create_session.js) | +| delete session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/session_service.delete_session.js) | +| get session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/session_service.get_session.js) | +| list sessions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/session_service.list_sessions.js) | +| update session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/session_service.update_session.js) | +| batch create target sites | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.batch_create_target_sites.js) | +| batch verify target sites | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.batch_verify_target_sites.js) | +| create sitemap | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.create_sitemap.js) | +| create target site | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.create_target_site.js) | +| delete sitemap | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.delete_sitemap.js) | +| delete target site | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.delete_target_site.js) | +| disable advanced site search | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.disable_advanced_site_search.js) | +| enable advanced site search | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.enable_advanced_site_search.js) | +| fetch domain verification status | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.fetch_domain_verification_status.js) | +| fetch sitemaps | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.fetch_sitemaps.js) | +| get site search engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.get_site_search_engine.js) | +| get target site | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.get_target_site.js) | +| list target sites | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.list_target_sites.js) | +| recrawl uris | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.recrawl_uris.js) | +| update target site | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/site_search_engine_service.update_target_site.js) | +| cloud | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/snippet_metadata_google.cloud.discoveryengine.v1beta.json) | +| collect user event | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/user_event_service.collect_user_event.js) | +| import user events | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/user_event_service.import_user_events.js) | +| purge user events | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/user_event_service.purge_user_events.js) | +| write user event | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1beta/user_event_service.write_user_event.js) | + ## Supported Node.js Versions @@ -463,45 +394,29 @@ for versions compatible with Node.js 8. This library follows [Semantic Versioning](http://semver.org/). - - -This library is considered to be **stable**. The code surface will not change in backwards-incompatible ways -unless absolutely necessary (e.g. because of critical security issues) or with -an extensive deprecation period. Issues and requests against **stable** libraries -are addressed with the highest priority. - - - - - - More Information: [Google Cloud Platform Launch Stages][launch_stages] [launch_stages]: https://cloud.google.com/terms/launch-stages ## Contributing -Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/google-cloud-node/blob/main/CONTRIBUTING.md). +Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/CONTRIBUTING.md). -Please note that this `README.md`, the `samples/README.md`, +Please note that this `README.md` and a variety of configuration files in this repository (including `.nycrc` and `tsconfig.json`) -are generated from a central template. To edit one of these files, make an edit -to its templates in -[directory](https://github.com/googleapis/synthtool). +are generated from a central template. ## License Apache Version 2.0 -See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/LICENSE) +See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/LICENSE) -[client-docs]: https://cloud.google.com/nodejs/docs/reference/discoveryengine/latest -[product-docs]: cloud.google.com/discovery-engine/ [shell_img]: https://gstatic.com/cloudssh/images/open-btn.png [projects]: https://console.cloud.google.com/project [billing]: https://support.google.com/cloud/answer/6293499#enable-billing [enable_api]: https://console.cloud.google.com/flows/enableapi?apiid=discoveryengine.googleapis.com [auth]: https://cloud.google.com/docs/authentication/external/set-up-adc-local - - -[//]: # "partials.introduction" \ No newline at end of file +[homepage_samples]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples +[homepage_changelog]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/CHANGELOG.md +[homepage]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine diff --git a/packages/google-cloud-discoveryengine/protos/protos.d.ts b/packages/google-cloud-discoveryengine/protos/protos.d.ts index 9fff3bb4b80e..af6e8ac69511 100644 --- a/packages/google-cloud-discoveryengine/protos/protos.d.ts +++ b/packages/google-cloud-discoveryengine/protos/protos.d.ts @@ -142453,9 +142453,6 @@ export namespace google { /** CommonLanguageSettings destinations */ destinations?: (google.api.ClientLibraryDestination[]|null); - - /** CommonLanguageSettings selectiveGapicGeneration */ - selectiveGapicGeneration?: (google.api.ISelectiveGapicGeneration|null); } /** Represents a CommonLanguageSettings. */ @@ -142473,9 +142470,6 @@ export namespace google { /** CommonLanguageSettings destinations. */ public destinations: google.api.ClientLibraryDestination[]; - /** CommonLanguageSettings selectiveGapicGeneration. */ - public selectiveGapicGeneration?: (google.api.ISelectiveGapicGeneration|null); - /** * Creates a new CommonLanguageSettings instance using the specified properties. * @param [properties] Properties to set @@ -143176,9 +143170,6 @@ export namespace google { /** PythonSettings common */ common?: (google.api.ICommonLanguageSettings|null); - - /** PythonSettings experimentalFeatures */ - experimentalFeatures?: (google.api.PythonSettings.IExperimentalFeatures|null); } /** Represents a PythonSettings. */ @@ -143193,9 +143184,6 @@ export namespace google { /** PythonSettings common. */ public common?: (google.api.ICommonLanguageSettings|null); - /** PythonSettings experimentalFeatures. */ - public experimentalFeatures?: (google.api.PythonSettings.IExperimentalFeatures|null); - /** * Creates a new PythonSettings instance using the specified properties. * @param [properties] Properties to set @@ -143274,118 +143262,6 @@ export namespace google { public static getTypeUrl(typeUrlPrefix?: string): string; } - namespace PythonSettings { - - /** Properties of an ExperimentalFeatures. */ - interface IExperimentalFeatures { - - /** ExperimentalFeatures restAsyncIoEnabled */ - restAsyncIoEnabled?: (boolean|null); - - /** ExperimentalFeatures protobufPythonicTypesEnabled */ - protobufPythonicTypesEnabled?: (boolean|null); - - /** ExperimentalFeatures unversionedPackageDisabled */ - unversionedPackageDisabled?: (boolean|null); - } - - /** Represents an ExperimentalFeatures. */ - class ExperimentalFeatures implements IExperimentalFeatures { - - /** - * Constructs a new ExperimentalFeatures. - * @param [properties] Properties to set - */ - constructor(properties?: google.api.PythonSettings.IExperimentalFeatures); - - /** ExperimentalFeatures restAsyncIoEnabled. */ - public restAsyncIoEnabled: boolean; - - /** ExperimentalFeatures protobufPythonicTypesEnabled. */ - public protobufPythonicTypesEnabled: boolean; - - /** ExperimentalFeatures unversionedPackageDisabled. */ - public unversionedPackageDisabled: boolean; - - /** - * Creates a new ExperimentalFeatures instance using the specified properties. - * @param [properties] Properties to set - * @returns ExperimentalFeatures instance - */ - public static create(properties?: google.api.PythonSettings.IExperimentalFeatures): google.api.PythonSettings.ExperimentalFeatures; - - /** - * Encodes the specified ExperimentalFeatures message. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @param message ExperimentalFeatures message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.api.PythonSettings.IExperimentalFeatures, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ExperimentalFeatures message, length delimited. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @param message ExperimentalFeatures message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.api.PythonSettings.IExperimentalFeatures, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.PythonSettings.ExperimentalFeatures; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.PythonSettings.ExperimentalFeatures; - - /** - * Verifies an ExperimentalFeatures message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an ExperimentalFeatures message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ExperimentalFeatures - */ - public static fromObject(object: { [k: string]: any }): google.api.PythonSettings.ExperimentalFeatures; - - /** - * Creates a plain object from an ExperimentalFeatures message. Also converts values to other types if specified. - * @param message ExperimentalFeatures - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.api.PythonSettings.ExperimentalFeatures, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ExperimentalFeatures to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ExperimentalFeatures - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - } - /** Properties of a NodeSettings. */ interface INodeSettings { @@ -143712,9 +143588,6 @@ export namespace google { /** GoSettings common */ common?: (google.api.ICommonLanguageSettings|null); - - /** GoSettings renamedServices */ - renamedServices?: ({ [k: string]: string }|null); } /** Represents a GoSettings. */ @@ -143729,9 +143602,6 @@ export namespace google { /** GoSettings common. */ public common?: (google.api.ICommonLanguageSettings|null); - /** GoSettings renamedServices. */ - public renamedServices: { [k: string]: string }; - /** * Creates a new GoSettings instance using the specified properties. * @param [properties] Properties to set @@ -144056,109 +143926,6 @@ export namespace google { PACKAGE_MANAGER = 20 } - /** Properties of a SelectiveGapicGeneration. */ - interface ISelectiveGapicGeneration { - - /** SelectiveGapicGeneration methods */ - methods?: (string[]|null); - - /** SelectiveGapicGeneration generateOmittedAsInternal */ - generateOmittedAsInternal?: (boolean|null); - } - - /** Represents a SelectiveGapicGeneration. */ - class SelectiveGapicGeneration implements ISelectiveGapicGeneration { - - /** - * Constructs a new SelectiveGapicGeneration. - * @param [properties] Properties to set - */ - constructor(properties?: google.api.ISelectiveGapicGeneration); - - /** SelectiveGapicGeneration methods. */ - public methods: string[]; - - /** SelectiveGapicGeneration generateOmittedAsInternal. */ - public generateOmittedAsInternal: boolean; - - /** - * Creates a new SelectiveGapicGeneration instance using the specified properties. - * @param [properties] Properties to set - * @returns SelectiveGapicGeneration instance - */ - public static create(properties?: google.api.ISelectiveGapicGeneration): google.api.SelectiveGapicGeneration; - - /** - * Encodes the specified SelectiveGapicGeneration message. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @param message SelectiveGapicGeneration message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.api.ISelectiveGapicGeneration, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified SelectiveGapicGeneration message, length delimited. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @param message SelectiveGapicGeneration message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.api.ISelectiveGapicGeneration, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.SelectiveGapicGeneration; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.SelectiveGapicGeneration; - - /** - * Verifies a SelectiveGapicGeneration message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a SelectiveGapicGeneration message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns SelectiveGapicGeneration - */ - public static fromObject(object: { [k: string]: any }): google.api.SelectiveGapicGeneration; - - /** - * Creates a plain object from a SelectiveGapicGeneration message. Also converts values to other types if specified. - * @param message SelectiveGapicGeneration - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.api.SelectiveGapicGeneration, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this SelectiveGapicGeneration to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for SelectiveGapicGeneration - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - /** LaunchStage enum. */ enum LaunchStage { LAUNCH_STAGE_UNSPECIFIED = 0, @@ -144384,7 +144151,6 @@ export namespace google { /** Edition enum. */ enum Edition { EDITION_UNKNOWN = 0, - EDITION_LEGACY = 900, EDITION_PROTO2 = 998, EDITION_PROTO3 = 999, EDITION_2023 = 1000, @@ -144415,9 +144181,6 @@ export namespace google { /** FileDescriptorProto weakDependency */ weakDependency?: (number[]|null); - /** FileDescriptorProto optionDependency */ - optionDependency?: (string[]|null); - /** FileDescriptorProto messageType */ messageType?: (google.protobuf.IDescriptorProto[]|null); @@ -144467,9 +144230,6 @@ export namespace google { /** FileDescriptorProto weakDependency. */ public weakDependency: number[]; - /** FileDescriptorProto optionDependency. */ - public optionDependency: string[]; - /** FileDescriptorProto messageType. */ public messageType: google.protobuf.IDescriptorProto[]; @@ -144604,9 +144364,6 @@ export namespace google { /** DescriptorProto reservedName */ reservedName?: (string[]|null); - - /** DescriptorProto visibility */ - visibility?: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility|null); } /** Represents a DescriptorProto. */ @@ -144648,9 +144405,6 @@ export namespace google { /** DescriptorProto reservedName. */ public reservedName: string[]; - /** DescriptorProto visibility. */ - public visibility: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility); - /** * Creates a new DescriptorProto instance using the specified properties. * @param [properties] Properties to set @@ -145498,9 +145252,6 @@ export namespace google { /** EnumDescriptorProto reservedName */ reservedName?: (string[]|null); - - /** EnumDescriptorProto visibility */ - visibility?: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility|null); } /** Represents an EnumDescriptorProto. */ @@ -145527,9 +145278,6 @@ export namespace google { /** EnumDescriptorProto reservedName. */ public reservedName: string[]; - /** EnumDescriptorProto visibility. */ - public visibility: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility); - /** * Creates a new EnumDescriptorProto instance using the specified properties. * @param [properties] Properties to set @@ -146464,9 +146212,6 @@ export namespace google { /** FieldOptions features */ features?: (google.protobuf.IFeatureSet|null); - /** FieldOptions featureSupport */ - featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** FieldOptions uninterpretedOption */ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); @@ -146522,9 +146267,6 @@ export namespace google { /** FieldOptions features. */ public features?: (google.protobuf.IFeatureSet|null); - /** FieldOptions featureSupport. */ - public featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** FieldOptions uninterpretedOption. */ public uninterpretedOption: google.protobuf.IUninterpretedOption[]; @@ -146745,121 +146487,6 @@ export namespace google { */ public static getTypeUrl(typeUrlPrefix?: string): string; } - - /** Properties of a FeatureSupport. */ - interface IFeatureSupport { - - /** FeatureSupport editionIntroduced */ - editionIntroduced?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - - /** FeatureSupport editionDeprecated */ - editionDeprecated?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - - /** FeatureSupport deprecationWarning */ - deprecationWarning?: (string|null); - - /** FeatureSupport editionRemoved */ - editionRemoved?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - } - - /** Represents a FeatureSupport. */ - class FeatureSupport implements IFeatureSupport { - - /** - * Constructs a new FeatureSupport. - * @param [properties] Properties to set - */ - constructor(properties?: google.protobuf.FieldOptions.IFeatureSupport); - - /** FeatureSupport editionIntroduced. */ - public editionIntroduced: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - - /** FeatureSupport editionDeprecated. */ - public editionDeprecated: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - - /** FeatureSupport deprecationWarning. */ - public deprecationWarning: string; - - /** FeatureSupport editionRemoved. */ - public editionRemoved: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - - /** - * Creates a new FeatureSupport instance using the specified properties. - * @param [properties] Properties to set - * @returns FeatureSupport instance - */ - public static create(properties?: google.protobuf.FieldOptions.IFeatureSupport): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Encodes the specified FeatureSupport message. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. - * @param message FeatureSupport message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.protobuf.FieldOptions.IFeatureSupport, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified FeatureSupport message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. - * @param message FeatureSupport message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.protobuf.FieldOptions.IFeatureSupport, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a FeatureSupport message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns FeatureSupport - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Decodes a FeatureSupport message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns FeatureSupport - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Verifies a FeatureSupport message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a FeatureSupport message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns FeatureSupport - */ - public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Creates a plain object from a FeatureSupport message. Also converts values to other types if specified. - * @param message FeatureSupport - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.protobuf.FieldOptions.FeatureSupport, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this FeatureSupport to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for FeatureSupport - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } } /** Properties of an OneofOptions. */ @@ -147098,9 +146725,6 @@ export namespace google { /** EnumValueOptions debugRedact */ debugRedact?: (boolean|null); - /** EnumValueOptions featureSupport */ - featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** EnumValueOptions uninterpretedOption */ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); } @@ -147123,9 +146747,6 @@ export namespace google { /** EnumValueOptions debugRedact. */ public debugRedact: boolean; - /** EnumValueOptions featureSupport. */ - public featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** EnumValueOptions uninterpretedOption. */ public uninterpretedOption: google.protobuf.IUninterpretedOption[]; @@ -147718,12 +147339,6 @@ export namespace google { /** FeatureSet jsonFormat */ jsonFormat?: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat|null); - - /** FeatureSet enforceNamingStyle */ - enforceNamingStyle?: (google.protobuf.FeatureSet.EnforceNamingStyle|keyof typeof google.protobuf.FeatureSet.EnforceNamingStyle|null); - - /** FeatureSet defaultSymbolVisibility */ - defaultSymbolVisibility?: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|keyof typeof google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|null); } /** Represents a FeatureSet. */ @@ -147753,12 +147368,6 @@ export namespace google { /** FeatureSet jsonFormat. */ public jsonFormat: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat); - /** FeatureSet enforceNamingStyle. */ - public enforceNamingStyle: (google.protobuf.FeatureSet.EnforceNamingStyle|keyof typeof google.protobuf.FeatureSet.EnforceNamingStyle); - - /** FeatureSet defaultSymbolVisibility. */ - public defaultSymbolVisibility: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|keyof typeof google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility); - /** * Creates a new FeatureSet instance using the specified properties. * @param [properties] Properties to set @@ -147881,116 +147490,6 @@ export namespace google { ALLOW = 1, LEGACY_BEST_EFFORT = 2 } - - /** EnforceNamingStyle enum. */ - enum EnforceNamingStyle { - ENFORCE_NAMING_STYLE_UNKNOWN = 0, - STYLE2024 = 1, - STYLE_LEGACY = 2 - } - - /** Properties of a VisibilityFeature. */ - interface IVisibilityFeature { - } - - /** Represents a VisibilityFeature. */ - class VisibilityFeature implements IVisibilityFeature { - - /** - * Constructs a new VisibilityFeature. - * @param [properties] Properties to set - */ - constructor(properties?: google.protobuf.FeatureSet.IVisibilityFeature); - - /** - * Creates a new VisibilityFeature instance using the specified properties. - * @param [properties] Properties to set - * @returns VisibilityFeature instance - */ - public static create(properties?: google.protobuf.FeatureSet.IVisibilityFeature): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Encodes the specified VisibilityFeature message. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @param message VisibilityFeature message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.protobuf.FeatureSet.IVisibilityFeature, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified VisibilityFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @param message VisibilityFeature message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.protobuf.FeatureSet.IVisibilityFeature, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Verifies a VisibilityFeature message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a VisibilityFeature message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns VisibilityFeature - */ - public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Creates a plain object from a VisibilityFeature message. Also converts values to other types if specified. - * @param message VisibilityFeature - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.protobuf.FeatureSet.VisibilityFeature, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this VisibilityFeature to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for VisibilityFeature - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - namespace VisibilityFeature { - - /** DefaultSymbolVisibility enum. */ - enum DefaultSymbolVisibility { - DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0, - EXPORT_ALL = 1, - EXPORT_TOP_LEVEL = 2, - LOCAL_ALL = 3, - STRICT = 4 - } - } } /** Properties of a FeatureSetDefaults. */ @@ -148110,11 +147609,8 @@ export namespace google { /** FeatureSetEditionDefault edition */ edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - /** FeatureSetEditionDefault overridableFeatures */ - overridableFeatures?: (google.protobuf.IFeatureSet|null); - - /** FeatureSetEditionDefault fixedFeatures */ - fixedFeatures?: (google.protobuf.IFeatureSet|null); + /** FeatureSetEditionDefault features */ + features?: (google.protobuf.IFeatureSet|null); } /** Represents a FeatureSetEditionDefault. */ @@ -148129,11 +147625,8 @@ export namespace google { /** FeatureSetEditionDefault edition. */ public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - /** FeatureSetEditionDefault overridableFeatures. */ - public overridableFeatures?: (google.protobuf.IFeatureSet|null); - - /** FeatureSetEditionDefault fixedFeatures. */ - public fixedFeatures?: (google.protobuf.IFeatureSet|null); + /** FeatureSetEditionDefault features. */ + public features?: (google.protobuf.IFeatureSet|null); /** * Creates a new FeatureSetEditionDefault instance using the specified properties. @@ -148666,13 +148159,6 @@ export namespace google { } } - /** SymbolVisibility enum. */ - enum SymbolVisibility { - VISIBILITY_UNSET = 0, - VISIBILITY_LOCAL = 1, - VISIBILITY_EXPORT = 2 - } - /** Properties of a Struct. */ interface IStruct { diff --git a/packages/google-cloud-discoveryengine/protos/protos.js b/packages/google-cloud-discoveryengine/protos/protos.js index 74356db2c5d0..6964d23c78bb 100644 --- a/packages/google-cloud-discoveryengine/protos/protos.js +++ b/packages/google-cloud-discoveryengine/protos/protos.js @@ -349675,7 +349675,6 @@ * @interface ICommonLanguageSettings * @property {string|null} [referenceDocsUri] CommonLanguageSettings referenceDocsUri * @property {Array.|null} [destinations] CommonLanguageSettings destinations - * @property {google.api.ISelectiveGapicGeneration|null} [selectiveGapicGeneration] CommonLanguageSettings selectiveGapicGeneration */ /** @@ -349710,14 +349709,6 @@ */ CommonLanguageSettings.prototype.destinations = $util.emptyArray; - /** - * CommonLanguageSettings selectiveGapicGeneration. - * @member {google.api.ISelectiveGapicGeneration|null|undefined} selectiveGapicGeneration - * @memberof google.api.CommonLanguageSettings - * @instance - */ - CommonLanguageSettings.prototype.selectiveGapicGeneration = null; - /** * Creates a new CommonLanguageSettings instance using the specified properties. * @function create @@ -349750,8 +349741,6 @@ writer.int32(message.destinations[i]); writer.ldelim(); } - if (message.selectiveGapicGeneration != null && Object.hasOwnProperty.call(message, "selectiveGapicGeneration")) - $root.google.api.SelectiveGapicGeneration.encode(message.selectiveGapicGeneration, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; @@ -349803,10 +349792,6 @@ message.destinations.push(reader.int32()); break; } - case 3: { - message.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.decode(reader, reader.uint32()); - break; - } default: reader.skipType(tag & 7); break; @@ -349858,11 +349843,6 @@ break; } } - if (message.selectiveGapicGeneration != null && message.hasOwnProperty("selectiveGapicGeneration")) { - var error = $root.google.api.SelectiveGapicGeneration.verify(message.selectiveGapicGeneration); - if (error) - return "selectiveGapicGeneration." + error; - } return null; }; @@ -349905,11 +349885,6 @@ break; } } - if (object.selectiveGapicGeneration != null) { - if (typeof object.selectiveGapicGeneration !== "object") - throw TypeError(".google.api.CommonLanguageSettings.selectiveGapicGeneration: object expected"); - message.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.fromObject(object.selectiveGapicGeneration); - } return message; }; @@ -349928,10 +349903,8 @@ var object = {}; if (options.arrays || options.defaults) object.destinations = []; - if (options.defaults) { + if (options.defaults) object.referenceDocsUri = ""; - object.selectiveGapicGeneration = null; - } if (message.referenceDocsUri != null && message.hasOwnProperty("referenceDocsUri")) object.referenceDocsUri = message.referenceDocsUri; if (message.destinations && message.destinations.length) { @@ -349939,8 +349912,6 @@ for (var j = 0; j < message.destinations.length; ++j) object.destinations[j] = options.enums === String ? $root.google.api.ClientLibraryDestination[message.destinations[j]] === undefined ? message.destinations[j] : $root.google.api.ClientLibraryDestination[message.destinations[j]] : message.destinations[j]; } - if (message.selectiveGapicGeneration != null && message.hasOwnProperty("selectiveGapicGeneration")) - object.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.toObject(message.selectiveGapicGeneration, options); return object; }; @@ -351763,7 +351734,6 @@ * @memberof google.api * @interface IPythonSettings * @property {google.api.ICommonLanguageSettings|null} [common] PythonSettings common - * @property {google.api.PythonSettings.IExperimentalFeatures|null} [experimentalFeatures] PythonSettings experimentalFeatures */ /** @@ -351789,14 +351759,6 @@ */ PythonSettings.prototype.common = null; - /** - * PythonSettings experimentalFeatures. - * @member {google.api.PythonSettings.IExperimentalFeatures|null|undefined} experimentalFeatures - * @memberof google.api.PythonSettings - * @instance - */ - PythonSettings.prototype.experimentalFeatures = null; - /** * Creates a new PythonSettings instance using the specified properties. * @function create @@ -351823,8 +351785,6 @@ writer = $Writer.create(); if (message.common != null && Object.hasOwnProperty.call(message, "common")) $root.google.api.CommonLanguageSettings.encode(message.common, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.experimentalFeatures != null && Object.hasOwnProperty.call(message, "experimentalFeatures")) - $root.google.api.PythonSettings.ExperimentalFeatures.encode(message.experimentalFeatures, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; @@ -351865,10 +351825,6 @@ message.common = $root.google.api.CommonLanguageSettings.decode(reader, reader.uint32()); break; } - case 2: { - message.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.decode(reader, reader.uint32()); - break; - } default: reader.skipType(tag & 7); break; @@ -351909,11 +351865,6 @@ if (error) return "common." + error; } - if (message.experimentalFeatures != null && message.hasOwnProperty("experimentalFeatures")) { - var error = $root.google.api.PythonSettings.ExperimentalFeatures.verify(message.experimentalFeatures); - if (error) - return "experimentalFeatures." + error; - } return null; }; @@ -351934,11 +351885,6 @@ throw TypeError(".google.api.PythonSettings.common: object expected"); message.common = $root.google.api.CommonLanguageSettings.fromObject(object.common); } - if (object.experimentalFeatures != null) { - if (typeof object.experimentalFeatures !== "object") - throw TypeError(".google.api.PythonSettings.experimentalFeatures: object expected"); - message.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.fromObject(object.experimentalFeatures); - } return message; }; @@ -351955,14 +351901,10 @@ if (!options) options = {}; var object = {}; - if (options.defaults) { + if (options.defaults) object.common = null; - object.experimentalFeatures = null; - } if (message.common != null && message.hasOwnProperty("common")) object.common = $root.google.api.CommonLanguageSettings.toObject(message.common, options); - if (message.experimentalFeatures != null && message.hasOwnProperty("experimentalFeatures")) - object.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.toObject(message.experimentalFeatures, options); return object; }; @@ -351992,258 +351934,6 @@ return typeUrlPrefix + "/google.api.PythonSettings"; }; - PythonSettings.ExperimentalFeatures = (function() { - - /** - * Properties of an ExperimentalFeatures. - * @memberof google.api.PythonSettings - * @interface IExperimentalFeatures - * @property {boolean|null} [restAsyncIoEnabled] ExperimentalFeatures restAsyncIoEnabled - * @property {boolean|null} [protobufPythonicTypesEnabled] ExperimentalFeatures protobufPythonicTypesEnabled - * @property {boolean|null} [unversionedPackageDisabled] ExperimentalFeatures unversionedPackageDisabled - */ - - /** - * Constructs a new ExperimentalFeatures. - * @memberof google.api.PythonSettings - * @classdesc Represents an ExperimentalFeatures. - * @implements IExperimentalFeatures - * @constructor - * @param {google.api.PythonSettings.IExperimentalFeatures=} [properties] Properties to set - */ - function ExperimentalFeatures(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ExperimentalFeatures restAsyncIoEnabled. - * @member {boolean} restAsyncIoEnabled - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - */ - ExperimentalFeatures.prototype.restAsyncIoEnabled = false; - - /** - * ExperimentalFeatures protobufPythonicTypesEnabled. - * @member {boolean} protobufPythonicTypesEnabled - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - */ - ExperimentalFeatures.prototype.protobufPythonicTypesEnabled = false; - - /** - * ExperimentalFeatures unversionedPackageDisabled. - * @member {boolean} unversionedPackageDisabled - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - */ - ExperimentalFeatures.prototype.unversionedPackageDisabled = false; - - /** - * Creates a new ExperimentalFeatures instance using the specified properties. - * @function create - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.IExperimentalFeatures=} [properties] Properties to set - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures instance - */ - ExperimentalFeatures.create = function create(properties) { - return new ExperimentalFeatures(properties); - }; - - /** - * Encodes the specified ExperimentalFeatures message. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @function encode - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.IExperimentalFeatures} message ExperimentalFeatures message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ExperimentalFeatures.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.restAsyncIoEnabled != null && Object.hasOwnProperty.call(message, "restAsyncIoEnabled")) - writer.uint32(/* id 1, wireType 0 =*/8).bool(message.restAsyncIoEnabled); - if (message.protobufPythonicTypesEnabled != null && Object.hasOwnProperty.call(message, "protobufPythonicTypesEnabled")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.protobufPythonicTypesEnabled); - if (message.unversionedPackageDisabled != null && Object.hasOwnProperty.call(message, "unversionedPackageDisabled")) - writer.uint32(/* id 3, wireType 0 =*/24).bool(message.unversionedPackageDisabled); - return writer; - }; - - /** - * Encodes the specified ExperimentalFeatures message, length delimited. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @function encodeDelimited - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.IExperimentalFeatures} message ExperimentalFeatures message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ExperimentalFeatures.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer. - * @function decode - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ExperimentalFeatures.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.PythonSettings.ExperimentalFeatures(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.restAsyncIoEnabled = reader.bool(); - break; - } - case 2: { - message.protobufPythonicTypesEnabled = reader.bool(); - break; - } - case 3: { - message.unversionedPackageDisabled = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ExperimentalFeatures.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an ExperimentalFeatures message. - * @function verify - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - ExperimentalFeatures.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.restAsyncIoEnabled != null && message.hasOwnProperty("restAsyncIoEnabled")) - if (typeof message.restAsyncIoEnabled !== "boolean") - return "restAsyncIoEnabled: boolean expected"; - if (message.protobufPythonicTypesEnabled != null && message.hasOwnProperty("protobufPythonicTypesEnabled")) - if (typeof message.protobufPythonicTypesEnabled !== "boolean") - return "protobufPythonicTypesEnabled: boolean expected"; - if (message.unversionedPackageDisabled != null && message.hasOwnProperty("unversionedPackageDisabled")) - if (typeof message.unversionedPackageDisabled !== "boolean") - return "unversionedPackageDisabled: boolean expected"; - return null; - }; - - /** - * Creates an ExperimentalFeatures message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {Object.} object Plain object - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures - */ - ExperimentalFeatures.fromObject = function fromObject(object) { - if (object instanceof $root.google.api.PythonSettings.ExperimentalFeatures) - return object; - var message = new $root.google.api.PythonSettings.ExperimentalFeatures(); - if (object.restAsyncIoEnabled != null) - message.restAsyncIoEnabled = Boolean(object.restAsyncIoEnabled); - if (object.protobufPythonicTypesEnabled != null) - message.protobufPythonicTypesEnabled = Boolean(object.protobufPythonicTypesEnabled); - if (object.unversionedPackageDisabled != null) - message.unversionedPackageDisabled = Boolean(object.unversionedPackageDisabled); - return message; - }; - - /** - * Creates a plain object from an ExperimentalFeatures message. Also converts values to other types if specified. - * @function toObject - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.ExperimentalFeatures} message ExperimentalFeatures - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ExperimentalFeatures.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.restAsyncIoEnabled = false; - object.protobufPythonicTypesEnabled = false; - object.unversionedPackageDisabled = false; - } - if (message.restAsyncIoEnabled != null && message.hasOwnProperty("restAsyncIoEnabled")) - object.restAsyncIoEnabled = message.restAsyncIoEnabled; - if (message.protobufPythonicTypesEnabled != null && message.hasOwnProperty("protobufPythonicTypesEnabled")) - object.protobufPythonicTypesEnabled = message.protobufPythonicTypesEnabled; - if (message.unversionedPackageDisabled != null && message.hasOwnProperty("unversionedPackageDisabled")) - object.unversionedPackageDisabled = message.unversionedPackageDisabled; - return object; - }; - - /** - * Converts this ExperimentalFeatures to JSON. - * @function toJSON - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - * @returns {Object.} JSON object - */ - ExperimentalFeatures.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ExperimentalFeatures - * @function getTypeUrl - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ExperimentalFeatures.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.api.PythonSettings.ExperimentalFeatures"; - }; - - return ExperimentalFeatures; - })(); - return PythonSettings; })(); @@ -353120,7 +352810,6 @@ * @memberof google.api * @interface IGoSettings * @property {google.api.ICommonLanguageSettings|null} [common] GoSettings common - * @property {Object.|null} [renamedServices] GoSettings renamedServices */ /** @@ -353132,7 +352821,6 @@ * @param {google.api.IGoSettings=} [properties] Properties to set */ function GoSettings(properties) { - this.renamedServices = {}; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -353147,14 +352835,6 @@ */ GoSettings.prototype.common = null; - /** - * GoSettings renamedServices. - * @member {Object.} renamedServices - * @memberof google.api.GoSettings - * @instance - */ - GoSettings.prototype.renamedServices = $util.emptyObject; - /** * Creates a new GoSettings instance using the specified properties. * @function create @@ -353181,9 +352861,6 @@ writer = $Writer.create(); if (message.common != null && Object.hasOwnProperty.call(message, "common")) $root.google.api.CommonLanguageSettings.encode(message.common, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.renamedServices != null && Object.hasOwnProperty.call(message, "renamedServices")) - for (var keys = Object.keys(message.renamedServices), i = 0; i < keys.length; ++i) - writer.uint32(/* id 2, wireType 2 =*/18).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.renamedServices[keys[i]]).ldelim(); return writer; }; @@ -353214,7 +352891,7 @@ GoSettings.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.GoSettings(), key, value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.GoSettings(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) @@ -353224,29 +352901,6 @@ message.common = $root.google.api.CommonLanguageSettings.decode(reader, reader.uint32()); break; } - case 2: { - if (message.renamedServices === $util.emptyObject) - message.renamedServices = {}; - var end2 = reader.uint32() + reader.pos; - key = ""; - value = ""; - while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { - case 1: - key = reader.string(); - break; - case 2: - value = reader.string(); - break; - default: - reader.skipType(tag2 & 7); - break; - } - } - message.renamedServices[key] = value; - break; - } default: reader.skipType(tag & 7); break; @@ -353287,14 +352941,6 @@ if (error) return "common." + error; } - if (message.renamedServices != null && message.hasOwnProperty("renamedServices")) { - if (!$util.isObject(message.renamedServices)) - return "renamedServices: object expected"; - var key = Object.keys(message.renamedServices); - for (var i = 0; i < key.length; ++i) - if (!$util.isString(message.renamedServices[key[i]])) - return "renamedServices: string{k:string} expected"; - } return null; }; @@ -353315,13 +352961,6 @@ throw TypeError(".google.api.GoSettings.common: object expected"); message.common = $root.google.api.CommonLanguageSettings.fromObject(object.common); } - if (object.renamedServices) { - if (typeof object.renamedServices !== "object") - throw TypeError(".google.api.GoSettings.renamedServices: object expected"); - message.renamedServices = {}; - for (var keys = Object.keys(object.renamedServices), i = 0; i < keys.length; ++i) - message.renamedServices[keys[i]] = String(object.renamedServices[keys[i]]); - } return message; }; @@ -353338,18 +352977,10 @@ if (!options) options = {}; var object = {}; - if (options.objects || options.defaults) - object.renamedServices = {}; if (options.defaults) object.common = null; if (message.common != null && message.hasOwnProperty("common")) object.common = $root.google.api.CommonLanguageSettings.toObject(message.common, options); - var keys2; - if (message.renamedServices && (keys2 = Object.keys(message.renamedServices)).length) { - object.renamedServices = {}; - for (var j = 0; j < keys2.length; ++j) - object.renamedServices[keys2[j]] = message.renamedServices[keys2[j]]; - } return object; }; @@ -353988,251 +353619,6 @@ return values; })(); - api.SelectiveGapicGeneration = (function() { - - /** - * Properties of a SelectiveGapicGeneration. - * @memberof google.api - * @interface ISelectiveGapicGeneration - * @property {Array.|null} [methods] SelectiveGapicGeneration methods - * @property {boolean|null} [generateOmittedAsInternal] SelectiveGapicGeneration generateOmittedAsInternal - */ - - /** - * Constructs a new SelectiveGapicGeneration. - * @memberof google.api - * @classdesc Represents a SelectiveGapicGeneration. - * @implements ISelectiveGapicGeneration - * @constructor - * @param {google.api.ISelectiveGapicGeneration=} [properties] Properties to set - */ - function SelectiveGapicGeneration(properties) { - this.methods = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * SelectiveGapicGeneration methods. - * @member {Array.} methods - * @memberof google.api.SelectiveGapicGeneration - * @instance - */ - SelectiveGapicGeneration.prototype.methods = $util.emptyArray; - - /** - * SelectiveGapicGeneration generateOmittedAsInternal. - * @member {boolean} generateOmittedAsInternal - * @memberof google.api.SelectiveGapicGeneration - * @instance - */ - SelectiveGapicGeneration.prototype.generateOmittedAsInternal = false; - - /** - * Creates a new SelectiveGapicGeneration instance using the specified properties. - * @function create - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.ISelectiveGapicGeneration=} [properties] Properties to set - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration instance - */ - SelectiveGapicGeneration.create = function create(properties) { - return new SelectiveGapicGeneration(properties); - }; - - /** - * Encodes the specified SelectiveGapicGeneration message. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @function encode - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.ISelectiveGapicGeneration} message SelectiveGapicGeneration message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - SelectiveGapicGeneration.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.methods != null && message.methods.length) - for (var i = 0; i < message.methods.length; ++i) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.methods[i]); - if (message.generateOmittedAsInternal != null && Object.hasOwnProperty.call(message, "generateOmittedAsInternal")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.generateOmittedAsInternal); - return writer; - }; - - /** - * Encodes the specified SelectiveGapicGeneration message, length delimited. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @function encodeDelimited - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.ISelectiveGapicGeneration} message SelectiveGapicGeneration message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - SelectiveGapicGeneration.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer. - * @function decode - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - SelectiveGapicGeneration.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.SelectiveGapicGeneration(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - if (!(message.methods && message.methods.length)) - message.methods = []; - message.methods.push(reader.string()); - break; - } - case 2: { - message.generateOmittedAsInternal = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - SelectiveGapicGeneration.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a SelectiveGapicGeneration message. - * @function verify - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - SelectiveGapicGeneration.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.methods != null && message.hasOwnProperty("methods")) { - if (!Array.isArray(message.methods)) - return "methods: array expected"; - for (var i = 0; i < message.methods.length; ++i) - if (!$util.isString(message.methods[i])) - return "methods: string[] expected"; - } - if (message.generateOmittedAsInternal != null && message.hasOwnProperty("generateOmittedAsInternal")) - if (typeof message.generateOmittedAsInternal !== "boolean") - return "generateOmittedAsInternal: boolean expected"; - return null; - }; - - /** - * Creates a SelectiveGapicGeneration message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {Object.} object Plain object - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration - */ - SelectiveGapicGeneration.fromObject = function fromObject(object) { - if (object instanceof $root.google.api.SelectiveGapicGeneration) - return object; - var message = new $root.google.api.SelectiveGapicGeneration(); - if (object.methods) { - if (!Array.isArray(object.methods)) - throw TypeError(".google.api.SelectiveGapicGeneration.methods: array expected"); - message.methods = []; - for (var i = 0; i < object.methods.length; ++i) - message.methods[i] = String(object.methods[i]); - } - if (object.generateOmittedAsInternal != null) - message.generateOmittedAsInternal = Boolean(object.generateOmittedAsInternal); - return message; - }; - - /** - * Creates a plain object from a SelectiveGapicGeneration message. Also converts values to other types if specified. - * @function toObject - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.SelectiveGapicGeneration} message SelectiveGapicGeneration - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - SelectiveGapicGeneration.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.methods = []; - if (options.defaults) - object.generateOmittedAsInternal = false; - if (message.methods && message.methods.length) { - object.methods = []; - for (var j = 0; j < message.methods.length; ++j) - object.methods[j] = message.methods[j]; - } - if (message.generateOmittedAsInternal != null && message.hasOwnProperty("generateOmittedAsInternal")) - object.generateOmittedAsInternal = message.generateOmittedAsInternal; - return object; - }; - - /** - * Converts this SelectiveGapicGeneration to JSON. - * @function toJSON - * @memberof google.api.SelectiveGapicGeneration - * @instance - * @returns {Object.} JSON object - */ - SelectiveGapicGeneration.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for SelectiveGapicGeneration - * @function getTypeUrl - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - SelectiveGapicGeneration.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.api.SelectiveGapicGeneration"; - }; - - return SelectiveGapicGeneration; - })(); - /** * LaunchStage enum. * @name google.api.LaunchStage @@ -354785,7 +354171,6 @@ * @name google.protobuf.Edition * @enum {number} * @property {number} EDITION_UNKNOWN=0 EDITION_UNKNOWN value - * @property {number} EDITION_LEGACY=900 EDITION_LEGACY value * @property {number} EDITION_PROTO2=998 EDITION_PROTO2 value * @property {number} EDITION_PROTO3=999 EDITION_PROTO3 value * @property {number} EDITION_2023=1000 EDITION_2023 value @@ -354800,7 +354185,6 @@ protobuf.Edition = (function() { var valuesById = {}, values = Object.create(valuesById); values[valuesById[0] = "EDITION_UNKNOWN"] = 0; - values[valuesById[900] = "EDITION_LEGACY"] = 900; values[valuesById[998] = "EDITION_PROTO2"] = 998; values[valuesById[999] = "EDITION_PROTO3"] = 999; values[valuesById[1000] = "EDITION_2023"] = 1000; @@ -354825,7 +354209,6 @@ * @property {Array.|null} [dependency] FileDescriptorProto dependency * @property {Array.|null} [publicDependency] FileDescriptorProto publicDependency * @property {Array.|null} [weakDependency] FileDescriptorProto weakDependency - * @property {Array.|null} [optionDependency] FileDescriptorProto optionDependency * @property {Array.|null} [messageType] FileDescriptorProto messageType * @property {Array.|null} [enumType] FileDescriptorProto enumType * @property {Array.|null} [service] FileDescriptorProto service @@ -354848,7 +354231,6 @@ this.dependency = []; this.publicDependency = []; this.weakDependency = []; - this.optionDependency = []; this.messageType = []; this.enumType = []; this.service = []; @@ -354899,14 +354281,6 @@ */ FileDescriptorProto.prototype.weakDependency = $util.emptyArray; - /** - * FileDescriptorProto optionDependency. - * @member {Array.} optionDependency - * @memberof google.protobuf.FileDescriptorProto - * @instance - */ - FileDescriptorProto.prototype.optionDependency = $util.emptyArray; - /** * FileDescriptorProto messageType. * @member {Array.} messageType @@ -355028,9 +354402,6 @@ writer.uint32(/* id 12, wireType 2 =*/98).string(message.syntax); if (message.edition != null && Object.hasOwnProperty.call(message, "edition")) writer.uint32(/* id 14, wireType 0 =*/112).int32(message.edition); - if (message.optionDependency != null && message.optionDependency.length) - for (var i = 0; i < message.optionDependency.length; ++i) - writer.uint32(/* id 15, wireType 2 =*/122).string(message.optionDependency[i]); return writer; }; @@ -355103,12 +354474,6 @@ message.weakDependency.push(reader.int32()); break; } - case 15: { - if (!(message.optionDependency && message.optionDependency.length)) - message.optionDependency = []; - message.optionDependency.push(reader.string()); - break; - } case 4: { if (!(message.messageType && message.messageType.length)) message.messageType = []; @@ -355211,13 +354576,6 @@ if (!$util.isInteger(message.weakDependency[i])) return "weakDependency: integer[] expected"; } - if (message.optionDependency != null && message.hasOwnProperty("optionDependency")) { - if (!Array.isArray(message.optionDependency)) - return "optionDependency: array expected"; - for (var i = 0; i < message.optionDependency.length; ++i) - if (!$util.isString(message.optionDependency[i])) - return "optionDependency: string[] expected"; - } if (message.messageType != null && message.hasOwnProperty("messageType")) { if (!Array.isArray(message.messageType)) return "messageType: array expected"; @@ -355272,7 +354630,6 @@ default: return "edition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -355325,13 +354682,6 @@ for (var i = 0; i < object.weakDependency.length; ++i) message.weakDependency[i] = object.weakDependency[i] | 0; } - if (object.optionDependency) { - if (!Array.isArray(object.optionDependency)) - throw TypeError(".google.protobuf.FileDescriptorProto.optionDependency: array expected"); - message.optionDependency = []; - for (var i = 0; i < object.optionDependency.length; ++i) - message.optionDependency[i] = String(object.optionDependency[i]); - } if (object.messageType) { if (!Array.isArray(object.messageType)) throw TypeError(".google.protobuf.FileDescriptorProto.messageType: array expected"); @@ -355395,10 +354745,6 @@ case 0: message.edition = 0; break; - case "EDITION_LEGACY": - case 900: - message.edition = 900; - break; case "EDITION_PROTO2": case 998: message.edition = 998; @@ -355464,7 +354810,6 @@ object.extension = []; object.publicDependency = []; object.weakDependency = []; - object.optionDependency = []; } if (options.defaults) { object.name = ""; @@ -355521,11 +354866,6 @@ object.syntax = message.syntax; if (message.edition != null && message.hasOwnProperty("edition")) object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; - if (message.optionDependency && message.optionDependency.length) { - object.optionDependency = []; - for (var j = 0; j < message.optionDependency.length; ++j) - object.optionDependency[j] = message.optionDependency[j]; - } return object; }; @@ -355574,7 +354914,6 @@ * @property {google.protobuf.IMessageOptions|null} [options] DescriptorProto options * @property {Array.|null} [reservedRange] DescriptorProto reservedRange * @property {Array.|null} [reservedName] DescriptorProto reservedName - * @property {google.protobuf.SymbolVisibility|null} [visibility] DescriptorProto visibility */ /** @@ -355680,14 +355019,6 @@ */ DescriptorProto.prototype.reservedName = $util.emptyArray; - /** - * DescriptorProto visibility. - * @member {google.protobuf.SymbolVisibility} visibility - * @memberof google.protobuf.DescriptorProto - * @instance - */ - DescriptorProto.prototype.visibility = 0; - /** * Creates a new DescriptorProto instance using the specified properties. * @function create @@ -355740,8 +355071,6 @@ if (message.reservedName != null && message.reservedName.length) for (var i = 0; i < message.reservedName.length; ++i) writer.uint32(/* id 10, wireType 2 =*/82).string(message.reservedName[i]); - if (message.visibility != null && Object.hasOwnProperty.call(message, "visibility")) - writer.uint32(/* id 11, wireType 0 =*/88).int32(message.visibility); return writer; }; @@ -355834,10 +355163,6 @@ message.reservedName.push(reader.string()); break; } - case 11: { - message.visibility = reader.int32(); - break; - } default: reader.skipType(tag & 7); break; @@ -355951,15 +355276,6 @@ if (!$util.isString(message.reservedName[i])) return "reservedName: string[] expected"; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - switch (message.visibility) { - default: - return "visibility: enum value expected"; - case 0: - case 1: - case 2: - break; - } return null; }; @@ -356059,26 +355375,6 @@ for (var i = 0; i < object.reservedName.length; ++i) message.reservedName[i] = String(object.reservedName[i]); } - switch (object.visibility) { - default: - if (typeof object.visibility === "number") { - message.visibility = object.visibility; - break; - } - break; - case "VISIBILITY_UNSET": - case 0: - message.visibility = 0; - break; - case "VISIBILITY_LOCAL": - case 1: - message.visibility = 1; - break; - case "VISIBILITY_EXPORT": - case 2: - message.visibility = 2; - break; - } return message; }; @@ -356108,7 +355404,6 @@ if (options.defaults) { object.name = ""; object.options = null; - object.visibility = options.enums === String ? "VISIBILITY_UNSET" : 0; } if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; @@ -356154,8 +355449,6 @@ for (var j = 0; j < message.reservedName.length; ++j) object.reservedName[j] = message.reservedName[j]; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - object.visibility = options.enums === String ? $root.google.protobuf.SymbolVisibility[message.visibility] === undefined ? message.visibility : $root.google.protobuf.SymbolVisibility[message.visibility] : message.visibility; return object; }; @@ -358200,7 +357493,6 @@ * @property {google.protobuf.IEnumOptions|null} [options] EnumDescriptorProto options * @property {Array.|null} [reservedRange] EnumDescriptorProto reservedRange * @property {Array.|null} [reservedName] EnumDescriptorProto reservedName - * @property {google.protobuf.SymbolVisibility|null} [visibility] EnumDescriptorProto visibility */ /** @@ -358261,14 +357553,6 @@ */ EnumDescriptorProto.prototype.reservedName = $util.emptyArray; - /** - * EnumDescriptorProto visibility. - * @member {google.protobuf.SymbolVisibility} visibility - * @memberof google.protobuf.EnumDescriptorProto - * @instance - */ - EnumDescriptorProto.prototype.visibility = 0; - /** * Creates a new EnumDescriptorProto instance using the specified properties. * @function create @@ -358306,8 +357590,6 @@ if (message.reservedName != null && message.reservedName.length) for (var i = 0; i < message.reservedName.length; ++i) writer.uint32(/* id 5, wireType 2 =*/42).string(message.reservedName[i]); - if (message.visibility != null && Object.hasOwnProperty.call(message, "visibility")) - writer.uint32(/* id 6, wireType 0 =*/48).int32(message.visibility); return writer; }; @@ -358370,10 +357652,6 @@ message.reservedName.push(reader.string()); break; } - case 6: { - message.visibility = reader.int32(); - break; - } default: reader.skipType(tag & 7); break; @@ -358442,15 +357720,6 @@ if (!$util.isString(message.reservedName[i])) return "reservedName: string[] expected"; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - switch (message.visibility) { - default: - return "visibility: enum value expected"; - case 0: - case 1: - case 2: - break; - } return null; }; @@ -358500,26 +357769,6 @@ for (var i = 0; i < object.reservedName.length; ++i) message.reservedName[i] = String(object.reservedName[i]); } - switch (object.visibility) { - default: - if (typeof object.visibility === "number") { - message.visibility = object.visibility; - break; - } - break; - case "VISIBILITY_UNSET": - case 0: - message.visibility = 0; - break; - case "VISIBILITY_LOCAL": - case 1: - message.visibility = 1; - break; - case "VISIBILITY_EXPORT": - case 2: - message.visibility = 2; - break; - } return message; }; @@ -358544,7 +357793,6 @@ if (options.defaults) { object.name = ""; object.options = null; - object.visibility = options.enums === String ? "VISIBILITY_UNSET" : 0; } if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; @@ -358565,8 +357813,6 @@ for (var j = 0; j < message.reservedName.length; ++j) object.reservedName[j] = message.reservedName[j]; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - object.visibility = options.enums === String ? $root.google.protobuf.SymbolVisibility[message.visibility] === undefined ? message.visibility : $root.google.protobuf.SymbolVisibility[message.visibility] : message.visibility; return object; }; @@ -360885,7 +360131,6 @@ * @property {Array.|null} [targets] FieldOptions targets * @property {Array.|null} [editionDefaults] FieldOptions editionDefaults * @property {google.protobuf.IFeatureSet|null} [features] FieldOptions features - * @property {google.protobuf.FieldOptions.IFeatureSupport|null} [featureSupport] FieldOptions featureSupport * @property {Array.|null} [uninterpretedOption] FieldOptions uninterpretedOption * @property {Array.|null} [".google.api.fieldBehavior"] FieldOptions .google.api.fieldBehavior * @property {google.api.IResourceReference|null} [".google.api.resourceReference"] FieldOptions .google.api.resourceReference @@ -361006,14 +360251,6 @@ */ FieldOptions.prototype.features = null; - /** - * FieldOptions featureSupport. - * @member {google.protobuf.FieldOptions.IFeatureSupport|null|undefined} featureSupport - * @memberof google.protobuf.FieldOptions - * @instance - */ - FieldOptions.prototype.featureSupport = null; - /** * FieldOptions uninterpretedOption. * @member {Array.} uninterpretedOption @@ -361088,8 +360325,6 @@ $root.google.protobuf.FieldOptions.EditionDefault.encode(message.editionDefaults[i], writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim(); if (message.features != null && Object.hasOwnProperty.call(message, "features")) $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim(); - if (message.featureSupport != null && Object.hasOwnProperty.call(message, "featureSupport")) - $root.google.protobuf.FieldOptions.FeatureSupport.encode(message.featureSupport, writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim(); if (message.uninterpretedOption != null && message.uninterpretedOption.length) for (var i = 0; i < message.uninterpretedOption.length; ++i) $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim(); @@ -361191,10 +360426,6 @@ message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); break; } - case 22: { - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.decode(reader, reader.uint32()); - break; - } case 999: { if (!(message.uninterpretedOption && message.uninterpretedOption.length)) message.uninterpretedOption = []; @@ -361330,11 +360561,6 @@ if (error) return "features." + error; } - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) { - var error = $root.google.protobuf.FieldOptions.FeatureSupport.verify(message.featureSupport); - if (error) - return "featureSupport." + error; - } if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) { if (!Array.isArray(message.uninterpretedOption)) return "uninterpretedOption: array expected"; @@ -361523,11 +360749,6 @@ throw TypeError(".google.protobuf.FieldOptions.features: object expected"); message.features = $root.google.protobuf.FeatureSet.fromObject(object.features); } - if (object.featureSupport != null) { - if (typeof object.featureSupport !== "object") - throw TypeError(".google.protobuf.FieldOptions.featureSupport: object expected"); - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.fromObject(object.featureSupport); - } if (object.uninterpretedOption) { if (!Array.isArray(object.uninterpretedOption)) throw TypeError(".google.protobuf.FieldOptions.uninterpretedOption: array expected"); @@ -361625,7 +360846,6 @@ object.debugRedact = false; object.retention = options.enums === String ? "RETENTION_UNKNOWN" : 0; object.features = null; - object.featureSupport = null; object[".google.api.resourceReference"] = null; } if (message.ctype != null && message.hasOwnProperty("ctype")) @@ -361658,8 +360878,6 @@ } if (message.features != null && message.hasOwnProperty("features")) object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options); - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) - object.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.toObject(message.featureSupport, options); if (message.uninterpretedOption && message.uninterpretedOption.length) { object.uninterpretedOption = []; for (var j = 0; j < message.uninterpretedOption.length; ++j) @@ -361932,7 +361150,6 @@ default: return "edition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -361974,589 +361191,103 @@ case 0: message.edition = 0; break; - case "EDITION_LEGACY": - case 900: - message.edition = 900; - break; - case "EDITION_PROTO2": - case 998: - message.edition = 998; - break; - case "EDITION_PROTO3": - case 999: - message.edition = 999; - break; - case "EDITION_2023": - case 1000: - message.edition = 1000; - break; - case "EDITION_2024": - case 1001: - message.edition = 1001; - break; - case "EDITION_1_TEST_ONLY": - case 1: - message.edition = 1; - break; - case "EDITION_2_TEST_ONLY": - case 2: - message.edition = 2; - break; - case "EDITION_99997_TEST_ONLY": - case 99997: - message.edition = 99997; - break; - case "EDITION_99998_TEST_ONLY": - case 99998: - message.edition = 99998; - break; - case "EDITION_99999_TEST_ONLY": - case 99999: - message.edition = 99999; - break; - case "EDITION_MAX": - case 2147483647: - message.edition = 2147483647; - break; - } - if (object.value != null) - message.value = String(object.value); - return message; - }; - - /** - * Creates a plain object from an EditionDefault message. Also converts values to other types if specified. - * @function toObject - * @memberof google.protobuf.FieldOptions.EditionDefault - * @static - * @param {google.protobuf.FieldOptions.EditionDefault} message EditionDefault - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - EditionDefault.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.value = ""; - object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0; - } - if (message.value != null && message.hasOwnProperty("value")) - object.value = message.value; - if (message.edition != null && message.hasOwnProperty("edition")) - object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; - return object; - }; - - /** - * Converts this EditionDefault to JSON. - * @function toJSON - * @memberof google.protobuf.FieldOptions.EditionDefault - * @instance - * @returns {Object.} JSON object - */ - EditionDefault.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for EditionDefault - * @function getTypeUrl - * @memberof google.protobuf.FieldOptions.EditionDefault - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - EditionDefault.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.FieldOptions.EditionDefault"; - }; - - return EditionDefault; - })(); - - FieldOptions.FeatureSupport = (function() { - - /** - * Properties of a FeatureSupport. - * @memberof google.protobuf.FieldOptions - * @interface IFeatureSupport - * @property {google.protobuf.Edition|null} [editionIntroduced] FeatureSupport editionIntroduced - * @property {google.protobuf.Edition|null} [editionDeprecated] FeatureSupport editionDeprecated - * @property {string|null} [deprecationWarning] FeatureSupport deprecationWarning - * @property {google.protobuf.Edition|null} [editionRemoved] FeatureSupport editionRemoved - */ - - /** - * Constructs a new FeatureSupport. - * @memberof google.protobuf.FieldOptions - * @classdesc Represents a FeatureSupport. - * @implements IFeatureSupport - * @constructor - * @param {google.protobuf.FieldOptions.IFeatureSupport=} [properties] Properties to set - */ - function FeatureSupport(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * FeatureSupport editionIntroduced. - * @member {google.protobuf.Edition} editionIntroduced - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @instance - */ - FeatureSupport.prototype.editionIntroduced = 0; - - /** - * FeatureSupport editionDeprecated. - * @member {google.protobuf.Edition} editionDeprecated - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @instance - */ - FeatureSupport.prototype.editionDeprecated = 0; - - /** - * FeatureSupport deprecationWarning. - * @member {string} deprecationWarning - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @instance - */ - FeatureSupport.prototype.deprecationWarning = ""; - - /** - * FeatureSupport editionRemoved. - * @member {google.protobuf.Edition} editionRemoved - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @instance - */ - FeatureSupport.prototype.editionRemoved = 0; - - /** - * Creates a new FeatureSupport instance using the specified properties. - * @function create - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {google.protobuf.FieldOptions.IFeatureSupport=} [properties] Properties to set - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport instance - */ - FeatureSupport.create = function create(properties) { - return new FeatureSupport(properties); - }; - - /** - * Encodes the specified FeatureSupport message. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. - * @function encode - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {google.protobuf.FieldOptions.IFeatureSupport} message FeatureSupport message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - FeatureSupport.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.editionIntroduced != null && Object.hasOwnProperty.call(message, "editionIntroduced")) - writer.uint32(/* id 1, wireType 0 =*/8).int32(message.editionIntroduced); - if (message.editionDeprecated != null && Object.hasOwnProperty.call(message, "editionDeprecated")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.editionDeprecated); - if (message.deprecationWarning != null && Object.hasOwnProperty.call(message, "deprecationWarning")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.deprecationWarning); - if (message.editionRemoved != null && Object.hasOwnProperty.call(message, "editionRemoved")) - writer.uint32(/* id 4, wireType 0 =*/32).int32(message.editionRemoved); - return writer; - }; - - /** - * Encodes the specified FeatureSupport message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. - * @function encodeDelimited - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {google.protobuf.FieldOptions.IFeatureSupport} message FeatureSupport message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - FeatureSupport.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a FeatureSupport message from the specified reader or buffer. - * @function decode - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - FeatureSupport.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FieldOptions.FeatureSupport(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.editionIntroduced = reader.int32(); - break; - } - case 2: { - message.editionDeprecated = reader.int32(); - break; - } - case 3: { - message.deprecationWarning = reader.string(); - break; - } - case 4: { - message.editionRemoved = reader.int32(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a FeatureSupport message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - FeatureSupport.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a FeatureSupport message. - * @function verify - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - FeatureSupport.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.editionIntroduced != null && message.hasOwnProperty("editionIntroduced")) - switch (message.editionIntroduced) { - default: - return "editionIntroduced: enum value expected"; - case 0: - case 900: - case 998: - case 999: - case 1000: - case 1001: - case 1: - case 2: - case 99997: - case 99998: - case 99999: - case 2147483647: - break; - } - if (message.editionDeprecated != null && message.hasOwnProperty("editionDeprecated")) - switch (message.editionDeprecated) { - default: - return "editionDeprecated: enum value expected"; - case 0: - case 900: - case 998: - case 999: - case 1000: - case 1001: - case 1: - case 2: - case 99997: - case 99998: - case 99999: - case 2147483647: - break; - } - if (message.deprecationWarning != null && message.hasOwnProperty("deprecationWarning")) - if (!$util.isString(message.deprecationWarning)) - return "deprecationWarning: string expected"; - if (message.editionRemoved != null && message.hasOwnProperty("editionRemoved")) - switch (message.editionRemoved) { - default: - return "editionRemoved: enum value expected"; - case 0: - case 900: - case 998: - case 999: - case 1000: - case 1001: - case 1: - case 2: - case 99997: - case 99998: - case 99999: - case 2147483647: - break; - } - return null; - }; - - /** - * Creates a FeatureSupport message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {Object.} object Plain object - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport - */ - FeatureSupport.fromObject = function fromObject(object) { - if (object instanceof $root.google.protobuf.FieldOptions.FeatureSupport) - return object; - var message = new $root.google.protobuf.FieldOptions.FeatureSupport(); - switch (object.editionIntroduced) { - default: - if (typeof object.editionIntroduced === "number") { - message.editionIntroduced = object.editionIntroduced; - break; - } - break; - case "EDITION_UNKNOWN": - case 0: - message.editionIntroduced = 0; - break; - case "EDITION_LEGACY": - case 900: - message.editionIntroduced = 900; - break; - case "EDITION_PROTO2": - case 998: - message.editionIntroduced = 998; - break; - case "EDITION_PROTO3": - case 999: - message.editionIntroduced = 999; - break; - case "EDITION_2023": - case 1000: - message.editionIntroduced = 1000; - break; - case "EDITION_2024": - case 1001: - message.editionIntroduced = 1001; - break; - case "EDITION_1_TEST_ONLY": - case 1: - message.editionIntroduced = 1; - break; - case "EDITION_2_TEST_ONLY": - case 2: - message.editionIntroduced = 2; - break; - case "EDITION_99997_TEST_ONLY": - case 99997: - message.editionIntroduced = 99997; - break; - case "EDITION_99998_TEST_ONLY": - case 99998: - message.editionIntroduced = 99998; - break; - case "EDITION_99999_TEST_ONLY": - case 99999: - message.editionIntroduced = 99999; - break; - case "EDITION_MAX": - case 2147483647: - message.editionIntroduced = 2147483647; - break; - } - switch (object.editionDeprecated) { - default: - if (typeof object.editionDeprecated === "number") { - message.editionDeprecated = object.editionDeprecated; - break; - } - break; - case "EDITION_UNKNOWN": - case 0: - message.editionDeprecated = 0; - break; - case "EDITION_LEGACY": - case 900: - message.editionDeprecated = 900; - break; - case "EDITION_PROTO2": - case 998: - message.editionDeprecated = 998; - break; - case "EDITION_PROTO3": - case 999: - message.editionDeprecated = 999; - break; - case "EDITION_2023": - case 1000: - message.editionDeprecated = 1000; - break; - case "EDITION_2024": - case 1001: - message.editionDeprecated = 1001; - break; - case "EDITION_1_TEST_ONLY": - case 1: - message.editionDeprecated = 1; - break; - case "EDITION_2_TEST_ONLY": - case 2: - message.editionDeprecated = 2; - break; - case "EDITION_99997_TEST_ONLY": - case 99997: - message.editionDeprecated = 99997; - break; - case "EDITION_99998_TEST_ONLY": - case 99998: - message.editionDeprecated = 99998; - break; - case "EDITION_99999_TEST_ONLY": - case 99999: - message.editionDeprecated = 99999; - break; - case "EDITION_MAX": - case 2147483647: - message.editionDeprecated = 2147483647; - break; - } - if (object.deprecationWarning != null) - message.deprecationWarning = String(object.deprecationWarning); - switch (object.editionRemoved) { - default: - if (typeof object.editionRemoved === "number") { - message.editionRemoved = object.editionRemoved; - break; - } - break; - case "EDITION_UNKNOWN": - case 0: - message.editionRemoved = 0; - break; - case "EDITION_LEGACY": - case 900: - message.editionRemoved = 900; - break; case "EDITION_PROTO2": case 998: - message.editionRemoved = 998; + message.edition = 998; break; case "EDITION_PROTO3": case 999: - message.editionRemoved = 999; + message.edition = 999; break; case "EDITION_2023": case 1000: - message.editionRemoved = 1000; + message.edition = 1000; break; case "EDITION_2024": case 1001: - message.editionRemoved = 1001; + message.edition = 1001; break; case "EDITION_1_TEST_ONLY": case 1: - message.editionRemoved = 1; + message.edition = 1; break; case "EDITION_2_TEST_ONLY": case 2: - message.editionRemoved = 2; + message.edition = 2; break; case "EDITION_99997_TEST_ONLY": case 99997: - message.editionRemoved = 99997; + message.edition = 99997; break; case "EDITION_99998_TEST_ONLY": case 99998: - message.editionRemoved = 99998; + message.edition = 99998; break; case "EDITION_99999_TEST_ONLY": case 99999: - message.editionRemoved = 99999; + message.edition = 99999; break; case "EDITION_MAX": case 2147483647: - message.editionRemoved = 2147483647; + message.edition = 2147483647; break; } + if (object.value != null) + message.value = String(object.value); return message; }; /** - * Creates a plain object from a FeatureSupport message. Also converts values to other types if specified. + * Creates a plain object from an EditionDefault message. Also converts values to other types if specified. * @function toObject - * @memberof google.protobuf.FieldOptions.FeatureSupport + * @memberof google.protobuf.FieldOptions.EditionDefault * @static - * @param {google.protobuf.FieldOptions.FeatureSupport} message FeatureSupport + * @param {google.protobuf.FieldOptions.EditionDefault} message EditionDefault * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - FeatureSupport.toObject = function toObject(message, options) { + EditionDefault.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; if (options.defaults) { - object.editionIntroduced = options.enums === String ? "EDITION_UNKNOWN" : 0; - object.editionDeprecated = options.enums === String ? "EDITION_UNKNOWN" : 0; - object.deprecationWarning = ""; - object.editionRemoved = options.enums === String ? "EDITION_UNKNOWN" : 0; + object.value = ""; + object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0; } - if (message.editionIntroduced != null && message.hasOwnProperty("editionIntroduced")) - object.editionIntroduced = options.enums === String ? $root.google.protobuf.Edition[message.editionIntroduced] === undefined ? message.editionIntroduced : $root.google.protobuf.Edition[message.editionIntroduced] : message.editionIntroduced; - if (message.editionDeprecated != null && message.hasOwnProperty("editionDeprecated")) - object.editionDeprecated = options.enums === String ? $root.google.protobuf.Edition[message.editionDeprecated] === undefined ? message.editionDeprecated : $root.google.protobuf.Edition[message.editionDeprecated] : message.editionDeprecated; - if (message.deprecationWarning != null && message.hasOwnProperty("deprecationWarning")) - object.deprecationWarning = message.deprecationWarning; - if (message.editionRemoved != null && message.hasOwnProperty("editionRemoved")) - object.editionRemoved = options.enums === String ? $root.google.protobuf.Edition[message.editionRemoved] === undefined ? message.editionRemoved : $root.google.protobuf.Edition[message.editionRemoved] : message.editionRemoved; + if (message.value != null && message.hasOwnProperty("value")) + object.value = message.value; + if (message.edition != null && message.hasOwnProperty("edition")) + object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; return object; }; /** - * Converts this FeatureSupport to JSON. + * Converts this EditionDefault to JSON. * @function toJSON - * @memberof google.protobuf.FieldOptions.FeatureSupport + * @memberof google.protobuf.FieldOptions.EditionDefault * @instance * @returns {Object.} JSON object */ - FeatureSupport.prototype.toJSON = function toJSON() { + EditionDefault.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for FeatureSupport + * Gets the default type url for EditionDefault * @function getTypeUrl - * @memberof google.protobuf.FieldOptions.FeatureSupport + * @memberof google.protobuf.FieldOptions.EditionDefault * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - FeatureSupport.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + EditionDefault.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.protobuf.FieldOptions.FeatureSupport"; + return typeUrlPrefix + "/google.protobuf.FieldOptions.EditionDefault"; }; - return FeatureSupport; + return EditionDefault; })(); return FieldOptions; @@ -363151,7 +361882,6 @@ * @property {boolean|null} [deprecated] EnumValueOptions deprecated * @property {google.protobuf.IFeatureSet|null} [features] EnumValueOptions features * @property {boolean|null} [debugRedact] EnumValueOptions debugRedact - * @property {google.protobuf.FieldOptions.IFeatureSupport|null} [featureSupport] EnumValueOptions featureSupport * @property {Array.|null} [uninterpretedOption] EnumValueOptions uninterpretedOption */ @@ -363195,14 +361925,6 @@ */ EnumValueOptions.prototype.debugRedact = false; - /** - * EnumValueOptions featureSupport. - * @member {google.protobuf.FieldOptions.IFeatureSupport|null|undefined} featureSupport - * @memberof google.protobuf.EnumValueOptions - * @instance - */ - EnumValueOptions.prototype.featureSupport = null; - /** * EnumValueOptions uninterpretedOption. * @member {Array.} uninterpretedOption @@ -363241,8 +361963,6 @@ $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); if (message.debugRedact != null && Object.hasOwnProperty.call(message, "debugRedact")) writer.uint32(/* id 3, wireType 0 =*/24).bool(message.debugRedact); - if (message.featureSupport != null && Object.hasOwnProperty.call(message, "featureSupport")) - $root.google.protobuf.FieldOptions.FeatureSupport.encode(message.featureSupport, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); if (message.uninterpretedOption != null && message.uninterpretedOption.length) for (var i = 0; i < message.uninterpretedOption.length; ++i) $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim(); @@ -363294,10 +362014,6 @@ message.debugRedact = reader.bool(); break; } - case 4: { - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.decode(reader, reader.uint32()); - break; - } case 999: { if (!(message.uninterpretedOption && message.uninterpretedOption.length)) message.uninterpretedOption = []; @@ -363350,11 +362066,6 @@ if (message.debugRedact != null && message.hasOwnProperty("debugRedact")) if (typeof message.debugRedact !== "boolean") return "debugRedact: boolean expected"; - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) { - var error = $root.google.protobuf.FieldOptions.FeatureSupport.verify(message.featureSupport); - if (error) - return "featureSupport." + error; - } if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) { if (!Array.isArray(message.uninterpretedOption)) return "uninterpretedOption: array expected"; @@ -363388,11 +362099,6 @@ } if (object.debugRedact != null) message.debugRedact = Boolean(object.debugRedact); - if (object.featureSupport != null) { - if (typeof object.featureSupport !== "object") - throw TypeError(".google.protobuf.EnumValueOptions.featureSupport: object expected"); - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.fromObject(object.featureSupport); - } if (object.uninterpretedOption) { if (!Array.isArray(object.uninterpretedOption)) throw TypeError(".google.protobuf.EnumValueOptions.uninterpretedOption: array expected"); @@ -363425,7 +362131,6 @@ object.deprecated = false; object.features = null; object.debugRedact = false; - object.featureSupport = null; } if (message.deprecated != null && message.hasOwnProperty("deprecated")) object.deprecated = message.deprecated; @@ -363433,8 +362138,6 @@ object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options); if (message.debugRedact != null && message.hasOwnProperty("debugRedact")) object.debugRedact = message.debugRedact; - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) - object.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.toObject(message.featureSupport, options); if (message.uninterpretedOption && message.uninterpretedOption.length) { object.uninterpretedOption = []; for (var j = 0; j < message.uninterpretedOption.length; ++j) @@ -364902,8 +363605,6 @@ * @property {google.protobuf.FeatureSet.Utf8Validation|null} [utf8Validation] FeatureSet utf8Validation * @property {google.protobuf.FeatureSet.MessageEncoding|null} [messageEncoding] FeatureSet messageEncoding * @property {google.protobuf.FeatureSet.JsonFormat|null} [jsonFormat] FeatureSet jsonFormat - * @property {google.protobuf.FeatureSet.EnforceNamingStyle|null} [enforceNamingStyle] FeatureSet enforceNamingStyle - * @property {google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|null} [defaultSymbolVisibility] FeatureSet defaultSymbolVisibility */ /** @@ -364969,22 +363670,6 @@ */ FeatureSet.prototype.jsonFormat = 0; - /** - * FeatureSet enforceNamingStyle. - * @member {google.protobuf.FeatureSet.EnforceNamingStyle} enforceNamingStyle - * @memberof google.protobuf.FeatureSet - * @instance - */ - FeatureSet.prototype.enforceNamingStyle = 0; - - /** - * FeatureSet defaultSymbolVisibility. - * @member {google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility} defaultSymbolVisibility - * @memberof google.protobuf.FeatureSet - * @instance - */ - FeatureSet.prototype.defaultSymbolVisibility = 0; - /** * Creates a new FeatureSet instance using the specified properties. * @function create @@ -365021,10 +363706,6 @@ writer.uint32(/* id 5, wireType 0 =*/40).int32(message.messageEncoding); if (message.jsonFormat != null && Object.hasOwnProperty.call(message, "jsonFormat")) writer.uint32(/* id 6, wireType 0 =*/48).int32(message.jsonFormat); - if (message.enforceNamingStyle != null && Object.hasOwnProperty.call(message, "enforceNamingStyle")) - writer.uint32(/* id 7, wireType 0 =*/56).int32(message.enforceNamingStyle); - if (message.defaultSymbolVisibility != null && Object.hasOwnProperty.call(message, "defaultSymbolVisibility")) - writer.uint32(/* id 8, wireType 0 =*/64).int32(message.defaultSymbolVisibility); return writer; }; @@ -365085,14 +363766,6 @@ message.jsonFormat = reader.int32(); break; } - case 7: { - message.enforceNamingStyle = reader.int32(); - break; - } - case 8: { - message.defaultSymbolVisibility = reader.int32(); - break; - } default: reader.skipType(tag & 7); break; @@ -365183,26 +363856,6 @@ case 2: break; } - if (message.enforceNamingStyle != null && message.hasOwnProperty("enforceNamingStyle")) - switch (message.enforceNamingStyle) { - default: - return "enforceNamingStyle: enum value expected"; - case 0: - case 1: - case 2: - break; - } - if (message.defaultSymbolVisibility != null && message.hasOwnProperty("defaultSymbolVisibility")) - switch (message.defaultSymbolVisibility) { - default: - return "defaultSymbolVisibility: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } return null; }; @@ -365342,54 +363995,6 @@ message.jsonFormat = 2; break; } - switch (object.enforceNamingStyle) { - default: - if (typeof object.enforceNamingStyle === "number") { - message.enforceNamingStyle = object.enforceNamingStyle; - break; - } - break; - case "ENFORCE_NAMING_STYLE_UNKNOWN": - case 0: - message.enforceNamingStyle = 0; - break; - case "STYLE2024": - case 1: - message.enforceNamingStyle = 1; - break; - case "STYLE_LEGACY": - case 2: - message.enforceNamingStyle = 2; - break; - } - switch (object.defaultSymbolVisibility) { - default: - if (typeof object.defaultSymbolVisibility === "number") { - message.defaultSymbolVisibility = object.defaultSymbolVisibility; - break; - } - break; - case "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN": - case 0: - message.defaultSymbolVisibility = 0; - break; - case "EXPORT_ALL": - case 1: - message.defaultSymbolVisibility = 1; - break; - case "EXPORT_TOP_LEVEL": - case 2: - message.defaultSymbolVisibility = 2; - break; - case "LOCAL_ALL": - case 3: - message.defaultSymbolVisibility = 3; - break; - case "STRICT": - case 4: - message.defaultSymbolVisibility = 4; - break; - } return message; }; @@ -365413,8 +364018,6 @@ object.utf8Validation = options.enums === String ? "UTF8_VALIDATION_UNKNOWN" : 0; object.messageEncoding = options.enums === String ? "MESSAGE_ENCODING_UNKNOWN" : 0; object.jsonFormat = options.enums === String ? "JSON_FORMAT_UNKNOWN" : 0; - object.enforceNamingStyle = options.enums === String ? "ENFORCE_NAMING_STYLE_UNKNOWN" : 0; - object.defaultSymbolVisibility = options.enums === String ? "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN" : 0; } if (message.fieldPresence != null && message.hasOwnProperty("fieldPresence")) object.fieldPresence = options.enums === String ? $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] === undefined ? message.fieldPresence : $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] : message.fieldPresence; @@ -365428,10 +364031,6 @@ object.messageEncoding = options.enums === String ? $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] === undefined ? message.messageEncoding : $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] : message.messageEncoding; if (message.jsonFormat != null && message.hasOwnProperty("jsonFormat")) object.jsonFormat = options.enums === String ? $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] === undefined ? message.jsonFormat : $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] : message.jsonFormat; - if (message.enforceNamingStyle != null && message.hasOwnProperty("enforceNamingStyle")) - object.enforceNamingStyle = options.enums === String ? $root.google.protobuf.FeatureSet.EnforceNamingStyle[message.enforceNamingStyle] === undefined ? message.enforceNamingStyle : $root.google.protobuf.FeatureSet.EnforceNamingStyle[message.enforceNamingStyle] : message.enforceNamingStyle; - if (message.defaultSymbolVisibility != null && message.hasOwnProperty("defaultSymbolVisibility")) - object.defaultSymbolVisibility = options.enums === String ? $root.google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility[message.defaultSymbolVisibility] === undefined ? message.defaultSymbolVisibility : $root.google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility[message.defaultSymbolVisibility] : message.defaultSymbolVisibility; return object; }; @@ -365559,219 +364158,6 @@ return values; })(); - /** - * EnforceNamingStyle enum. - * @name google.protobuf.FeatureSet.EnforceNamingStyle - * @enum {number} - * @property {number} ENFORCE_NAMING_STYLE_UNKNOWN=0 ENFORCE_NAMING_STYLE_UNKNOWN value - * @property {number} STYLE2024=1 STYLE2024 value - * @property {number} STYLE_LEGACY=2 STYLE_LEGACY value - */ - FeatureSet.EnforceNamingStyle = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "ENFORCE_NAMING_STYLE_UNKNOWN"] = 0; - values[valuesById[1] = "STYLE2024"] = 1; - values[valuesById[2] = "STYLE_LEGACY"] = 2; - return values; - })(); - - FeatureSet.VisibilityFeature = (function() { - - /** - * Properties of a VisibilityFeature. - * @memberof google.protobuf.FeatureSet - * @interface IVisibilityFeature - */ - - /** - * Constructs a new VisibilityFeature. - * @memberof google.protobuf.FeatureSet - * @classdesc Represents a VisibilityFeature. - * @implements IVisibilityFeature - * @constructor - * @param {google.protobuf.FeatureSet.IVisibilityFeature=} [properties] Properties to set - */ - function VisibilityFeature(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Creates a new VisibilityFeature instance using the specified properties. - * @function create - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.IVisibilityFeature=} [properties] Properties to set - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature instance - */ - VisibilityFeature.create = function create(properties) { - return new VisibilityFeature(properties); - }; - - /** - * Encodes the specified VisibilityFeature message. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @function encode - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.IVisibilityFeature} message VisibilityFeature message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - VisibilityFeature.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - return writer; - }; - - /** - * Encodes the specified VisibilityFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @function encodeDelimited - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.IVisibilityFeature} message VisibilityFeature message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - VisibilityFeature.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer. - * @function decode - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - VisibilityFeature.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FeatureSet.VisibilityFeature(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - VisibilityFeature.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a VisibilityFeature message. - * @function verify - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - VisibilityFeature.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - return null; - }; - - /** - * Creates a VisibilityFeature message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {Object.} object Plain object - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature - */ - VisibilityFeature.fromObject = function fromObject(object) { - if (object instanceof $root.google.protobuf.FeatureSet.VisibilityFeature) - return object; - return new $root.google.protobuf.FeatureSet.VisibilityFeature(); - }; - - /** - * Creates a plain object from a VisibilityFeature message. Also converts values to other types if specified. - * @function toObject - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.VisibilityFeature} message VisibilityFeature - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - VisibilityFeature.toObject = function toObject() { - return {}; - }; - - /** - * Converts this VisibilityFeature to JSON. - * @function toJSON - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @instance - * @returns {Object.} JSON object - */ - VisibilityFeature.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for VisibilityFeature - * @function getTypeUrl - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - VisibilityFeature.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.FeatureSet.VisibilityFeature"; - }; - - /** - * DefaultSymbolVisibility enum. - * @name google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility - * @enum {number} - * @property {number} DEFAULT_SYMBOL_VISIBILITY_UNKNOWN=0 DEFAULT_SYMBOL_VISIBILITY_UNKNOWN value - * @property {number} EXPORT_ALL=1 EXPORT_ALL value - * @property {number} EXPORT_TOP_LEVEL=2 EXPORT_TOP_LEVEL value - * @property {number} LOCAL_ALL=3 LOCAL_ALL value - * @property {number} STRICT=4 STRICT value - */ - VisibilityFeature.DefaultSymbolVisibility = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN"] = 0; - values[valuesById[1] = "EXPORT_ALL"] = 1; - values[valuesById[2] = "EXPORT_TOP_LEVEL"] = 2; - values[valuesById[3] = "LOCAL_ALL"] = 3; - values[valuesById[4] = "STRICT"] = 4; - return values; - })(); - - return VisibilityFeature; - })(); - return FeatureSet; })(); @@ -365956,7 +364342,6 @@ default: return "minimumEdition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -365974,7 +364359,6 @@ default: return "maximumEdition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -366023,10 +364407,6 @@ case 0: message.minimumEdition = 0; break; - case "EDITION_LEGACY": - case 900: - message.minimumEdition = 900; - break; case "EDITION_PROTO2": case 998: message.minimumEdition = 998; @@ -366079,10 +364459,6 @@ case 0: message.maximumEdition = 0; break; - case "EDITION_LEGACY": - case 900: - message.maximumEdition = 900; - break; case "EDITION_PROTO2": case 998: message.maximumEdition = 998; @@ -366191,8 +364567,7 @@ * @memberof google.protobuf.FeatureSetDefaults * @interface IFeatureSetEditionDefault * @property {google.protobuf.Edition|null} [edition] FeatureSetEditionDefault edition - * @property {google.protobuf.IFeatureSet|null} [overridableFeatures] FeatureSetEditionDefault overridableFeatures - * @property {google.protobuf.IFeatureSet|null} [fixedFeatures] FeatureSetEditionDefault fixedFeatures + * @property {google.protobuf.IFeatureSet|null} [features] FeatureSetEditionDefault features */ /** @@ -366219,20 +364594,12 @@ FeatureSetEditionDefault.prototype.edition = 0; /** - * FeatureSetEditionDefault overridableFeatures. - * @member {google.protobuf.IFeatureSet|null|undefined} overridableFeatures - * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault - * @instance - */ - FeatureSetEditionDefault.prototype.overridableFeatures = null; - - /** - * FeatureSetEditionDefault fixedFeatures. - * @member {google.protobuf.IFeatureSet|null|undefined} fixedFeatures + * FeatureSetEditionDefault features. + * @member {google.protobuf.IFeatureSet|null|undefined} features * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault * @instance */ - FeatureSetEditionDefault.prototype.fixedFeatures = null; + FeatureSetEditionDefault.prototype.features = null; /** * Creates a new FeatureSetEditionDefault instance using the specified properties. @@ -366258,12 +364625,10 @@ FeatureSetEditionDefault.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); + if (message.features != null && Object.hasOwnProperty.call(message, "features")) + $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); if (message.edition != null && Object.hasOwnProperty.call(message, "edition")) writer.uint32(/* id 3, wireType 0 =*/24).int32(message.edition); - if (message.overridableFeatures != null && Object.hasOwnProperty.call(message, "overridableFeatures")) - $root.google.protobuf.FeatureSet.encode(message.overridableFeatures, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.fixedFeatures != null && Object.hasOwnProperty.call(message, "fixedFeatures")) - $root.google.protobuf.FeatureSet.encode(message.fixedFeatures, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); return writer; }; @@ -366304,12 +364669,8 @@ message.edition = reader.int32(); break; } - case 4: { - message.overridableFeatures = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); - break; - } - case 5: { - message.fixedFeatures = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); + case 2: { + message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); break; } default: @@ -366352,7 +364713,6 @@ default: return "edition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -366365,15 +364725,10 @@ case 2147483647: break; } - if (message.overridableFeatures != null && message.hasOwnProperty("overridableFeatures")) { - var error = $root.google.protobuf.FeatureSet.verify(message.overridableFeatures); - if (error) - return "overridableFeatures." + error; - } - if (message.fixedFeatures != null && message.hasOwnProperty("fixedFeatures")) { - var error = $root.google.protobuf.FeatureSet.verify(message.fixedFeatures); + if (message.features != null && message.hasOwnProperty("features")) { + var error = $root.google.protobuf.FeatureSet.verify(message.features); if (error) - return "fixedFeatures." + error; + return "features." + error; } return null; }; @@ -366401,10 +364756,6 @@ case 0: message.edition = 0; break; - case "EDITION_LEGACY": - case 900: - message.edition = 900; - break; case "EDITION_PROTO2": case 998: message.edition = 998; @@ -366446,15 +364797,10 @@ message.edition = 2147483647; break; } - if (object.overridableFeatures != null) { - if (typeof object.overridableFeatures !== "object") - throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.overridableFeatures: object expected"); - message.overridableFeatures = $root.google.protobuf.FeatureSet.fromObject(object.overridableFeatures); - } - if (object.fixedFeatures != null) { - if (typeof object.fixedFeatures !== "object") - throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.fixedFeatures: object expected"); - message.fixedFeatures = $root.google.protobuf.FeatureSet.fromObject(object.fixedFeatures); + if (object.features != null) { + if (typeof object.features !== "object") + throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.features: object expected"); + message.features = $root.google.protobuf.FeatureSet.fromObject(object.features); } return message; }; @@ -366473,16 +364819,13 @@ options = {}; var object = {}; if (options.defaults) { + object.features = null; object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0; - object.overridableFeatures = null; - object.fixedFeatures = null; } + if (message.features != null && message.hasOwnProperty("features")) + object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options); if (message.edition != null && message.hasOwnProperty("edition")) object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; - if (message.overridableFeatures != null && message.hasOwnProperty("overridableFeatures")) - object.overridableFeatures = $root.google.protobuf.FeatureSet.toObject(message.overridableFeatures, options); - if (message.fixedFeatures != null && message.hasOwnProperty("fixedFeatures")) - object.fixedFeatures = $root.google.protobuf.FeatureSet.toObject(message.fixedFeatures, options); return object; }; @@ -367697,22 +366040,6 @@ return GeneratedCodeInfo; })(); - /** - * SymbolVisibility enum. - * @name google.protobuf.SymbolVisibility - * @enum {number} - * @property {number} VISIBILITY_UNSET=0 VISIBILITY_UNSET value - * @property {number} VISIBILITY_LOCAL=1 VISIBILITY_LOCAL value - * @property {number} VISIBILITY_EXPORT=2 VISIBILITY_EXPORT value - */ - protobuf.SymbolVisibility = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "VISIBILITY_UNSET"] = 0; - values[valuesById[1] = "VISIBILITY_LOCAL"] = 1; - values[valuesById[2] = "VISIBILITY_EXPORT"] = 2; - return values; - })(); - protobuf.Struct = (function() { /** diff --git a/packages/google-cloud-discoveryengine/protos/protos.json b/packages/google-cloud-discoveryengine/protos/protos.json index f3a1baa0613d..7b0de9ae5129 100644 --- a/packages/google-cloud-discoveryengine/protos/protos.json +++ b/packages/google-cloud-discoveryengine/protos/protos.json @@ -36288,7 +36288,8 @@ "java_multiple_files": true, "java_outer_classname": "HttpBodyProto", "java_package": "com.google.api", - "objc_class_prefix": "GAPI" + "objc_class_prefix": "GAPI", + "cc_enable_arenas": true }, "nested": { "fieldBehavior": { @@ -36511,10 +36512,6 @@ "rule": "repeated", "type": "ClientLibraryDestination", "id": 2 - }, - "selectiveGapicGeneration": { - "type": "SelectiveGapicGeneration", - "id": 3 } } }, @@ -36655,28 +36652,6 @@ "common": { "type": "CommonLanguageSettings", "id": 1 - }, - "experimentalFeatures": { - "type": "ExperimentalFeatures", - "id": 2 - } - }, - "nested": { - "ExperimentalFeatures": { - "fields": { - "restAsyncIoEnabled": { - "type": "bool", - "id": 1 - }, - "protobufPythonicTypesEnabled": { - "type": "bool", - "id": 2 - }, - "unversionedPackageDisabled": { - "type": "bool", - "id": 3 - } - } } } }, @@ -36734,11 +36709,6 @@ "common": { "type": "CommonLanguageSettings", "id": 1 - }, - "renamedServices": { - "keyType": "string", - "type": "string", - "id": 2 } } }, @@ -36800,19 +36770,6 @@ "PACKAGE_MANAGER": 20 } }, - "SelectiveGapicGeneration": { - "fields": { - "methods": { - "rule": "repeated", - "type": "string", - "id": 1 - }, - "generateOmittedAsInternal": { - "type": "bool", - "id": 2 - } - } - }, "LaunchStage": { "values": { "LAUNCH_STAGE_UNSPECIFIED": 0, @@ -36863,19 +36820,12 @@ "type": "FileDescriptorProto", "id": 1 } - }, - "extensions": [ - [ - 536000000, - 536000000 - ] - ] + } }, "Edition": { "edition": "proto2", "values": { "EDITION_UNKNOWN": 0, - "EDITION_LEGACY": 900, "EDITION_PROTO2": 998, "EDITION_PROTO3": 999, "EDITION_2023": 1000, @@ -36914,11 +36864,6 @@ "type": "int32", "id": 11 }, - "optionDependency": { - "rule": "repeated", - "type": "string", - "id": 15 - }, "messageType": { "rule": "repeated", "type": "DescriptorProto", @@ -37007,10 +36952,6 @@ "rule": "repeated", "type": "string", "id": 10 - }, - "visibility": { - "type": "SymbolVisibility", - "id": 11 } }, "nested": { @@ -37236,10 +37177,6 @@ "rule": "repeated", "type": "string", "id": 5 - }, - "visibility": { - "type": "SymbolVisibility", - "id": 6 } }, "nested": { @@ -37454,7 +37391,6 @@ 42, 42 ], - "php_generic_services", [ 38, 38 @@ -37590,8 +37526,7 @@ "type": "bool", "id": 10, "options": { - "default": false, - "deprecated": true + "default": false } }, "debugRedact": { @@ -37619,10 +37554,6 @@ "type": "FeatureSet", "id": 21 }, - "featureSupport": { - "type": "FeatureSupport", - "id": 22 - }, "uninterpretedOption": { "rule": "repeated", "type": "UninterpretedOption", @@ -37692,26 +37623,6 @@ "id": 2 } } - }, - "FeatureSupport": { - "fields": { - "editionIntroduced": { - "type": "Edition", - "id": 1 - }, - "editionDeprecated": { - "type": "Edition", - "id": 2 - }, - "deprecationWarning": { - "type": "string", - "id": 3 - }, - "editionRemoved": { - "type": "Edition", - "id": 4 - } - } } } }, @@ -37800,10 +37711,6 @@ "default": false } }, - "featureSupport": { - "type": "FieldOptions.FeatureSupport", - "id": 4 - }, "uninterpretedOption": { "rule": "repeated", "type": "UninterpretedOption", @@ -37946,7 +37853,6 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_2023", "edition_defaults.value": "EXPLICIT" } @@ -37957,7 +37863,6 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_PROTO3", "edition_defaults.value": "OPEN" } @@ -37968,7 +37873,6 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_PROTO3", "edition_defaults.value": "PACKED" } @@ -37979,7 +37883,6 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_PROTO3", "edition_defaults.value": "VERIFY" } @@ -37990,8 +37893,7 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", - "edition_defaults.edition": "EDITION_LEGACY", + "edition_defaults.edition": "EDITION_PROTO2", "edition_defaults.value": "LENGTH_PREFIXED" } }, @@ -38001,38 +37903,27 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_PROTO3", "edition_defaults.value": "ALLOW" } - }, - "enforceNamingStyle": { - "type": "EnforceNamingStyle", - "id": 7, - "options": { - "retention": "RETENTION_SOURCE", - "targets": "TARGET_TYPE_METHOD", - "feature_support.edition_introduced": "EDITION_2024", - "edition_defaults.edition": "EDITION_2024", - "edition_defaults.value": "STYLE2024" - } - }, - "defaultSymbolVisibility": { - "type": "VisibilityFeature.DefaultSymbolVisibility", - "id": 8, - "options": { - "retention": "RETENTION_SOURCE", - "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2024", - "edition_defaults.edition": "EDITION_2024", - "edition_defaults.value": "EXPORT_TOP_LEVEL" - } } }, "extensions": [ [ 1000, - 9994 + 1000 + ], + [ + 1001, + 1001 + ], + [ + 1002, + 1002 + ], + [ + 9990, + 9990 ], [ 9995, @@ -38077,13 +37968,7 @@ "UTF8_VALIDATION_UNKNOWN": 0, "VERIFY": 2, "NONE": 3 - }, - "reserved": [ - [ - 1, - 1 - ] - ] + } }, "MessageEncoding": { "values": { @@ -38098,33 +37983,6 @@ "ALLOW": 1, "LEGACY_BEST_EFFORT": 2 } - }, - "EnforceNamingStyle": { - "values": { - "ENFORCE_NAMING_STYLE_UNKNOWN": 0, - "STYLE2024": 1, - "STYLE_LEGACY": 2 - } - }, - "VisibilityFeature": { - "fields": {}, - "reserved": [ - [ - 1, - 536870911 - ] - ], - "nested": { - "DefaultSymbolVisibility": { - "values": { - "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN": 0, - "EXPORT_ALL": 1, - "EXPORT_TOP_LEVEL": 2, - "LOCAL_ALL": 3, - "STRICT": 4 - } - } - } } } }, @@ -38152,26 +38010,11 @@ "type": "Edition", "id": 3 }, - "overridableFeatures": { + "features": { "type": "FeatureSet", - "id": 4 - }, - "fixedFeatures": { - "type": "FeatureSet", - "id": 5 + "id": 2 } - }, - "reserved": [ - [ - 1, - 1 - ], - [ - 2, - 2 - ], - "features" - ] + } } } }, @@ -38184,12 +38027,6 @@ "id": 1 } }, - "extensions": [ - [ - 536000000, - 536000000 - ] - ], "nested": { "Location": { "fields": { @@ -38275,14 +38112,6 @@ } } }, - "SymbolVisibility": { - "edition": "proto2", - "values": { - "VISIBILITY_UNSET": 0, - "VISIBILITY_LOCAL": 1, - "VISIBILITY_EXPORT": 2 - } - }, "Struct": { "fields": { "fields": { @@ -38433,7 +38262,6 @@ "java_multiple_files": true, "java_outer_classname": "OperationsProto", "java_package": "com.google.longrunning", - "objc_class_prefix": "GLRUN", "php_namespace": "Google\\LongRunning" }, "nested": { diff --git a/packages/google-cloud-discoveryengine/samples/generated/v1/snippet_metadata_google.cloud.discoveryengine.v1.json b/packages/google-cloud-discoveryengine/samples/generated/v1/snippet_metadata_google.cloud.discoveryengine.v1.json index ef3abf1f70cf..4fde6f79cacb 100644 --- a/packages/google-cloud-discoveryengine/samples/generated/v1/snippet_metadata_google.cloud.discoveryengine.v1.json +++ b/packages/google-cloud-discoveryengine/samples/generated/v1/snippet_metadata_google.cloud.discoveryengine.v1.json @@ -1,4867 +1,4867 @@ { - "clientLibrary": { - "name": "nodejs-discoveryengine", - "version": "2.4.0", - "language": "TYPESCRIPT", - "apis": [ - { - "id": "google.cloud.discoveryengine.v1", - "version": "v1" - } - ] - }, - "snippets": [ + "clientLibrary": { + "name": "nodejs-discoveryengine", + "version": "0.1.0", + "language": "TYPESCRIPT", + "apis": [ + { + "id": "google.cloud.discoveryengine.v1", + "version": "v1" + } + ] + }, + "snippets": [ + { + "regionTag": "discoveryengine_v1_generated_AssistantService_StreamAssist_async", + "title": "AssistantService streamAssist Sample", + "origin": "API_DEFINITION", + "description": " Assists the user with a query in a streaming fashion.", + "canonical": true, + "file": "assistant_service.stream_assist.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_AssistantService_StreamAssist_async", - "title": "AssistantService streamAssist Sample", - "origin": "API_DEFINITION", - "description": " Assists the user with a query in a streaming fashion.", - "canonical": true, - "file": "assistant_service.stream_assist.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 85, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "StreamAssist", - "fullName": "google.cloud.discoveryengine.v1.AssistantService.StreamAssist", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "query", - "type": ".google.cloud.discoveryengine.v1.Query" - }, - { - "name": "session", - "type": "TYPE_STRING" - }, - { - "name": "user_metadata", - "type": ".google.cloud.discoveryengine.v1.AssistUserMetadata" - }, - { - "name": "tools_spec", - "type": ".google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpec" - }, - { - "name": "generation_spec", - "type": ".google.cloud.discoveryengine.v1.StreamAssistRequest.GenerationSpec" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.StreamAssistResponse", - "client": { - "shortName": "AssistantServiceClient", - "fullName": "google.cloud.discoveryengine.v1.AssistantServiceClient" - }, - "method": { - "shortName": "StreamAssist", - "fullName": "google.cloud.discoveryengine.v1.AssistantService.StreamAssist", - "service": { - "shortName": "AssistantService", - "fullName": "google.cloud.discoveryengine.v1.AssistantService" - } - } - } + "start": 25, + "end": 85, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "StreamAssist", + "fullName": "google.cloud.discoveryengine.v1.AssistantService.StreamAssist", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "query", + "type": ".google.cloud.discoveryengine.v1.Query" + }, + { + "name": "session", + "type": "TYPE_STRING" + }, + { + "name": "user_metadata", + "type": ".google.cloud.discoveryengine.v1.AssistUserMetadata" + }, + { + "name": "tools_spec", + "type": ".google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpec" + }, + { + "name": "generation_spec", + "type": ".google.cloud.discoveryengine.v1.StreamAssistRequest.GenerationSpec" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.StreamAssistResponse", + "client": { + "shortName": "AssistantServiceClient", + "fullName": "google.cloud.discoveryengine.v1.AssistantServiceClient" }, + "method": { + "shortName": "StreamAssist", + "fullName": "google.cloud.discoveryengine.v1.AssistantService.StreamAssist", + "service": { + "shortName": "AssistantService", + "fullName": "google.cloud.discoveryengine.v1.AssistantService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_CmekConfigService_UpdateCmekConfig_async", + "title": "AssistantService updateCmekConfig Sample", + "origin": "API_DEFINITION", + "description": " Provisions a CMEK key for use in a location of a customer's project. This method will also conduct location validation on the provided cmekConfig to make sure the key is valid and can be used in the selected location.", + "canonical": true, + "file": "cmek_config_service.update_cmek_config.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_CmekConfigService_UpdateCmekConfig_async", - "title": "AssistantService updateCmekConfig Sample", - "origin": "API_DEFINITION", - "description": " Provisions a CMEK key for use in a location of a customer's project. This method will also conduct location validation on the provided cmekConfig to make sure the key is valid and can be used in the selected location.", - "canonical": true, - "file": "cmek_config_service.update_cmek_config.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateCmekConfig", - "fullName": "google.cloud.discoveryengine.v1.CmekConfigService.UpdateCmekConfig", - "async": true, - "parameters": [ - { - "name": "config", - "type": ".google.cloud.discoveryengine.v1.CmekConfig" - }, - { - "name": "set_default", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "CmekConfigServiceClient", - "fullName": "google.cloud.discoveryengine.v1.CmekConfigServiceClient" - }, - "method": { - "shortName": "UpdateCmekConfig", - "fullName": "google.cloud.discoveryengine.v1.CmekConfigService.UpdateCmekConfig", - "service": { - "shortName": "CmekConfigService", - "fullName": "google.cloud.discoveryengine.v1.CmekConfigService" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateCmekConfig", + "fullName": "google.cloud.discoveryengine.v1.CmekConfigService.UpdateCmekConfig", + "async": true, + "parameters": [ + { + "name": "config", + "type": ".google.cloud.discoveryengine.v1.CmekConfig" + }, + { + "name": "set_default", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "CmekConfigServiceClient", + "fullName": "google.cloud.discoveryengine.v1.CmekConfigServiceClient" }, + "method": { + "shortName": "UpdateCmekConfig", + "fullName": "google.cloud.discoveryengine.v1.CmekConfigService.UpdateCmekConfig", + "service": { + "shortName": "CmekConfigService", + "fullName": "google.cloud.discoveryengine.v1.CmekConfigService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_CmekConfigService_GetCmekConfig_async", + "title": "AssistantService getCmekConfig Sample", + "origin": "API_DEFINITION", + "description": " Gets the [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig].", + "canonical": true, + "file": "cmek_config_service.get_cmek_config.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_CmekConfigService_GetCmekConfig_async", - "title": "AssistantService getCmekConfig Sample", - "origin": "API_DEFINITION", - "description": " Gets the [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig].", - "canonical": true, - "file": "cmek_config_service.get_cmek_config.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetCmekConfig", - "fullName": "google.cloud.discoveryengine.v1.CmekConfigService.GetCmekConfig", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.CmekConfig", - "client": { - "shortName": "CmekConfigServiceClient", - "fullName": "google.cloud.discoveryengine.v1.CmekConfigServiceClient" - }, - "method": { - "shortName": "GetCmekConfig", - "fullName": "google.cloud.discoveryengine.v1.CmekConfigService.GetCmekConfig", - "service": { - "shortName": "CmekConfigService", - "fullName": "google.cloud.discoveryengine.v1.CmekConfigService" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetCmekConfig", + "fullName": "google.cloud.discoveryengine.v1.CmekConfigService.GetCmekConfig", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.CmekConfig", + "client": { + "shortName": "CmekConfigServiceClient", + "fullName": "google.cloud.discoveryengine.v1.CmekConfigServiceClient" }, + "method": { + "shortName": "GetCmekConfig", + "fullName": "google.cloud.discoveryengine.v1.CmekConfigService.GetCmekConfig", + "service": { + "shortName": "CmekConfigService", + "fullName": "google.cloud.discoveryengine.v1.CmekConfigService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_CmekConfigService_ListCmekConfigs_async", + "title": "AssistantService listCmekConfigs Sample", + "origin": "API_DEFINITION", + "description": " Lists all the [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig]s with the project.", + "canonical": true, + "file": "cmek_config_service.list_cmek_configs.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_CmekConfigService_ListCmekConfigs_async", - "title": "AssistantService listCmekConfigs Sample", - "origin": "API_DEFINITION", - "description": " Lists all the [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig]s with the project.", - "canonical": true, - "file": "cmek_config_service.list_cmek_configs.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 58, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListCmekConfigs", - "fullName": "google.cloud.discoveryengine.v1.CmekConfigService.ListCmekConfigs", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.ListCmekConfigsResponse", - "client": { - "shortName": "CmekConfigServiceClient", - "fullName": "google.cloud.discoveryengine.v1.CmekConfigServiceClient" - }, - "method": { - "shortName": "ListCmekConfigs", - "fullName": "google.cloud.discoveryengine.v1.CmekConfigService.ListCmekConfigs", - "service": { - "shortName": "CmekConfigService", - "fullName": "google.cloud.discoveryengine.v1.CmekConfigService" - } - } - } + "start": 25, + "end": 58, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListCmekConfigs", + "fullName": "google.cloud.discoveryengine.v1.CmekConfigService.ListCmekConfigs", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.ListCmekConfigsResponse", + "client": { + "shortName": "CmekConfigServiceClient", + "fullName": "google.cloud.discoveryengine.v1.CmekConfigServiceClient" }, + "method": { + "shortName": "ListCmekConfigs", + "fullName": "google.cloud.discoveryengine.v1.CmekConfigService.ListCmekConfigs", + "service": { + "shortName": "CmekConfigService", + "fullName": "google.cloud.discoveryengine.v1.CmekConfigService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_CmekConfigService_DeleteCmekConfig_async", + "title": "AssistantService deleteCmekConfig Sample", + "origin": "API_DEFINITION", + "description": " De-provisions a CmekConfig.", + "canonical": true, + "file": "cmek_config_service.delete_cmek_config.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_CmekConfigService_DeleteCmekConfig_async", - "title": "AssistantService deleteCmekConfig Sample", - "origin": "API_DEFINITION", - "description": " De-provisions a CmekConfig.", - "canonical": true, - "file": "cmek_config_service.delete_cmek_config.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 56, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteCmekConfig", - "fullName": "google.cloud.discoveryengine.v1.CmekConfigService.DeleteCmekConfig", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "CmekConfigServiceClient", - "fullName": "google.cloud.discoveryengine.v1.CmekConfigServiceClient" - }, - "method": { - "shortName": "DeleteCmekConfig", - "fullName": "google.cloud.discoveryengine.v1.CmekConfigService.DeleteCmekConfig", - "service": { - "shortName": "CmekConfigService", - "fullName": "google.cloud.discoveryengine.v1.CmekConfigService" - } - } - } + "start": 25, + "end": 56, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteCmekConfig", + "fullName": "google.cloud.discoveryengine.v1.CmekConfigService.DeleteCmekConfig", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "CmekConfigServiceClient", + "fullName": "google.cloud.discoveryengine.v1.CmekConfigServiceClient" }, + "method": { + "shortName": "DeleteCmekConfig", + "fullName": "google.cloud.discoveryengine.v1.CmekConfigService.DeleteCmekConfig", + "service": { + "shortName": "CmekConfigService", + "fullName": "google.cloud.discoveryengine.v1.CmekConfigService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_CompletionService_CompleteQuery_async", + "title": "AssistantService completeQuery Sample", + "origin": "API_DEFINITION", + "description": " Completes the specified user input with keyword suggestions.", + "canonical": true, + "file": "completion_service.complete_query.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_CompletionService_CompleteQuery_async", - "title": "AssistantService completeQuery Sample", - "origin": "API_DEFINITION", - "description": " Completes the specified user input with keyword suggestions.", - "canonical": true, - "file": "completion_service.complete_query.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 99, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CompleteQuery", - "fullName": "google.cloud.discoveryengine.v1.CompletionService.CompleteQuery", - "async": true, - "parameters": [ - { - "name": "data_store", - "type": "TYPE_STRING" - }, - { - "name": "query", - "type": "TYPE_STRING" - }, - { - "name": "query_model", - "type": "TYPE_STRING" - }, - { - "name": "user_pseudo_id", - "type": "TYPE_STRING" - }, - { - "name": "include_tail_suggestions", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.CompleteQueryResponse", - "client": { - "shortName": "CompletionServiceClient", - "fullName": "google.cloud.discoveryengine.v1.CompletionServiceClient" - }, - "method": { - "shortName": "CompleteQuery", - "fullName": "google.cloud.discoveryengine.v1.CompletionService.CompleteQuery", - "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1.CompletionService" - } - } - } + "start": 25, + "end": 99, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CompleteQuery", + "fullName": "google.cloud.discoveryengine.v1.CompletionService.CompleteQuery", + "async": true, + "parameters": [ + { + "name": "data_store", + "type": "TYPE_STRING" + }, + { + "name": "query", + "type": "TYPE_STRING" + }, + { + "name": "query_model", + "type": "TYPE_STRING" + }, + { + "name": "user_pseudo_id", + "type": "TYPE_STRING" + }, + { + "name": "include_tail_suggestions", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.CompleteQueryResponse", + "client": { + "shortName": "CompletionServiceClient", + "fullName": "google.cloud.discoveryengine.v1.CompletionServiceClient" }, + "method": { + "shortName": "CompleteQuery", + "fullName": "google.cloud.discoveryengine.v1.CompletionService.CompleteQuery", + "service": { + "shortName": "CompletionService", + "fullName": "google.cloud.discoveryengine.v1.CompletionService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_CompletionService_ImportSuggestionDenyListEntries_async", + "title": "AssistantService importSuggestionDenyListEntries Sample", + "origin": "API_DEFINITION", + "description": " Imports all [SuggestionDenyListEntry][google.cloud.discoveryengine.v1.SuggestionDenyListEntry] for a DataStore.", + "canonical": true, + "file": "completion_service.import_suggestion_deny_list_entries.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_CompletionService_ImportSuggestionDenyListEntries_async", - "title": "AssistantService importSuggestionDenyListEntries Sample", - "origin": "API_DEFINITION", - "description": " Imports all [SuggestionDenyListEntry][google.cloud.discoveryengine.v1.SuggestionDenyListEntry] for a DataStore.", - "canonical": true, - "file": "completion_service.import_suggestion_deny_list_entries.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 68, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ImportSuggestionDenyListEntries", - "fullName": "google.cloud.discoveryengine.v1.CompletionService.ImportSuggestionDenyListEntries", - "async": true, - "parameters": [ - { - "name": "inline_source", - "type": ".google.cloud.discoveryengine.v1.ImportSuggestionDenyListEntriesRequest.InlineSource" - }, - { - "name": "gcs_source", - "type": ".google.cloud.discoveryengine.v1.GcsSource" - }, - { - "name": "parent", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "CompletionServiceClient", - "fullName": "google.cloud.discoveryengine.v1.CompletionServiceClient" - }, - "method": { - "shortName": "ImportSuggestionDenyListEntries", - "fullName": "google.cloud.discoveryengine.v1.CompletionService.ImportSuggestionDenyListEntries", - "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1.CompletionService" - } - } - } + "start": 25, + "end": 68, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ImportSuggestionDenyListEntries", + "fullName": "google.cloud.discoveryengine.v1.CompletionService.ImportSuggestionDenyListEntries", + "async": true, + "parameters": [ + { + "name": "inline_source", + "type": ".google.cloud.discoveryengine.v1.ImportSuggestionDenyListEntriesRequest.InlineSource" + }, + { + "name": "gcs_source", + "type": ".google.cloud.discoveryengine.v1.GcsSource" + }, + { + "name": "parent", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "CompletionServiceClient", + "fullName": "google.cloud.discoveryengine.v1.CompletionServiceClient" }, + "method": { + "shortName": "ImportSuggestionDenyListEntries", + "fullName": "google.cloud.discoveryengine.v1.CompletionService.ImportSuggestionDenyListEntries", + "service": { + "shortName": "CompletionService", + "fullName": "google.cloud.discoveryengine.v1.CompletionService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_CompletionService_PurgeSuggestionDenyListEntries_async", + "title": "AssistantService purgeSuggestionDenyListEntries Sample", + "origin": "API_DEFINITION", + "description": " Permanently deletes all [SuggestionDenyListEntry][google.cloud.discoveryengine.v1.SuggestionDenyListEntry] for a DataStore.", + "canonical": true, + "file": "completion_service.purge_suggestion_deny_list_entries.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_CompletionService_PurgeSuggestionDenyListEntries_async", - "title": "AssistantService purgeSuggestionDenyListEntries Sample", - "origin": "API_DEFINITION", - "description": " Permanently deletes all [SuggestionDenyListEntry][google.cloud.discoveryengine.v1.SuggestionDenyListEntry] for a DataStore.", - "canonical": true, - "file": "completion_service.purge_suggestion_deny_list_entries.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "PurgeSuggestionDenyListEntries", - "fullName": "google.cloud.discoveryengine.v1.CompletionService.PurgeSuggestionDenyListEntries", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "CompletionServiceClient", - "fullName": "google.cloud.discoveryengine.v1.CompletionServiceClient" - }, - "method": { - "shortName": "PurgeSuggestionDenyListEntries", - "fullName": "google.cloud.discoveryengine.v1.CompletionService.PurgeSuggestionDenyListEntries", - "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1.CompletionService" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "PurgeSuggestionDenyListEntries", + "fullName": "google.cloud.discoveryengine.v1.CompletionService.PurgeSuggestionDenyListEntries", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "CompletionServiceClient", + "fullName": "google.cloud.discoveryengine.v1.CompletionServiceClient" }, + "method": { + "shortName": "PurgeSuggestionDenyListEntries", + "fullName": "google.cloud.discoveryengine.v1.CompletionService.PurgeSuggestionDenyListEntries", + "service": { + "shortName": "CompletionService", + "fullName": "google.cloud.discoveryengine.v1.CompletionService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_CompletionService_ImportCompletionSuggestions_async", + "title": "AssistantService importCompletionSuggestions Sample", + "origin": "API_DEFINITION", + "description": " Imports [CompletionSuggestion][google.cloud.discoveryengine.v1.CompletionSuggestion]s for a DataStore.", + "canonical": true, + "file": "completion_service.import_completion_suggestions.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_CompletionService_ImportCompletionSuggestions_async", - "title": "AssistantService importCompletionSuggestions Sample", - "origin": "API_DEFINITION", - "description": " Imports [CompletionSuggestion][google.cloud.discoveryengine.v1.CompletionSuggestion]s for a DataStore.", - "canonical": true, - "file": "completion_service.import_completion_suggestions.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 72, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ImportCompletionSuggestions", - "fullName": "google.cloud.discoveryengine.v1.CompletionService.ImportCompletionSuggestions", - "async": true, - "parameters": [ - { - "name": "inline_source", - "type": ".google.cloud.discoveryengine.v1.ImportCompletionSuggestionsRequest.InlineSource" - }, - { - "name": "gcs_source", - "type": ".google.cloud.discoveryengine.v1.GcsSource" - }, - { - "name": "bigquery_source", - "type": ".google.cloud.discoveryengine.v1.BigQuerySource" - }, - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "error_config", - "type": ".google.cloud.discoveryengine.v1.ImportErrorConfig" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "CompletionServiceClient", - "fullName": "google.cloud.discoveryengine.v1.CompletionServiceClient" - }, - "method": { - "shortName": "ImportCompletionSuggestions", - "fullName": "google.cloud.discoveryengine.v1.CompletionService.ImportCompletionSuggestions", - "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1.CompletionService" - } - } - } + "start": 25, + "end": 72, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ImportCompletionSuggestions", + "fullName": "google.cloud.discoveryengine.v1.CompletionService.ImportCompletionSuggestions", + "async": true, + "parameters": [ + { + "name": "inline_source", + "type": ".google.cloud.discoveryengine.v1.ImportCompletionSuggestionsRequest.InlineSource" + }, + { + "name": "gcs_source", + "type": ".google.cloud.discoveryengine.v1.GcsSource" + }, + { + "name": "bigquery_source", + "type": ".google.cloud.discoveryengine.v1.BigQuerySource" + }, + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "error_config", + "type": ".google.cloud.discoveryengine.v1.ImportErrorConfig" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "CompletionServiceClient", + "fullName": "google.cloud.discoveryengine.v1.CompletionServiceClient" }, + "method": { + "shortName": "ImportCompletionSuggestions", + "fullName": "google.cloud.discoveryengine.v1.CompletionService.ImportCompletionSuggestions", + "service": { + "shortName": "CompletionService", + "fullName": "google.cloud.discoveryengine.v1.CompletionService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_CompletionService_PurgeCompletionSuggestions_async", + "title": "AssistantService purgeCompletionSuggestions Sample", + "origin": "API_DEFINITION", + "description": " Permanently deletes all [CompletionSuggestion][google.cloud.discoveryengine.v1.CompletionSuggestion]s for a DataStore.", + "canonical": true, + "file": "completion_service.purge_completion_suggestions.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_CompletionService_PurgeCompletionSuggestions_async", - "title": "AssistantService purgeCompletionSuggestions Sample", - "origin": "API_DEFINITION", - "description": " Permanently deletes all [CompletionSuggestion][google.cloud.discoveryengine.v1.CompletionSuggestion]s for a DataStore.", - "canonical": true, - "file": "completion_service.purge_completion_suggestions.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 56, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "PurgeCompletionSuggestions", - "fullName": "google.cloud.discoveryengine.v1.CompletionService.PurgeCompletionSuggestions", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "CompletionServiceClient", - "fullName": "google.cloud.discoveryengine.v1.CompletionServiceClient" - }, - "method": { - "shortName": "PurgeCompletionSuggestions", - "fullName": "google.cloud.discoveryengine.v1.CompletionService.PurgeCompletionSuggestions", - "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1.CompletionService" - } - } - } + "start": 25, + "end": 56, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "PurgeCompletionSuggestions", + "fullName": "google.cloud.discoveryengine.v1.CompletionService.PurgeCompletionSuggestions", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "CompletionServiceClient", + "fullName": "google.cloud.discoveryengine.v1.CompletionServiceClient" }, + "method": { + "shortName": "PurgeCompletionSuggestions", + "fullName": "google.cloud.discoveryengine.v1.CompletionService.PurgeCompletionSuggestions", + "service": { + "shortName": "CompletionService", + "fullName": "google.cloud.discoveryengine.v1.CompletionService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_ControlService_CreateControl_async", + "title": "AssistantService createControl Sample", + "origin": "API_DEFINITION", + "description": " Creates a Control. By default 1000 controls are allowed for a data store. A request can be submitted to adjust this limit. If the [Control][google.cloud.discoveryengine.v1.Control] to create already exists, an ALREADY_EXISTS error is returned.", + "canonical": true, + "file": "control_service.create_control.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_ControlService_CreateControl_async", - "title": "AssistantService createControl Sample", - "origin": "API_DEFINITION", - "description": " Creates a Control. By default 1000 controls are allowed for a data store. A request can be submitted to adjust this limit. If the [Control][google.cloud.discoveryengine.v1.Control] to create already exists, an ALREADY_EXISTS error is returned.", - "canonical": true, - "file": "control_service.create_control.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 69, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateControl", - "fullName": "google.cloud.discoveryengine.v1.ControlService.CreateControl", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "control", - "type": ".google.cloud.discoveryengine.v1.Control" - }, - { - "name": "control_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.Control", - "client": { - "shortName": "ControlServiceClient", - "fullName": "google.cloud.discoveryengine.v1.ControlServiceClient" - }, - "method": { - "shortName": "CreateControl", - "fullName": "google.cloud.discoveryengine.v1.ControlService.CreateControl", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1.ControlService" - } - } - } + "start": 25, + "end": 69, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateControl", + "fullName": "google.cloud.discoveryengine.v1.ControlService.CreateControl", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "control", + "type": ".google.cloud.discoveryengine.v1.Control" + }, + { + "name": "control_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.Control", + "client": { + "shortName": "ControlServiceClient", + "fullName": "google.cloud.discoveryengine.v1.ControlServiceClient" }, + "method": { + "shortName": "CreateControl", + "fullName": "google.cloud.discoveryengine.v1.ControlService.CreateControl", + "service": { + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1.ControlService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_ControlService_DeleteControl_async", + "title": "AssistantService deleteControl Sample", + "origin": "API_DEFINITION", + "description": " Deletes a Control. If the [Control][google.cloud.discoveryengine.v1.Control] to delete does not exist, a NOT_FOUND error is returned.", + "canonical": true, + "file": "control_service.delete_control.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_ControlService_DeleteControl_async", - "title": "AssistantService deleteControl Sample", - "origin": "API_DEFINITION", - "description": " Deletes a Control. If the [Control][google.cloud.discoveryengine.v1.Control] to delete does not exist, a NOT_FOUND error is returned.", - "canonical": true, - "file": "control_service.delete_control.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteControl", - "fullName": "google.cloud.discoveryengine.v1.ControlService.DeleteControl", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "ControlServiceClient", - "fullName": "google.cloud.discoveryengine.v1.ControlServiceClient" - }, - "method": { - "shortName": "DeleteControl", - "fullName": "google.cloud.discoveryengine.v1.ControlService.DeleteControl", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1.ControlService" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteControl", + "fullName": "google.cloud.discoveryengine.v1.ControlService.DeleteControl", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "ControlServiceClient", + "fullName": "google.cloud.discoveryengine.v1.ControlServiceClient" }, + "method": { + "shortName": "DeleteControl", + "fullName": "google.cloud.discoveryengine.v1.ControlService.DeleteControl", + "service": { + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1.ControlService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_ControlService_UpdateControl_async", + "title": "AssistantService updateControl Sample", + "origin": "API_DEFINITION", + "description": " Updates a Control. [Control][google.cloud.discoveryengine.v1.Control] action type cannot be changed. If the [Control][google.cloud.discoveryengine.v1.Control] to update does not exist, a NOT_FOUND error is returned.", + "canonical": true, + "file": "control_service.update_control.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_ControlService_UpdateControl_async", - "title": "AssistantService updateControl Sample", - "origin": "API_DEFINITION", - "description": " Updates a Control. [Control][google.cloud.discoveryengine.v1.Control] action type cannot be changed. If the [Control][google.cloud.discoveryengine.v1.Control] to update does not exist, a NOT_FOUND error is returned.", - "canonical": true, - "file": "control_service.update_control.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 62, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateControl", - "fullName": "google.cloud.discoveryengine.v1.ControlService.UpdateControl", - "async": true, - "parameters": [ - { - "name": "control", - "type": ".google.cloud.discoveryengine.v1.Control" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.Control", - "client": { - "shortName": "ControlServiceClient", - "fullName": "google.cloud.discoveryengine.v1.ControlServiceClient" - }, - "method": { - "shortName": "UpdateControl", - "fullName": "google.cloud.discoveryengine.v1.ControlService.UpdateControl", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1.ControlService" - } - } - } + "start": 25, + "end": 62, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateControl", + "fullName": "google.cloud.discoveryengine.v1.ControlService.UpdateControl", + "async": true, + "parameters": [ + { + "name": "control", + "type": ".google.cloud.discoveryengine.v1.Control" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.Control", + "client": { + "shortName": "ControlServiceClient", + "fullName": "google.cloud.discoveryengine.v1.ControlServiceClient" }, + "method": { + "shortName": "UpdateControl", + "fullName": "google.cloud.discoveryengine.v1.ControlService.UpdateControl", + "service": { + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1.ControlService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_ControlService_GetControl_async", + "title": "AssistantService getControl Sample", + "origin": "API_DEFINITION", + "description": " Gets a Control.", + "canonical": true, + "file": "control_service.get_control.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_ControlService_GetControl_async", - "title": "AssistantService getControl Sample", - "origin": "API_DEFINITION", - "description": " Gets a Control.", - "canonical": true, - "file": "control_service.get_control.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetControl", - "fullName": "google.cloud.discoveryengine.v1.ControlService.GetControl", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.Control", - "client": { - "shortName": "ControlServiceClient", - "fullName": "google.cloud.discoveryengine.v1.ControlServiceClient" - }, - "method": { - "shortName": "GetControl", - "fullName": "google.cloud.discoveryengine.v1.ControlService.GetControl", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1.ControlService" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetControl", + "fullName": "google.cloud.discoveryengine.v1.ControlService.GetControl", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.Control", + "client": { + "shortName": "ControlServiceClient", + "fullName": "google.cloud.discoveryengine.v1.ControlServiceClient" }, + "method": { + "shortName": "GetControl", + "fullName": "google.cloud.discoveryengine.v1.ControlService.GetControl", + "service": { + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1.ControlService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_ControlService_ListControls_async", + "title": "AssistantService listControls Sample", + "origin": "API_DEFINITION", + "description": " Lists all Controls by their parent [DataStore][google.cloud.discoveryengine.v1.DataStore].", + "canonical": true, + "file": "control_service.list_controls.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_ControlService_ListControls_async", - "title": "AssistantService listControls Sample", - "origin": "API_DEFINITION", - "description": " Lists all Controls by their parent [DataStore][google.cloud.discoveryengine.v1.DataStore].", - "canonical": true, - "file": "control_service.list_controls.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 75, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListControls", - "fullName": "google.cloud.discoveryengine.v1.ControlService.ListControls", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.ListControlsResponse", - "client": { - "shortName": "ControlServiceClient", - "fullName": "google.cloud.discoveryengine.v1.ControlServiceClient" - }, - "method": { - "shortName": "ListControls", - "fullName": "google.cloud.discoveryengine.v1.ControlService.ListControls", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1.ControlService" - } - } - } + "start": 25, + "end": 75, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListControls", + "fullName": "google.cloud.discoveryengine.v1.ControlService.ListControls", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.ListControlsResponse", + "client": { + "shortName": "ControlServiceClient", + "fullName": "google.cloud.discoveryengine.v1.ControlServiceClient" }, + "method": { + "shortName": "ListControls", + "fullName": "google.cloud.discoveryengine.v1.ControlService.ListControls", + "service": { + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1.ControlService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_ConverseConversation_async", + "title": "AssistantService converseConversation Sample", + "origin": "API_DEFINITION", + "description": " Converses a conversation.", + "canonical": true, + "file": "conversational_search_service.converse_conversation.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_ConverseConversation_async", - "title": "AssistantService converseConversation Sample", - "origin": "API_DEFINITION", - "description": " Converses a conversation.", - "canonical": true, - "file": "conversational_search_service.converse_conversation.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 123, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ConverseConversation", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.ConverseConversation", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "query", - "type": ".google.cloud.discoveryengine.v1.TextInput" - }, - { - "name": "serving_config", - "type": "TYPE_STRING" - }, - { - "name": "conversation", - "type": ".google.cloud.discoveryengine.v1.Conversation" - }, - { - "name": "safe_search", - "type": "TYPE_BOOL" - }, - { - "name": "user_labels", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "summary_spec", - "type": ".google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec.SummarySpec" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "boost_spec", - "type": ".google.cloud.discoveryengine.v1.SearchRequest.BoostSpec" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.ConverseConversationResponse", - "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchServiceClient" - }, - "method": { - "shortName": "ConverseConversation", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.ConverseConversation", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService" - } - } - } + "start": 25, + "end": 123, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ConverseConversation", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.ConverseConversation", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "query", + "type": ".google.cloud.discoveryengine.v1.TextInput" + }, + { + "name": "serving_config", + "type": "TYPE_STRING" + }, + { + "name": "conversation", + "type": ".google.cloud.discoveryengine.v1.Conversation" + }, + { + "name": "safe_search", + "type": "TYPE_BOOL" + }, + { + "name": "user_labels", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "summary_spec", + "type": ".google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec.SummarySpec" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "boost_spec", + "type": ".google.cloud.discoveryengine.v1.SearchRequest.BoostSpec" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.ConverseConversationResponse", + "client": { + "shortName": "ConversationalSearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchServiceClient" }, + "method": { + "shortName": "ConverseConversation", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.ConverseConversation", + "service": { + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_CreateConversation_async", + "title": "AssistantService createConversation Sample", + "origin": "API_DEFINITION", + "description": " Creates a Conversation. If the [Conversation][google.cloud.discoveryengine.v1.Conversation] to create already exists, an ALREADY_EXISTS error is returned.", + "canonical": true, + "file": "conversational_search_service.create_conversation.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_CreateConversation_async", - "title": "AssistantService createConversation Sample", - "origin": "API_DEFINITION", - "description": " Creates a Conversation. If the [Conversation][google.cloud.discoveryengine.v1.Conversation] to create already exists, an ALREADY_EXISTS error is returned.", - "canonical": true, - "file": "conversational_search_service.create_conversation.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateConversation", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.CreateConversation", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "conversation", - "type": ".google.cloud.discoveryengine.v1.Conversation" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.Conversation", - "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchServiceClient" - }, - "method": { - "shortName": "CreateConversation", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.CreateConversation", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateConversation", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.CreateConversation", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "conversation", + "type": ".google.cloud.discoveryengine.v1.Conversation" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.Conversation", + "client": { + "shortName": "ConversationalSearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchServiceClient" }, + "method": { + "shortName": "CreateConversation", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.CreateConversation", + "service": { + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_DeleteConversation_async", + "title": "AssistantService deleteConversation Sample", + "origin": "API_DEFINITION", + "description": " Deletes a Conversation. If the [Conversation][google.cloud.discoveryengine.v1.Conversation] to delete does not exist, a NOT_FOUND error is returned.", + "canonical": true, + "file": "conversational_search_service.delete_conversation.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_DeleteConversation_async", - "title": "AssistantService deleteConversation Sample", - "origin": "API_DEFINITION", - "description": " Deletes a Conversation. If the [Conversation][google.cloud.discoveryengine.v1.Conversation] to delete does not exist, a NOT_FOUND error is returned.", - "canonical": true, - "file": "conversational_search_service.delete_conversation.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteConversation", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.DeleteConversation", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchServiceClient" - }, - "method": { - "shortName": "DeleteConversation", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.DeleteConversation", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteConversation", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.DeleteConversation", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "ConversationalSearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchServiceClient" }, + "method": { + "shortName": "DeleteConversation", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.DeleteConversation", + "service": { + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_UpdateConversation_async", + "title": "AssistantService updateConversation Sample", + "origin": "API_DEFINITION", + "description": " Updates a Conversation. [Conversation][google.cloud.discoveryengine.v1.Conversation] action type cannot be changed. If the [Conversation][google.cloud.discoveryengine.v1.Conversation] to update does not exist, a NOT_FOUND error is returned.", + "canonical": true, + "file": "conversational_search_service.update_conversation.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_UpdateConversation_async", - "title": "AssistantService updateConversation Sample", - "origin": "API_DEFINITION", - "description": " Updates a Conversation. [Conversation][google.cloud.discoveryengine.v1.Conversation] action type cannot be changed. If the [Conversation][google.cloud.discoveryengine.v1.Conversation] to update does not exist, a NOT_FOUND error is returned.", - "canonical": true, - "file": "conversational_search_service.update_conversation.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateConversation", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.UpdateConversation", - "async": true, - "parameters": [ - { - "name": "conversation", - "type": ".google.cloud.discoveryengine.v1.Conversation" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.Conversation", - "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchServiceClient" - }, - "method": { - "shortName": "UpdateConversation", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.UpdateConversation", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService" - } - } - } + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateConversation", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.UpdateConversation", + "async": true, + "parameters": [ + { + "name": "conversation", + "type": ".google.cloud.discoveryengine.v1.Conversation" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.Conversation", + "client": { + "shortName": "ConversationalSearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchServiceClient" }, + "method": { + "shortName": "UpdateConversation", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.UpdateConversation", + "service": { + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_GetConversation_async", + "title": "AssistantService getConversation Sample", + "origin": "API_DEFINITION", + "description": " Gets a Conversation.", + "canonical": true, + "file": "conversational_search_service.get_conversation.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_GetConversation_async", - "title": "AssistantService getConversation Sample", - "origin": "API_DEFINITION", - "description": " Gets a Conversation.", - "canonical": true, - "file": "conversational_search_service.get_conversation.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetConversation", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.GetConversation", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.Conversation", - "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchServiceClient" - }, - "method": { - "shortName": "GetConversation", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.GetConversation", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetConversation", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.GetConversation", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.Conversation", + "client": { + "shortName": "ConversationalSearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchServiceClient" }, + "method": { + "shortName": "GetConversation", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.GetConversation", + "service": { + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_ListConversations_async", + "title": "AssistantService listConversations Sample", + "origin": "API_DEFINITION", + "description": " Lists all Conversations by their parent [DataStore][google.cloud.discoveryengine.v1.DataStore].", + "canonical": true, + "file": "conversational_search_service.list_conversations.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_ListConversations_async", - "title": "AssistantService listConversations Sample", - "origin": "API_DEFINITION", - "description": " Lists all Conversations by their parent [DataStore][google.cloud.discoveryengine.v1.DataStore].", - "canonical": true, - "file": "conversational_search_service.list_conversations.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 85, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListConversations", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.ListConversations", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.ListConversationsResponse", - "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchServiceClient" - }, - "method": { - "shortName": "ListConversations", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.ListConversations", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService" - } - } - } + "start": 25, + "end": 85, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListConversations", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.ListConversations", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.ListConversationsResponse", + "client": { + "shortName": "ConversationalSearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchServiceClient" }, + "method": { + "shortName": "ListConversations", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.ListConversations", + "service": { + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_AnswerQuery_async", + "title": "AssistantService answerQuery Sample", + "origin": "API_DEFINITION", + "description": " Answer query method.", + "canonical": true, + "file": "conversational_search_service.answer_query.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_AnswerQuery_async", - "title": "AssistantService answerQuery Sample", - "origin": "API_DEFINITION", - "description": " Answer query method.", - "canonical": true, - "file": "conversational_search_service.answer_query.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 126, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "AnswerQuery", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.AnswerQuery", - "async": true, - "parameters": [ - { - "name": "serving_config", - "type": "TYPE_STRING" - }, - { - "name": "query", - "type": ".google.cloud.discoveryengine.v1.Query" - }, - { - "name": "session", - "type": "TYPE_STRING" - }, - { - "name": "safety_spec", - "type": ".google.cloud.discoveryengine.v1.AnswerQueryRequest.SafetySpec" - }, - { - "name": "related_questions_spec", - "type": ".google.cloud.discoveryengine.v1.AnswerQueryRequest.RelatedQuestionsSpec" - }, - { - "name": "grounding_spec", - "type": ".google.cloud.discoveryengine.v1.AnswerQueryRequest.GroundingSpec" - }, - { - "name": "answer_generation_spec", - "type": ".google.cloud.discoveryengine.v1.AnswerQueryRequest.AnswerGenerationSpec" - }, - { - "name": "search_spec", - "type": ".google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec" - }, - { - "name": "query_understanding_spec", - "type": ".google.cloud.discoveryengine.v1.AnswerQueryRequest.QueryUnderstandingSpec" - }, - { - "name": "asynchronous_mode", - "type": "TYPE_BOOL" - }, - { - "name": "user_pseudo_id", - "type": "TYPE_STRING" - }, - { - "name": "user_labels", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "end_user_spec", - "type": ".google.cloud.discoveryengine.v1.AnswerQueryRequest.EndUserSpec" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.AnswerQueryResponse", - "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchServiceClient" - }, - "method": { - "shortName": "AnswerQuery", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.AnswerQuery", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService" - } - } - } + "start": 25, + "end": 126, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "AnswerQuery", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.AnswerQuery", + "async": true, + "parameters": [ + { + "name": "serving_config", + "type": "TYPE_STRING" + }, + { + "name": "query", + "type": ".google.cloud.discoveryengine.v1.Query" + }, + { + "name": "session", + "type": "TYPE_STRING" + }, + { + "name": "safety_spec", + "type": ".google.cloud.discoveryengine.v1.AnswerQueryRequest.SafetySpec" + }, + { + "name": "related_questions_spec", + "type": ".google.cloud.discoveryengine.v1.AnswerQueryRequest.RelatedQuestionsSpec" + }, + { + "name": "grounding_spec", + "type": ".google.cloud.discoveryengine.v1.AnswerQueryRequest.GroundingSpec" + }, + { + "name": "answer_generation_spec", + "type": ".google.cloud.discoveryengine.v1.AnswerQueryRequest.AnswerGenerationSpec" + }, + { + "name": "search_spec", + "type": ".google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec" + }, + { + "name": "query_understanding_spec", + "type": ".google.cloud.discoveryengine.v1.AnswerQueryRequest.QueryUnderstandingSpec" + }, + { + "name": "asynchronous_mode", + "type": "TYPE_BOOL" + }, + { + "name": "user_pseudo_id", + "type": "TYPE_STRING" + }, + { + "name": "user_labels", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "end_user_spec", + "type": ".google.cloud.discoveryengine.v1.AnswerQueryRequest.EndUserSpec" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.AnswerQueryResponse", + "client": { + "shortName": "ConversationalSearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchServiceClient" }, + "method": { + "shortName": "AnswerQuery", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.AnswerQuery", + "service": { + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_StreamAnswerQuery_async", + "title": "AssistantService streamAnswerQuery Sample", + "origin": "API_DEFINITION", + "description": " Answer query method (streaming). It takes one [AnswerQueryRequest][google.cloud.discoveryengine.v1.AnswerQueryRequest] and returns multiple [AnswerQueryResponse][google.cloud.discoveryengine.v1.AnswerQueryResponse] messages in a stream.", + "canonical": true, + "file": "conversational_search_service.stream_answer_query.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_StreamAnswerQuery_async", - "title": "AssistantService streamAnswerQuery Sample", - "origin": "API_DEFINITION", - "description": " Answer query method (streaming). It takes one [AnswerQueryRequest][google.cloud.discoveryengine.v1.AnswerQueryRequest] and returns multiple [AnswerQueryResponse][google.cloud.discoveryengine.v1.AnswerQueryResponse] messages in a stream.", - "canonical": true, - "file": "conversational_search_service.stream_answer_query.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 128, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "StreamAnswerQuery", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.StreamAnswerQuery", - "async": true, - "parameters": [ - { - "name": "serving_config", - "type": "TYPE_STRING" - }, - { - "name": "query", - "type": ".google.cloud.discoveryengine.v1.Query" - }, - { - "name": "session", - "type": "TYPE_STRING" - }, - { - "name": "safety_spec", - "type": ".google.cloud.discoveryengine.v1.AnswerQueryRequest.SafetySpec" - }, - { - "name": "related_questions_spec", - "type": ".google.cloud.discoveryengine.v1.AnswerQueryRequest.RelatedQuestionsSpec" - }, - { - "name": "grounding_spec", - "type": ".google.cloud.discoveryengine.v1.AnswerQueryRequest.GroundingSpec" - }, - { - "name": "answer_generation_spec", - "type": ".google.cloud.discoveryengine.v1.AnswerQueryRequest.AnswerGenerationSpec" - }, - { - "name": "search_spec", - "type": ".google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec" - }, - { - "name": "query_understanding_spec", - "type": ".google.cloud.discoveryengine.v1.AnswerQueryRequest.QueryUnderstandingSpec" - }, - { - "name": "asynchronous_mode", - "type": "TYPE_BOOL" - }, - { - "name": "user_pseudo_id", - "type": "TYPE_STRING" - }, - { - "name": "user_labels", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "end_user_spec", - "type": ".google.cloud.discoveryengine.v1.AnswerQueryRequest.EndUserSpec" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.AnswerQueryResponse", - "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchServiceClient" - }, - "method": { - "shortName": "StreamAnswerQuery", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.StreamAnswerQuery", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService" - } - } - } + "start": 25, + "end": 128, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "StreamAnswerQuery", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.StreamAnswerQuery", + "async": true, + "parameters": [ + { + "name": "serving_config", + "type": "TYPE_STRING" + }, + { + "name": "query", + "type": ".google.cloud.discoveryengine.v1.Query" + }, + { + "name": "session", + "type": "TYPE_STRING" + }, + { + "name": "safety_spec", + "type": ".google.cloud.discoveryengine.v1.AnswerQueryRequest.SafetySpec" + }, + { + "name": "related_questions_spec", + "type": ".google.cloud.discoveryengine.v1.AnswerQueryRequest.RelatedQuestionsSpec" + }, + { + "name": "grounding_spec", + "type": ".google.cloud.discoveryengine.v1.AnswerQueryRequest.GroundingSpec" + }, + { + "name": "answer_generation_spec", + "type": ".google.cloud.discoveryengine.v1.AnswerQueryRequest.AnswerGenerationSpec" + }, + { + "name": "search_spec", + "type": ".google.cloud.discoveryengine.v1.AnswerQueryRequest.SearchSpec" + }, + { + "name": "query_understanding_spec", + "type": ".google.cloud.discoveryengine.v1.AnswerQueryRequest.QueryUnderstandingSpec" + }, + { + "name": "asynchronous_mode", + "type": "TYPE_BOOL" + }, + { + "name": "user_pseudo_id", + "type": "TYPE_STRING" + }, + { + "name": "user_labels", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "end_user_spec", + "type": ".google.cloud.discoveryengine.v1.AnswerQueryRequest.EndUserSpec" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.AnswerQueryResponse", + "client": { + "shortName": "ConversationalSearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchServiceClient" }, + "method": { + "shortName": "StreamAnswerQuery", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.StreamAnswerQuery", + "service": { + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_GetAnswer_async", + "title": "AssistantService getAnswer Sample", + "origin": "API_DEFINITION", + "description": " Gets a Answer.", + "canonical": true, + "file": "conversational_search_service.get_answer.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_GetAnswer_async", - "title": "AssistantService getAnswer Sample", - "origin": "API_DEFINITION", - "description": " Gets a Answer.", - "canonical": true, - "file": "conversational_search_service.get_answer.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetAnswer", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.GetAnswer", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.Answer", - "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchServiceClient" - }, - "method": { - "shortName": "GetAnswer", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.GetAnswer", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetAnswer", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.GetAnswer", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.Answer", + "client": { + "shortName": "ConversationalSearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchServiceClient" }, + "method": { + "shortName": "GetAnswer", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.GetAnswer", + "service": { + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_CreateSession_async", + "title": "AssistantService createSession Sample", + "origin": "API_DEFINITION", + "description": " Creates a Session. If the [Session][google.cloud.discoveryengine.v1.Session] to create already exists, an ALREADY_EXISTS error is returned.", + "canonical": true, + "file": "conversational_search_service.create_session.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_CreateSession_async", - "title": "AssistantService createSession Sample", - "origin": "API_DEFINITION", - "description": " Creates a Session. If the [Session][google.cloud.discoveryengine.v1.Session] to create already exists, an ALREADY_EXISTS error is returned.", - "canonical": true, - "file": "conversational_search_service.create_session.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateSession", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.CreateSession", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "session", - "type": ".google.cloud.discoveryengine.v1.Session" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.Session", - "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchServiceClient" - }, - "method": { - "shortName": "CreateSession", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.CreateSession", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateSession", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.CreateSession", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "session", + "type": ".google.cloud.discoveryengine.v1.Session" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.Session", + "client": { + "shortName": "ConversationalSearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchServiceClient" }, + "method": { + "shortName": "CreateSession", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.CreateSession", + "service": { + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_DeleteSession_async", + "title": "AssistantService deleteSession Sample", + "origin": "API_DEFINITION", + "description": " Deletes a Session. If the [Session][google.cloud.discoveryengine.v1.Session] to delete does not exist, a NOT_FOUND error is returned.", + "canonical": true, + "file": "conversational_search_service.delete_session.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_DeleteSession_async", - "title": "AssistantService deleteSession Sample", - "origin": "API_DEFINITION", - "description": " Deletes a Session. If the [Session][google.cloud.discoveryengine.v1.Session] to delete does not exist, a NOT_FOUND error is returned.", - "canonical": true, - "file": "conversational_search_service.delete_session.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteSession", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.DeleteSession", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchServiceClient" - }, - "method": { - "shortName": "DeleteSession", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.DeleteSession", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteSession", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.DeleteSession", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "ConversationalSearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchServiceClient" }, + "method": { + "shortName": "DeleteSession", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.DeleteSession", + "service": { + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_UpdateSession_async", + "title": "AssistantService updateSession Sample", + "origin": "API_DEFINITION", + "description": " Updates a Session. [Session][google.cloud.discoveryengine.v1.Session] action type cannot be changed. If the [Session][google.cloud.discoveryengine.v1.Session] to update does not exist, a NOT_FOUND error is returned.", + "canonical": true, + "file": "conversational_search_service.update_session.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_UpdateSession_async", - "title": "AssistantService updateSession Sample", - "origin": "API_DEFINITION", - "description": " Updates a Session. [Session][google.cloud.discoveryengine.v1.Session] action type cannot be changed. If the [Session][google.cloud.discoveryengine.v1.Session] to update does not exist, a NOT_FOUND error is returned.", - "canonical": true, - "file": "conversational_search_service.update_session.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateSession", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.UpdateSession", - "async": true, - "parameters": [ - { - "name": "session", - "type": ".google.cloud.discoveryengine.v1.Session" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.Session", - "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchServiceClient" - }, - "method": { - "shortName": "UpdateSession", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.UpdateSession", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService" - } - } - } + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateSession", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.UpdateSession", + "async": true, + "parameters": [ + { + "name": "session", + "type": ".google.cloud.discoveryengine.v1.Session" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.Session", + "client": { + "shortName": "ConversationalSearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchServiceClient" }, + "method": { + "shortName": "UpdateSession", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.UpdateSession", + "service": { + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_GetSession_async", + "title": "AssistantService getSession Sample", + "origin": "API_DEFINITION", + "description": " Gets a Session.", + "canonical": true, + "file": "conversational_search_service.get_session.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_GetSession_async", - "title": "AssistantService getSession Sample", - "origin": "API_DEFINITION", - "description": " Gets a Session.", - "canonical": true, - "file": "conversational_search_service.get_session.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetSession", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.GetSession", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "include_answer_details", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.Session", - "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchServiceClient" - }, - "method": { - "shortName": "GetSession", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.GetSession", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetSession", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.GetSession", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "include_answer_details", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.Session", + "client": { + "shortName": "ConversationalSearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchServiceClient" }, + "method": { + "shortName": "GetSession", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.GetSession", + "service": { + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_ListSessions_async", + "title": "AssistantService listSessions Sample", + "origin": "API_DEFINITION", + "description": " Lists all Sessions by their parent [DataStore][google.cloud.discoveryengine.v1.DataStore].", + "canonical": true, + "file": "conversational_search_service.list_sessions.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_ConversationalSearchService_ListSessions_async", - "title": "AssistantService listSessions Sample", - "origin": "API_DEFINITION", - "description": " Lists all Sessions by their parent [DataStore][google.cloud.discoveryengine.v1.DataStore].", - "canonical": true, - "file": "conversational_search_service.list_sessions.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 100, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListSessions", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.ListSessions", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.ListSessionsResponse", - "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchServiceClient" - }, - "method": { - "shortName": "ListSessions", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.ListSessions", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService" - } - } - } + "start": 25, + "end": 100, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListSessions", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.ListSessions", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.ListSessionsResponse", + "client": { + "shortName": "ConversationalSearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchServiceClient" }, + "method": { + "shortName": "ListSessions", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.ListSessions", + "service": { + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_DataStoreService_CreateDataStore_async", + "title": "AssistantService createDataStore Sample", + "origin": "API_DEFINITION", + "description": " Creates a [DataStore][google.cloud.discoveryengine.v1.DataStore]. DataStore is for storing [Documents][google.cloud.discoveryengine.v1.Document]. To serve these documents for Search, or Recommendation use case, an [Engine][google.cloud.discoveryengine.v1.Engine] needs to be created separately.", + "canonical": true, + "file": "data_store_service.create_data_store.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_DataStoreService_CreateDataStore_async", - "title": "AssistantService createDataStore Sample", - "origin": "API_DEFINITION", - "description": " Creates a [DataStore][google.cloud.discoveryengine.v1.DataStore]. DataStore is for storing [Documents][google.cloud.discoveryengine.v1.Document]. To serve these documents for Search, or Recommendation use case, an [Engine][google.cloud.discoveryengine.v1.Engine] needs to be created separately.", - "canonical": true, - "file": "data_store_service.create_data_store.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 99, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateDataStore", - "fullName": "google.cloud.discoveryengine.v1.DataStoreService.CreateDataStore", - "async": true, - "parameters": [ - { - "name": "cmek_config_name", - "type": "TYPE_STRING" - }, - { - "name": "disable_cmek", - "type": "TYPE_BOOL" - }, - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "data_store", - "type": ".google.cloud.discoveryengine.v1.DataStore" - }, - { - "name": "data_store_id", - "type": "TYPE_STRING" - }, - { - "name": "create_advanced_site_search", - "type": "TYPE_BOOL" - }, - { - "name": "skip_default_schema_creation", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DataStoreServiceClient", - "fullName": "google.cloud.discoveryengine.v1.DataStoreServiceClient" - }, - "method": { - "shortName": "CreateDataStore", - "fullName": "google.cloud.discoveryengine.v1.DataStoreService.CreateDataStore", - "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1.DataStoreService" - } - } - } + "start": 25, + "end": 99, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateDataStore", + "fullName": "google.cloud.discoveryengine.v1.DataStoreService.CreateDataStore", + "async": true, + "parameters": [ + { + "name": "cmek_config_name", + "type": "TYPE_STRING" + }, + { + "name": "disable_cmek", + "type": "TYPE_BOOL" + }, + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "data_store", + "type": ".google.cloud.discoveryengine.v1.DataStore" + }, + { + "name": "data_store_id", + "type": "TYPE_STRING" + }, + { + "name": "create_advanced_site_search", + "type": "TYPE_BOOL" + }, + { + "name": "skip_default_schema_creation", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DataStoreServiceClient", + "fullName": "google.cloud.discoveryengine.v1.DataStoreServiceClient" }, + "method": { + "shortName": "CreateDataStore", + "fullName": "google.cloud.discoveryengine.v1.DataStoreService.CreateDataStore", + "service": { + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1.DataStoreService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_DataStoreService_GetDataStore_async", + "title": "AssistantService getDataStore Sample", + "origin": "API_DEFINITION", + "description": " Gets a [DataStore][google.cloud.discoveryengine.v1.DataStore].", + "canonical": true, + "file": "data_store_service.get_data_store.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_DataStoreService_GetDataStore_async", - "title": "AssistantService getDataStore Sample", - "origin": "API_DEFINITION", - "description": " Gets a [DataStore][google.cloud.discoveryengine.v1.DataStore].", - "canonical": true, - "file": "data_store_service.get_data_store.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 60, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetDataStore", - "fullName": "google.cloud.discoveryengine.v1.DataStoreService.GetDataStore", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.DataStore", - "client": { - "shortName": "DataStoreServiceClient", - "fullName": "google.cloud.discoveryengine.v1.DataStoreServiceClient" - }, - "method": { - "shortName": "GetDataStore", - "fullName": "google.cloud.discoveryengine.v1.DataStoreService.GetDataStore", - "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1.DataStoreService" - } - } - } + "start": 25, + "end": 60, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetDataStore", + "fullName": "google.cloud.discoveryengine.v1.DataStoreService.GetDataStore", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.DataStore", + "client": { + "shortName": "DataStoreServiceClient", + "fullName": "google.cloud.discoveryengine.v1.DataStoreServiceClient" }, + "method": { + "shortName": "GetDataStore", + "fullName": "google.cloud.discoveryengine.v1.DataStoreService.GetDataStore", + "service": { + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1.DataStoreService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_DataStoreService_ListDataStores_async", + "title": "AssistantService listDataStores Sample", + "origin": "API_DEFINITION", + "description": " Lists all the [DataStore][google.cloud.discoveryengine.v1.DataStore]s associated with the project.", + "canonical": true, + "file": "data_store_service.list_data_stores.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_DataStoreService_ListDataStores_async", - "title": "AssistantService listDataStores Sample", - "origin": "API_DEFINITION", - "description": " Lists all the [DataStore][google.cloud.discoveryengine.v1.DataStore]s associated with the project.", - "canonical": true, - "file": "data_store_service.list_data_stores.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 84, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListDataStores", - "fullName": "google.cloud.discoveryengine.v1.DataStoreService.ListDataStores", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.ListDataStoresResponse", - "client": { - "shortName": "DataStoreServiceClient", - "fullName": "google.cloud.discoveryengine.v1.DataStoreServiceClient" - }, - "method": { - "shortName": "ListDataStores", - "fullName": "google.cloud.discoveryengine.v1.DataStoreService.ListDataStores", - "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1.DataStoreService" - } - } - } + "start": 25, + "end": 84, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListDataStores", + "fullName": "google.cloud.discoveryengine.v1.DataStoreService.ListDataStores", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.ListDataStoresResponse", + "client": { + "shortName": "DataStoreServiceClient", + "fullName": "google.cloud.discoveryengine.v1.DataStoreServiceClient" }, + "method": { + "shortName": "ListDataStores", + "fullName": "google.cloud.discoveryengine.v1.DataStoreService.ListDataStores", + "service": { + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1.DataStoreService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_DataStoreService_DeleteDataStore_async", + "title": "AssistantService deleteDataStore Sample", + "origin": "API_DEFINITION", + "description": " Deletes a [DataStore][google.cloud.discoveryengine.v1.DataStore].", + "canonical": true, + "file": "data_store_service.delete_data_store.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_DataStoreService_DeleteDataStore_async", - "title": "AssistantService deleteDataStore Sample", - "origin": "API_DEFINITION", - "description": " Deletes a [DataStore][google.cloud.discoveryengine.v1.DataStore].", - "canonical": true, - "file": "data_store_service.delete_data_store.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteDataStore", - "fullName": "google.cloud.discoveryengine.v1.DataStoreService.DeleteDataStore", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DataStoreServiceClient", - "fullName": "google.cloud.discoveryengine.v1.DataStoreServiceClient" - }, - "method": { - "shortName": "DeleteDataStore", - "fullName": "google.cloud.discoveryengine.v1.DataStoreService.DeleteDataStore", - "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1.DataStoreService" - } - } - } + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteDataStore", + "fullName": "google.cloud.discoveryengine.v1.DataStoreService.DeleteDataStore", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DataStoreServiceClient", + "fullName": "google.cloud.discoveryengine.v1.DataStoreServiceClient" }, + "method": { + "shortName": "DeleteDataStore", + "fullName": "google.cloud.discoveryengine.v1.DataStoreService.DeleteDataStore", + "service": { + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1.DataStoreService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_DataStoreService_UpdateDataStore_async", + "title": "AssistantService updateDataStore Sample", + "origin": "API_DEFINITION", + "description": " Updates a [DataStore][google.cloud.discoveryengine.v1.DataStore]", + "canonical": true, + "file": "data_store_service.update_data_store.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_DataStoreService_UpdateDataStore_async", - "title": "AssistantService updateDataStore Sample", - "origin": "API_DEFINITION", - "description": " Updates a [DataStore][google.cloud.discoveryengine.v1.DataStore]", - "canonical": true, - "file": "data_store_service.update_data_store.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 66, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateDataStore", - "fullName": "google.cloud.discoveryengine.v1.DataStoreService.UpdateDataStore", - "async": true, - "parameters": [ - { - "name": "data_store", - "type": ".google.cloud.discoveryengine.v1.DataStore" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.DataStore", - "client": { - "shortName": "DataStoreServiceClient", - "fullName": "google.cloud.discoveryengine.v1.DataStoreServiceClient" - }, - "method": { - "shortName": "UpdateDataStore", - "fullName": "google.cloud.discoveryengine.v1.DataStoreService.UpdateDataStore", - "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1.DataStoreService" - } - } - } + "start": 25, + "end": 66, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateDataStore", + "fullName": "google.cloud.discoveryengine.v1.DataStoreService.UpdateDataStore", + "async": true, + "parameters": [ + { + "name": "data_store", + "type": ".google.cloud.discoveryengine.v1.DataStore" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.DataStore", + "client": { + "shortName": "DataStoreServiceClient", + "fullName": "google.cloud.discoveryengine.v1.DataStoreServiceClient" }, + "method": { + "shortName": "UpdateDataStore", + "fullName": "google.cloud.discoveryengine.v1.DataStoreService.UpdateDataStore", + "service": { + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1.DataStoreService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_DocumentService_GetDocument_async", + "title": "AssistantService getDocument Sample", + "origin": "API_DEFINITION", + "description": " Gets a [Document][google.cloud.discoveryengine.v1.Document].", + "canonical": true, + "file": "document_service.get_document.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_DocumentService_GetDocument_async", - "title": "AssistantService getDocument Sample", - "origin": "API_DEFINITION", - "description": " Gets a [Document][google.cloud.discoveryengine.v1.Document].", - "canonical": true, - "file": "document_service.get_document.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 60, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetDocument", - "fullName": "google.cloud.discoveryengine.v1.DocumentService.GetDocument", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.Document", - "client": { - "shortName": "DocumentServiceClient", - "fullName": "google.cloud.discoveryengine.v1.DocumentServiceClient" - }, - "method": { - "shortName": "GetDocument", - "fullName": "google.cloud.discoveryengine.v1.DocumentService.GetDocument", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1.DocumentService" - } - } - } + "start": 25, + "end": 60, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetDocument", + "fullName": "google.cloud.discoveryengine.v1.DocumentService.GetDocument", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.Document", + "client": { + "shortName": "DocumentServiceClient", + "fullName": "google.cloud.discoveryengine.v1.DocumentServiceClient" }, + "method": { + "shortName": "GetDocument", + "fullName": "google.cloud.discoveryengine.v1.DocumentService.GetDocument", + "service": { + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1.DocumentService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_DocumentService_ListDocuments_async", + "title": "AssistantService listDocuments Sample", + "origin": "API_DEFINITION", + "description": " Gets a list of [Document][google.cloud.discoveryengine.v1.Document]s.", + "canonical": true, + "file": "document_service.list_documents.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_DocumentService_ListDocuments_async", - "title": "AssistantService listDocuments Sample", - "origin": "API_DEFINITION", - "description": " Gets a list of [Document][google.cloud.discoveryengine.v1.Document]s.", - "canonical": true, - "file": "document_service.list_documents.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 81, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListDocuments", - "fullName": "google.cloud.discoveryengine.v1.DocumentService.ListDocuments", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.ListDocumentsResponse", - "client": { - "shortName": "DocumentServiceClient", - "fullName": "google.cloud.discoveryengine.v1.DocumentServiceClient" - }, - "method": { - "shortName": "ListDocuments", - "fullName": "google.cloud.discoveryengine.v1.DocumentService.ListDocuments", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1.DocumentService" - } - } - } + "start": 25, + "end": 81, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListDocuments", + "fullName": "google.cloud.discoveryengine.v1.DocumentService.ListDocuments", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.ListDocumentsResponse", + "client": { + "shortName": "DocumentServiceClient", + "fullName": "google.cloud.discoveryengine.v1.DocumentServiceClient" }, + "method": { + "shortName": "ListDocuments", + "fullName": "google.cloud.discoveryengine.v1.DocumentService.ListDocuments", + "service": { + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1.DocumentService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_DocumentService_CreateDocument_async", + "title": "AssistantService createDocument Sample", + "origin": "API_DEFINITION", + "description": " Creates a [Document][google.cloud.discoveryengine.v1.Document].", + "canonical": true, + "file": "document_service.create_document.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_DocumentService_CreateDocument_async", - "title": "AssistantService createDocument Sample", - "origin": "API_DEFINITION", - "description": " Creates a [Document][google.cloud.discoveryengine.v1.Document].", - "canonical": true, - "file": "document_service.create_document.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 78, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateDocument", - "fullName": "google.cloud.discoveryengine.v1.DocumentService.CreateDocument", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "document", - "type": ".google.cloud.discoveryengine.v1.Document" - }, - { - "name": "document_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.Document", - "client": { - "shortName": "DocumentServiceClient", - "fullName": "google.cloud.discoveryengine.v1.DocumentServiceClient" - }, - "method": { - "shortName": "CreateDocument", - "fullName": "google.cloud.discoveryengine.v1.DocumentService.CreateDocument", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1.DocumentService" - } - } - } + "start": 25, + "end": 78, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateDocument", + "fullName": "google.cloud.discoveryengine.v1.DocumentService.CreateDocument", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "document", + "type": ".google.cloud.discoveryengine.v1.Document" + }, + { + "name": "document_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.Document", + "client": { + "shortName": "DocumentServiceClient", + "fullName": "google.cloud.discoveryengine.v1.DocumentServiceClient" }, + "method": { + "shortName": "CreateDocument", + "fullName": "google.cloud.discoveryengine.v1.DocumentService.CreateDocument", + "service": { + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1.DocumentService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_DocumentService_UpdateDocument_async", + "title": "AssistantService updateDocument Sample", + "origin": "API_DEFINITION", + "description": " Updates a [Document][google.cloud.discoveryengine.v1.Document].", + "canonical": true, + "file": "document_service.update_document.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_DocumentService_UpdateDocument_async", - "title": "AssistantService updateDocument Sample", - "origin": "API_DEFINITION", - "description": " Updates a [Document][google.cloud.discoveryengine.v1.Document].", - "canonical": true, - "file": "document_service.update_document.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 71, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateDocument", - "fullName": "google.cloud.discoveryengine.v1.DocumentService.UpdateDocument", - "async": true, - "parameters": [ - { - "name": "document", - "type": ".google.cloud.discoveryengine.v1.Document" - }, - { - "name": "allow_missing", - "type": "TYPE_BOOL" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.Document", - "client": { - "shortName": "DocumentServiceClient", - "fullName": "google.cloud.discoveryengine.v1.DocumentServiceClient" - }, - "method": { - "shortName": "UpdateDocument", - "fullName": "google.cloud.discoveryengine.v1.DocumentService.UpdateDocument", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1.DocumentService" - } - } - } + "start": 25, + "end": 71, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateDocument", + "fullName": "google.cloud.discoveryengine.v1.DocumentService.UpdateDocument", + "async": true, + "parameters": [ + { + "name": "document", + "type": ".google.cloud.discoveryengine.v1.Document" + }, + { + "name": "allow_missing", + "type": "TYPE_BOOL" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.Document", + "client": { + "shortName": "DocumentServiceClient", + "fullName": "google.cloud.discoveryengine.v1.DocumentServiceClient" }, + "method": { + "shortName": "UpdateDocument", + "fullName": "google.cloud.discoveryengine.v1.DocumentService.UpdateDocument", + "service": { + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1.DocumentService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_DocumentService_DeleteDocument_async", + "title": "AssistantService deleteDocument Sample", + "origin": "API_DEFINITION", + "description": " Deletes a [Document][google.cloud.discoveryengine.v1.Document].", + "canonical": true, + "file": "document_service.delete_document.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_DocumentService_DeleteDocument_async", - "title": "AssistantService deleteDocument Sample", - "origin": "API_DEFINITION", - "description": " Deletes a [Document][google.cloud.discoveryengine.v1.Document].", - "canonical": true, - "file": "document_service.delete_document.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 60, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteDocument", - "fullName": "google.cloud.discoveryengine.v1.DocumentService.DeleteDocument", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "DocumentServiceClient", - "fullName": "google.cloud.discoveryengine.v1.DocumentServiceClient" - }, - "method": { - "shortName": "DeleteDocument", - "fullName": "google.cloud.discoveryengine.v1.DocumentService.DeleteDocument", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1.DocumentService" - } - } - } + "start": 25, + "end": 60, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteDocument", + "fullName": "google.cloud.discoveryengine.v1.DocumentService.DeleteDocument", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "DocumentServiceClient", + "fullName": "google.cloud.discoveryengine.v1.DocumentServiceClient" }, + "method": { + "shortName": "DeleteDocument", + "fullName": "google.cloud.discoveryengine.v1.DocumentService.DeleteDocument", + "service": { + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1.DocumentService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_DocumentService_ImportDocuments_async", + "title": "AssistantService importDocuments Sample", + "origin": "API_DEFINITION", + "description": " Bulk import of multiple [Document][google.cloud.discoveryengine.v1.Document]s. Request processing may be synchronous. Non-existing items are created. Note: It is possible for a subset of the [Document][google.cloud.discoveryengine.v1.Document]s to be successfully updated.", + "canonical": true, + "file": "document_service.import_documents.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_DocumentService_ImportDocuments_async", - "title": "AssistantService importDocuments Sample", - "origin": "API_DEFINITION", - "description": " Bulk import of multiple [Document][google.cloud.discoveryengine.v1.Document]s. Request processing may be synchronous. Non-existing items are created. Note: It is possible for a subset of the [Document][google.cloud.discoveryengine.v1.Document]s to be successfully updated.", - "canonical": true, - "file": "document_service.import_documents.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 170, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ImportDocuments", - "fullName": "google.cloud.discoveryengine.v1.DocumentService.ImportDocuments", - "async": true, - "parameters": [ - { - "name": "inline_source", - "type": ".google.cloud.discoveryengine.v1.ImportDocumentsRequest.InlineSource" - }, - { - "name": "gcs_source", - "type": ".google.cloud.discoveryengine.v1.GcsSource" - }, - { - "name": "bigquery_source", - "type": ".google.cloud.discoveryengine.v1.BigQuerySource" - }, - { - "name": "fhir_store_source", - "type": ".google.cloud.discoveryengine.v1.FhirStoreSource" - }, - { - "name": "spanner_source", - "type": ".google.cloud.discoveryengine.v1.SpannerSource" - }, - { - "name": "cloud_sql_source", - "type": ".google.cloud.discoveryengine.v1.CloudSqlSource" - }, - { - "name": "firestore_source", - "type": ".google.cloud.discoveryengine.v1.FirestoreSource" - }, - { - "name": "alloy_db_source", - "type": ".google.cloud.discoveryengine.v1.AlloyDbSource" - }, - { - "name": "bigtable_source", - "type": ".google.cloud.discoveryengine.v1.BigtableSource" - }, - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "error_config", - "type": ".google.cloud.discoveryengine.v1.ImportErrorConfig" - }, - { - "name": "reconciliation_mode", - "type": ".google.cloud.discoveryengine.v1.ImportDocumentsRequest.ReconciliationMode" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - }, - { - "name": "auto_generate_ids", - "type": "TYPE_BOOL" - }, - { - "name": "id_field", - "type": "TYPE_STRING" - }, - { - "name": "force_refresh_content", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DocumentServiceClient", - "fullName": "google.cloud.discoveryengine.v1.DocumentServiceClient" - }, - "method": { - "shortName": "ImportDocuments", - "fullName": "google.cloud.discoveryengine.v1.DocumentService.ImportDocuments", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1.DocumentService" - } - } - } + "start": 25, + "end": 170, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ImportDocuments", + "fullName": "google.cloud.discoveryengine.v1.DocumentService.ImportDocuments", + "async": true, + "parameters": [ + { + "name": "inline_source", + "type": ".google.cloud.discoveryengine.v1.ImportDocumentsRequest.InlineSource" + }, + { + "name": "gcs_source", + "type": ".google.cloud.discoveryengine.v1.GcsSource" + }, + { + "name": "bigquery_source", + "type": ".google.cloud.discoveryengine.v1.BigQuerySource" + }, + { + "name": "fhir_store_source", + "type": ".google.cloud.discoveryengine.v1.FhirStoreSource" + }, + { + "name": "spanner_source", + "type": ".google.cloud.discoveryengine.v1.SpannerSource" + }, + { + "name": "cloud_sql_source", + "type": ".google.cloud.discoveryengine.v1.CloudSqlSource" + }, + { + "name": "firestore_source", + "type": ".google.cloud.discoveryengine.v1.FirestoreSource" + }, + { + "name": "alloy_db_source", + "type": ".google.cloud.discoveryengine.v1.AlloyDbSource" + }, + { + "name": "bigtable_source", + "type": ".google.cloud.discoveryengine.v1.BigtableSource" + }, + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "error_config", + "type": ".google.cloud.discoveryengine.v1.ImportErrorConfig" + }, + { + "name": "reconciliation_mode", + "type": ".google.cloud.discoveryengine.v1.ImportDocumentsRequest.ReconciliationMode" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + }, + { + "name": "auto_generate_ids", + "type": "TYPE_BOOL" + }, + { + "name": "id_field", + "type": "TYPE_STRING" + }, + { + "name": "force_refresh_content", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DocumentServiceClient", + "fullName": "google.cloud.discoveryengine.v1.DocumentServiceClient" }, + "method": { + "shortName": "ImportDocuments", + "fullName": "google.cloud.discoveryengine.v1.DocumentService.ImportDocuments", + "service": { + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1.DocumentService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_DocumentService_PurgeDocuments_async", + "title": "AssistantService purgeDocuments Sample", + "origin": "API_DEFINITION", + "description": " Permanently deletes all selected [Document][google.cloud.discoveryengine.v1.Document]s in a branch. This process is asynchronous. Depending on the number of [Document][google.cloud.discoveryengine.v1.Document]s to be deleted, this operation can take hours to complete. Before the delete operation completes, some [Document][google.cloud.discoveryengine.v1.Document]s might still be returned by [DocumentService.GetDocument][google.cloud.discoveryengine.v1.DocumentService.GetDocument] or [DocumentService.ListDocuments][google.cloud.discoveryengine.v1.DocumentService.ListDocuments]. To get a list of the [Document][google.cloud.discoveryengine.v1.Document]s to be deleted, set [PurgeDocumentsRequest.force][google.cloud.discoveryengine.v1.PurgeDocumentsRequest.force] to false.", + "canonical": true, + "file": "document_service.purge_documents.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_DocumentService_PurgeDocuments_async", - "title": "AssistantService purgeDocuments Sample", - "origin": "API_DEFINITION", - "description": " Permanently deletes all selected [Document][google.cloud.discoveryengine.v1.Document]s in a branch. This process is asynchronous. Depending on the number of [Document][google.cloud.discoveryengine.v1.Document]s to be deleted, this operation can take hours to complete. Before the delete operation completes, some [Document][google.cloud.discoveryengine.v1.Document]s might still be returned by [DocumentService.GetDocument][google.cloud.discoveryengine.v1.DocumentService.GetDocument] or [DocumentService.ListDocuments][google.cloud.discoveryengine.v1.DocumentService.ListDocuments]. To get a list of the [Document][google.cloud.discoveryengine.v1.Document]s to be deleted, set [PurgeDocumentsRequest.force][google.cloud.discoveryengine.v1.PurgeDocumentsRequest.force] to false.", - "canonical": true, - "file": "document_service.purge_documents.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 82, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "PurgeDocuments", - "fullName": "google.cloud.discoveryengine.v1.DocumentService.PurgeDocuments", - "async": true, - "parameters": [ - { - "name": "gcs_source", - "type": ".google.cloud.discoveryengine.v1.GcsSource" - }, - { - "name": "inline_source", - "type": ".google.cloud.discoveryengine.v1.PurgeDocumentsRequest.InlineSource" - }, - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "error_config", - "type": ".google.cloud.discoveryengine.v1.PurgeErrorConfig" - }, - { - "name": "force", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DocumentServiceClient", - "fullName": "google.cloud.discoveryengine.v1.DocumentServiceClient" - }, - "method": { - "shortName": "PurgeDocuments", - "fullName": "google.cloud.discoveryengine.v1.DocumentService.PurgeDocuments", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1.DocumentService" - } - } - } + "start": 25, + "end": 82, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "PurgeDocuments", + "fullName": "google.cloud.discoveryengine.v1.DocumentService.PurgeDocuments", + "async": true, + "parameters": [ + { + "name": "gcs_source", + "type": ".google.cloud.discoveryengine.v1.GcsSource" + }, + { + "name": "inline_source", + "type": ".google.cloud.discoveryengine.v1.PurgeDocumentsRequest.InlineSource" + }, + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "error_config", + "type": ".google.cloud.discoveryengine.v1.PurgeErrorConfig" + }, + { + "name": "force", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DocumentServiceClient", + "fullName": "google.cloud.discoveryengine.v1.DocumentServiceClient" }, + "method": { + "shortName": "PurgeDocuments", + "fullName": "google.cloud.discoveryengine.v1.DocumentService.PurgeDocuments", + "service": { + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1.DocumentService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_DocumentService_BatchGetDocumentsMetadata_async", + "title": "AssistantService batchGetDocumentsMetadata Sample", + "origin": "API_DEFINITION", + "description": " Gets index freshness metadata for [Document][google.cloud.discoveryengine.v1.Document]s. Supported for website search only.", + "canonical": true, + "file": "document_service.batch_get_documents_metadata.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_DocumentService_BatchGetDocumentsMetadata_async", - "title": "AssistantService batchGetDocumentsMetadata Sample", - "origin": "API_DEFINITION", - "description": " Gets index freshness metadata for [Document][google.cloud.discoveryengine.v1.Document]s. Supported for website search only.", - "canonical": true, - "file": "document_service.batch_get_documents_metadata.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 60, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "BatchGetDocumentsMetadata", - "fullName": "google.cloud.discoveryengine.v1.DocumentService.BatchGetDocumentsMetadata", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "matcher", - "type": ".google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataRequest.Matcher" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse", - "client": { - "shortName": "DocumentServiceClient", - "fullName": "google.cloud.discoveryengine.v1.DocumentServiceClient" - }, - "method": { - "shortName": "BatchGetDocumentsMetadata", - "fullName": "google.cloud.discoveryengine.v1.DocumentService.BatchGetDocumentsMetadata", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1.DocumentService" - } - } - } + "start": 25, + "end": 60, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "BatchGetDocumentsMetadata", + "fullName": "google.cloud.discoveryengine.v1.DocumentService.BatchGetDocumentsMetadata", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "matcher", + "type": ".google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataRequest.Matcher" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse", + "client": { + "shortName": "DocumentServiceClient", + "fullName": "google.cloud.discoveryengine.v1.DocumentServiceClient" }, + "method": { + "shortName": "BatchGetDocumentsMetadata", + "fullName": "google.cloud.discoveryengine.v1.DocumentService.BatchGetDocumentsMetadata", + "service": { + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1.DocumentService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_EngineService_CreateEngine_async", + "title": "AssistantService createEngine Sample", + "origin": "API_DEFINITION", + "description": " Creates a [Engine][google.cloud.discoveryengine.v1.Engine].", + "canonical": true, + "file": "engine_service.create_engine.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_EngineService_CreateEngine_async", - "title": "AssistantService createEngine Sample", - "origin": "API_DEFINITION", - "description": " Creates a [Engine][google.cloud.discoveryengine.v1.Engine].", - "canonical": true, - "file": "engine_service.create_engine.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 71, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateEngine", - "fullName": "google.cloud.discoveryengine.v1.EngineService.CreateEngine", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "engine", - "type": ".google.cloud.discoveryengine.v1.Engine" - }, - { - "name": "engine_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1.EngineServiceClient" - }, - "method": { - "shortName": "CreateEngine", - "fullName": "google.cloud.discoveryengine.v1.EngineService.CreateEngine", - "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1.EngineService" - } - } - } + "start": 25, + "end": 71, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateEngine", + "fullName": "google.cloud.discoveryengine.v1.EngineService.CreateEngine", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "engine", + "type": ".google.cloud.discoveryengine.v1.Engine" + }, + { + "name": "engine_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1.EngineServiceClient" }, + "method": { + "shortName": "CreateEngine", + "fullName": "google.cloud.discoveryengine.v1.EngineService.CreateEngine", + "service": { + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1.EngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_EngineService_DeleteEngine_async", + "title": "AssistantService deleteEngine Sample", + "origin": "API_DEFINITION", + "description": " Deletes a [Engine][google.cloud.discoveryengine.v1.Engine].", + "canonical": true, + "file": "engine_service.delete_engine.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_EngineService_DeleteEngine_async", - "title": "AssistantService deleteEngine Sample", - "origin": "API_DEFINITION", - "description": " Deletes a [Engine][google.cloud.discoveryengine.v1.Engine].", - "canonical": true, - "file": "engine_service.delete_engine.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteEngine", - "fullName": "google.cloud.discoveryengine.v1.EngineService.DeleteEngine", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1.EngineServiceClient" - }, - "method": { - "shortName": "DeleteEngine", - "fullName": "google.cloud.discoveryengine.v1.EngineService.DeleteEngine", - "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1.EngineService" - } - } - } + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteEngine", + "fullName": "google.cloud.discoveryengine.v1.EngineService.DeleteEngine", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1.EngineServiceClient" }, + "method": { + "shortName": "DeleteEngine", + "fullName": "google.cloud.discoveryengine.v1.EngineService.DeleteEngine", + "service": { + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1.EngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_EngineService_UpdateEngine_async", + "title": "AssistantService updateEngine Sample", + "origin": "API_DEFINITION", + "description": " Updates an [Engine][google.cloud.discoveryengine.v1.Engine]", + "canonical": true, + "file": "engine_service.update_engine.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_EngineService_UpdateEngine_async", - "title": "AssistantService updateEngine Sample", - "origin": "API_DEFINITION", - "description": " Updates an [Engine][google.cloud.discoveryengine.v1.Engine]", - "canonical": true, - "file": "engine_service.update_engine.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 65, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateEngine", - "fullName": "google.cloud.discoveryengine.v1.EngineService.UpdateEngine", - "async": true, - "parameters": [ - { - "name": "engine", - "type": ".google.cloud.discoveryengine.v1.Engine" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.Engine", - "client": { - "shortName": "EngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1.EngineServiceClient" - }, - "method": { - "shortName": "UpdateEngine", - "fullName": "google.cloud.discoveryengine.v1.EngineService.UpdateEngine", - "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1.EngineService" - } - } - } + "start": 25, + "end": 65, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateEngine", + "fullName": "google.cloud.discoveryengine.v1.EngineService.UpdateEngine", + "async": true, + "parameters": [ + { + "name": "engine", + "type": ".google.cloud.discoveryengine.v1.Engine" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.Engine", + "client": { + "shortName": "EngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1.EngineServiceClient" }, + "method": { + "shortName": "UpdateEngine", + "fullName": "google.cloud.discoveryengine.v1.EngineService.UpdateEngine", + "service": { + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1.EngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_EngineService_GetEngine_async", + "title": "AssistantService getEngine Sample", + "origin": "API_DEFINITION", + "description": " Gets a [Engine][google.cloud.discoveryengine.v1.Engine].", + "canonical": true, + "file": "engine_service.get_engine.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_EngineService_GetEngine_async", - "title": "AssistantService getEngine Sample", - "origin": "API_DEFINITION", - "description": " Gets a [Engine][google.cloud.discoveryengine.v1.Engine].", - "canonical": true, - "file": "engine_service.get_engine.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetEngine", - "fullName": "google.cloud.discoveryengine.v1.EngineService.GetEngine", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.Engine", - "client": { - "shortName": "EngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1.EngineServiceClient" - }, - "method": { - "shortName": "GetEngine", - "fullName": "google.cloud.discoveryengine.v1.EngineService.GetEngine", - "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1.EngineService" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetEngine", + "fullName": "google.cloud.discoveryengine.v1.EngineService.GetEngine", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.Engine", + "client": { + "shortName": "EngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1.EngineServiceClient" }, + "method": { + "shortName": "GetEngine", + "fullName": "google.cloud.discoveryengine.v1.EngineService.GetEngine", + "service": { + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1.EngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_EngineService_ListEngines_async", + "title": "AssistantService listEngines Sample", + "origin": "API_DEFINITION", + "description": " Lists all the [Engine][google.cloud.discoveryengine.v1.Engine]s associated with the project.", + "canonical": true, + "file": "engine_service.list_engines.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_EngineService_ListEngines_async", - "title": "AssistantService listEngines Sample", - "origin": "API_DEFINITION", - "description": " Lists all the [Engine][google.cloud.discoveryengine.v1.Engine]s associated with the project.", - "canonical": true, - "file": "engine_service.list_engines.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 69, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListEngines", - "fullName": "google.cloud.discoveryengine.v1.EngineService.ListEngines", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.ListEnginesResponse", - "client": { - "shortName": "EngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1.EngineServiceClient" - }, - "method": { - "shortName": "ListEngines", - "fullName": "google.cloud.discoveryengine.v1.EngineService.ListEngines", - "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1.EngineService" - } - } - } + "start": 25, + "end": 69, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListEngines", + "fullName": "google.cloud.discoveryengine.v1.EngineService.ListEngines", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.ListEnginesResponse", + "client": { + "shortName": "EngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1.EngineServiceClient" }, + "method": { + "shortName": "ListEngines", + "fullName": "google.cloud.discoveryengine.v1.EngineService.ListEngines", + "service": { + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1.EngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_GroundedGenerationService_StreamGenerateGroundedContent_async", + "title": "AssistantService streamGenerateGroundedContent Sample", + "origin": "API_DEFINITION", + "description": " Generates grounded content in a streaming fashion.", + "canonical": true, + "file": "grounded_generation_service.stream_generate_grounded_content.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_GroundedGenerationService_StreamGenerateGroundedContent_async", - "title": "AssistantService streamGenerateGroundedContent Sample", - "origin": "API_DEFINITION", - "description": " Generates grounded content in a streaming fashion.", - "canonical": true, - "file": "grounded_generation_service.stream_generate_grounded_content.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 97, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "StreamGenerateGroundedContent", - "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationService.StreamGenerateGroundedContent", - "async": true, - "parameters": [ - { - "name": "location", - "type": "TYPE_STRING" - }, - { - "name": "system_instruction", - "type": ".google.cloud.discoveryengine.v1.GroundedGenerationContent" - }, - { - "name": "contents", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "generation_spec", - "type": ".google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GenerationSpec" - }, - { - "name": "grounding_spec", - "type": ".google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GroundingSpec" - }, - { - "name": "user_labels", - "type": "TYPE_MESSAGE[]" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.GenerateGroundedContentResponse", - "client": { - "shortName": "GroundedGenerationServiceClient", - "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationServiceClient" - }, - "method": { - "shortName": "StreamGenerateGroundedContent", - "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationService.StreamGenerateGroundedContent", - "service": { - "shortName": "GroundedGenerationService", - "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationService" - } - } - } + "start": 25, + "end": 97, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "StreamGenerateGroundedContent", + "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationService.StreamGenerateGroundedContent", + "async": true, + "parameters": [ + { + "name": "location", + "type": "TYPE_STRING" + }, + { + "name": "system_instruction", + "type": ".google.cloud.discoveryengine.v1.GroundedGenerationContent" + }, + { + "name": "contents", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "generation_spec", + "type": ".google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GenerationSpec" + }, + { + "name": "grounding_spec", + "type": ".google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GroundingSpec" + }, + { + "name": "user_labels", + "type": "TYPE_MESSAGE[]" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.GenerateGroundedContentResponse", + "client": { + "shortName": "GroundedGenerationServiceClient", + "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationServiceClient" }, + "method": { + "shortName": "StreamGenerateGroundedContent", + "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationService.StreamGenerateGroundedContent", + "service": { + "shortName": "GroundedGenerationService", + "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_GroundedGenerationService_GenerateGroundedContent_async", + "title": "AssistantService generateGroundedContent Sample", + "origin": "API_DEFINITION", + "description": " Generates grounded content.", + "canonical": true, + "file": "grounded_generation_service.generate_grounded_content.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_GroundedGenerationService_GenerateGroundedContent_async", - "title": "AssistantService generateGroundedContent Sample", - "origin": "API_DEFINITION", - "description": " Generates grounded content.", - "canonical": true, - "file": "grounded_generation_service.generate_grounded_content.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 93, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GenerateGroundedContent", - "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationService.GenerateGroundedContent", - "async": true, - "parameters": [ - { - "name": "location", - "type": "TYPE_STRING" - }, - { - "name": "system_instruction", - "type": ".google.cloud.discoveryengine.v1.GroundedGenerationContent" - }, - { - "name": "contents", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "generation_spec", - "type": ".google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GenerationSpec" - }, - { - "name": "grounding_spec", - "type": ".google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GroundingSpec" - }, - { - "name": "user_labels", - "type": "TYPE_MESSAGE[]" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.GenerateGroundedContentResponse", - "client": { - "shortName": "GroundedGenerationServiceClient", - "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationServiceClient" - }, - "method": { - "shortName": "GenerateGroundedContent", - "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationService.GenerateGroundedContent", - "service": { - "shortName": "GroundedGenerationService", - "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationService" - } - } - } + "start": 25, + "end": 93, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GenerateGroundedContent", + "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationService.GenerateGroundedContent", + "async": true, + "parameters": [ + { + "name": "location", + "type": "TYPE_STRING" + }, + { + "name": "system_instruction", + "type": ".google.cloud.discoveryengine.v1.GroundedGenerationContent" + }, + { + "name": "contents", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "generation_spec", + "type": ".google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GenerationSpec" + }, + { + "name": "grounding_spec", + "type": ".google.cloud.discoveryengine.v1.GenerateGroundedContentRequest.GroundingSpec" + }, + { + "name": "user_labels", + "type": "TYPE_MESSAGE[]" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.GenerateGroundedContentResponse", + "client": { + "shortName": "GroundedGenerationServiceClient", + "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationServiceClient" }, + "method": { + "shortName": "GenerateGroundedContent", + "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationService.GenerateGroundedContent", + "service": { + "shortName": "GroundedGenerationService", + "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_GroundedGenerationService_CheckGrounding_async", + "title": "AssistantService checkGrounding Sample", + "origin": "API_DEFINITION", + "description": " Performs a grounding check.", + "canonical": true, + "file": "grounded_generation_service.check_grounding.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_GroundedGenerationService_CheckGrounding_async", - "title": "AssistantService checkGrounding Sample", - "origin": "API_DEFINITION", - "description": " Performs a grounding check.", - "canonical": true, - "file": "grounded_generation_service.check_grounding.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 85, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CheckGrounding", - "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationService.CheckGrounding", - "async": true, - "parameters": [ - { - "name": "grounding_config", - "type": "TYPE_STRING" - }, - { - "name": "answer_candidate", - "type": "TYPE_STRING" - }, - { - "name": "facts", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "grounding_spec", - "type": ".google.cloud.discoveryengine.v1.CheckGroundingSpec" - }, - { - "name": "user_labels", - "type": "TYPE_MESSAGE[]" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.CheckGroundingResponse", - "client": { - "shortName": "GroundedGenerationServiceClient", - "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationServiceClient" - }, - "method": { - "shortName": "CheckGrounding", - "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationService.CheckGrounding", - "service": { - "shortName": "GroundedGenerationService", - "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationService" - } - } - } + "start": 25, + "end": 85, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CheckGrounding", + "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationService.CheckGrounding", + "async": true, + "parameters": [ + { + "name": "grounding_config", + "type": "TYPE_STRING" + }, + { + "name": "answer_candidate", + "type": "TYPE_STRING" + }, + { + "name": "facts", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "grounding_spec", + "type": ".google.cloud.discoveryengine.v1.CheckGroundingSpec" + }, + { + "name": "user_labels", + "type": "TYPE_MESSAGE[]" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.CheckGroundingResponse", + "client": { + "shortName": "GroundedGenerationServiceClient", + "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationServiceClient" }, + "method": { + "shortName": "CheckGrounding", + "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationService.CheckGrounding", + "service": { + "shortName": "GroundedGenerationService", + "fullName": "google.cloud.discoveryengine.v1.GroundedGenerationService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_IdentityMappingStoreService_CreateIdentityMappingStore_async", + "title": "AssistantService createIdentityMappingStore Sample", + "origin": "API_DEFINITION", + "description": " Creates a new Identity Mapping Store.", + "canonical": true, + "file": "identity_mapping_store_service.create_identity_mapping_store.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_IdentityMappingStoreService_CreateIdentityMappingStore_async", - "title": "AssistantService createIdentityMappingStore Sample", - "origin": "API_DEFINITION", - "description": " Creates a new Identity Mapping Store.", - "canonical": true, - "file": "identity_mapping_store_service.create_identity_mapping_store.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 77, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateIdentityMappingStore", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService.CreateIdentityMappingStore", - "async": true, - "parameters": [ - { - "name": "cmek_config_name", - "type": "TYPE_STRING" - }, - { - "name": "disable_cmek", - "type": "TYPE_BOOL" - }, - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "identity_mapping_store_id", - "type": "TYPE_STRING" - }, - { - "name": "identity_mapping_store", - "type": ".google.cloud.discoveryengine.v1.IdentityMappingStore" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.IdentityMappingStore", - "client": { - "shortName": "IdentityMappingStoreServiceClient", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreServiceClient" - }, - "method": { - "shortName": "CreateIdentityMappingStore", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService.CreateIdentityMappingStore", - "service": { - "shortName": "IdentityMappingStoreService", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService" - } - } - } + "start": 25, + "end": 77, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateIdentityMappingStore", + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService.CreateIdentityMappingStore", + "async": true, + "parameters": [ + { + "name": "cmek_config_name", + "type": "TYPE_STRING" + }, + { + "name": "disable_cmek", + "type": "TYPE_BOOL" + }, + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "identity_mapping_store_id", + "type": "TYPE_STRING" + }, + { + "name": "identity_mapping_store", + "type": ".google.cloud.discoveryengine.v1.IdentityMappingStore" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.IdentityMappingStore", + "client": { + "shortName": "IdentityMappingStoreServiceClient", + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreServiceClient" }, + "method": { + "shortName": "CreateIdentityMappingStore", + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService.CreateIdentityMappingStore", + "service": { + "shortName": "IdentityMappingStoreService", + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_IdentityMappingStoreService_GetIdentityMappingStore_async", + "title": "AssistantService getIdentityMappingStore Sample", + "origin": "API_DEFINITION", + "description": " Gets the Identity Mapping Store.", + "canonical": true, + "file": "identity_mapping_store_service.get_identity_mapping_store.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_IdentityMappingStoreService_GetIdentityMappingStore_async", - "title": "AssistantService getIdentityMappingStore Sample", - "origin": "API_DEFINITION", - "description": " Gets the Identity Mapping Store.", - "canonical": true, - "file": "identity_mapping_store_service.get_identity_mapping_store.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetIdentityMappingStore", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService.GetIdentityMappingStore", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.IdentityMappingStore", - "client": { - "shortName": "IdentityMappingStoreServiceClient", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreServiceClient" - }, - "method": { - "shortName": "GetIdentityMappingStore", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService.GetIdentityMappingStore", - "service": { - "shortName": "IdentityMappingStoreService", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetIdentityMappingStore", + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService.GetIdentityMappingStore", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.IdentityMappingStore", + "client": { + "shortName": "IdentityMappingStoreServiceClient", + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreServiceClient" }, + "method": { + "shortName": "GetIdentityMappingStore", + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService.GetIdentityMappingStore", + "service": { + "shortName": "IdentityMappingStoreService", + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_IdentityMappingStoreService_DeleteIdentityMappingStore_async", + "title": "AssistantService deleteIdentityMappingStore Sample", + "origin": "API_DEFINITION", + "description": " Deletes the Identity Mapping Store.", + "canonical": true, + "file": "identity_mapping_store_service.delete_identity_mapping_store.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_IdentityMappingStoreService_DeleteIdentityMappingStore_async", - "title": "AssistantService deleteIdentityMappingStore Sample", - "origin": "API_DEFINITION", - "description": " Deletes the Identity Mapping Store.", - "canonical": true, - "file": "identity_mapping_store_service.delete_identity_mapping_store.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 56, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteIdentityMappingStore", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService.DeleteIdentityMappingStore", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "IdentityMappingStoreServiceClient", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreServiceClient" - }, - "method": { - "shortName": "DeleteIdentityMappingStore", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService.DeleteIdentityMappingStore", - "service": { - "shortName": "IdentityMappingStoreService", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService" - } - } - } + "start": 25, + "end": 56, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteIdentityMappingStore", + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService.DeleteIdentityMappingStore", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "IdentityMappingStoreServiceClient", + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreServiceClient" }, + "method": { + "shortName": "DeleteIdentityMappingStore", + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService.DeleteIdentityMappingStore", + "service": { + "shortName": "IdentityMappingStoreService", + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_IdentityMappingStoreService_ImportIdentityMappings_async", + "title": "AssistantService importIdentityMappings Sample", + "origin": "API_DEFINITION", + "description": " Imports a list of Identity Mapping Entries to an Identity Mapping Store.", + "canonical": true, + "file": "identity_mapping_store_service.import_identity_mappings.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_IdentityMappingStoreService_ImportIdentityMappings_async", - "title": "AssistantService importIdentityMappings Sample", - "origin": "API_DEFINITION", - "description": " Imports a list of Identity Mapping Entries to an Identity Mapping Store.", - "canonical": true, - "file": "identity_mapping_store_service.import_identity_mappings.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 60, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ImportIdentityMappings", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService.ImportIdentityMappings", - "async": true, - "parameters": [ - { - "name": "inline_source", - "type": ".google.cloud.discoveryengine.v1.ImportIdentityMappingsRequest.InlineSource" - }, - { - "name": "identity_mapping_store", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "IdentityMappingStoreServiceClient", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreServiceClient" - }, - "method": { - "shortName": "ImportIdentityMappings", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService.ImportIdentityMappings", - "service": { - "shortName": "IdentityMappingStoreService", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService" - } - } - } + "start": 25, + "end": 60, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ImportIdentityMappings", + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService.ImportIdentityMappings", + "async": true, + "parameters": [ + { + "name": "inline_source", + "type": ".google.cloud.discoveryengine.v1.ImportIdentityMappingsRequest.InlineSource" + }, + { + "name": "identity_mapping_store", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "IdentityMappingStoreServiceClient", + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreServiceClient" }, + "method": { + "shortName": "ImportIdentityMappings", + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService.ImportIdentityMappings", + "service": { + "shortName": "IdentityMappingStoreService", + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_IdentityMappingStoreService_PurgeIdentityMappings_async", + "title": "AssistantService purgeIdentityMappings Sample", + "origin": "API_DEFINITION", + "description": " Purges specified or all Identity Mapping Entries from an Identity Mapping Store.", + "canonical": true, + "file": "identity_mapping_store_service.purge_identity_mappings.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_IdentityMappingStoreService_PurgeIdentityMappings_async", - "title": "AssistantService purgeIdentityMappings Sample", - "origin": "API_DEFINITION", - "description": " Purges specified or all Identity Mapping Entries from an Identity Mapping Store.", - "canonical": true, - "file": "identity_mapping_store_service.purge_identity_mappings.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 85, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "PurgeIdentityMappings", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService.PurgeIdentityMappings", - "async": true, - "parameters": [ - { - "name": "inline_source", - "type": ".google.cloud.discoveryengine.v1.PurgeIdentityMappingsRequest.InlineSource" - }, - { - "name": "identity_mapping_store", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "force", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "IdentityMappingStoreServiceClient", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreServiceClient" - }, - "method": { - "shortName": "PurgeIdentityMappings", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService.PurgeIdentityMappings", - "service": { - "shortName": "IdentityMappingStoreService", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService" - } - } - } + "start": 25, + "end": 85, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "PurgeIdentityMappings", + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService.PurgeIdentityMappings", + "async": true, + "parameters": [ + { + "name": "inline_source", + "type": ".google.cloud.discoveryengine.v1.PurgeIdentityMappingsRequest.InlineSource" + }, + { + "name": "identity_mapping_store", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "force", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "IdentityMappingStoreServiceClient", + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreServiceClient" }, + "method": { + "shortName": "PurgeIdentityMappings", + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService.PurgeIdentityMappings", + "service": { + "shortName": "IdentityMappingStoreService", + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_IdentityMappingStoreService_ListIdentityMappings_async", + "title": "AssistantService listIdentityMappings Sample", + "origin": "API_DEFINITION", + "description": " Lists Identity Mappings in an Identity Mapping Store.", + "canonical": true, + "file": "identity_mapping_store_service.list_identity_mappings.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_IdentityMappingStoreService_ListIdentityMappings_async", - "title": "AssistantService listIdentityMappings Sample", - "origin": "API_DEFINITION", - "description": " Lists Identity Mappings in an Identity Mapping Store.", - "canonical": true, - "file": "identity_mapping_store_service.list_identity_mappings.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 71, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListIdentityMappings", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService.ListIdentityMappings", - "async": true, - "parameters": [ - { - "name": "identity_mapping_store", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.ListIdentityMappingsResponse", - "client": { - "shortName": "IdentityMappingStoreServiceClient", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreServiceClient" - }, - "method": { - "shortName": "ListIdentityMappings", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService.ListIdentityMappings", - "service": { - "shortName": "IdentityMappingStoreService", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService" - } - } - } + "start": 25, + "end": 71, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListIdentityMappings", + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService.ListIdentityMappings", + "async": true, + "parameters": [ + { + "name": "identity_mapping_store", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.ListIdentityMappingsResponse", + "client": { + "shortName": "IdentityMappingStoreServiceClient", + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreServiceClient" }, + "method": { + "shortName": "ListIdentityMappings", + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService.ListIdentityMappings", + "service": { + "shortName": "IdentityMappingStoreService", + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_IdentityMappingStoreService_ListIdentityMappingStores_async", + "title": "AssistantService listIdentityMappingStores Sample", + "origin": "API_DEFINITION", + "description": " Lists all Identity Mapping Stores.", + "canonical": true, + "file": "identity_mapping_store_service.list_identity_mapping_stores.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_IdentityMappingStoreService_ListIdentityMappingStores_async", - "title": "AssistantService listIdentityMappingStores Sample", - "origin": "API_DEFINITION", - "description": " Lists all Identity Mapping Stores.", - "canonical": true, - "file": "identity_mapping_store_service.list_identity_mapping_stores.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 71, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListIdentityMappingStores", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService.ListIdentityMappingStores", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.ListIdentityMappingStoresResponse", - "client": { - "shortName": "IdentityMappingStoreServiceClient", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreServiceClient" - }, - "method": { - "shortName": "ListIdentityMappingStores", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService.ListIdentityMappingStores", - "service": { - "shortName": "IdentityMappingStoreService", - "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService" - } - } - } + "start": 25, + "end": 71, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListIdentityMappingStores", + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService.ListIdentityMappingStores", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.ListIdentityMappingStoresResponse", + "client": { + "shortName": "IdentityMappingStoreServiceClient", + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreServiceClient" }, + "method": { + "shortName": "ListIdentityMappingStores", + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService.ListIdentityMappingStores", + "service": { + "shortName": "IdentityMappingStoreService", + "fullName": "google.cloud.discoveryengine.v1.IdentityMappingStoreService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_ProjectService_ProvisionProject_async", + "title": "AssistantService provisionProject Sample", + "origin": "API_DEFINITION", + "description": " Provisions the project resource. During the process, related systems will get prepared and initialized. Caller must read the [Terms for data use](https://cloud.google.com/retail/data-use-terms), and optionally specify in request to provide consent to that service terms.", + "canonical": true, + "file": "project_service.provision_project.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_ProjectService_ProvisionProject_async", - "title": "AssistantService provisionProject Sample", - "origin": "API_DEFINITION", - "description": " Provisions the project resource. During the process, related systems will get prepared and initialized. Caller must read the [Terms for data use](https://cloud.google.com/retail/data-use-terms), and optionally specify in request to provide consent to that service terms.", - "canonical": true, - "file": "project_service.provision_project.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 71, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ProvisionProject", - "fullName": "google.cloud.discoveryengine.v1.ProjectService.ProvisionProject", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "accept_data_use_terms", - "type": "TYPE_BOOL" - }, - { - "name": "data_use_terms_version", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "ProjectServiceClient", - "fullName": "google.cloud.discoveryengine.v1.ProjectServiceClient" - }, - "method": { - "shortName": "ProvisionProject", - "fullName": "google.cloud.discoveryengine.v1.ProjectService.ProvisionProject", - "service": { - "shortName": "ProjectService", - "fullName": "google.cloud.discoveryengine.v1.ProjectService" - } - } - } + "start": 25, + "end": 71, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ProvisionProject", + "fullName": "google.cloud.discoveryengine.v1.ProjectService.ProvisionProject", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "accept_data_use_terms", + "type": "TYPE_BOOL" + }, + { + "name": "data_use_terms_version", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "ProjectServiceClient", + "fullName": "google.cloud.discoveryengine.v1.ProjectServiceClient" }, + "method": { + "shortName": "ProvisionProject", + "fullName": "google.cloud.discoveryengine.v1.ProjectService.ProvisionProject", + "service": { + "shortName": "ProjectService", + "fullName": "google.cloud.discoveryengine.v1.ProjectService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_RankService_Rank_async", + "title": "AssistantService rank Sample", + "origin": "API_DEFINITION", + "description": " Ranks a list of text records based on the given input query.", + "canonical": true, + "file": "rank_service.rank.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_RankService_Rank_async", - "title": "AssistantService rank Sample", - "origin": "API_DEFINITION", - "description": " Ranks a list of text records based on the given input query.", - "canonical": true, - "file": "rank_service.rank.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 98, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "Rank", - "fullName": "google.cloud.discoveryengine.v1.RankService.Rank", - "async": true, - "parameters": [ - { - "name": "ranking_config", - "type": "TYPE_STRING" - }, - { - "name": "model", - "type": "TYPE_STRING" - }, - { - "name": "top_n", - "type": "TYPE_INT32" - }, - { - "name": "query", - "type": "TYPE_STRING" - }, - { - "name": "records", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "ignore_record_details_in_response", - "type": "TYPE_BOOL" - }, - { - "name": "user_labels", - "type": "TYPE_MESSAGE[]" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.RankResponse", - "client": { - "shortName": "RankServiceClient", - "fullName": "google.cloud.discoveryengine.v1.RankServiceClient" - }, - "method": { - "shortName": "Rank", - "fullName": "google.cloud.discoveryengine.v1.RankService.Rank", - "service": { - "shortName": "RankService", - "fullName": "google.cloud.discoveryengine.v1.RankService" - } - } - } + "start": 25, + "end": 98, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "Rank", + "fullName": "google.cloud.discoveryengine.v1.RankService.Rank", + "async": true, + "parameters": [ + { + "name": "ranking_config", + "type": "TYPE_STRING" + }, + { + "name": "model", + "type": "TYPE_STRING" + }, + { + "name": "top_n", + "type": "TYPE_INT32" + }, + { + "name": "query", + "type": "TYPE_STRING" + }, + { + "name": "records", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "ignore_record_details_in_response", + "type": "TYPE_BOOL" + }, + { + "name": "user_labels", + "type": "TYPE_MESSAGE[]" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.RankResponse", + "client": { + "shortName": "RankServiceClient", + "fullName": "google.cloud.discoveryengine.v1.RankServiceClient" }, + "method": { + "shortName": "Rank", + "fullName": "google.cloud.discoveryengine.v1.RankService.Rank", + "service": { + "shortName": "RankService", + "fullName": "google.cloud.discoveryengine.v1.RankService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_RecommendationService_Recommend_async", + "title": "AssistantService recommend Sample", + "origin": "API_DEFINITION", + "description": " Makes a recommendation, which requires a contextual user event.", + "canonical": true, + "file": "recommendation_service.recommend.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_RecommendationService_Recommend_async", - "title": "AssistantService recommend Sample", - "origin": "API_DEFINITION", - "description": " Makes a recommendation, which requires a contextual user event.", - "canonical": true, - "file": "recommendation_service.recommend.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 167, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "Recommend", - "fullName": "google.cloud.discoveryengine.v1.RecommendationService.Recommend", - "async": true, - "parameters": [ - { - "name": "serving_config", - "type": "TYPE_STRING" - }, - { - "name": "user_event", - "type": ".google.cloud.discoveryengine.v1.UserEvent" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "validate_only", - "type": "TYPE_BOOL" - }, - { - "name": "params", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "user_labels", - "type": "TYPE_MESSAGE[]" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.RecommendResponse", - "client": { - "shortName": "RecommendationServiceClient", - "fullName": "google.cloud.discoveryengine.v1.RecommendationServiceClient" - }, - "method": { - "shortName": "Recommend", - "fullName": "google.cloud.discoveryengine.v1.RecommendationService.Recommend", - "service": { - "shortName": "RecommendationService", - "fullName": "google.cloud.discoveryengine.v1.RecommendationService" - } - } - } + "start": 25, + "end": 167, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "Recommend", + "fullName": "google.cloud.discoveryengine.v1.RecommendationService.Recommend", + "async": true, + "parameters": [ + { + "name": "serving_config", + "type": "TYPE_STRING" + }, + { + "name": "user_event", + "type": ".google.cloud.discoveryengine.v1.UserEvent" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "validate_only", + "type": "TYPE_BOOL" + }, + { + "name": "params", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "user_labels", + "type": "TYPE_MESSAGE[]" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.RecommendResponse", + "client": { + "shortName": "RecommendationServiceClient", + "fullName": "google.cloud.discoveryengine.v1.RecommendationServiceClient" }, + "method": { + "shortName": "Recommend", + "fullName": "google.cloud.discoveryengine.v1.RecommendationService.Recommend", + "service": { + "shortName": "RecommendationService", + "fullName": "google.cloud.discoveryengine.v1.RecommendationService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_SchemaService_GetSchema_async", + "title": "AssistantService getSchema Sample", + "origin": "API_DEFINITION", + "description": " Gets a [Schema][google.cloud.discoveryengine.v1.Schema].", + "canonical": true, + "file": "schema_service.get_schema.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_SchemaService_GetSchema_async", - "title": "AssistantService getSchema Sample", - "origin": "API_DEFINITION", - "description": " Gets a [Schema][google.cloud.discoveryengine.v1.Schema].", - "canonical": true, - "file": "schema_service.get_schema.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetSchema", - "fullName": "google.cloud.discoveryengine.v1.SchemaService.GetSchema", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.Schema", - "client": { - "shortName": "SchemaServiceClient", - "fullName": "google.cloud.discoveryengine.v1.SchemaServiceClient" - }, - "method": { - "shortName": "GetSchema", - "fullName": "google.cloud.discoveryengine.v1.SchemaService.GetSchema", - "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1.SchemaService" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetSchema", + "fullName": "google.cloud.discoveryengine.v1.SchemaService.GetSchema", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.Schema", + "client": { + "shortName": "SchemaServiceClient", + "fullName": "google.cloud.discoveryengine.v1.SchemaServiceClient" }, + "method": { + "shortName": "GetSchema", + "fullName": "google.cloud.discoveryengine.v1.SchemaService.GetSchema", + "service": { + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1.SchemaService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_SchemaService_ListSchemas_async", + "title": "AssistantService listSchemas Sample", + "origin": "API_DEFINITION", + "description": " Gets a list of [Schema][google.cloud.discoveryengine.v1.Schema]s.", + "canonical": true, + "file": "schema_service.list_schemas.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_SchemaService_ListSchemas_async", - "title": "AssistantService listSchemas Sample", - "origin": "API_DEFINITION", - "description": " Gets a list of [Schema][google.cloud.discoveryengine.v1.Schema]s.", - "canonical": true, - "file": "schema_service.list_schemas.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 73, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListSchemas", - "fullName": "google.cloud.discoveryengine.v1.SchemaService.ListSchemas", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.ListSchemasResponse", - "client": { - "shortName": "SchemaServiceClient", - "fullName": "google.cloud.discoveryengine.v1.SchemaServiceClient" - }, - "method": { - "shortName": "ListSchemas", - "fullName": "google.cloud.discoveryengine.v1.SchemaService.ListSchemas", - "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1.SchemaService" - } - } - } + "start": 25, + "end": 73, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListSchemas", + "fullName": "google.cloud.discoveryengine.v1.SchemaService.ListSchemas", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.ListSchemasResponse", + "client": { + "shortName": "SchemaServiceClient", + "fullName": "google.cloud.discoveryengine.v1.SchemaServiceClient" }, + "method": { + "shortName": "ListSchemas", + "fullName": "google.cloud.discoveryengine.v1.SchemaService.ListSchemas", + "service": { + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1.SchemaService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_SchemaService_CreateSchema_async", + "title": "AssistantService createSchema Sample", + "origin": "API_DEFINITION", + "description": " Creates a [Schema][google.cloud.discoveryengine.v1.Schema].", + "canonical": true, + "file": "schema_service.create_schema.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_SchemaService_CreateSchema_async", - "title": "AssistantService createSchema Sample", - "origin": "API_DEFINITION", - "description": " Creates a [Schema][google.cloud.discoveryengine.v1.Schema].", - "canonical": true, - "file": "schema_service.create_schema.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 71, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateSchema", - "fullName": "google.cloud.discoveryengine.v1.SchemaService.CreateSchema", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "schema", - "type": ".google.cloud.discoveryengine.v1.Schema" - }, - { - "name": "schema_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "SchemaServiceClient", - "fullName": "google.cloud.discoveryengine.v1.SchemaServiceClient" - }, - "method": { - "shortName": "CreateSchema", - "fullName": "google.cloud.discoveryengine.v1.SchemaService.CreateSchema", - "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1.SchemaService" - } - } - } + "start": 25, + "end": 71, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateSchema", + "fullName": "google.cloud.discoveryengine.v1.SchemaService.CreateSchema", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "schema", + "type": ".google.cloud.discoveryengine.v1.Schema" + }, + { + "name": "schema_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SchemaServiceClient", + "fullName": "google.cloud.discoveryengine.v1.SchemaServiceClient" }, + "method": { + "shortName": "CreateSchema", + "fullName": "google.cloud.discoveryengine.v1.SchemaService.CreateSchema", + "service": { + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1.SchemaService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_SchemaService_UpdateSchema_async", + "title": "AssistantService updateSchema Sample", + "origin": "API_DEFINITION", + "description": " Updates a [Schema][google.cloud.discoveryengine.v1.Schema].", + "canonical": true, + "file": "schema_service.update_schema.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_SchemaService_UpdateSchema_async", - "title": "AssistantService updateSchema Sample", - "origin": "API_DEFINITION", - "description": " Updates a [Schema][google.cloud.discoveryengine.v1.Schema].", - "canonical": true, - "file": "schema_service.update_schema.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 60, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateSchema", - "fullName": "google.cloud.discoveryengine.v1.SchemaService.UpdateSchema", - "async": true, - "parameters": [ - { - "name": "schema", - "type": ".google.cloud.discoveryengine.v1.Schema" - }, - { - "name": "allow_missing", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "SchemaServiceClient", - "fullName": "google.cloud.discoveryengine.v1.SchemaServiceClient" - }, - "method": { - "shortName": "UpdateSchema", - "fullName": "google.cloud.discoveryengine.v1.SchemaService.UpdateSchema", - "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1.SchemaService" - } - } - } + "start": 25, + "end": 60, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateSchema", + "fullName": "google.cloud.discoveryengine.v1.SchemaService.UpdateSchema", + "async": true, + "parameters": [ + { + "name": "schema", + "type": ".google.cloud.discoveryengine.v1.Schema" + }, + { + "name": "allow_missing", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SchemaServiceClient", + "fullName": "google.cloud.discoveryengine.v1.SchemaServiceClient" }, + "method": { + "shortName": "UpdateSchema", + "fullName": "google.cloud.discoveryengine.v1.SchemaService.UpdateSchema", + "service": { + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1.SchemaService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_SchemaService_DeleteSchema_async", + "title": "AssistantService deleteSchema Sample", + "origin": "API_DEFINITION", + "description": " Deletes a [Schema][google.cloud.discoveryengine.v1.Schema].", + "canonical": true, + "file": "schema_service.delete_schema.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_SchemaService_DeleteSchema_async", - "title": "AssistantService deleteSchema Sample", - "origin": "API_DEFINITION", - "description": " Deletes a [Schema][google.cloud.discoveryengine.v1.Schema].", - "canonical": true, - "file": "schema_service.delete_schema.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteSchema", - "fullName": "google.cloud.discoveryengine.v1.SchemaService.DeleteSchema", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "SchemaServiceClient", - "fullName": "google.cloud.discoveryengine.v1.SchemaServiceClient" - }, - "method": { - "shortName": "DeleteSchema", - "fullName": "google.cloud.discoveryengine.v1.SchemaService.DeleteSchema", - "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1.SchemaService" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteSchema", + "fullName": "google.cloud.discoveryengine.v1.SchemaService.DeleteSchema", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SchemaServiceClient", + "fullName": "google.cloud.discoveryengine.v1.SchemaServiceClient" }, + "method": { + "shortName": "DeleteSchema", + "fullName": "google.cloud.discoveryengine.v1.SchemaService.DeleteSchema", + "service": { + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1.SchemaService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_SearchService_Search_async", + "title": "AssistantService search Sample", + "origin": "API_DEFINITION", + "description": " Performs a search.", + "canonical": true, + "file": "search_service.search.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_SearchService_Search_async", - "title": "AssistantService search Sample", - "origin": "API_DEFINITION", - "description": " Performs a search.", - "canonical": true, - "file": "search_service.search.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 385, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "Search", - "fullName": "google.cloud.discoveryengine.v1.SearchService.Search", - "async": true, - "parameters": [ - { - "name": "serving_config", - "type": "TYPE_STRING" - }, - { - "name": "branch", - "type": "TYPE_STRING" - }, - { - "name": "query", - "type": "TYPE_STRING" - }, - { - "name": "image_query", - "type": ".google.cloud.discoveryengine.v1.SearchRequest.ImageQuery" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "offset", - "type": "TYPE_INT32" - }, - { - "name": "one_box_page_size", - "type": "TYPE_INT32" - }, - { - "name": "data_store_specs", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "canonical_filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - }, - { - "name": "user_info", - "type": ".google.cloud.discoveryengine.v1.UserInfo" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - }, - { - "name": "facet_specs", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "boost_spec", - "type": ".google.cloud.discoveryengine.v1.SearchRequest.BoostSpec" - }, - { - "name": "params", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "query_expansion_spec", - "type": ".google.cloud.discoveryengine.v1.SearchRequest.QueryExpansionSpec" - }, - { - "name": "spell_correction_spec", - "type": ".google.cloud.discoveryengine.v1.SearchRequest.SpellCorrectionSpec" - }, - { - "name": "user_pseudo_id", - "type": "TYPE_STRING" - }, - { - "name": "content_search_spec", - "type": ".google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec" - }, - { - "name": "safe_search", - "type": "TYPE_BOOL" - }, - { - "name": "user_labels", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "search_as_you_type_spec", - "type": ".google.cloud.discoveryengine.v1.SearchRequest.SearchAsYouTypeSpec" - }, - { - "name": "display_spec", - "type": ".google.cloud.discoveryengine.v1.SearchRequest.DisplaySpec" - }, - { - "name": "session", - "type": "TYPE_STRING" - }, - { - "name": "session_spec", - "type": ".google.cloud.discoveryengine.v1.SearchRequest.SessionSpec" - }, - { - "name": "relevance_threshold", - "type": ".google.cloud.discoveryengine.v1.SearchRequest.RelevanceThreshold" - }, - { - "name": "relevance_score_spec", - "type": ".google.cloud.discoveryengine.v1.SearchRequest.RelevanceScoreSpec" - }, - { - "name": "ranking_expression", - "type": "TYPE_STRING" - }, - { - "name": "ranking_expression_backend", - "type": ".google.cloud.discoveryengine.v1.SearchRequest.RankingExpressionBackend" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.SearchResponse", - "client": { - "shortName": "SearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1.SearchServiceClient" - }, - "method": { - "shortName": "Search", - "fullName": "google.cloud.discoveryengine.v1.SearchService.Search", - "service": { - "shortName": "SearchService", - "fullName": "google.cloud.discoveryengine.v1.SearchService" - } - } - } + "start": 25, + "end": 385, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "Search", + "fullName": "google.cloud.discoveryengine.v1.SearchService.Search", + "async": true, + "parameters": [ + { + "name": "serving_config", + "type": "TYPE_STRING" + }, + { + "name": "branch", + "type": "TYPE_STRING" + }, + { + "name": "query", + "type": "TYPE_STRING" + }, + { + "name": "image_query", + "type": ".google.cloud.discoveryengine.v1.SearchRequest.ImageQuery" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "offset", + "type": "TYPE_INT32" + }, + { + "name": "one_box_page_size", + "type": "TYPE_INT32" + }, + { + "name": "data_store_specs", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "canonical_filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + }, + { + "name": "user_info", + "type": ".google.cloud.discoveryengine.v1.UserInfo" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + }, + { + "name": "facet_specs", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "boost_spec", + "type": ".google.cloud.discoveryengine.v1.SearchRequest.BoostSpec" + }, + { + "name": "params", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "query_expansion_spec", + "type": ".google.cloud.discoveryengine.v1.SearchRequest.QueryExpansionSpec" + }, + { + "name": "spell_correction_spec", + "type": ".google.cloud.discoveryengine.v1.SearchRequest.SpellCorrectionSpec" + }, + { + "name": "user_pseudo_id", + "type": "TYPE_STRING" + }, + { + "name": "content_search_spec", + "type": ".google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec" + }, + { + "name": "safe_search", + "type": "TYPE_BOOL" + }, + { + "name": "user_labels", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "search_as_you_type_spec", + "type": ".google.cloud.discoveryengine.v1.SearchRequest.SearchAsYouTypeSpec" + }, + { + "name": "display_spec", + "type": ".google.cloud.discoveryengine.v1.SearchRequest.DisplaySpec" + }, + { + "name": "session", + "type": "TYPE_STRING" + }, + { + "name": "session_spec", + "type": ".google.cloud.discoveryengine.v1.SearchRequest.SessionSpec" + }, + { + "name": "relevance_threshold", + "type": ".google.cloud.discoveryengine.v1.SearchRequest.RelevanceThreshold" + }, + { + "name": "relevance_score_spec", + "type": ".google.cloud.discoveryengine.v1.SearchRequest.RelevanceScoreSpec" + }, + { + "name": "ranking_expression", + "type": "TYPE_STRING" + }, + { + "name": "ranking_expression_backend", + "type": ".google.cloud.discoveryengine.v1.SearchRequest.RankingExpressionBackend" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.SearchResponse", + "client": { + "shortName": "SearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1.SearchServiceClient" }, + "method": { + "shortName": "Search", + "fullName": "google.cloud.discoveryengine.v1.SearchService.Search", + "service": { + "shortName": "SearchService", + "fullName": "google.cloud.discoveryengine.v1.SearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_SearchService_SearchLite_async", + "title": "AssistantService searchLite Sample", + "origin": "API_DEFINITION", + "description": " Performs a search. Similar to the [SearchService.Search][google.cloud.discoveryengine.v1.SearchService.Search] method, but a lite version that allows API key for authentication, where OAuth and IAM checks are not required. Only public website search is supported by this method. If data stores and engines not associated with public website search are specified, a `FAILED_PRECONDITION` error is returned. This method can be used for easy onboarding without having to implement an authentication backend. However, it is strongly recommended to use [SearchService.Search][google.cloud.discoveryengine.v1.SearchService.Search] instead with required OAuth and IAM checks to provide better data security.", + "canonical": true, + "file": "search_service.search_lite.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_SearchService_SearchLite_async", - "title": "AssistantService searchLite Sample", - "origin": "API_DEFINITION", - "description": " Performs a search. Similar to the [SearchService.Search][google.cloud.discoveryengine.v1.SearchService.Search] method, but a lite version that allows API key for authentication, where OAuth and IAM checks are not required. Only public website search is supported by this method. If data stores and engines not associated with public website search are specified, a `FAILED_PRECONDITION` error is returned. This method can be used for easy onboarding without having to implement an authentication backend. However, it is strongly recommended to use [SearchService.Search][google.cloud.discoveryengine.v1.SearchService.Search] instead with required OAuth and IAM checks to provide better data security.", - "canonical": true, - "file": "search_service.search_lite.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 385, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "SearchLite", - "fullName": "google.cloud.discoveryengine.v1.SearchService.SearchLite", - "async": true, - "parameters": [ - { - "name": "serving_config", - "type": "TYPE_STRING" - }, - { - "name": "branch", - "type": "TYPE_STRING" - }, - { - "name": "query", - "type": "TYPE_STRING" - }, - { - "name": "image_query", - "type": ".google.cloud.discoveryengine.v1.SearchRequest.ImageQuery" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "offset", - "type": "TYPE_INT32" - }, - { - "name": "one_box_page_size", - "type": "TYPE_INT32" - }, - { - "name": "data_store_specs", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "canonical_filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - }, - { - "name": "user_info", - "type": ".google.cloud.discoveryengine.v1.UserInfo" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - }, - { - "name": "facet_specs", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "boost_spec", - "type": ".google.cloud.discoveryengine.v1.SearchRequest.BoostSpec" - }, - { - "name": "params", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "query_expansion_spec", - "type": ".google.cloud.discoveryengine.v1.SearchRequest.QueryExpansionSpec" - }, - { - "name": "spell_correction_spec", - "type": ".google.cloud.discoveryengine.v1.SearchRequest.SpellCorrectionSpec" - }, - { - "name": "user_pseudo_id", - "type": "TYPE_STRING" - }, - { - "name": "content_search_spec", - "type": ".google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec" - }, - { - "name": "safe_search", - "type": "TYPE_BOOL" - }, - { - "name": "user_labels", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "search_as_you_type_spec", - "type": ".google.cloud.discoveryengine.v1.SearchRequest.SearchAsYouTypeSpec" - }, - { - "name": "display_spec", - "type": ".google.cloud.discoveryengine.v1.SearchRequest.DisplaySpec" - }, - { - "name": "session", - "type": "TYPE_STRING" - }, - { - "name": "session_spec", - "type": ".google.cloud.discoveryengine.v1.SearchRequest.SessionSpec" - }, - { - "name": "relevance_threshold", - "type": ".google.cloud.discoveryengine.v1.SearchRequest.RelevanceThreshold" - }, - { - "name": "relevance_score_spec", - "type": ".google.cloud.discoveryengine.v1.SearchRequest.RelevanceScoreSpec" - }, - { - "name": "ranking_expression", - "type": "TYPE_STRING" - }, - { - "name": "ranking_expression_backend", - "type": ".google.cloud.discoveryengine.v1.SearchRequest.RankingExpressionBackend" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.SearchResponse", - "client": { - "shortName": "SearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1.SearchServiceClient" - }, - "method": { - "shortName": "SearchLite", - "fullName": "google.cloud.discoveryengine.v1.SearchService.SearchLite", - "service": { - "shortName": "SearchService", - "fullName": "google.cloud.discoveryengine.v1.SearchService" - } - } - } + "start": 25, + "end": 385, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "SearchLite", + "fullName": "google.cloud.discoveryengine.v1.SearchService.SearchLite", + "async": true, + "parameters": [ + { + "name": "serving_config", + "type": "TYPE_STRING" + }, + { + "name": "branch", + "type": "TYPE_STRING" + }, + { + "name": "query", + "type": "TYPE_STRING" + }, + { + "name": "image_query", + "type": ".google.cloud.discoveryengine.v1.SearchRequest.ImageQuery" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "offset", + "type": "TYPE_INT32" + }, + { + "name": "one_box_page_size", + "type": "TYPE_INT32" + }, + { + "name": "data_store_specs", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "canonical_filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + }, + { + "name": "user_info", + "type": ".google.cloud.discoveryengine.v1.UserInfo" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + }, + { + "name": "facet_specs", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "boost_spec", + "type": ".google.cloud.discoveryengine.v1.SearchRequest.BoostSpec" + }, + { + "name": "params", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "query_expansion_spec", + "type": ".google.cloud.discoveryengine.v1.SearchRequest.QueryExpansionSpec" + }, + { + "name": "spell_correction_spec", + "type": ".google.cloud.discoveryengine.v1.SearchRequest.SpellCorrectionSpec" + }, + { + "name": "user_pseudo_id", + "type": "TYPE_STRING" + }, + { + "name": "content_search_spec", + "type": ".google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec" + }, + { + "name": "safe_search", + "type": "TYPE_BOOL" + }, + { + "name": "user_labels", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "search_as_you_type_spec", + "type": ".google.cloud.discoveryengine.v1.SearchRequest.SearchAsYouTypeSpec" + }, + { + "name": "display_spec", + "type": ".google.cloud.discoveryengine.v1.SearchRequest.DisplaySpec" + }, + { + "name": "session", + "type": "TYPE_STRING" + }, + { + "name": "session_spec", + "type": ".google.cloud.discoveryengine.v1.SearchRequest.SessionSpec" + }, + { + "name": "relevance_threshold", + "type": ".google.cloud.discoveryengine.v1.SearchRequest.RelevanceThreshold" + }, + { + "name": "relevance_score_spec", + "type": ".google.cloud.discoveryengine.v1.SearchRequest.RelevanceScoreSpec" + }, + { + "name": "ranking_expression", + "type": "TYPE_STRING" + }, + { + "name": "ranking_expression_backend", + "type": ".google.cloud.discoveryengine.v1.SearchRequest.RankingExpressionBackend" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.SearchResponse", + "client": { + "shortName": "SearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1.SearchServiceClient" }, + "method": { + "shortName": "SearchLite", + "fullName": "google.cloud.discoveryengine.v1.SearchService.SearchLite", + "service": { + "shortName": "SearchService", + "fullName": "google.cloud.discoveryengine.v1.SearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_SearchTuningService_TrainCustomModel_async", + "title": "AssistantService trainCustomModel Sample", + "origin": "API_DEFINITION", + "description": " Trains a custom model.", + "canonical": true, + "file": "search_tuning_service.train_custom_model.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_SearchTuningService_TrainCustomModel_async", - "title": "AssistantService trainCustomModel Sample", - "origin": "API_DEFINITION", - "description": " Trains a custom model.", - "canonical": true, - "file": "search_tuning_service.train_custom_model.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 74, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "TrainCustomModel", - "fullName": "google.cloud.discoveryengine.v1.SearchTuningService.TrainCustomModel", - "async": true, - "parameters": [ - { - "name": "gcs_training_input", - "type": ".google.cloud.discoveryengine.v1.TrainCustomModelRequest.GcsTrainingInput" - }, - { - "name": "data_store", - "type": "TYPE_STRING" - }, - { - "name": "model_type", - "type": "TYPE_STRING" - }, - { - "name": "error_config", - "type": ".google.cloud.discoveryengine.v1.ImportErrorConfig" - }, - { - "name": "model_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "SearchTuningServiceClient", - "fullName": "google.cloud.discoveryengine.v1.SearchTuningServiceClient" - }, - "method": { - "shortName": "TrainCustomModel", - "fullName": "google.cloud.discoveryengine.v1.SearchTuningService.TrainCustomModel", - "service": { - "shortName": "SearchTuningService", - "fullName": "google.cloud.discoveryengine.v1.SearchTuningService" - } - } - } + "start": 25, + "end": 74, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "TrainCustomModel", + "fullName": "google.cloud.discoveryengine.v1.SearchTuningService.TrainCustomModel", + "async": true, + "parameters": [ + { + "name": "gcs_training_input", + "type": ".google.cloud.discoveryengine.v1.TrainCustomModelRequest.GcsTrainingInput" + }, + { + "name": "data_store", + "type": "TYPE_STRING" + }, + { + "name": "model_type", + "type": "TYPE_STRING" + }, + { + "name": "error_config", + "type": ".google.cloud.discoveryengine.v1.ImportErrorConfig" + }, + { + "name": "model_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SearchTuningServiceClient", + "fullName": "google.cloud.discoveryengine.v1.SearchTuningServiceClient" }, + "method": { + "shortName": "TrainCustomModel", + "fullName": "google.cloud.discoveryengine.v1.SearchTuningService.TrainCustomModel", + "service": { + "shortName": "SearchTuningService", + "fullName": "google.cloud.discoveryengine.v1.SearchTuningService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_SearchTuningService_ListCustomModels_async", + "title": "AssistantService listCustomModels Sample", + "origin": "API_DEFINITION", + "description": " Gets a list of all the custom models.", + "canonical": true, + "file": "search_tuning_service.list_custom_models.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_SearchTuningService_ListCustomModels_async", - "title": "AssistantService listCustomModels Sample", - "origin": "API_DEFINITION", - "description": " Gets a list of all the custom models.", - "canonical": true, - "file": "search_tuning_service.list_custom_models.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 56, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListCustomModels", - "fullName": "google.cloud.discoveryengine.v1.SearchTuningService.ListCustomModels", - "async": true, - "parameters": [ - { - "name": "data_store", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.ListCustomModelsResponse", - "client": { - "shortName": "SearchTuningServiceClient", - "fullName": "google.cloud.discoveryengine.v1.SearchTuningServiceClient" - }, - "method": { - "shortName": "ListCustomModels", - "fullName": "google.cloud.discoveryengine.v1.SearchTuningService.ListCustomModels", - "service": { - "shortName": "SearchTuningService", - "fullName": "google.cloud.discoveryengine.v1.SearchTuningService" - } - } - } + "start": 25, + "end": 56, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListCustomModels", + "fullName": "google.cloud.discoveryengine.v1.SearchTuningService.ListCustomModels", + "async": true, + "parameters": [ + { + "name": "data_store", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.ListCustomModelsResponse", + "client": { + "shortName": "SearchTuningServiceClient", + "fullName": "google.cloud.discoveryengine.v1.SearchTuningServiceClient" }, + "method": { + "shortName": "ListCustomModels", + "fullName": "google.cloud.discoveryengine.v1.SearchTuningService.ListCustomModels", + "service": { + "shortName": "SearchTuningService", + "fullName": "google.cloud.discoveryengine.v1.SearchTuningService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_ServingConfigService_UpdateServingConfig_async", + "title": "AssistantService updateServingConfig Sample", + "origin": "API_DEFINITION", + "description": " Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist.", + "canonical": true, + "file": "serving_config_service.update_serving_config.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_ServingConfigService_UpdateServingConfig_async", - "title": "AssistantService updateServingConfig Sample", - "origin": "API_DEFINITION", - "description": " Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist.", - "canonical": true, - "file": "serving_config_service.update_serving_config.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateServingConfig", - "fullName": "google.cloud.discoveryengine.v1.ServingConfigService.UpdateServingConfig", - "async": true, - "parameters": [ - { - "name": "serving_config", - "type": ".google.cloud.discoveryengine.v1.ServingConfig" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.ServingConfig", - "client": { - "shortName": "ServingConfigServiceClient", - "fullName": "google.cloud.discoveryengine.v1.ServingConfigServiceClient" - }, - "method": { - "shortName": "UpdateServingConfig", - "fullName": "google.cloud.discoveryengine.v1.ServingConfigService.UpdateServingConfig", - "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.discoveryengine.v1.ServingConfigService" - } - } - } + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateServingConfig", + "fullName": "google.cloud.discoveryengine.v1.ServingConfigService.UpdateServingConfig", + "async": true, + "parameters": [ + { + "name": "serving_config", + "type": ".google.cloud.discoveryengine.v1.ServingConfig" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.ServingConfig", + "client": { + "shortName": "ServingConfigServiceClient", + "fullName": "google.cloud.discoveryengine.v1.ServingConfigServiceClient" }, + "method": { + "shortName": "UpdateServingConfig", + "fullName": "google.cloud.discoveryengine.v1.ServingConfigService.UpdateServingConfig", + "service": { + "shortName": "ServingConfigService", + "fullName": "google.cloud.discoveryengine.v1.ServingConfigService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_SessionService_CreateSession_async", + "title": "AssistantService createSession Sample", + "origin": "API_DEFINITION", + "description": " Creates a Session. If the [Session][google.cloud.discoveryengine.v1.Session] to create already exists, an ALREADY_EXISTS error is returned.", + "canonical": true, + "file": "session_service.create_session.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_SessionService_CreateSession_async", - "title": "AssistantService createSession Sample", - "origin": "API_DEFINITION", - "description": " Creates a Session. If the [Session][google.cloud.discoveryengine.v1.Session] to create already exists, an ALREADY_EXISTS error is returned.", - "canonical": true, - "file": "session_service.create_session.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateSession", - "fullName": "google.cloud.discoveryengine.v1.SessionService.CreateSession", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "session", - "type": ".google.cloud.discoveryengine.v1.Session" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.Session", - "client": { - "shortName": "SessionServiceClient", - "fullName": "google.cloud.discoveryengine.v1.SessionServiceClient" - }, - "method": { - "shortName": "CreateSession", - "fullName": "google.cloud.discoveryengine.v1.SessionService.CreateSession", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1.SessionService" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateSession", + "fullName": "google.cloud.discoveryengine.v1.SessionService.CreateSession", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "session", + "type": ".google.cloud.discoveryengine.v1.Session" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.Session", + "client": { + "shortName": "SessionServiceClient", + "fullName": "google.cloud.discoveryengine.v1.SessionServiceClient" }, + "method": { + "shortName": "CreateSession", + "fullName": "google.cloud.discoveryengine.v1.SessionService.CreateSession", + "service": { + "shortName": "SessionService", + "fullName": "google.cloud.discoveryengine.v1.SessionService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_SessionService_DeleteSession_async", + "title": "AssistantService deleteSession Sample", + "origin": "API_DEFINITION", + "description": " Deletes a Session. If the [Session][google.cloud.discoveryengine.v1.Session] to delete does not exist, a NOT_FOUND error is returned.", + "canonical": true, + "file": "session_service.delete_session.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_SessionService_DeleteSession_async", - "title": "AssistantService deleteSession Sample", - "origin": "API_DEFINITION", - "description": " Deletes a Session. If the [Session][google.cloud.discoveryengine.v1.Session] to delete does not exist, a NOT_FOUND error is returned.", - "canonical": true, - "file": "session_service.delete_session.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteSession", - "fullName": "google.cloud.discoveryengine.v1.SessionService.DeleteSession", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "SessionServiceClient", - "fullName": "google.cloud.discoveryengine.v1.SessionServiceClient" - }, - "method": { - "shortName": "DeleteSession", - "fullName": "google.cloud.discoveryengine.v1.SessionService.DeleteSession", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1.SessionService" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteSession", + "fullName": "google.cloud.discoveryengine.v1.SessionService.DeleteSession", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "SessionServiceClient", + "fullName": "google.cloud.discoveryengine.v1.SessionServiceClient" }, + "method": { + "shortName": "DeleteSession", + "fullName": "google.cloud.discoveryengine.v1.SessionService.DeleteSession", + "service": { + "shortName": "SessionService", + "fullName": "google.cloud.discoveryengine.v1.SessionService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_SessionService_UpdateSession_async", + "title": "AssistantService updateSession Sample", + "origin": "API_DEFINITION", + "description": " Updates a Session. [Session][google.cloud.discoveryengine.v1.Session] action type cannot be changed. If the [Session][google.cloud.discoveryengine.v1.Session] to update does not exist, a NOT_FOUND error is returned.", + "canonical": true, + "file": "session_service.update_session.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_SessionService_UpdateSession_async", - "title": "AssistantService updateSession Sample", - "origin": "API_DEFINITION", - "description": " Updates a Session. [Session][google.cloud.discoveryengine.v1.Session] action type cannot be changed. If the [Session][google.cloud.discoveryengine.v1.Session] to update does not exist, a NOT_FOUND error is returned.", - "canonical": true, - "file": "session_service.update_session.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateSession", - "fullName": "google.cloud.discoveryengine.v1.SessionService.UpdateSession", - "async": true, - "parameters": [ - { - "name": "session", - "type": ".google.cloud.discoveryengine.v1.Session" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.Session", - "client": { - "shortName": "SessionServiceClient", - "fullName": "google.cloud.discoveryengine.v1.SessionServiceClient" - }, - "method": { - "shortName": "UpdateSession", - "fullName": "google.cloud.discoveryengine.v1.SessionService.UpdateSession", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1.SessionService" - } - } - } + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateSession", + "fullName": "google.cloud.discoveryengine.v1.SessionService.UpdateSession", + "async": true, + "parameters": [ + { + "name": "session", + "type": ".google.cloud.discoveryengine.v1.Session" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.Session", + "client": { + "shortName": "SessionServiceClient", + "fullName": "google.cloud.discoveryengine.v1.SessionServiceClient" }, + "method": { + "shortName": "UpdateSession", + "fullName": "google.cloud.discoveryengine.v1.SessionService.UpdateSession", + "service": { + "shortName": "SessionService", + "fullName": "google.cloud.discoveryengine.v1.SessionService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_SessionService_GetSession_async", + "title": "AssistantService getSession Sample", + "origin": "API_DEFINITION", + "description": " Gets a Session.", + "canonical": true, + "file": "session_service.get_session.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_SessionService_GetSession_async", - "title": "AssistantService getSession Sample", - "origin": "API_DEFINITION", - "description": " Gets a Session.", - "canonical": true, - "file": "session_service.get_session.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetSession", - "fullName": "google.cloud.discoveryengine.v1.SessionService.GetSession", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "include_answer_details", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.Session", - "client": { - "shortName": "SessionServiceClient", - "fullName": "google.cloud.discoveryengine.v1.SessionServiceClient" - }, - "method": { - "shortName": "GetSession", - "fullName": "google.cloud.discoveryengine.v1.SessionService.GetSession", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1.SessionService" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetSession", + "fullName": "google.cloud.discoveryengine.v1.SessionService.GetSession", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "include_answer_details", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.Session", + "client": { + "shortName": "SessionServiceClient", + "fullName": "google.cloud.discoveryengine.v1.SessionServiceClient" }, + "method": { + "shortName": "GetSession", + "fullName": "google.cloud.discoveryengine.v1.SessionService.GetSession", + "service": { + "shortName": "SessionService", + "fullName": "google.cloud.discoveryengine.v1.SessionService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_SessionService_ListSessions_async", + "title": "AssistantService listSessions Sample", + "origin": "API_DEFINITION", + "description": " Lists all Sessions by their parent [DataStore][google.cloud.discoveryengine.v1.DataStore].", + "canonical": true, + "file": "session_service.list_sessions.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_SessionService_ListSessions_async", - "title": "AssistantService listSessions Sample", - "origin": "API_DEFINITION", - "description": " Lists all Sessions by their parent [DataStore][google.cloud.discoveryengine.v1.DataStore].", - "canonical": true, - "file": "session_service.list_sessions.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 100, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListSessions", - "fullName": "google.cloud.discoveryengine.v1.SessionService.ListSessions", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.ListSessionsResponse", - "client": { - "shortName": "SessionServiceClient", - "fullName": "google.cloud.discoveryengine.v1.SessionServiceClient" - }, - "method": { - "shortName": "ListSessions", - "fullName": "google.cloud.discoveryengine.v1.SessionService.ListSessions", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1.SessionService" - } - } - } + "start": 25, + "end": 100, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListSessions", + "fullName": "google.cloud.discoveryengine.v1.SessionService.ListSessions", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.ListSessionsResponse", + "client": { + "shortName": "SessionServiceClient", + "fullName": "google.cloud.discoveryengine.v1.SessionServiceClient" }, + "method": { + "shortName": "ListSessions", + "fullName": "google.cloud.discoveryengine.v1.SessionService.ListSessions", + "service": { + "shortName": "SessionService", + "fullName": "google.cloud.discoveryengine.v1.SessionService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_GetSiteSearchEngine_async", + "title": "AssistantService getSiteSearchEngine Sample", + "origin": "API_DEFINITION", + "description": " Gets the [SiteSearchEngine][google.cloud.discoveryengine.v1.SiteSearchEngine].", + "canonical": true, + "file": "site_search_engine_service.get_site_search_engine.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_GetSiteSearchEngine_async", - "title": "AssistantService getSiteSearchEngine Sample", - "origin": "API_DEFINITION", - "description": " Gets the [SiteSearchEngine][google.cloud.discoveryengine.v1.SiteSearchEngine].", - "canonical": true, - "file": "site_search_engine_service.get_site_search_engine.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetSiteSearchEngine", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.GetSiteSearchEngine", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.SiteSearchEngine", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "GetSiteSearchEngine", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.GetSiteSearchEngine", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetSiteSearchEngine", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.GetSiteSearchEngine", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.SiteSearchEngine", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "GetSiteSearchEngine", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.GetSiteSearchEngine", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_CreateTargetSite_async", + "title": "AssistantService createTargetSite Sample", + "origin": "API_DEFINITION", + "description": " Creates a [TargetSite][google.cloud.discoveryengine.v1.TargetSite].", + "canonical": true, + "file": "site_search_engine_service.create_target_site.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_CreateTargetSite_async", - "title": "AssistantService createTargetSite Sample", - "origin": "API_DEFINITION", - "description": " Creates a [TargetSite][google.cloud.discoveryengine.v1.TargetSite].", - "canonical": true, - "file": "site_search_engine_service.create_target_site.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 62, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateTargetSite", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.CreateTargetSite", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "target_site", - "type": ".google.cloud.discoveryengine.v1.TargetSite" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "CreateTargetSite", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.CreateTargetSite", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 62, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateTargetSite", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.CreateTargetSite", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "target_site", + "type": ".google.cloud.discoveryengine.v1.TargetSite" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "CreateTargetSite", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.CreateTargetSite", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_BatchCreateTargetSites_async", + "title": "AssistantService batchCreateTargetSites Sample", + "origin": "API_DEFINITION", + "description": " Creates [TargetSite][google.cloud.discoveryengine.v1.TargetSite] in a batch.", + "canonical": true, + "file": "site_search_engine_service.batch_create_target_sites.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_BatchCreateTargetSites_async", - "title": "AssistantService batchCreateTargetSites Sample", - "origin": "API_DEFINITION", - "description": " Creates [TargetSite][google.cloud.discoveryengine.v1.TargetSite] in a batch.", - "canonical": true, - "file": "site_search_engine_service.batch_create_target_sites.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 63, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "BatchCreateTargetSites", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.BatchCreateTargetSites", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "requests", - "type": "TYPE_MESSAGE[]" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "BatchCreateTargetSites", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.BatchCreateTargetSites", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 63, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "BatchCreateTargetSites", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.BatchCreateTargetSites", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "requests", + "type": "TYPE_MESSAGE[]" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "BatchCreateTargetSites", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.BatchCreateTargetSites", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_GetTargetSite_async", + "title": "AssistantService getTargetSite Sample", + "origin": "API_DEFINITION", + "description": " Gets a [TargetSite][google.cloud.discoveryengine.v1.TargetSite].", + "canonical": true, + "file": "site_search_engine_service.get_target_site.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_GetTargetSite_async", - "title": "AssistantService getTargetSite Sample", - "origin": "API_DEFINITION", - "description": " Gets a [TargetSite][google.cloud.discoveryengine.v1.TargetSite].", - "canonical": true, - "file": "site_search_engine_service.get_target_site.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 60, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetTargetSite", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.GetTargetSite", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.TargetSite", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "GetTargetSite", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.GetTargetSite", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 60, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetTargetSite", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.GetTargetSite", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.TargetSite", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "GetTargetSite", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.GetTargetSite", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_UpdateTargetSite_async", + "title": "AssistantService updateTargetSite Sample", + "origin": "API_DEFINITION", + "description": " Updates a [TargetSite][google.cloud.discoveryengine.v1.TargetSite].", + "canonical": true, + "file": "site_search_engine_service.update_target_site.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_UpdateTargetSite_async", - "title": "AssistantService updateTargetSite Sample", - "origin": "API_DEFINITION", - "description": " Updates a [TargetSite][google.cloud.discoveryengine.v1.TargetSite].", - "canonical": true, - "file": "site_search_engine_service.update_target_site.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateTargetSite", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.UpdateTargetSite", - "async": true, - "parameters": [ - { - "name": "target_site", - "type": ".google.cloud.discoveryengine.v1.TargetSite" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "UpdateTargetSite", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.UpdateTargetSite", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateTargetSite", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.UpdateTargetSite", + "async": true, + "parameters": [ + { + "name": "target_site", + "type": ".google.cloud.discoveryengine.v1.TargetSite" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "UpdateTargetSite", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.UpdateTargetSite", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_DeleteTargetSite_async", + "title": "AssistantService deleteTargetSite Sample", + "origin": "API_DEFINITION", + "description": " Deletes a [TargetSite][google.cloud.discoveryengine.v1.TargetSite].", + "canonical": true, + "file": "site_search_engine_service.delete_target_site.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_DeleteTargetSite_async", - "title": "AssistantService deleteTargetSite Sample", - "origin": "API_DEFINITION", - "description": " Deletes a [TargetSite][google.cloud.discoveryengine.v1.TargetSite].", - "canonical": true, - "file": "site_search_engine_service.delete_target_site.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteTargetSite", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.DeleteTargetSite", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "DeleteTargetSite", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.DeleteTargetSite", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteTargetSite", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.DeleteTargetSite", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "DeleteTargetSite", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.DeleteTargetSite", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_ListTargetSites_async", + "title": "AssistantService listTargetSites Sample", + "origin": "API_DEFINITION", + "description": " Gets a list of [TargetSite][google.cloud.discoveryengine.v1.TargetSite]s.", + "canonical": true, + "file": "site_search_engine_service.list_target_sites.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_ListTargetSites_async", - "title": "AssistantService listTargetSites Sample", - "origin": "API_DEFINITION", - "description": " Gets a list of [TargetSite][google.cloud.discoveryengine.v1.TargetSite]s.", - "canonical": true, - "file": "site_search_engine_service.list_target_sites.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 74, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListTargetSites", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.ListTargetSites", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.ListTargetSitesResponse", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "ListTargetSites", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.ListTargetSites", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 74, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListTargetSites", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.ListTargetSites", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.ListTargetSitesResponse", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "ListTargetSites", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.ListTargetSites", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_CreateSitemap_async", + "title": "AssistantService createSitemap Sample", + "origin": "API_DEFINITION", + "description": " Creates a [Sitemap][google.cloud.discoveryengine.v1.Sitemap].", + "canonical": true, + "file": "site_search_engine_service.create_sitemap.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_CreateSitemap_async", - "title": "AssistantService createSitemap Sample", - "origin": "API_DEFINITION", - "description": " Creates a [Sitemap][google.cloud.discoveryengine.v1.Sitemap].", - "canonical": true, - "file": "site_search_engine_service.create_sitemap.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateSitemap", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.CreateSitemap", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "sitemap", - "type": ".google.cloud.discoveryengine.v1.Sitemap" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "CreateSitemap", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.CreateSitemap", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateSitemap", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.CreateSitemap", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "sitemap", + "type": ".google.cloud.discoveryengine.v1.Sitemap" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "CreateSitemap", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.CreateSitemap", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_DeleteSitemap_async", + "title": "AssistantService deleteSitemap Sample", + "origin": "API_DEFINITION", + "description": " Deletes a [Sitemap][google.cloud.discoveryengine.v1.Sitemap].", + "canonical": true, + "file": "site_search_engine_service.delete_sitemap.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_DeleteSitemap_async", - "title": "AssistantService deleteSitemap Sample", - "origin": "API_DEFINITION", - "description": " Deletes a [Sitemap][google.cloud.discoveryengine.v1.Sitemap].", - "canonical": true, - "file": "site_search_engine_service.delete_sitemap.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteSitemap", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.DeleteSitemap", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "DeleteSitemap", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.DeleteSitemap", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteSitemap", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.DeleteSitemap", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "DeleteSitemap", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.DeleteSitemap", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_FetchSitemaps_async", + "title": "AssistantService fetchSitemaps Sample", + "origin": "API_DEFINITION", + "description": " Fetch [Sitemap][google.cloud.discoveryengine.v1.Sitemap]s in a [DataStore][google.cloud.discoveryengine.v1.DataStore].", + "canonical": true, + "file": "site_search_engine_service.fetch_sitemaps.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_FetchSitemaps_async", - "title": "AssistantService fetchSitemaps Sample", - "origin": "API_DEFINITION", - "description": " Fetch [Sitemap][google.cloud.discoveryengine.v1.Sitemap]s in a [DataStore][google.cloud.discoveryengine.v1.DataStore].", - "canonical": true, - "file": "site_search_engine_service.fetch_sitemaps.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 62, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "FetchSitemaps", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.FetchSitemaps", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "matcher", - "type": ".google.cloud.discoveryengine.v1.FetchSitemapsRequest.Matcher" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.FetchSitemapsResponse", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "FetchSitemaps", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.FetchSitemaps", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 62, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "FetchSitemaps", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.FetchSitemaps", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "matcher", + "type": ".google.cloud.discoveryengine.v1.FetchSitemapsRequest.Matcher" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.FetchSitemapsResponse", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "FetchSitemaps", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.FetchSitemaps", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_EnableAdvancedSiteSearch_async", + "title": "AssistantService enableAdvancedSiteSearch Sample", + "origin": "API_DEFINITION", + "description": " Upgrade from basic site search to advanced site search.", + "canonical": true, + "file": "site_search_engine_service.enable_advanced_site_search.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_EnableAdvancedSiteSearch_async", - "title": "AssistantService enableAdvancedSiteSearch Sample", - "origin": "API_DEFINITION", - "description": " Upgrade from basic site search to advanced site search.", - "canonical": true, - "file": "site_search_engine_service.enable_advanced_site_search.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 57, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "EnableAdvancedSiteSearch", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.EnableAdvancedSiteSearch", - "async": true, - "parameters": [ - { - "name": "site_search_engine", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "EnableAdvancedSiteSearch", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.EnableAdvancedSiteSearch", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 57, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "EnableAdvancedSiteSearch", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.EnableAdvancedSiteSearch", + "async": true, + "parameters": [ + { + "name": "site_search_engine", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "EnableAdvancedSiteSearch", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.EnableAdvancedSiteSearch", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_DisableAdvancedSiteSearch_async", + "title": "AssistantService disableAdvancedSiteSearch Sample", + "origin": "API_DEFINITION", + "description": " Downgrade from advanced site search to basic site search.", + "canonical": true, + "file": "site_search_engine_service.disable_advanced_site_search.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_DisableAdvancedSiteSearch_async", - "title": "AssistantService disableAdvancedSiteSearch Sample", - "origin": "API_DEFINITION", - "description": " Downgrade from advanced site search to basic site search.", - "canonical": true, - "file": "site_search_engine_service.disable_advanced_site_search.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 57, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DisableAdvancedSiteSearch", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.DisableAdvancedSiteSearch", - "async": true, - "parameters": [ - { - "name": "site_search_engine", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "DisableAdvancedSiteSearch", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.DisableAdvancedSiteSearch", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 57, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DisableAdvancedSiteSearch", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.DisableAdvancedSiteSearch", + "async": true, + "parameters": [ + { + "name": "site_search_engine", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "DisableAdvancedSiteSearch", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.DisableAdvancedSiteSearch", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_RecrawlUris_async", + "title": "AssistantService recrawlUris Sample", + "origin": "API_DEFINITION", + "description": " Request on-demand recrawl for a list of URIs.", + "canonical": true, + "file": "site_search_engine_service.recrawl_uris.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_RecrawlUris_async", - "title": "AssistantService recrawlUris Sample", - "origin": "API_DEFINITION", - "description": " Request on-demand recrawl for a list of URIs.", - "canonical": true, - "file": "site_search_engine_service.recrawl_uris.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 68, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "RecrawlUris", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.RecrawlUris", - "async": true, - "parameters": [ - { - "name": "site_search_engine", - "type": "TYPE_STRING" - }, - { - "name": "uris", - "type": "TYPE_STRING[]" - }, - { - "name": "site_credential", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "RecrawlUris", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.RecrawlUris", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 68, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "RecrawlUris", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.RecrawlUris", + "async": true, + "parameters": [ + { + "name": "site_search_engine", + "type": "TYPE_STRING" + }, + { + "name": "uris", + "type": "TYPE_STRING[]" + }, + { + "name": "site_credential", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "RecrawlUris", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.RecrawlUris", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_BatchVerifyTargetSites_async", + "title": "AssistantService batchVerifyTargetSites Sample", + "origin": "API_DEFINITION", + "description": " Verify target sites' ownership and validity. This API sends all the target sites under site search engine for verification.", + "canonical": true, + "file": "site_search_engine_service.batch_verify_target_sites.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_BatchVerifyTargetSites_async", - "title": "AssistantService batchVerifyTargetSites Sample", - "origin": "API_DEFINITION", - "description": " Verify target sites' ownership and validity. This API sends all the target sites under site search engine for verification.", - "canonical": true, - "file": "site_search_engine_service.batch_verify_target_sites.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "BatchVerifyTargetSites", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.BatchVerifyTargetSites", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "BatchVerifyTargetSites", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.BatchVerifyTargetSites", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "BatchVerifyTargetSites", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.BatchVerifyTargetSites", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "BatchVerifyTargetSites", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.BatchVerifyTargetSites", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_FetchDomainVerificationStatus_async", + "title": "AssistantService fetchDomainVerificationStatus Sample", + "origin": "API_DEFINITION", + "description": " Returns list of target sites with its domain verification status. This method can only be called under data store with BASIC_SITE_SEARCH state at the moment.", + "canonical": true, + "file": "site_search_engine_service.fetch_domain_verification_status.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_SiteSearchEngineService_FetchDomainVerificationStatus_async", - "title": "AssistantService fetchDomainVerificationStatus Sample", - "origin": "API_DEFINITION", - "description": " Returns list of target sites with its domain verification status. This method can only be called under data store with BASIC_SITE_SEARCH state at the moment.", - "canonical": true, - "file": "site_search_engine_service.fetch_domain_verification_status.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 72, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "FetchDomainVerificationStatus", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.FetchDomainVerificationStatus", - "async": true, - "parameters": [ - { - "name": "site_search_engine", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.FetchDomainVerificationStatusResponse", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "FetchDomainVerificationStatus", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.FetchDomainVerificationStatus", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 72, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "FetchDomainVerificationStatus", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.FetchDomainVerificationStatus", + "async": true, + "parameters": [ + { + "name": "site_search_engine", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.FetchDomainVerificationStatusResponse", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "FetchDomainVerificationStatus", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.FetchDomainVerificationStatus", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_UserEventService_WriteUserEvent_async", + "title": "AssistantService writeUserEvent Sample", + "origin": "API_DEFINITION", + "description": " Writes a single user event.", + "canonical": true, + "file": "user_event_service.write_user_event.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_UserEventService_WriteUserEvent_async", - "title": "AssistantService writeUserEvent Sample", - "origin": "API_DEFINITION", - "description": " Writes a single user event.", - "canonical": true, - "file": "user_event_service.write_user_event.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 72, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "WriteUserEvent", - "fullName": "google.cloud.discoveryengine.v1.UserEventService.WriteUserEvent", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "user_event", - "type": ".google.cloud.discoveryengine.v1.UserEvent" - }, - { - "name": "write_async", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.UserEvent", - "client": { - "shortName": "UserEventServiceClient", - "fullName": "google.cloud.discoveryengine.v1.UserEventServiceClient" - }, - "method": { - "shortName": "WriteUserEvent", - "fullName": "google.cloud.discoveryengine.v1.UserEventService.WriteUserEvent", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.discoveryengine.v1.UserEventService" - } - } - } + "start": 25, + "end": 72, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "WriteUserEvent", + "fullName": "google.cloud.discoveryengine.v1.UserEventService.WriteUserEvent", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "user_event", + "type": ".google.cloud.discoveryengine.v1.UserEvent" + }, + { + "name": "write_async", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.UserEvent", + "client": { + "shortName": "UserEventServiceClient", + "fullName": "google.cloud.discoveryengine.v1.UserEventServiceClient" }, + "method": { + "shortName": "WriteUserEvent", + "fullName": "google.cloud.discoveryengine.v1.UserEventService.WriteUserEvent", + "service": { + "shortName": "UserEventService", + "fullName": "google.cloud.discoveryengine.v1.UserEventService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_UserEventService_CollectUserEvent_async", + "title": "AssistantService collectUserEvent Sample", + "origin": "API_DEFINITION", + "description": " Writes a single user event from the browser. This uses a GET request to due to browser restriction of POST-ing to a third-party domain. This method is used only by the Discovery Engine API JavaScript pixel and Google Tag Manager. Users should not call this method directly.", + "canonical": true, + "file": "user_event_service.collect_user_event.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_UserEventService_CollectUserEvent_async", - "title": "AssistantService collectUserEvent Sample", - "origin": "API_DEFINITION", - "description": " Writes a single user event from the browser. This uses a GET request to due to browser restriction of POST-ing to a third-party domain. This method is used only by the Discovery Engine API JavaScript pixel and Google Tag Manager. Users should not call this method directly.", - "canonical": true, - "file": "user_event_service.collect_user_event.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 81, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CollectUserEvent", - "fullName": "google.cloud.discoveryengine.v1.UserEventService.CollectUserEvent", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "user_event", - "type": "TYPE_STRING" - }, - { - "name": "uri", - "type": "TYPE_STRING" - }, - { - "name": "ets", - "type": "TYPE_INT64" - } - ], - "resultType": ".google.api.HttpBody", - "client": { - "shortName": "UserEventServiceClient", - "fullName": "google.cloud.discoveryengine.v1.UserEventServiceClient" - }, - "method": { - "shortName": "CollectUserEvent", - "fullName": "google.cloud.discoveryengine.v1.UserEventService.CollectUserEvent", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.discoveryengine.v1.UserEventService" - } - } - } + "start": 25, + "end": 81, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CollectUserEvent", + "fullName": "google.cloud.discoveryengine.v1.UserEventService.CollectUserEvent", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "user_event", + "type": "TYPE_STRING" + }, + { + "name": "uri", + "type": "TYPE_STRING" + }, + { + "name": "ets", + "type": "TYPE_INT64" + } + ], + "resultType": ".google.api.HttpBody", + "client": { + "shortName": "UserEventServiceClient", + "fullName": "google.cloud.discoveryengine.v1.UserEventServiceClient" }, + "method": { + "shortName": "CollectUserEvent", + "fullName": "google.cloud.discoveryengine.v1.UserEventService.CollectUserEvent", + "service": { + "shortName": "UserEventService", + "fullName": "google.cloud.discoveryengine.v1.UserEventService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_UserEventService_PurgeUserEvents_async", + "title": "AssistantService purgeUserEvents Sample", + "origin": "API_DEFINITION", + "description": " Deletes permanently all user events specified by the filter provided. Depending on the number of events specified by the filter, this operation could take hours or days to complete. To test a filter, use the list command first.", + "canonical": true, + "file": "user_event_service.purge_user_events.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_UserEventService_PurgeUserEvents_async", - "title": "AssistantService purgeUserEvents Sample", - "origin": "API_DEFINITION", - "description": " Deletes permanently all user events specified by the filter provided. Depending on the number of events specified by the filter, this operation could take hours or days to complete. To test a filter, use the list command first.", - "canonical": true, - "file": "user_event_service.purge_user_events.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 93, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "PurgeUserEvents", - "fullName": "google.cloud.discoveryengine.v1.UserEventService.PurgeUserEvents", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "force", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "UserEventServiceClient", - "fullName": "google.cloud.discoveryengine.v1.UserEventServiceClient" - }, - "method": { - "shortName": "PurgeUserEvents", - "fullName": "google.cloud.discoveryengine.v1.UserEventService.PurgeUserEvents", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.discoveryengine.v1.UserEventService" - } - } - } + "start": 25, + "end": 93, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "PurgeUserEvents", + "fullName": "google.cloud.discoveryengine.v1.UserEventService.PurgeUserEvents", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "force", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "UserEventServiceClient", + "fullName": "google.cloud.discoveryengine.v1.UserEventServiceClient" }, + "method": { + "shortName": "PurgeUserEvents", + "fullName": "google.cloud.discoveryengine.v1.UserEventService.PurgeUserEvents", + "service": { + "shortName": "UserEventService", + "fullName": "google.cloud.discoveryengine.v1.UserEventService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_UserEventService_ImportUserEvents_async", + "title": "AssistantService importUserEvents Sample", + "origin": "API_DEFINITION", + "description": " Bulk import of user events. Request processing might be synchronous. Events that already exist are skipped. Use this method for backfilling historical user events. Operation.response is of type ImportResponse. Note that it is possible for a subset of the items to be successfully inserted. Operation.metadata is of type ImportMetadata.", + "canonical": true, + "file": "user_event_service.import_user_events.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_UserEventService_ImportUserEvents_async", - "title": "AssistantService importUserEvents Sample", - "origin": "API_DEFINITION", - "description": " Bulk import of user events. Request processing might be synchronous. Events that already exist are skipped. Use this method for backfilling historical user events. Operation.response is of type ImportResponse. Note that it is possible for a subset of the items to be successfully inserted. Operation.metadata is of type ImportMetadata.", - "canonical": true, - "file": "user_event_service.import_user_events.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 72, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ImportUserEvents", - "fullName": "google.cloud.discoveryengine.v1.UserEventService.ImportUserEvents", - "async": true, - "parameters": [ - { - "name": "inline_source", - "type": ".google.cloud.discoveryengine.v1.ImportUserEventsRequest.InlineSource" - }, - { - "name": "gcs_source", - "type": ".google.cloud.discoveryengine.v1.GcsSource" - }, - { - "name": "bigquery_source", - "type": ".google.cloud.discoveryengine.v1.BigQuerySource" - }, - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "error_config", - "type": ".google.cloud.discoveryengine.v1.ImportErrorConfig" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "UserEventServiceClient", - "fullName": "google.cloud.discoveryengine.v1.UserEventServiceClient" - }, - "method": { - "shortName": "ImportUserEvents", - "fullName": "google.cloud.discoveryengine.v1.UserEventService.ImportUserEvents", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.discoveryengine.v1.UserEventService" - } - } - } + "start": 25, + "end": 72, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ImportUserEvents", + "fullName": "google.cloud.discoveryengine.v1.UserEventService.ImportUserEvents", + "async": true, + "parameters": [ + { + "name": "inline_source", + "type": ".google.cloud.discoveryengine.v1.ImportUserEventsRequest.InlineSource" + }, + { + "name": "gcs_source", + "type": ".google.cloud.discoveryengine.v1.GcsSource" + }, + { + "name": "bigquery_source", + "type": ".google.cloud.discoveryengine.v1.BigQuerySource" + }, + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "error_config", + "type": ".google.cloud.discoveryengine.v1.ImportErrorConfig" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "UserEventServiceClient", + "fullName": "google.cloud.discoveryengine.v1.UserEventServiceClient" }, + "method": { + "shortName": "ImportUserEvents", + "fullName": "google.cloud.discoveryengine.v1.UserEventService.ImportUserEvents", + "service": { + "shortName": "UserEventService", + "fullName": "google.cloud.discoveryengine.v1.UserEventService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_UserLicenseService_ListUserLicenses_async", + "title": "AssistantService listUserLicenses Sample", + "origin": "API_DEFINITION", + "description": " Lists the User Licenses.", + "canonical": true, + "file": "user_license_service.list_user_licenses.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_UserLicenseService_ListUserLicenses_async", - "title": "AssistantService listUserLicenses Sample", - "origin": "API_DEFINITION", - "description": " Lists the User Licenses.", - "canonical": true, - "file": "user_license_service.list_user_licenses.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 83, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListUserLicenses", - "fullName": "google.cloud.discoveryengine.v1.UserLicenseService.ListUserLicenses", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1.ListUserLicensesResponse", - "client": { - "shortName": "UserLicenseServiceClient", - "fullName": "google.cloud.discoveryengine.v1.UserLicenseServiceClient" - }, - "method": { - "shortName": "ListUserLicenses", - "fullName": "google.cloud.discoveryengine.v1.UserLicenseService.ListUserLicenses", - "service": { - "shortName": "UserLicenseService", - "fullName": "google.cloud.discoveryengine.v1.UserLicenseService" - } - } - } + "start": 25, + "end": 83, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListUserLicenses", + "fullName": "google.cloud.discoveryengine.v1.UserLicenseService.ListUserLicenses", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1.ListUserLicensesResponse", + "client": { + "shortName": "UserLicenseServiceClient", + "fullName": "google.cloud.discoveryengine.v1.UserLicenseServiceClient" }, + "method": { + "shortName": "ListUserLicenses", + "fullName": "google.cloud.discoveryengine.v1.UserLicenseService.ListUserLicenses", + "service": { + "shortName": "UserLicenseService", + "fullName": "google.cloud.discoveryengine.v1.UserLicenseService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1_generated_UserLicenseService_BatchUpdateUserLicenses_async", + "title": "AssistantService batchUpdateUserLicenses Sample", + "origin": "API_DEFINITION", + "description": " Updates the User License. This method is used for batch assign/unassign licenses to users.", + "canonical": true, + "file": "user_license_service.batch_update_user_licenses.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1_generated_UserLicenseService_BatchUpdateUserLicenses_async", - "title": "AssistantService batchUpdateUserLicenses Sample", - "origin": "API_DEFINITION", - "description": " Updates the User License. This method is used for batch assign/unassign licenses to users.", - "canonical": true, - "file": "user_license_service.batch_update_user_licenses.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 65, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "BatchUpdateUserLicenses", - "fullName": "google.cloud.discoveryengine.v1.UserLicenseService.BatchUpdateUserLicenses", - "async": true, - "parameters": [ - { - "name": "inline_source", - "type": ".google.cloud.discoveryengine.v1.BatchUpdateUserLicensesRequest.InlineSource" - }, - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "delete_unassigned_user_licenses", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "UserLicenseServiceClient", - "fullName": "google.cloud.discoveryengine.v1.UserLicenseServiceClient" - }, - "method": { - "shortName": "BatchUpdateUserLicenses", - "fullName": "google.cloud.discoveryengine.v1.UserLicenseService.BatchUpdateUserLicenses", - "service": { - "shortName": "UserLicenseService", - "fullName": "google.cloud.discoveryengine.v1.UserLicenseService" - } - } - } + "start": 25, + "end": 65, + "type": "FULL" } - ] -} \ No newline at end of file + ], + "clientMethod": { + "shortName": "BatchUpdateUserLicenses", + "fullName": "google.cloud.discoveryengine.v1.UserLicenseService.BatchUpdateUserLicenses", + "async": true, + "parameters": [ + { + "name": "inline_source", + "type": ".google.cloud.discoveryengine.v1.BatchUpdateUserLicensesRequest.InlineSource" + }, + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "delete_unassigned_user_licenses", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "UserLicenseServiceClient", + "fullName": "google.cloud.discoveryengine.v1.UserLicenseServiceClient" + }, + "method": { + "shortName": "BatchUpdateUserLicenses", + "fullName": "google.cloud.discoveryengine.v1.UserLicenseService.BatchUpdateUserLicenses", + "service": { + "shortName": "UserLicenseService", + "fullName": "google.cloud.discoveryengine.v1.UserLicenseService" + } + } + } + } + ] +} diff --git a/packages/google-cloud-discoveryengine/samples/generated/v1alpha/snippet_metadata_google.cloud.discoveryengine.v1alpha.json b/packages/google-cloud-discoveryengine/samples/generated/v1alpha/snippet_metadata_google.cloud.discoveryengine.v1alpha.json index bdabe6c1e1b8..63a21df94a2b 100644 --- a/packages/google-cloud-discoveryengine/samples/generated/v1alpha/snippet_metadata_google.cloud.discoveryengine.v1alpha.json +++ b/packages/google-cloud-discoveryengine/samples/generated/v1alpha/snippet_metadata_google.cloud.discoveryengine.v1alpha.json @@ -1,5167 +1,5167 @@ { - "clientLibrary": { - "name": "nodejs-discoveryengine", - "version": "2.4.0", - "language": "TYPESCRIPT", - "apis": [ - { - "id": "google.cloud.discoveryengine.v1alpha", - "version": "v1alpha" - } - ] - }, - "snippets": [ + "clientLibrary": { + "name": "nodejs-discoveryengine", + "version": "0.1.0", + "language": "TYPESCRIPT", + "apis": [ + { + "id": "google.cloud.discoveryengine.v1alpha", + "version": "v1alpha" + } + ] + }, + "snippets": [ + { + "regionTag": "discoveryengine_v1alpha_generated_AclConfigService_UpdateAclConfig_async", + "title": "AclConfigService updateAclConfig Sample", + "origin": "API_DEFINITION", + "description": " Default ACL configuration for use in a location of a customer's project. Updates will only reflect to new data stores. Existing data stores will still use the old value.", + "canonical": true, + "file": "acl_config_service.update_acl_config.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_AclConfigService_UpdateAclConfig_async", - "title": "AclConfigService updateAclConfig Sample", - "origin": "API_DEFINITION", - "description": " Default ACL configuration for use in a location of a customer's project. Updates will only reflect to new data stores. Existing data stores will still use the old value.", - "canonical": true, - "file": "acl_config_service.update_acl_config.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 52, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateAclConfig", - "fullName": "google.cloud.discoveryengine.v1alpha.AclConfigService.UpdateAclConfig", - "async": true, - "parameters": [ - { - "name": "acl_config", - "type": ".google.cloud.discoveryengine.v1alpha.AclConfig" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.AclConfig", - "client": { - "shortName": "AclConfigServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.AclConfigServiceClient" - }, - "method": { - "shortName": "UpdateAclConfig", - "fullName": "google.cloud.discoveryengine.v1alpha.AclConfigService.UpdateAclConfig", - "service": { - "shortName": "AclConfigService", - "fullName": "google.cloud.discoveryengine.v1alpha.AclConfigService" - } - } - } + "start": 25, + "end": 52, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateAclConfig", + "fullName": "google.cloud.discoveryengine.v1alpha.AclConfigService.UpdateAclConfig", + "async": true, + "parameters": [ + { + "name": "acl_config", + "type": ".google.cloud.discoveryengine.v1alpha.AclConfig" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.AclConfig", + "client": { + "shortName": "AclConfigServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.AclConfigServiceClient" }, + "method": { + "shortName": "UpdateAclConfig", + "fullName": "google.cloud.discoveryengine.v1alpha.AclConfigService.UpdateAclConfig", + "service": { + "shortName": "AclConfigService", + "fullName": "google.cloud.discoveryengine.v1alpha.AclConfigService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_AclConfigService_GetAclConfig_async", + "title": "AclConfigService getAclConfig Sample", + "origin": "API_DEFINITION", + "description": " Gets the [AclConfig][google.cloud.discoveryengine.v1alpha.AclConfig].", + "canonical": true, + "file": "acl_config_service.get_acl_config.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_AclConfigService_GetAclConfig_async", - "title": "AclConfigService getAclConfig Sample", - "origin": "API_DEFINITION", - "description": " Gets the [AclConfig][google.cloud.discoveryengine.v1alpha.AclConfig].", - "canonical": true, - "file": "acl_config_service.get_acl_config.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 58, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetAclConfig", - "fullName": "google.cloud.discoveryengine.v1alpha.AclConfigService.GetAclConfig", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.AclConfig", - "client": { - "shortName": "AclConfigServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.AclConfigServiceClient" - }, - "method": { - "shortName": "GetAclConfig", - "fullName": "google.cloud.discoveryengine.v1alpha.AclConfigService.GetAclConfig", - "service": { - "shortName": "AclConfigService", - "fullName": "google.cloud.discoveryengine.v1alpha.AclConfigService" - } - } - } + "start": 25, + "end": 58, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetAclConfig", + "fullName": "google.cloud.discoveryengine.v1alpha.AclConfigService.GetAclConfig", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.AclConfig", + "client": { + "shortName": "AclConfigServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.AclConfigServiceClient" }, + "method": { + "shortName": "GetAclConfig", + "fullName": "google.cloud.discoveryengine.v1alpha.AclConfigService.GetAclConfig", + "service": { + "shortName": "AclConfigService", + "fullName": "google.cloud.discoveryengine.v1alpha.AclConfigService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_ChunkService_GetChunk_async", + "title": "AclConfigService getChunk Sample", + "origin": "API_DEFINITION", + "description": " Gets a [Document][google.cloud.discoveryengine.v1alpha.Document].", + "canonical": true, + "file": "chunk_service.get_chunk.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_ChunkService_GetChunk_async", - "title": "AclConfigService getChunk Sample", - "origin": "API_DEFINITION", - "description": " Gets a [Document][google.cloud.discoveryengine.v1alpha.Document].", - "canonical": true, - "file": "chunk_service.get_chunk.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 60, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetChunk", - "fullName": "google.cloud.discoveryengine.v1alpha.ChunkService.GetChunk", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.Chunk", - "client": { - "shortName": "ChunkServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ChunkServiceClient" - }, - "method": { - "shortName": "GetChunk", - "fullName": "google.cloud.discoveryengine.v1alpha.ChunkService.GetChunk", - "service": { - "shortName": "ChunkService", - "fullName": "google.cloud.discoveryengine.v1alpha.ChunkService" - } - } - } + "start": 25, + "end": 60, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetChunk", + "fullName": "google.cloud.discoveryengine.v1alpha.ChunkService.GetChunk", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.Chunk", + "client": { + "shortName": "ChunkServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.ChunkServiceClient" }, + "method": { + "shortName": "GetChunk", + "fullName": "google.cloud.discoveryengine.v1alpha.ChunkService.GetChunk", + "service": { + "shortName": "ChunkService", + "fullName": "google.cloud.discoveryengine.v1alpha.ChunkService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_ChunkService_ListChunks_async", + "title": "AclConfigService listChunks Sample", + "origin": "API_DEFINITION", + "description": " Gets a list of [Chunk][google.cloud.discoveryengine.v1alpha.Chunk]s.", + "canonical": true, + "file": "chunk_service.list_chunks.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_ChunkService_ListChunks_async", - "title": "AclConfigService listChunks Sample", - "origin": "API_DEFINITION", - "description": " Gets a list of [Chunk][google.cloud.discoveryengine.v1alpha.Chunk]s.", - "canonical": true, - "file": "chunk_service.list_chunks.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 79, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListChunks", - "fullName": "google.cloud.discoveryengine.v1alpha.ChunkService.ListChunks", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.ListChunksResponse", - "client": { - "shortName": "ChunkServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ChunkServiceClient" - }, - "method": { - "shortName": "ListChunks", - "fullName": "google.cloud.discoveryengine.v1alpha.ChunkService.ListChunks", - "service": { - "shortName": "ChunkService", - "fullName": "google.cloud.discoveryengine.v1alpha.ChunkService" - } - } - } + "start": 25, + "end": 79, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListChunks", + "fullName": "google.cloud.discoveryengine.v1alpha.ChunkService.ListChunks", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.ListChunksResponse", + "client": { + "shortName": "ChunkServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.ChunkServiceClient" }, + "method": { + "shortName": "ListChunks", + "fullName": "google.cloud.discoveryengine.v1alpha.ChunkService.ListChunks", + "service": { + "shortName": "ChunkService", + "fullName": "google.cloud.discoveryengine.v1alpha.ChunkService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_CompletionService_CompleteQuery_async", + "title": "AclConfigService completeQuery Sample", + "origin": "API_DEFINITION", + "description": " Completes the specified user input with keyword suggestions.", + "canonical": true, + "file": "completion_service.complete_query.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_CompletionService_CompleteQuery_async", - "title": "AclConfigService completeQuery Sample", - "origin": "API_DEFINITION", - "description": " Completes the specified user input with keyword suggestions.", - "canonical": true, - "file": "completion_service.complete_query.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 99, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CompleteQuery", - "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService.CompleteQuery", - "async": true, - "parameters": [ - { - "name": "data_store", - "type": "TYPE_STRING" - }, - { - "name": "query", - "type": "TYPE_STRING" - }, - { - "name": "query_model", - "type": "TYPE_STRING" - }, - { - "name": "user_pseudo_id", - "type": "TYPE_STRING" - }, - { - "name": "include_tail_suggestions", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.CompleteQueryResponse", - "client": { - "shortName": "CompletionServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.CompletionServiceClient" - }, - "method": { - "shortName": "CompleteQuery", - "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService.CompleteQuery", - "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService" - } - } - } + "start": 25, + "end": 99, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CompleteQuery", + "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService.CompleteQuery", + "async": true, + "parameters": [ + { + "name": "data_store", + "type": "TYPE_STRING" + }, + { + "name": "query", + "type": "TYPE_STRING" + }, + { + "name": "query_model", + "type": "TYPE_STRING" + }, + { + "name": "user_pseudo_id", + "type": "TYPE_STRING" + }, + { + "name": "include_tail_suggestions", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.CompleteQueryResponse", + "client": { + "shortName": "CompletionServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.CompletionServiceClient" }, + "method": { + "shortName": "CompleteQuery", + "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService.CompleteQuery", + "service": { + "shortName": "CompletionService", + "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_CompletionService_ImportSuggestionDenyListEntries_async", + "title": "AclConfigService importSuggestionDenyListEntries Sample", + "origin": "API_DEFINITION", + "description": " Imports all [SuggestionDenyListEntry][google.cloud.discoveryengine.v1alpha.SuggestionDenyListEntry] for a DataStore.", + "canonical": true, + "file": "completion_service.import_suggestion_deny_list_entries.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_CompletionService_ImportSuggestionDenyListEntries_async", - "title": "AclConfigService importSuggestionDenyListEntries Sample", - "origin": "API_DEFINITION", - "description": " Imports all [SuggestionDenyListEntry][google.cloud.discoveryengine.v1alpha.SuggestionDenyListEntry] for a DataStore.", - "canonical": true, - "file": "completion_service.import_suggestion_deny_list_entries.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 68, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ImportSuggestionDenyListEntries", - "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService.ImportSuggestionDenyListEntries", - "async": true, - "parameters": [ - { - "name": "inline_source", - "type": ".google.cloud.discoveryengine.v1alpha.ImportSuggestionDenyListEntriesRequest.InlineSource" - }, - { - "name": "gcs_source", - "type": ".google.cloud.discoveryengine.v1alpha.GcsSource" - }, - { - "name": "parent", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "CompletionServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.CompletionServiceClient" - }, - "method": { - "shortName": "ImportSuggestionDenyListEntries", - "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService.ImportSuggestionDenyListEntries", - "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService" - } - } - } + "start": 25, + "end": 68, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ImportSuggestionDenyListEntries", + "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService.ImportSuggestionDenyListEntries", + "async": true, + "parameters": [ + { + "name": "inline_source", + "type": ".google.cloud.discoveryengine.v1alpha.ImportSuggestionDenyListEntriesRequest.InlineSource" + }, + { + "name": "gcs_source", + "type": ".google.cloud.discoveryengine.v1alpha.GcsSource" + }, + { + "name": "parent", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "CompletionServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.CompletionServiceClient" }, + "method": { + "shortName": "ImportSuggestionDenyListEntries", + "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService.ImportSuggestionDenyListEntries", + "service": { + "shortName": "CompletionService", + "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_CompletionService_PurgeSuggestionDenyListEntries_async", + "title": "AclConfigService purgeSuggestionDenyListEntries Sample", + "origin": "API_DEFINITION", + "description": " Permanently deletes all [SuggestionDenyListEntry][google.cloud.discoveryengine.v1alpha.SuggestionDenyListEntry] for a DataStore.", + "canonical": true, + "file": "completion_service.purge_suggestion_deny_list_entries.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_CompletionService_PurgeSuggestionDenyListEntries_async", - "title": "AclConfigService purgeSuggestionDenyListEntries Sample", - "origin": "API_DEFINITION", - "description": " Permanently deletes all [SuggestionDenyListEntry][google.cloud.discoveryengine.v1alpha.SuggestionDenyListEntry] for a DataStore.", - "canonical": true, - "file": "completion_service.purge_suggestion_deny_list_entries.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "PurgeSuggestionDenyListEntries", - "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService.PurgeSuggestionDenyListEntries", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "CompletionServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.CompletionServiceClient" - }, - "method": { - "shortName": "PurgeSuggestionDenyListEntries", - "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService.PurgeSuggestionDenyListEntries", - "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "PurgeSuggestionDenyListEntries", + "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService.PurgeSuggestionDenyListEntries", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "CompletionServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.CompletionServiceClient" }, + "method": { + "shortName": "PurgeSuggestionDenyListEntries", + "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService.PurgeSuggestionDenyListEntries", + "service": { + "shortName": "CompletionService", + "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_CompletionService_ImportCompletionSuggestions_async", + "title": "AclConfigService importCompletionSuggestions Sample", + "origin": "API_DEFINITION", + "description": " Imports [CompletionSuggestion][google.cloud.discoveryengine.v1alpha.CompletionSuggestion]s for a DataStore.", + "canonical": true, + "file": "completion_service.import_completion_suggestions.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_CompletionService_ImportCompletionSuggestions_async", - "title": "AclConfigService importCompletionSuggestions Sample", - "origin": "API_DEFINITION", - "description": " Imports [CompletionSuggestion][google.cloud.discoveryengine.v1alpha.CompletionSuggestion]s for a DataStore.", - "canonical": true, - "file": "completion_service.import_completion_suggestions.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 72, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ImportCompletionSuggestions", - "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService.ImportCompletionSuggestions", - "async": true, - "parameters": [ - { - "name": "inline_source", - "type": ".google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsRequest.InlineSource" - }, - { - "name": "gcs_source", - "type": ".google.cloud.discoveryengine.v1alpha.GcsSource" - }, - { - "name": "bigquery_source", - "type": ".google.cloud.discoveryengine.v1alpha.BigQuerySource" - }, - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "error_config", - "type": ".google.cloud.discoveryengine.v1alpha.ImportErrorConfig" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "CompletionServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.CompletionServiceClient" - }, - "method": { - "shortName": "ImportCompletionSuggestions", - "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService.ImportCompletionSuggestions", - "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService" - } - } - } + "start": 25, + "end": 72, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ImportCompletionSuggestions", + "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService.ImportCompletionSuggestions", + "async": true, + "parameters": [ + { + "name": "inline_source", + "type": ".google.cloud.discoveryengine.v1alpha.ImportCompletionSuggestionsRequest.InlineSource" + }, + { + "name": "gcs_source", + "type": ".google.cloud.discoveryengine.v1alpha.GcsSource" + }, + { + "name": "bigquery_source", + "type": ".google.cloud.discoveryengine.v1alpha.BigQuerySource" + }, + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "error_config", + "type": ".google.cloud.discoveryengine.v1alpha.ImportErrorConfig" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "CompletionServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.CompletionServiceClient" }, + "method": { + "shortName": "ImportCompletionSuggestions", + "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService.ImportCompletionSuggestions", + "service": { + "shortName": "CompletionService", + "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_CompletionService_PurgeCompletionSuggestions_async", + "title": "AclConfigService purgeCompletionSuggestions Sample", + "origin": "API_DEFINITION", + "description": " Permanently deletes all [CompletionSuggestion][google.cloud.discoveryengine.v1alpha.CompletionSuggestion]s for a DataStore.", + "canonical": true, + "file": "completion_service.purge_completion_suggestions.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_CompletionService_PurgeCompletionSuggestions_async", - "title": "AclConfigService purgeCompletionSuggestions Sample", - "origin": "API_DEFINITION", - "description": " Permanently deletes all [CompletionSuggestion][google.cloud.discoveryengine.v1alpha.CompletionSuggestion]s for a DataStore.", - "canonical": true, - "file": "completion_service.purge_completion_suggestions.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 56, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "PurgeCompletionSuggestions", - "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService.PurgeCompletionSuggestions", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "CompletionServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.CompletionServiceClient" - }, - "method": { - "shortName": "PurgeCompletionSuggestions", - "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService.PurgeCompletionSuggestions", - "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService" - } - } - } + "start": 25, + "end": 56, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "PurgeCompletionSuggestions", + "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService.PurgeCompletionSuggestions", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "CompletionServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.CompletionServiceClient" }, + "method": { + "shortName": "PurgeCompletionSuggestions", + "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService.PurgeCompletionSuggestions", + "service": { + "shortName": "CompletionService", + "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_ControlService_CreateControl_async", + "title": "AclConfigService createControl Sample", + "origin": "API_DEFINITION", + "description": " Creates a Control. By default 1000 controls are allowed for a data store. A request can be submitted to adjust this limit. If the [Control][google.cloud.discoveryengine.v1alpha.Control] to create already exists, an ALREADY_EXISTS error is returned.", + "canonical": true, + "file": "control_service.create_control.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_ControlService_CreateControl_async", - "title": "AclConfigService createControl Sample", - "origin": "API_DEFINITION", - "description": " Creates a Control. By default 1000 controls are allowed for a data store. A request can be submitted to adjust this limit. If the [Control][google.cloud.discoveryengine.v1alpha.Control] to create already exists, an ALREADY_EXISTS error is returned.", - "canonical": true, - "file": "control_service.create_control.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 69, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateControl", - "fullName": "google.cloud.discoveryengine.v1alpha.ControlService.CreateControl", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "control", - "type": ".google.cloud.discoveryengine.v1alpha.Control" - }, - { - "name": "control_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.Control", - "client": { - "shortName": "ControlServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ControlServiceClient" - }, - "method": { - "shortName": "CreateControl", - "fullName": "google.cloud.discoveryengine.v1alpha.ControlService.CreateControl", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1alpha.ControlService" - } - } - } + "start": 25, + "end": 69, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateControl", + "fullName": "google.cloud.discoveryengine.v1alpha.ControlService.CreateControl", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "control", + "type": ".google.cloud.discoveryengine.v1alpha.Control" + }, + { + "name": "control_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.Control", + "client": { + "shortName": "ControlServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.ControlServiceClient" }, + "method": { + "shortName": "CreateControl", + "fullName": "google.cloud.discoveryengine.v1alpha.ControlService.CreateControl", + "service": { + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1alpha.ControlService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_ControlService_DeleteControl_async", + "title": "AclConfigService deleteControl Sample", + "origin": "API_DEFINITION", + "description": " Deletes a Control. If the [Control][google.cloud.discoveryengine.v1alpha.Control] to delete does not exist, a NOT_FOUND error is returned.", + "canonical": true, + "file": "control_service.delete_control.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_ControlService_DeleteControl_async", - "title": "AclConfigService deleteControl Sample", - "origin": "API_DEFINITION", - "description": " Deletes a Control. If the [Control][google.cloud.discoveryengine.v1alpha.Control] to delete does not exist, a NOT_FOUND error is returned.", - "canonical": true, - "file": "control_service.delete_control.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteControl", - "fullName": "google.cloud.discoveryengine.v1alpha.ControlService.DeleteControl", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "ControlServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ControlServiceClient" - }, - "method": { - "shortName": "DeleteControl", - "fullName": "google.cloud.discoveryengine.v1alpha.ControlService.DeleteControl", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1alpha.ControlService" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteControl", + "fullName": "google.cloud.discoveryengine.v1alpha.ControlService.DeleteControl", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "ControlServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.ControlServiceClient" }, + "method": { + "shortName": "DeleteControl", + "fullName": "google.cloud.discoveryengine.v1alpha.ControlService.DeleteControl", + "service": { + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1alpha.ControlService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_ControlService_UpdateControl_async", + "title": "AclConfigService updateControl Sample", + "origin": "API_DEFINITION", + "description": " Updates a Control. [Control][google.cloud.discoveryengine.v1alpha.Control] action type cannot be changed. If the [Control][google.cloud.discoveryengine.v1alpha.Control] to update does not exist, a NOT_FOUND error is returned.", + "canonical": true, + "file": "control_service.update_control.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_ControlService_UpdateControl_async", - "title": "AclConfigService updateControl Sample", - "origin": "API_DEFINITION", - "description": " Updates a Control. [Control][google.cloud.discoveryengine.v1alpha.Control] action type cannot be changed. If the [Control][google.cloud.discoveryengine.v1alpha.Control] to update does not exist, a NOT_FOUND error is returned.", - "canonical": true, - "file": "control_service.update_control.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 62, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateControl", - "fullName": "google.cloud.discoveryengine.v1alpha.ControlService.UpdateControl", - "async": true, - "parameters": [ - { - "name": "control", - "type": ".google.cloud.discoveryengine.v1alpha.Control" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.Control", - "client": { - "shortName": "ControlServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ControlServiceClient" - }, - "method": { - "shortName": "UpdateControl", - "fullName": "google.cloud.discoveryengine.v1alpha.ControlService.UpdateControl", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1alpha.ControlService" - } - } - } + "start": 25, + "end": 62, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateControl", + "fullName": "google.cloud.discoveryengine.v1alpha.ControlService.UpdateControl", + "async": true, + "parameters": [ + { + "name": "control", + "type": ".google.cloud.discoveryengine.v1alpha.Control" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.Control", + "client": { + "shortName": "ControlServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.ControlServiceClient" }, + "method": { + "shortName": "UpdateControl", + "fullName": "google.cloud.discoveryengine.v1alpha.ControlService.UpdateControl", + "service": { + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1alpha.ControlService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_ControlService_GetControl_async", + "title": "AclConfigService getControl Sample", + "origin": "API_DEFINITION", + "description": " Gets a Control.", + "canonical": true, + "file": "control_service.get_control.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_ControlService_GetControl_async", - "title": "AclConfigService getControl Sample", - "origin": "API_DEFINITION", - "description": " Gets a Control.", - "canonical": true, - "file": "control_service.get_control.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetControl", - "fullName": "google.cloud.discoveryengine.v1alpha.ControlService.GetControl", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.Control", - "client": { - "shortName": "ControlServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ControlServiceClient" - }, - "method": { - "shortName": "GetControl", - "fullName": "google.cloud.discoveryengine.v1alpha.ControlService.GetControl", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1alpha.ControlService" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetControl", + "fullName": "google.cloud.discoveryengine.v1alpha.ControlService.GetControl", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.Control", + "client": { + "shortName": "ControlServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.ControlServiceClient" }, + "method": { + "shortName": "GetControl", + "fullName": "google.cloud.discoveryengine.v1alpha.ControlService.GetControl", + "service": { + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1alpha.ControlService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_ControlService_ListControls_async", + "title": "AclConfigService listControls Sample", + "origin": "API_DEFINITION", + "description": " Lists all Controls by their parent [DataStore][google.cloud.discoveryengine.v1alpha.DataStore].", + "canonical": true, + "file": "control_service.list_controls.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_ControlService_ListControls_async", - "title": "AclConfigService listControls Sample", - "origin": "API_DEFINITION", - "description": " Lists all Controls by their parent [DataStore][google.cloud.discoveryengine.v1alpha.DataStore].", - "canonical": true, - "file": "control_service.list_controls.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 75, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListControls", - "fullName": "google.cloud.discoveryengine.v1alpha.ControlService.ListControls", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.ListControlsResponse", - "client": { - "shortName": "ControlServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ControlServiceClient" - }, - "method": { - "shortName": "ListControls", - "fullName": "google.cloud.discoveryengine.v1alpha.ControlService.ListControls", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1alpha.ControlService" - } - } - } + "start": 25, + "end": 75, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListControls", + "fullName": "google.cloud.discoveryengine.v1alpha.ControlService.ListControls", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.ListControlsResponse", + "client": { + "shortName": "ControlServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.ControlServiceClient" }, + "method": { + "shortName": "ListControls", + "fullName": "google.cloud.discoveryengine.v1alpha.ControlService.ListControls", + "service": { + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1alpha.ControlService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_ConverseConversation_async", + "title": "AclConfigService converseConversation Sample", + "origin": "API_DEFINITION", + "description": " Converses a conversation.", + "canonical": true, + "file": "conversational_search_service.converse_conversation.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_ConverseConversation_async", - "title": "AclConfigService converseConversation Sample", - "origin": "API_DEFINITION", - "description": " Converses a conversation.", - "canonical": true, - "file": "conversational_search_service.converse_conversation.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 123, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ConverseConversation", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.ConverseConversation", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "query", - "type": ".google.cloud.discoveryengine.v1alpha.TextInput" - }, - { - "name": "serving_config", - "type": "TYPE_STRING" - }, - { - "name": "conversation", - "type": ".google.cloud.discoveryengine.v1alpha.Conversation" - }, - { - "name": "safe_search", - "type": "TYPE_BOOL" - }, - { - "name": "user_labels", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "summary_spec", - "type": ".google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.SummarySpec" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "boost_spec", - "type": ".google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.ConverseConversationResponse", - "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchServiceClient" - }, - "method": { - "shortName": "ConverseConversation", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.ConverseConversation", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService" - } - } - } + "start": 25, + "end": 123, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ConverseConversation", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.ConverseConversation", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "query", + "type": ".google.cloud.discoveryengine.v1alpha.TextInput" + }, + { + "name": "serving_config", + "type": "TYPE_STRING" + }, + { + "name": "conversation", + "type": ".google.cloud.discoveryengine.v1alpha.Conversation" + }, + { + "name": "safe_search", + "type": "TYPE_BOOL" + }, + { + "name": "user_labels", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "summary_spec", + "type": ".google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.SummarySpec" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "boost_spec", + "type": ".google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.ConverseConversationResponse", + "client": { + "shortName": "ConversationalSearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchServiceClient" }, + "method": { + "shortName": "ConverseConversation", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.ConverseConversation", + "service": { + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_CreateConversation_async", + "title": "AclConfigService createConversation Sample", + "origin": "API_DEFINITION", + "description": " Creates a Conversation. If the [Conversation][google.cloud.discoveryengine.v1alpha.Conversation] to create already exists, an ALREADY_EXISTS error is returned.", + "canonical": true, + "file": "conversational_search_service.create_conversation.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_CreateConversation_async", - "title": "AclConfigService createConversation Sample", - "origin": "API_DEFINITION", - "description": " Creates a Conversation. If the [Conversation][google.cloud.discoveryengine.v1alpha.Conversation] to create already exists, an ALREADY_EXISTS error is returned.", - "canonical": true, - "file": "conversational_search_service.create_conversation.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateConversation", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.CreateConversation", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "conversation", - "type": ".google.cloud.discoveryengine.v1alpha.Conversation" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.Conversation", - "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchServiceClient" - }, - "method": { - "shortName": "CreateConversation", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.CreateConversation", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateConversation", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.CreateConversation", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "conversation", + "type": ".google.cloud.discoveryengine.v1alpha.Conversation" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.Conversation", + "client": { + "shortName": "ConversationalSearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchServiceClient" }, + "method": { + "shortName": "CreateConversation", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.CreateConversation", + "service": { + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_DeleteConversation_async", + "title": "AclConfigService deleteConversation Sample", + "origin": "API_DEFINITION", + "description": " Deletes a Conversation. If the [Conversation][google.cloud.discoveryengine.v1alpha.Conversation] to delete does not exist, a NOT_FOUND error is returned.", + "canonical": true, + "file": "conversational_search_service.delete_conversation.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_DeleteConversation_async", - "title": "AclConfigService deleteConversation Sample", - "origin": "API_DEFINITION", - "description": " Deletes a Conversation. If the [Conversation][google.cloud.discoveryengine.v1alpha.Conversation] to delete does not exist, a NOT_FOUND error is returned.", - "canonical": true, - "file": "conversational_search_service.delete_conversation.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteConversation", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.DeleteConversation", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchServiceClient" - }, - "method": { - "shortName": "DeleteConversation", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.DeleteConversation", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteConversation", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.DeleteConversation", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "ConversationalSearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchServiceClient" }, + "method": { + "shortName": "DeleteConversation", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.DeleteConversation", + "service": { + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_UpdateConversation_async", + "title": "AclConfigService updateConversation Sample", + "origin": "API_DEFINITION", + "description": " Updates a Conversation. [Conversation][google.cloud.discoveryengine.v1alpha.Conversation] action type cannot be changed. If the [Conversation][google.cloud.discoveryengine.v1alpha.Conversation] to update does not exist, a NOT_FOUND error is returned.", + "canonical": true, + "file": "conversational_search_service.update_conversation.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_UpdateConversation_async", - "title": "AclConfigService updateConversation Sample", - "origin": "API_DEFINITION", - "description": " Updates a Conversation. [Conversation][google.cloud.discoveryengine.v1alpha.Conversation] action type cannot be changed. If the [Conversation][google.cloud.discoveryengine.v1alpha.Conversation] to update does not exist, a NOT_FOUND error is returned.", - "canonical": true, - "file": "conversational_search_service.update_conversation.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateConversation", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.UpdateConversation", - "async": true, - "parameters": [ - { - "name": "conversation", - "type": ".google.cloud.discoveryengine.v1alpha.Conversation" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.Conversation", - "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchServiceClient" - }, - "method": { - "shortName": "UpdateConversation", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.UpdateConversation", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService" - } - } - } + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateConversation", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.UpdateConversation", + "async": true, + "parameters": [ + { + "name": "conversation", + "type": ".google.cloud.discoveryengine.v1alpha.Conversation" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.Conversation", + "client": { + "shortName": "ConversationalSearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchServiceClient" }, + "method": { + "shortName": "UpdateConversation", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.UpdateConversation", + "service": { + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_GetConversation_async", + "title": "AclConfigService getConversation Sample", + "origin": "API_DEFINITION", + "description": " Gets a Conversation.", + "canonical": true, + "file": "conversational_search_service.get_conversation.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_GetConversation_async", - "title": "AclConfigService getConversation Sample", - "origin": "API_DEFINITION", - "description": " Gets a Conversation.", - "canonical": true, - "file": "conversational_search_service.get_conversation.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetConversation", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.GetConversation", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.Conversation", - "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchServiceClient" - }, - "method": { - "shortName": "GetConversation", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.GetConversation", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetConversation", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.GetConversation", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.Conversation", + "client": { + "shortName": "ConversationalSearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchServiceClient" }, + "method": { + "shortName": "GetConversation", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.GetConversation", + "service": { + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_ListConversations_async", + "title": "AclConfigService listConversations Sample", + "origin": "API_DEFINITION", + "description": " Lists all Conversations by their parent [DataStore][google.cloud.discoveryengine.v1alpha.DataStore].", + "canonical": true, + "file": "conversational_search_service.list_conversations.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_ListConversations_async", - "title": "AclConfigService listConversations Sample", - "origin": "API_DEFINITION", - "description": " Lists all Conversations by their parent [DataStore][google.cloud.discoveryengine.v1alpha.DataStore].", - "canonical": true, - "file": "conversational_search_service.list_conversations.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 85, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListConversations", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.ListConversations", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.ListConversationsResponse", - "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchServiceClient" - }, - "method": { - "shortName": "ListConversations", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.ListConversations", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService" - } - } - } + "start": 25, + "end": 85, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListConversations", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.ListConversations", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.ListConversationsResponse", + "client": { + "shortName": "ConversationalSearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchServiceClient" }, + "method": { + "shortName": "ListConversations", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.ListConversations", + "service": { + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_AnswerQuery_async", + "title": "AclConfigService answerQuery Sample", + "origin": "API_DEFINITION", + "description": " Answer query method.", + "canonical": true, + "file": "conversational_search_service.answer_query.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_AnswerQuery_async", - "title": "AclConfigService answerQuery Sample", - "origin": "API_DEFINITION", - "description": " Answer query method.", - "canonical": true, - "file": "conversational_search_service.answer_query.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 129, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "AnswerQuery", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.AnswerQuery", - "async": true, - "parameters": [ - { - "name": "serving_config", - "type": "TYPE_STRING" - }, - { - "name": "query", - "type": ".google.cloud.discoveryengine.v1alpha.Query" - }, - { - "name": "session", - "type": "TYPE_STRING" - }, - { - "name": "safety_spec", - "type": ".google.cloud.discoveryengine.v1alpha.AnswerQueryRequest.SafetySpec" - }, - { - "name": "related_questions_spec", - "type": ".google.cloud.discoveryengine.v1alpha.AnswerQueryRequest.RelatedQuestionsSpec" - }, - { - "name": "answer_generation_spec", - "type": ".google.cloud.discoveryengine.v1alpha.AnswerQueryRequest.AnswerGenerationSpec" - }, - { - "name": "search_spec", - "type": ".google.cloud.discoveryengine.v1alpha.AnswerQueryRequest.SearchSpec" - }, - { - "name": "query_understanding_spec", - "type": ".google.cloud.discoveryengine.v1alpha.AnswerQueryRequest.QueryUnderstandingSpec" - }, - { - "name": "asynchronous_mode", - "type": "TYPE_BOOL" - }, - { - "name": "user_pseudo_id", - "type": "TYPE_STRING" - }, - { - "name": "user_labels", - "type": "TYPE_MESSAGE[]" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.AnswerQueryResponse", - "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchServiceClient" - }, - "method": { - "shortName": "AnswerQuery", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.AnswerQuery", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService" - } - } - } + "start": 25, + "end": 129, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "AnswerQuery", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.AnswerQuery", + "async": true, + "parameters": [ + { + "name": "serving_config", + "type": "TYPE_STRING" + }, + { + "name": "query", + "type": ".google.cloud.discoveryengine.v1alpha.Query" + }, + { + "name": "session", + "type": "TYPE_STRING" + }, + { + "name": "safety_spec", + "type": ".google.cloud.discoveryengine.v1alpha.AnswerQueryRequest.SafetySpec" + }, + { + "name": "related_questions_spec", + "type": ".google.cloud.discoveryengine.v1alpha.AnswerQueryRequest.RelatedQuestionsSpec" + }, + { + "name": "answer_generation_spec", + "type": ".google.cloud.discoveryengine.v1alpha.AnswerQueryRequest.AnswerGenerationSpec" + }, + { + "name": "search_spec", + "type": ".google.cloud.discoveryengine.v1alpha.AnswerQueryRequest.SearchSpec" + }, + { + "name": "query_understanding_spec", + "type": ".google.cloud.discoveryengine.v1alpha.AnswerQueryRequest.QueryUnderstandingSpec" + }, + { + "name": "asynchronous_mode", + "type": "TYPE_BOOL" + }, + { + "name": "user_pseudo_id", + "type": "TYPE_STRING" + }, + { + "name": "user_labels", + "type": "TYPE_MESSAGE[]" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.AnswerQueryResponse", + "client": { + "shortName": "ConversationalSearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchServiceClient" }, + "method": { + "shortName": "AnswerQuery", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.AnswerQuery", + "service": { + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_GetAnswer_async", + "title": "AclConfigService getAnswer Sample", + "origin": "API_DEFINITION", + "description": " Gets a Answer.", + "canonical": true, + "file": "conversational_search_service.get_answer.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_GetAnswer_async", - "title": "AclConfigService getAnswer Sample", - "origin": "API_DEFINITION", - "description": " Gets a Answer.", - "canonical": true, - "file": "conversational_search_service.get_answer.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetAnswer", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.GetAnswer", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.Answer", - "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchServiceClient" - }, - "method": { - "shortName": "GetAnswer", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.GetAnswer", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetAnswer", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.GetAnswer", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.Answer", + "client": { + "shortName": "ConversationalSearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchServiceClient" }, + "method": { + "shortName": "GetAnswer", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.GetAnswer", + "service": { + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_CreateSession_async", + "title": "AclConfigService createSession Sample", + "origin": "API_DEFINITION", + "description": " Creates a Session. If the [Session][google.cloud.discoveryengine.v1alpha.Session] to create already exists, an ALREADY_EXISTS error is returned.", + "canonical": true, + "file": "conversational_search_service.create_session.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_CreateSession_async", - "title": "AclConfigService createSession Sample", - "origin": "API_DEFINITION", - "description": " Creates a Session. If the [Session][google.cloud.discoveryengine.v1alpha.Session] to create already exists, an ALREADY_EXISTS error is returned.", - "canonical": true, - "file": "conversational_search_service.create_session.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateSession", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.CreateSession", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "session", - "type": ".google.cloud.discoveryengine.v1alpha.Session" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.Session", - "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchServiceClient" - }, - "method": { - "shortName": "CreateSession", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.CreateSession", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateSession", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.CreateSession", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "session", + "type": ".google.cloud.discoveryengine.v1alpha.Session" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.Session", + "client": { + "shortName": "ConversationalSearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchServiceClient" }, + "method": { + "shortName": "CreateSession", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.CreateSession", + "service": { + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_DeleteSession_async", + "title": "AclConfigService deleteSession Sample", + "origin": "API_DEFINITION", + "description": " Deletes a Session. If the [Session][google.cloud.discoveryengine.v1alpha.Session] to delete does not exist, a NOT_FOUND error is returned.", + "canonical": true, + "file": "conversational_search_service.delete_session.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_DeleteSession_async", - "title": "AclConfigService deleteSession Sample", - "origin": "API_DEFINITION", - "description": " Deletes a Session. If the [Session][google.cloud.discoveryengine.v1alpha.Session] to delete does not exist, a NOT_FOUND error is returned.", - "canonical": true, - "file": "conversational_search_service.delete_session.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteSession", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.DeleteSession", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchServiceClient" - }, - "method": { - "shortName": "DeleteSession", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.DeleteSession", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteSession", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.DeleteSession", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "ConversationalSearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchServiceClient" }, + "method": { + "shortName": "DeleteSession", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.DeleteSession", + "service": { + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_UpdateSession_async", + "title": "AclConfigService updateSession Sample", + "origin": "API_DEFINITION", + "description": " Updates a Session. [Session][google.cloud.discoveryengine.v1alpha.Session] action type cannot be changed. If the [Session][google.cloud.discoveryengine.v1alpha.Session] to update does not exist, a NOT_FOUND error is returned.", + "canonical": true, + "file": "conversational_search_service.update_session.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_UpdateSession_async", - "title": "AclConfigService updateSession Sample", - "origin": "API_DEFINITION", - "description": " Updates a Session. [Session][google.cloud.discoveryengine.v1alpha.Session] action type cannot be changed. If the [Session][google.cloud.discoveryengine.v1alpha.Session] to update does not exist, a NOT_FOUND error is returned.", - "canonical": true, - "file": "conversational_search_service.update_session.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateSession", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.UpdateSession", - "async": true, - "parameters": [ - { - "name": "session", - "type": ".google.cloud.discoveryengine.v1alpha.Session" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.Session", - "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchServiceClient" - }, - "method": { - "shortName": "UpdateSession", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.UpdateSession", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService" - } - } - } + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateSession", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.UpdateSession", + "async": true, + "parameters": [ + { + "name": "session", + "type": ".google.cloud.discoveryengine.v1alpha.Session" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.Session", + "client": { + "shortName": "ConversationalSearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchServiceClient" }, + "method": { + "shortName": "UpdateSession", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.UpdateSession", + "service": { + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_GetSession_async", + "title": "AclConfigService getSession Sample", + "origin": "API_DEFINITION", + "description": " Gets a Session.", + "canonical": true, + "file": "conversational_search_service.get_session.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_GetSession_async", - "title": "AclConfigService getSession Sample", - "origin": "API_DEFINITION", - "description": " Gets a Session.", - "canonical": true, - "file": "conversational_search_service.get_session.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetSession", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.GetSession", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "include_answer_details", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.Session", - "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchServiceClient" - }, - "method": { - "shortName": "GetSession", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.GetSession", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetSession", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.GetSession", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "include_answer_details", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.Session", + "client": { + "shortName": "ConversationalSearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchServiceClient" }, + "method": { + "shortName": "GetSession", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.GetSession", + "service": { + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_ListSessions_async", + "title": "AclConfigService listSessions Sample", + "origin": "API_DEFINITION", + "description": " Lists all Sessions by their parent [DataStore][google.cloud.discoveryengine.v1alpha.DataStore].", + "canonical": true, + "file": "conversational_search_service.list_sessions.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_ConversationalSearchService_ListSessions_async", - "title": "AclConfigService listSessions Sample", - "origin": "API_DEFINITION", - "description": " Lists all Sessions by their parent [DataStore][google.cloud.discoveryengine.v1alpha.DataStore].", - "canonical": true, - "file": "conversational_search_service.list_sessions.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 100, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListSessions", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.ListSessions", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.ListSessionsResponse", - "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchServiceClient" - }, - "method": { - "shortName": "ListSessions", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.ListSessions", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService" - } - } - } + "start": 25, + "end": 100, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListSessions", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.ListSessions", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.ListSessionsResponse", + "client": { + "shortName": "ConversationalSearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchServiceClient" }, + "method": { + "shortName": "ListSessions", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.ListSessions", + "service": { + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_DataStoreService_CreateDataStore_async", + "title": "AclConfigService createDataStore Sample", + "origin": "API_DEFINITION", + "description": " Creates a [DataStore][google.cloud.discoveryengine.v1alpha.DataStore]. DataStore is for storing [Documents][google.cloud.discoveryengine.v1alpha.Document]. To serve these documents for Search, or Recommendation use case, an [Engine][google.cloud.discoveryengine.v1alpha.Engine] needs to be created separately.", + "canonical": true, + "file": "data_store_service.create_data_store.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_DataStoreService_CreateDataStore_async", - "title": "AclConfigService createDataStore Sample", - "origin": "API_DEFINITION", - "description": " Creates a [DataStore][google.cloud.discoveryengine.v1alpha.DataStore]. DataStore is for storing [Documents][google.cloud.discoveryengine.v1alpha.Document]. To serve these documents for Search, or Recommendation use case, an [Engine][google.cloud.discoveryengine.v1alpha.Engine] needs to be created separately.", - "canonical": true, - "file": "data_store_service.create_data_store.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 90, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateDataStore", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.CreateDataStore", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "data_store", - "type": ".google.cloud.discoveryengine.v1alpha.DataStore" - }, - { - "name": "data_store_id", - "type": "TYPE_STRING" - }, - { - "name": "create_advanced_site_search", - "type": "TYPE_BOOL" - }, - { - "name": "skip_default_schema_creation", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DataStoreServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreServiceClient" - }, - "method": { - "shortName": "CreateDataStore", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.CreateDataStore", - "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService" - } - } - } + "start": 25, + "end": 90, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateDataStore", + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.CreateDataStore", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "data_store", + "type": ".google.cloud.discoveryengine.v1alpha.DataStore" + }, + { + "name": "data_store_id", + "type": "TYPE_STRING" + }, + { + "name": "create_advanced_site_search", + "type": "TYPE_BOOL" + }, + { + "name": "skip_default_schema_creation", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DataStoreServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreServiceClient" }, + "method": { + "shortName": "CreateDataStore", + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.CreateDataStore", + "service": { + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_DataStoreService_GetDataStore_async", + "title": "AclConfigService getDataStore Sample", + "origin": "API_DEFINITION", + "description": " Gets a [DataStore][google.cloud.discoveryengine.v1alpha.DataStore].", + "canonical": true, + "file": "data_store_service.get_data_store.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_DataStoreService_GetDataStore_async", - "title": "AclConfigService getDataStore Sample", - "origin": "API_DEFINITION", - "description": " Gets a [DataStore][google.cloud.discoveryengine.v1alpha.DataStore].", - "canonical": true, - "file": "data_store_service.get_data_store.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetDataStore", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.GetDataStore", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.DataStore", - "client": { - "shortName": "DataStoreServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreServiceClient" - }, - "method": { - "shortName": "GetDataStore", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.GetDataStore", - "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService" - } - } - } + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetDataStore", + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.GetDataStore", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.DataStore", + "client": { + "shortName": "DataStoreServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreServiceClient" }, + "method": { + "shortName": "GetDataStore", + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.GetDataStore", + "service": { + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_DataStoreService_ListDataStores_async", + "title": "AclConfigService listDataStores Sample", + "origin": "API_DEFINITION", + "description": " Lists all the [DataStore][google.cloud.discoveryengine.v1alpha.DataStore]s associated with the project.", + "canonical": true, + "file": "data_store_service.list_data_stores.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_DataStoreService_ListDataStores_async", - "title": "AclConfigService listDataStores Sample", - "origin": "API_DEFINITION", - "description": " Lists all the [DataStore][google.cloud.discoveryengine.v1alpha.DataStore]s associated with the project.", - "canonical": true, - "file": "data_store_service.list_data_stores.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 85, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListDataStores", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.ListDataStores", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.ListDataStoresResponse", - "client": { - "shortName": "DataStoreServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreServiceClient" - }, - "method": { - "shortName": "ListDataStores", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.ListDataStores", - "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService" - } - } - } + "start": 25, + "end": 85, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListDataStores", + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.ListDataStores", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.ListDataStoresResponse", + "client": { + "shortName": "DataStoreServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreServiceClient" }, + "method": { + "shortName": "ListDataStores", + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.ListDataStores", + "service": { + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_DataStoreService_DeleteDataStore_async", + "title": "AclConfigService deleteDataStore Sample", + "origin": "API_DEFINITION", + "description": " Deletes a [DataStore][google.cloud.discoveryengine.v1alpha.DataStore].", + "canonical": true, + "file": "data_store_service.delete_data_store.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_DataStoreService_DeleteDataStore_async", - "title": "AclConfigService deleteDataStore Sample", - "origin": "API_DEFINITION", - "description": " Deletes a [DataStore][google.cloud.discoveryengine.v1alpha.DataStore].", - "canonical": true, - "file": "data_store_service.delete_data_store.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteDataStore", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.DeleteDataStore", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DataStoreServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreServiceClient" - }, - "method": { - "shortName": "DeleteDataStore", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.DeleteDataStore", - "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService" - } - } - } + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteDataStore", + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.DeleteDataStore", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DataStoreServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreServiceClient" }, + "method": { + "shortName": "DeleteDataStore", + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.DeleteDataStore", + "service": { + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_DataStoreService_UpdateDataStore_async", + "title": "AclConfigService updateDataStore Sample", + "origin": "API_DEFINITION", + "description": " Updates a [DataStore][google.cloud.discoveryengine.v1alpha.DataStore]", + "canonical": true, + "file": "data_store_service.update_data_store.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_DataStoreService_UpdateDataStore_async", - "title": "AclConfigService updateDataStore Sample", - "origin": "API_DEFINITION", - "description": " Updates a [DataStore][google.cloud.discoveryengine.v1alpha.DataStore]", - "canonical": true, - "file": "data_store_service.update_data_store.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 66, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateDataStore", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.UpdateDataStore", - "async": true, - "parameters": [ - { - "name": "data_store", - "type": ".google.cloud.discoveryengine.v1alpha.DataStore" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.DataStore", - "client": { - "shortName": "DataStoreServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreServiceClient" - }, - "method": { - "shortName": "UpdateDataStore", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.UpdateDataStore", - "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService" - } - } - } + "start": 25, + "end": 66, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateDataStore", + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.UpdateDataStore", + "async": true, + "parameters": [ + { + "name": "data_store", + "type": ".google.cloud.discoveryengine.v1alpha.DataStore" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.DataStore", + "client": { + "shortName": "DataStoreServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreServiceClient" }, + "method": { + "shortName": "UpdateDataStore", + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.UpdateDataStore", + "service": { + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_DataStoreService_GetDocumentProcessingConfig_async", + "title": "AclConfigService getDocumentProcessingConfig Sample", + "origin": "API_DEFINITION", + "description": " Gets a [DocumentProcessingConfig][google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig].", + "canonical": true, + "file": "data_store_service.get_document_processing_config.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_DataStoreService_GetDocumentProcessingConfig_async", - "title": "AclConfigService getDocumentProcessingConfig Sample", - "origin": "API_DEFINITION", - "description": " Gets a [DocumentProcessingConfig][google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig].", - "canonical": true, - "file": "data_store_service.get_document_processing_config.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetDocumentProcessingConfig", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.GetDocumentProcessingConfig", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig", - "client": { - "shortName": "DataStoreServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreServiceClient" - }, - "method": { - "shortName": "GetDocumentProcessingConfig", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.GetDocumentProcessingConfig", - "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetDocumentProcessingConfig", + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.GetDocumentProcessingConfig", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig", + "client": { + "shortName": "DataStoreServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreServiceClient" }, + "method": { + "shortName": "GetDocumentProcessingConfig", + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.GetDocumentProcessingConfig", + "service": { + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_DataStoreService_UpdateDocumentProcessingConfig_async", + "title": "AclConfigService updateDocumentProcessingConfig Sample", + "origin": "API_DEFINITION", + "description": " Updates the [DocumentProcessingConfig][google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig]. [DocumentProcessingConfig][google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig] is a singleon resource of [DataStore][google.cloud.discoveryengine.v1alpha.DataStore]. It's empty when [DataStore][google.cloud.discoveryengine.v1alpha.DataStore] is created. The first call to this method will set up [DocumentProcessingConfig][google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig].", + "canonical": true, + "file": "data_store_service.update_document_processing_config.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_DataStoreService_UpdateDocumentProcessingConfig_async", - "title": "AclConfigService updateDocumentProcessingConfig Sample", - "origin": "API_DEFINITION", - "description": " Updates the [DocumentProcessingConfig][google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig]. [DocumentProcessingConfig][google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig] is a singleon resource of [DataStore][google.cloud.discoveryengine.v1alpha.DataStore]. It's empty when [DataStore][google.cloud.discoveryengine.v1alpha.DataStore] is created. The first call to this method will set up [DocumentProcessingConfig][google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig].", - "canonical": true, - "file": "data_store_service.update_document_processing_config.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 69, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateDocumentProcessingConfig", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.UpdateDocumentProcessingConfig", - "async": true, - "parameters": [ - { - "name": "document_processing_config", - "type": ".google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig", - "client": { - "shortName": "DataStoreServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreServiceClient" - }, - "method": { - "shortName": "UpdateDocumentProcessingConfig", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.UpdateDocumentProcessingConfig", - "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService" - } - } - } + "start": 25, + "end": 69, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateDocumentProcessingConfig", + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.UpdateDocumentProcessingConfig", + "async": true, + "parameters": [ + { + "name": "document_processing_config", + "type": ".google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.DocumentProcessingConfig", + "client": { + "shortName": "DataStoreServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreServiceClient" }, + "method": { + "shortName": "UpdateDocumentProcessingConfig", + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.UpdateDocumentProcessingConfig", + "service": { + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_DocumentService_GetDocument_async", + "title": "AclConfigService getDocument Sample", + "origin": "API_DEFINITION", + "description": " Gets a [Document][google.cloud.discoveryengine.v1alpha.Document].", + "canonical": true, + "file": "document_service.get_document.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_DocumentService_GetDocument_async", - "title": "AclConfigService getDocument Sample", - "origin": "API_DEFINITION", - "description": " Gets a [Document][google.cloud.discoveryengine.v1alpha.Document].", - "canonical": true, - "file": "document_service.get_document.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 60, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetDocument", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.GetDocument", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.Document", - "client": { - "shortName": "DocumentServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentServiceClient" - }, - "method": { - "shortName": "GetDocument", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.GetDocument", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService" - } - } - } + "start": 25, + "end": 60, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetDocument", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.GetDocument", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.Document", + "client": { + "shortName": "DocumentServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentServiceClient" }, + "method": { + "shortName": "GetDocument", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.GetDocument", + "service": { + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_DocumentService_ListDocuments_async", + "title": "AclConfigService listDocuments Sample", + "origin": "API_DEFINITION", + "description": " Gets a list of [Document][google.cloud.discoveryengine.v1alpha.Document]s.", + "canonical": true, + "file": "document_service.list_documents.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_DocumentService_ListDocuments_async", - "title": "AclConfigService listDocuments Sample", - "origin": "API_DEFINITION", - "description": " Gets a list of [Document][google.cloud.discoveryengine.v1alpha.Document]s.", - "canonical": true, - "file": "document_service.list_documents.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 82, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListDocuments", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.ListDocuments", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.ListDocumentsResponse", - "client": { - "shortName": "DocumentServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentServiceClient" - }, - "method": { - "shortName": "ListDocuments", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.ListDocuments", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService" - } - } - } + "start": 25, + "end": 82, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListDocuments", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.ListDocuments", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.ListDocumentsResponse", + "client": { + "shortName": "DocumentServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentServiceClient" }, + "method": { + "shortName": "ListDocuments", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.ListDocuments", + "service": { + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_DocumentService_CreateDocument_async", + "title": "AclConfigService createDocument Sample", + "origin": "API_DEFINITION", + "description": " Creates a [Document][google.cloud.discoveryengine.v1alpha.Document].", + "canonical": true, + "file": "document_service.create_document.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_DocumentService_CreateDocument_async", - "title": "AclConfigService createDocument Sample", - "origin": "API_DEFINITION", - "description": " Creates a [Document][google.cloud.discoveryengine.v1alpha.Document].", - "canonical": true, - "file": "document_service.create_document.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 78, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateDocument", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.CreateDocument", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "document", - "type": ".google.cloud.discoveryengine.v1alpha.Document" - }, - { - "name": "document_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.Document", - "client": { - "shortName": "DocumentServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentServiceClient" - }, - "method": { - "shortName": "CreateDocument", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.CreateDocument", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService" - } - } - } + "start": 25, + "end": 78, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateDocument", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.CreateDocument", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "document", + "type": ".google.cloud.discoveryengine.v1alpha.Document" + }, + { + "name": "document_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.Document", + "client": { + "shortName": "DocumentServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentServiceClient" }, + "method": { + "shortName": "CreateDocument", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.CreateDocument", + "service": { + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_DocumentService_UpdateDocument_async", + "title": "AclConfigService updateDocument Sample", + "origin": "API_DEFINITION", + "description": " Updates a [Document][google.cloud.discoveryengine.v1alpha.Document].", + "canonical": true, + "file": "document_service.update_document.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_DocumentService_UpdateDocument_async", - "title": "AclConfigService updateDocument Sample", - "origin": "API_DEFINITION", - "description": " Updates a [Document][google.cloud.discoveryengine.v1alpha.Document].", - "canonical": true, - "file": "document_service.update_document.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 72, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateDocument", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.UpdateDocument", - "async": true, - "parameters": [ - { - "name": "document", - "type": ".google.cloud.discoveryengine.v1alpha.Document" - }, - { - "name": "allow_missing", - "type": "TYPE_BOOL" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.Document", - "client": { - "shortName": "DocumentServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentServiceClient" - }, - "method": { - "shortName": "UpdateDocument", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.UpdateDocument", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService" - } - } - } + "start": 25, + "end": 72, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateDocument", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.UpdateDocument", + "async": true, + "parameters": [ + { + "name": "document", + "type": ".google.cloud.discoveryengine.v1alpha.Document" + }, + { + "name": "allow_missing", + "type": "TYPE_BOOL" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.Document", + "client": { + "shortName": "DocumentServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentServiceClient" }, + "method": { + "shortName": "UpdateDocument", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.UpdateDocument", + "service": { + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_DocumentService_DeleteDocument_async", + "title": "AclConfigService deleteDocument Sample", + "origin": "API_DEFINITION", + "description": " Deletes a [Document][google.cloud.discoveryengine.v1alpha.Document].", + "canonical": true, + "file": "document_service.delete_document.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_DocumentService_DeleteDocument_async", - "title": "AclConfigService deleteDocument Sample", - "origin": "API_DEFINITION", - "description": " Deletes a [Document][google.cloud.discoveryengine.v1alpha.Document].", - "canonical": true, - "file": "document_service.delete_document.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 60, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteDocument", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.DeleteDocument", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "DocumentServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentServiceClient" - }, - "method": { - "shortName": "DeleteDocument", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.DeleteDocument", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService" - } - } - } + "start": 25, + "end": 60, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteDocument", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.DeleteDocument", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "DocumentServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentServiceClient" }, + "method": { + "shortName": "DeleteDocument", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.DeleteDocument", + "service": { + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_DocumentService_ImportDocuments_async", + "title": "AclConfigService importDocuments Sample", + "origin": "API_DEFINITION", + "description": " Bulk import of multiple [Document][google.cloud.discoveryengine.v1alpha.Document]s. Request processing may be synchronous. Non-existing items are created. Note: It is possible for a subset of the [Document][google.cloud.discoveryengine.v1alpha.Document]s to be successfully updated.", + "canonical": true, + "file": "document_service.import_documents.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_DocumentService_ImportDocuments_async", - "title": "AclConfigService importDocuments Sample", - "origin": "API_DEFINITION", - "description": " Bulk import of multiple [Document][google.cloud.discoveryengine.v1alpha.Document]s. Request processing may be synchronous. Non-existing items are created. Note: It is possible for a subset of the [Document][google.cloud.discoveryengine.v1alpha.Document]s to be successfully updated.", - "canonical": true, - "file": "document_service.import_documents.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 163, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ImportDocuments", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.ImportDocuments", - "async": true, - "parameters": [ - { - "name": "inline_source", - "type": ".google.cloud.discoveryengine.v1alpha.ImportDocumentsRequest.InlineSource" - }, - { - "name": "gcs_source", - "type": ".google.cloud.discoveryengine.v1alpha.GcsSource" - }, - { - "name": "bigquery_source", - "type": ".google.cloud.discoveryengine.v1alpha.BigQuerySource" - }, - { - "name": "fhir_store_source", - "type": ".google.cloud.discoveryengine.v1alpha.FhirStoreSource" - }, - { - "name": "spanner_source", - "type": ".google.cloud.discoveryengine.v1alpha.SpannerSource" - }, - { - "name": "cloud_sql_source", - "type": ".google.cloud.discoveryengine.v1alpha.CloudSqlSource" - }, - { - "name": "firestore_source", - "type": ".google.cloud.discoveryengine.v1alpha.FirestoreSource" - }, - { - "name": "alloy_db_source", - "type": ".google.cloud.discoveryengine.v1alpha.AlloyDbSource" - }, - { - "name": "bigtable_source", - "type": ".google.cloud.discoveryengine.v1alpha.BigtableSource" - }, - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "error_config", - "type": ".google.cloud.discoveryengine.v1alpha.ImportErrorConfig" - }, - { - "name": "reconciliation_mode", - "type": ".google.cloud.discoveryengine.v1alpha.ImportDocumentsRequest.ReconciliationMode" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - }, - { - "name": "auto_generate_ids", - "type": "TYPE_BOOL" - }, - { - "name": "id_field", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DocumentServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentServiceClient" - }, - "method": { - "shortName": "ImportDocuments", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.ImportDocuments", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService" - } - } - } + "start": 25, + "end": 163, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ImportDocuments", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.ImportDocuments", + "async": true, + "parameters": [ + { + "name": "inline_source", + "type": ".google.cloud.discoveryengine.v1alpha.ImportDocumentsRequest.InlineSource" + }, + { + "name": "gcs_source", + "type": ".google.cloud.discoveryengine.v1alpha.GcsSource" + }, + { + "name": "bigquery_source", + "type": ".google.cloud.discoveryengine.v1alpha.BigQuerySource" + }, + { + "name": "fhir_store_source", + "type": ".google.cloud.discoveryengine.v1alpha.FhirStoreSource" + }, + { + "name": "spanner_source", + "type": ".google.cloud.discoveryengine.v1alpha.SpannerSource" + }, + { + "name": "cloud_sql_source", + "type": ".google.cloud.discoveryengine.v1alpha.CloudSqlSource" + }, + { + "name": "firestore_source", + "type": ".google.cloud.discoveryengine.v1alpha.FirestoreSource" + }, + { + "name": "alloy_db_source", + "type": ".google.cloud.discoveryengine.v1alpha.AlloyDbSource" + }, + { + "name": "bigtable_source", + "type": ".google.cloud.discoveryengine.v1alpha.BigtableSource" + }, + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "error_config", + "type": ".google.cloud.discoveryengine.v1alpha.ImportErrorConfig" + }, + { + "name": "reconciliation_mode", + "type": ".google.cloud.discoveryengine.v1alpha.ImportDocumentsRequest.ReconciliationMode" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + }, + { + "name": "auto_generate_ids", + "type": "TYPE_BOOL" + }, + { + "name": "id_field", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DocumentServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentServiceClient" }, + "method": { + "shortName": "ImportDocuments", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.ImportDocuments", + "service": { + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_DocumentService_PurgeDocuments_async", + "title": "AclConfigService purgeDocuments Sample", + "origin": "API_DEFINITION", + "description": " Permanently deletes all selected [Document][google.cloud.discoveryengine.v1alpha.Document]s in a branch. This process is asynchronous. Depending on the number of [Document][google.cloud.discoveryengine.v1alpha.Document]s to be deleted, this operation can take hours to complete. Before the delete operation completes, some [Document][google.cloud.discoveryengine.v1alpha.Document]s might still be returned by [DocumentService.GetDocument][google.cloud.discoveryengine.v1alpha.DocumentService.GetDocument] or [DocumentService.ListDocuments][google.cloud.discoveryengine.v1alpha.DocumentService.ListDocuments]. To get a list of the [Document][google.cloud.discoveryengine.v1alpha.Document]s to be deleted, set [PurgeDocumentsRequest.force][google.cloud.discoveryengine.v1alpha.PurgeDocumentsRequest.force] to false.", + "canonical": true, + "file": "document_service.purge_documents.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_DocumentService_PurgeDocuments_async", - "title": "AclConfigService purgeDocuments Sample", - "origin": "API_DEFINITION", - "description": " Permanently deletes all selected [Document][google.cloud.discoveryengine.v1alpha.Document]s in a branch. This process is asynchronous. Depending on the number of [Document][google.cloud.discoveryengine.v1alpha.Document]s to be deleted, this operation can take hours to complete. Before the delete operation completes, some [Document][google.cloud.discoveryengine.v1alpha.Document]s might still be returned by [DocumentService.GetDocument][google.cloud.discoveryengine.v1alpha.DocumentService.GetDocument] or [DocumentService.ListDocuments][google.cloud.discoveryengine.v1alpha.DocumentService.ListDocuments]. To get a list of the [Document][google.cloud.discoveryengine.v1alpha.Document]s to be deleted, set [PurgeDocumentsRequest.force][google.cloud.discoveryengine.v1alpha.PurgeDocumentsRequest.force] to false.", - "canonical": true, - "file": "document_service.purge_documents.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 82, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "PurgeDocuments", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.PurgeDocuments", - "async": true, - "parameters": [ - { - "name": "gcs_source", - "type": ".google.cloud.discoveryengine.v1alpha.GcsSource" - }, - { - "name": "inline_source", - "type": ".google.cloud.discoveryengine.v1alpha.PurgeDocumentsRequest.InlineSource" - }, - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "error_config", - "type": ".google.cloud.discoveryengine.v1alpha.PurgeErrorConfig" - }, - { - "name": "force", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DocumentServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentServiceClient" - }, - "method": { - "shortName": "PurgeDocuments", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.PurgeDocuments", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService" - } - } - } + "start": 25, + "end": 82, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "PurgeDocuments", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.PurgeDocuments", + "async": true, + "parameters": [ + { + "name": "gcs_source", + "type": ".google.cloud.discoveryengine.v1alpha.GcsSource" + }, + { + "name": "inline_source", + "type": ".google.cloud.discoveryengine.v1alpha.PurgeDocumentsRequest.InlineSource" + }, + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "error_config", + "type": ".google.cloud.discoveryengine.v1alpha.PurgeErrorConfig" + }, + { + "name": "force", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DocumentServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentServiceClient" }, + "method": { + "shortName": "PurgeDocuments", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.PurgeDocuments", + "service": { + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_DocumentService_GetProcessedDocument_async", + "title": "AclConfigService getProcessedDocument Sample", + "origin": "API_DEFINITION", + "description": " Gets the parsed layout information for a [Document][google.cloud.discoveryengine.v1alpha.Document].", + "canonical": true, + "file": "document_service.get_processed_document.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_DocumentService_GetProcessedDocument_async", - "title": "AclConfigService getProcessedDocument Sample", - "origin": "API_DEFINITION", - "description": " Gets the parsed layout information for a [Document][google.cloud.discoveryengine.v1alpha.Document].", - "canonical": true, - "file": "document_service.get_processed_document.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 69, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetProcessedDocument", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.GetProcessedDocument", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "processed_document_type", - "type": ".google.cloud.discoveryengine.v1alpha.GetProcessedDocumentRequest.ProcessedDocumentType" - }, - { - "name": "processed_document_format", - "type": ".google.cloud.discoveryengine.v1alpha.GetProcessedDocumentRequest.ProcessedDocumentFormat" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.ProcessedDocument", - "client": { - "shortName": "DocumentServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentServiceClient" - }, - "method": { - "shortName": "GetProcessedDocument", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.GetProcessedDocument", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService" - } - } - } + "start": 25, + "end": 69, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetProcessedDocument", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.GetProcessedDocument", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "processed_document_type", + "type": ".google.cloud.discoveryengine.v1alpha.GetProcessedDocumentRequest.ProcessedDocumentType" + }, + { + "name": "processed_document_format", + "type": ".google.cloud.discoveryengine.v1alpha.GetProcessedDocumentRequest.ProcessedDocumentFormat" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.ProcessedDocument", + "client": { + "shortName": "DocumentServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentServiceClient" }, + "method": { + "shortName": "GetProcessedDocument", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.GetProcessedDocument", + "service": { + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_DocumentService_BatchGetDocumentsMetadata_async", + "title": "AclConfigService batchGetDocumentsMetadata Sample", + "origin": "API_DEFINITION", + "description": " Gets index freshness metadata for [Document][google.cloud.discoveryengine.v1alpha.Document]s. Supported for website search only.", + "canonical": true, + "file": "document_service.batch_get_documents_metadata.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_DocumentService_BatchGetDocumentsMetadata_async", - "title": "AclConfigService batchGetDocumentsMetadata Sample", - "origin": "API_DEFINITION", - "description": " Gets index freshness metadata for [Document][google.cloud.discoveryengine.v1alpha.Document]s. Supported for website search only.", - "canonical": true, - "file": "document_service.batch_get_documents_metadata.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 60, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "BatchGetDocumentsMetadata", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.BatchGetDocumentsMetadata", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "matcher", - "type": ".google.cloud.discoveryengine.v1alpha.BatchGetDocumentsMetadataRequest.Matcher" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.BatchGetDocumentsMetadataResponse", - "client": { - "shortName": "DocumentServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentServiceClient" - }, - "method": { - "shortName": "BatchGetDocumentsMetadata", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.BatchGetDocumentsMetadata", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService" - } - } - } + "start": 25, + "end": 60, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "BatchGetDocumentsMetadata", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.BatchGetDocumentsMetadata", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "matcher", + "type": ".google.cloud.discoveryengine.v1alpha.BatchGetDocumentsMetadataRequest.Matcher" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.BatchGetDocumentsMetadataResponse", + "client": { + "shortName": "DocumentServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentServiceClient" }, + "method": { + "shortName": "BatchGetDocumentsMetadata", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.BatchGetDocumentsMetadata", + "service": { + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_EngineService_CreateEngine_async", + "title": "AclConfigService createEngine Sample", + "origin": "API_DEFINITION", + "description": " Creates a [Engine][google.cloud.discoveryengine.v1alpha.Engine].", + "canonical": true, + "file": "engine_service.create_engine.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_EngineService_CreateEngine_async", - "title": "AclConfigService createEngine Sample", - "origin": "API_DEFINITION", - "description": " Creates a [Engine][google.cloud.discoveryengine.v1alpha.Engine].", - "canonical": true, - "file": "engine_service.create_engine.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 72, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateEngine", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.CreateEngine", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "engine", - "type": ".google.cloud.discoveryengine.v1alpha.Engine" - }, - { - "name": "engine_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineServiceClient" - }, - "method": { - "shortName": "CreateEngine", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.CreateEngine", - "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineService" - } - } - } + "start": 25, + "end": 72, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateEngine", + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.CreateEngine", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "engine", + "type": ".google.cloud.discoveryengine.v1alpha.Engine" + }, + { + "name": "engine_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.EngineServiceClient" }, + "method": { + "shortName": "CreateEngine", + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.CreateEngine", + "service": { + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_EngineService_DeleteEngine_async", + "title": "AclConfigService deleteEngine Sample", + "origin": "API_DEFINITION", + "description": " Deletes a [Engine][google.cloud.discoveryengine.v1alpha.Engine].", + "canonical": true, + "file": "engine_service.delete_engine.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_EngineService_DeleteEngine_async", - "title": "AclConfigService deleteEngine Sample", - "origin": "API_DEFINITION", - "description": " Deletes a [Engine][google.cloud.discoveryengine.v1alpha.Engine].", - "canonical": true, - "file": "engine_service.delete_engine.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteEngine", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.DeleteEngine", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineServiceClient" - }, - "method": { - "shortName": "DeleteEngine", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.DeleteEngine", - "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineService" - } - } - } + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteEngine", + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.DeleteEngine", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.EngineServiceClient" }, + "method": { + "shortName": "DeleteEngine", + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.DeleteEngine", + "service": { + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_EngineService_UpdateEngine_async", + "title": "AclConfigService updateEngine Sample", + "origin": "API_DEFINITION", + "description": " Updates an [Engine][google.cloud.discoveryengine.v1alpha.Engine]", + "canonical": true, + "file": "engine_service.update_engine.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_EngineService_UpdateEngine_async", - "title": "AclConfigService updateEngine Sample", - "origin": "API_DEFINITION", - "description": " Updates an [Engine][google.cloud.discoveryengine.v1alpha.Engine]", - "canonical": true, - "file": "engine_service.update_engine.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 66, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateEngine", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.UpdateEngine", - "async": true, - "parameters": [ - { - "name": "engine", - "type": ".google.cloud.discoveryengine.v1alpha.Engine" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.Engine", - "client": { - "shortName": "EngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineServiceClient" - }, - "method": { - "shortName": "UpdateEngine", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.UpdateEngine", - "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineService" - } - } - } + "start": 25, + "end": 66, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateEngine", + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.UpdateEngine", + "async": true, + "parameters": [ + { + "name": "engine", + "type": ".google.cloud.discoveryengine.v1alpha.Engine" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.Engine", + "client": { + "shortName": "EngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.EngineServiceClient" }, + "method": { + "shortName": "UpdateEngine", + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.UpdateEngine", + "service": { + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_EngineService_GetEngine_async", + "title": "AclConfigService getEngine Sample", + "origin": "API_DEFINITION", + "description": " Gets a [Engine][google.cloud.discoveryengine.v1alpha.Engine].", + "canonical": true, + "file": "engine_service.get_engine.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_EngineService_GetEngine_async", - "title": "AclConfigService getEngine Sample", - "origin": "API_DEFINITION", - "description": " Gets a [Engine][google.cloud.discoveryengine.v1alpha.Engine].", - "canonical": true, - "file": "engine_service.get_engine.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetEngine", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.GetEngine", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.Engine", - "client": { - "shortName": "EngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineServiceClient" - }, - "method": { - "shortName": "GetEngine", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.GetEngine", - "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineService" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetEngine", + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.GetEngine", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.Engine", + "client": { + "shortName": "EngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.EngineServiceClient" }, + "method": { + "shortName": "GetEngine", + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.GetEngine", + "service": { + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_EngineService_ListEngines_async", + "title": "AclConfigService listEngines Sample", + "origin": "API_DEFINITION", + "description": " Lists all the [Engine][google.cloud.discoveryengine.v1alpha.Engine]s associated with the project.", + "canonical": true, + "file": "engine_service.list_engines.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_EngineService_ListEngines_async", - "title": "AclConfigService listEngines Sample", - "origin": "API_DEFINITION", - "description": " Lists all the [Engine][google.cloud.discoveryengine.v1alpha.Engine]s associated with the project.", - "canonical": true, - "file": "engine_service.list_engines.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 69, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListEngines", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.ListEngines", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.ListEnginesResponse", - "client": { - "shortName": "EngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineServiceClient" - }, - "method": { - "shortName": "ListEngines", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.ListEngines", - "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineService" - } - } - } + "start": 25, + "end": 69, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListEngines", + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.ListEngines", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.ListEnginesResponse", + "client": { + "shortName": "EngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.EngineServiceClient" }, + "method": { + "shortName": "ListEngines", + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.ListEngines", + "service": { + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_EngineService_PauseEngine_async", + "title": "AclConfigService pauseEngine Sample", + "origin": "API_DEFINITION", + "description": " Pauses the training of an existing engine. Only applicable if [SolutionType][google.cloud.discoveryengine.v1alpha.SolutionType] is [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_RECOMMENDATION].", + "canonical": true, + "file": "engine_service.pause_engine.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_EngineService_PauseEngine_async", - "title": "AclConfigService pauseEngine Sample", - "origin": "API_DEFINITION", - "description": " Pauses the training of an existing engine. Only applicable if [SolutionType][google.cloud.discoveryengine.v1alpha.SolutionType] is [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_RECOMMENDATION].", - "canonical": true, - "file": "engine_service.pause_engine.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "PauseEngine", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.PauseEngine", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.Engine", - "client": { - "shortName": "EngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineServiceClient" - }, - "method": { - "shortName": "PauseEngine", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.PauseEngine", - "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineService" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "PauseEngine", + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.PauseEngine", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.Engine", + "client": { + "shortName": "EngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.EngineServiceClient" }, + "method": { + "shortName": "PauseEngine", + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.PauseEngine", + "service": { + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_EngineService_ResumeEngine_async", + "title": "AclConfigService resumeEngine Sample", + "origin": "API_DEFINITION", + "description": " Resumes the training of an existing engine. Only applicable if [SolutionType][google.cloud.discoveryengine.v1alpha.SolutionType] is [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_RECOMMENDATION].", + "canonical": true, + "file": "engine_service.resume_engine.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_EngineService_ResumeEngine_async", - "title": "AclConfigService resumeEngine Sample", - "origin": "API_DEFINITION", - "description": " Resumes the training of an existing engine. Only applicable if [SolutionType][google.cloud.discoveryengine.v1alpha.SolutionType] is [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_RECOMMENDATION].", - "canonical": true, - "file": "engine_service.resume_engine.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ResumeEngine", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.ResumeEngine", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.Engine", - "client": { - "shortName": "EngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineServiceClient" - }, - "method": { - "shortName": "ResumeEngine", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.ResumeEngine", - "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineService" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ResumeEngine", + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.ResumeEngine", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.Engine", + "client": { + "shortName": "EngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.EngineServiceClient" }, + "method": { + "shortName": "ResumeEngine", + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.ResumeEngine", + "service": { + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_EngineService_TuneEngine_async", + "title": "AclConfigService tuneEngine Sample", + "origin": "API_DEFINITION", + "description": " Tunes an existing engine. Only applicable if [SolutionType][google.cloud.discoveryengine.v1alpha.SolutionType] is [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_RECOMMENDATION].", + "canonical": true, + "file": "engine_service.tune_engine.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_EngineService_TuneEngine_async", - "title": "AclConfigService tuneEngine Sample", - "origin": "API_DEFINITION", - "description": " Tunes an existing engine. Only applicable if [SolutionType][google.cloud.discoveryengine.v1alpha.SolutionType] is [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_RECOMMENDATION].", - "canonical": true, - "file": "engine_service.tune_engine.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 56, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "TuneEngine", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.TuneEngine", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineServiceClient" - }, - "method": { - "shortName": "TuneEngine", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.TuneEngine", - "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.EngineService" - } - } - } + "start": 25, + "end": 56, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "TuneEngine", + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.TuneEngine", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.EngineServiceClient" }, + "method": { + "shortName": "TuneEngine", + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.TuneEngine", + "service": { + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_EstimateBillingService_EstimateDataSize_async", + "title": "AclConfigService estimateDataSize Sample", + "origin": "API_DEFINITION", + "description": " Estimates the data size to be used by a customer.", + "canonical": true, + "file": "estimate_billing_service.estimate_data_size.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_EstimateBillingService_EstimateDataSize_async", - "title": "AclConfigService estimateDataSize Sample", - "origin": "API_DEFINITION", - "description": " Estimates the data size to be used by a customer.", - "canonical": true, - "file": "estimate_billing_service.estimate_data_size.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 63, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "EstimateDataSize", - "fullName": "google.cloud.discoveryengine.v1alpha.EstimateBillingService.EstimateDataSize", - "async": true, - "parameters": [ - { - "name": "website_data_source", - "type": ".google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.WebsiteDataSource" - }, - { - "name": "file_data_source", - "type": ".google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.FileDataSource" - }, - { - "name": "location", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EstimateBillingServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.EstimateBillingServiceClient" - }, - "method": { - "shortName": "EstimateDataSize", - "fullName": "google.cloud.discoveryengine.v1alpha.EstimateBillingService.EstimateDataSize", - "service": { - "shortName": "EstimateBillingService", - "fullName": "google.cloud.discoveryengine.v1alpha.EstimateBillingService" - } - } - } + "start": 25, + "end": 63, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "EstimateDataSize", + "fullName": "google.cloud.discoveryengine.v1alpha.EstimateBillingService.EstimateDataSize", + "async": true, + "parameters": [ + { + "name": "website_data_source", + "type": ".google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.WebsiteDataSource" + }, + { + "name": "file_data_source", + "type": ".google.cloud.discoveryengine.v1alpha.EstimateDataSizeRequest.FileDataSource" + }, + { + "name": "location", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EstimateBillingServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.EstimateBillingServiceClient" }, + "method": { + "shortName": "EstimateDataSize", + "fullName": "google.cloud.discoveryengine.v1alpha.EstimateBillingService.EstimateDataSize", + "service": { + "shortName": "EstimateBillingService", + "fullName": "google.cloud.discoveryengine.v1alpha.EstimateBillingService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_EvaluationService_GetEvaluation_async", + "title": "AclConfigService getEvaluation Sample", + "origin": "API_DEFINITION", + "description": " Gets a [Evaluation][google.cloud.discoveryengine.v1alpha.Evaluation].", + "canonical": true, + "file": "evaluation_service.get_evaluation.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_EvaluationService_GetEvaluation_async", - "title": "AclConfigService getEvaluation Sample", - "origin": "API_DEFINITION", - "description": " Gets a [Evaluation][google.cloud.discoveryengine.v1alpha.Evaluation].", - "canonical": true, - "file": "evaluation_service.get_evaluation.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetEvaluation", - "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationService.GetEvaluation", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.Evaluation", - "client": { - "shortName": "EvaluationServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationServiceClient" - }, - "method": { - "shortName": "GetEvaluation", - "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationService.GetEvaluation", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationService" - } - } - } + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetEvaluation", + "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationService.GetEvaluation", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.Evaluation", + "client": { + "shortName": "EvaluationServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationServiceClient" }, + "method": { + "shortName": "GetEvaluation", + "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationService.GetEvaluation", + "service": { + "shortName": "EvaluationService", + "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_EvaluationService_ListEvaluations_async", + "title": "AclConfigService listEvaluations Sample", + "origin": "API_DEFINITION", + "description": " Gets a list of [Evaluation][google.cloud.discoveryengine.v1alpha.Evaluation]s.", + "canonical": true, + "file": "evaluation_service.list_evaluations.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_EvaluationService_ListEvaluations_async", - "title": "AclConfigService listEvaluations Sample", - "origin": "API_DEFINITION", - "description": " Gets a list of [Evaluation][google.cloud.discoveryengine.v1alpha.Evaluation]s.", - "canonical": true, - "file": "evaluation_service.list_evaluations.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 80, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListEvaluations", - "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationService.ListEvaluations", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.ListEvaluationsResponse", - "client": { - "shortName": "EvaluationServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationServiceClient" - }, - "method": { - "shortName": "ListEvaluations", - "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationService.ListEvaluations", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationService" - } - } - } + "start": 25, + "end": 80, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListEvaluations", + "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationService.ListEvaluations", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.ListEvaluationsResponse", + "client": { + "shortName": "EvaluationServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationServiceClient" }, + "method": { + "shortName": "ListEvaluations", + "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationService.ListEvaluations", + "service": { + "shortName": "EvaluationService", + "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_EvaluationService_CreateEvaluation_async", + "title": "AclConfigService createEvaluation Sample", + "origin": "API_DEFINITION", + "description": " Creates a [Evaluation][google.cloud.discoveryengine.v1alpha.Evaluation]. Upon creation, the evaluation will be automatically triggered and begin execution.", + "canonical": true, + "file": "evaluation_service.create_evaluation.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_EvaluationService_CreateEvaluation_async", - "title": "AclConfigService createEvaluation Sample", - "origin": "API_DEFINITION", - "description": " Creates a [Evaluation][google.cloud.discoveryengine.v1alpha.Evaluation]. Upon creation, the evaluation will be automatically triggered and begin execution.", - "canonical": true, - "file": "evaluation_service.create_evaluation.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateEvaluation", - "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationService.CreateEvaluation", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "evaluation", - "type": ".google.cloud.discoveryengine.v1alpha.Evaluation" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EvaluationServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationServiceClient" - }, - "method": { - "shortName": "CreateEvaluation", - "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationService.CreateEvaluation", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationService" - } - } - } + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateEvaluation", + "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationService.CreateEvaluation", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "evaluation", + "type": ".google.cloud.discoveryengine.v1alpha.Evaluation" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EvaluationServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationServiceClient" }, + "method": { + "shortName": "CreateEvaluation", + "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationService.CreateEvaluation", + "service": { + "shortName": "EvaluationService", + "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_EvaluationService_ListEvaluationResults_async", + "title": "AclConfigService listEvaluationResults Sample", + "origin": "API_DEFINITION", + "description": " Gets a list of results for a given a [Evaluation][google.cloud.discoveryengine.v1alpha.Evaluation].", + "canonical": true, + "file": "evaluation_service.list_evaluation_results.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_EvaluationService_ListEvaluationResults_async", - "title": "AclConfigService listEvaluationResults Sample", - "origin": "API_DEFINITION", - "description": " Gets a list of results for a given a [Evaluation][google.cloud.discoveryengine.v1alpha.Evaluation].", - "canonical": true, - "file": "evaluation_service.list_evaluation_results.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 78, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListEvaluationResults", - "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationService.ListEvaluationResults", - "async": true, - "parameters": [ - { - "name": "evaluation", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.ListEvaluationResultsResponse", - "client": { - "shortName": "EvaluationServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationServiceClient" - }, - "method": { - "shortName": "ListEvaluationResults", - "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationService.ListEvaluationResults", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationService" - } - } - } + "start": 25, + "end": 78, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListEvaluationResults", + "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationService.ListEvaluationResults", + "async": true, + "parameters": [ + { + "name": "evaluation", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.ListEvaluationResultsResponse", + "client": { + "shortName": "EvaluationServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationServiceClient" }, + "method": { + "shortName": "ListEvaluationResults", + "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationService.ListEvaluationResults", + "service": { + "shortName": "EvaluationService", + "fullName": "google.cloud.discoveryengine.v1alpha.EvaluationService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_GroundedGenerationService_CheckGrounding_async", + "title": "AclConfigService checkGrounding Sample", + "origin": "API_DEFINITION", + "description": " Performs a grounding check.", + "canonical": true, + "file": "grounded_generation_service.check_grounding.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_GroundedGenerationService_CheckGrounding_async", - "title": "AclConfigService checkGrounding Sample", - "origin": "API_DEFINITION", - "description": " Performs a grounding check.", - "canonical": true, - "file": "grounded_generation_service.check_grounding.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 85, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CheckGrounding", - "fullName": "google.cloud.discoveryengine.v1alpha.GroundedGenerationService.CheckGrounding", - "async": true, - "parameters": [ - { - "name": "grounding_config", - "type": "TYPE_STRING" - }, - { - "name": "answer_candidate", - "type": "TYPE_STRING" - }, - { - "name": "facts", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "grounding_spec", - "type": ".google.cloud.discoveryengine.v1alpha.CheckGroundingSpec" - }, - { - "name": "user_labels", - "type": "TYPE_MESSAGE[]" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.CheckGroundingResponse", - "client": { - "shortName": "GroundedGenerationServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.GroundedGenerationServiceClient" - }, - "method": { - "shortName": "CheckGrounding", - "fullName": "google.cloud.discoveryengine.v1alpha.GroundedGenerationService.CheckGrounding", - "service": { - "shortName": "GroundedGenerationService", - "fullName": "google.cloud.discoveryengine.v1alpha.GroundedGenerationService" - } - } - } + "start": 25, + "end": 85, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CheckGrounding", + "fullName": "google.cloud.discoveryengine.v1alpha.GroundedGenerationService.CheckGrounding", + "async": true, + "parameters": [ + { + "name": "grounding_config", + "type": "TYPE_STRING" + }, + { + "name": "answer_candidate", + "type": "TYPE_STRING" + }, + { + "name": "facts", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "grounding_spec", + "type": ".google.cloud.discoveryengine.v1alpha.CheckGroundingSpec" + }, + { + "name": "user_labels", + "type": "TYPE_MESSAGE[]" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.CheckGroundingResponse", + "client": { + "shortName": "GroundedGenerationServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.GroundedGenerationServiceClient" }, + "method": { + "shortName": "CheckGrounding", + "fullName": "google.cloud.discoveryengine.v1alpha.GroundedGenerationService.CheckGrounding", + "service": { + "shortName": "GroundedGenerationService", + "fullName": "google.cloud.discoveryengine.v1alpha.GroundedGenerationService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_ProjectService_GetProject_async", + "title": "AclConfigService getProject Sample", + "origin": "API_DEFINITION", + "description": " Gets a [Project][google.cloud.discoveryengine.v1alpha.Project]. Returns NOT_FOUND when the project is not yet created.", + "canonical": true, + "file": "project_service.get_project.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_ProjectService_GetProject_async", - "title": "AclConfigService getProject Sample", - "origin": "API_DEFINITION", - "description": " Gets a [Project][google.cloud.discoveryengine.v1alpha.Project]. Returns NOT_FOUND when the project is not yet created.", - "canonical": true, - "file": "project_service.get_project.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetProject", - "fullName": "google.cloud.discoveryengine.v1alpha.ProjectService.GetProject", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.Project", - "client": { - "shortName": "ProjectServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ProjectServiceClient" - }, - "method": { - "shortName": "GetProject", - "fullName": "google.cloud.discoveryengine.v1alpha.ProjectService.GetProject", - "service": { - "shortName": "ProjectService", - "fullName": "google.cloud.discoveryengine.v1alpha.ProjectService" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetProject", + "fullName": "google.cloud.discoveryengine.v1alpha.ProjectService.GetProject", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.Project", + "client": { + "shortName": "ProjectServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.ProjectServiceClient" }, + "method": { + "shortName": "GetProject", + "fullName": "google.cloud.discoveryengine.v1alpha.ProjectService.GetProject", + "service": { + "shortName": "ProjectService", + "fullName": "google.cloud.discoveryengine.v1alpha.ProjectService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_ProjectService_ProvisionProject_async", + "title": "AclConfigService provisionProject Sample", + "origin": "API_DEFINITION", + "description": " Provisions the project resource. During the process, related systems will get prepared and initialized. Caller must read the [Terms for data use](https://cloud.google.com/retail/data-use-terms), and optionally specify in request to provide consent to that service terms.", + "canonical": true, + "file": "project_service.provision_project.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_ProjectService_ProvisionProject_async", - "title": "AclConfigService provisionProject Sample", - "origin": "API_DEFINITION", - "description": " Provisions the project resource. During the process, related systems will get prepared and initialized. Caller must read the [Terms for data use](https://cloud.google.com/retail/data-use-terms), and optionally specify in request to provide consent to that service terms.", - "canonical": true, - "file": "project_service.provision_project.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 71, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ProvisionProject", - "fullName": "google.cloud.discoveryengine.v1alpha.ProjectService.ProvisionProject", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "accept_data_use_terms", - "type": "TYPE_BOOL" - }, - { - "name": "data_use_terms_version", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "ProjectServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ProjectServiceClient" - }, - "method": { - "shortName": "ProvisionProject", - "fullName": "google.cloud.discoveryengine.v1alpha.ProjectService.ProvisionProject", - "service": { - "shortName": "ProjectService", - "fullName": "google.cloud.discoveryengine.v1alpha.ProjectService" - } - } - } + "start": 25, + "end": 71, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ProvisionProject", + "fullName": "google.cloud.discoveryengine.v1alpha.ProjectService.ProvisionProject", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "accept_data_use_terms", + "type": "TYPE_BOOL" + }, + { + "name": "data_use_terms_version", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "ProjectServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.ProjectServiceClient" }, + "method": { + "shortName": "ProvisionProject", + "fullName": "google.cloud.discoveryengine.v1alpha.ProjectService.ProvisionProject", + "service": { + "shortName": "ProjectService", + "fullName": "google.cloud.discoveryengine.v1alpha.ProjectService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_ProjectService_ReportConsentChange_async", + "title": "AclConfigService reportConsentChange Sample", + "origin": "API_DEFINITION", + "description": " Updates service terms for this project. This method can be used to retroactively accept the latest terms. Terms available for update: * [Terms for data use](https://cloud.google.com/retail/data-use-terms)", + "canonical": true, + "file": "project_service.report_consent_change.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_ProjectService_ReportConsentChange_async", - "title": "AclConfigService reportConsentChange Sample", - "origin": "API_DEFINITION", - "description": " Updates service terms for this project. This method can be used to retroactively accept the latest terms. Terms available for update: * [Terms for data use](https://cloud.google.com/retail/data-use-terms)", - "canonical": true, - "file": "project_service.report_consent_change.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 77, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ReportConsentChange", - "fullName": "google.cloud.discoveryengine.v1alpha.ProjectService.ReportConsentChange", - "async": true, - "parameters": [ - { - "name": "consent_change_action", - "type": ".google.cloud.discoveryengine.v1alpha.ReportConsentChangeRequest.ConsentChangeAction" - }, - { - "name": "project", - "type": "TYPE_STRING" - }, - { - "name": "service_term_id", - "type": "TYPE_STRING" - }, - { - "name": "service_term_version", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.Project", - "client": { - "shortName": "ProjectServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ProjectServiceClient" - }, - "method": { - "shortName": "ReportConsentChange", - "fullName": "google.cloud.discoveryengine.v1alpha.ProjectService.ReportConsentChange", - "service": { - "shortName": "ProjectService", - "fullName": "google.cloud.discoveryengine.v1alpha.ProjectService" - } - } - } + "start": 25, + "end": 77, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ReportConsentChange", + "fullName": "google.cloud.discoveryengine.v1alpha.ProjectService.ReportConsentChange", + "async": true, + "parameters": [ + { + "name": "consent_change_action", + "type": ".google.cloud.discoveryengine.v1alpha.ReportConsentChangeRequest.ConsentChangeAction" + }, + { + "name": "project", + "type": "TYPE_STRING" + }, + { + "name": "service_term_id", + "type": "TYPE_STRING" + }, + { + "name": "service_term_version", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.Project", + "client": { + "shortName": "ProjectServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.ProjectServiceClient" }, + "method": { + "shortName": "ReportConsentChange", + "fullName": "google.cloud.discoveryengine.v1alpha.ProjectService.ReportConsentChange", + "service": { + "shortName": "ProjectService", + "fullName": "google.cloud.discoveryengine.v1alpha.ProjectService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_RankService_Rank_async", + "title": "AclConfigService rank Sample", + "origin": "API_DEFINITION", + "description": " Ranks a list of text records based on the given input query.", + "canonical": true, + "file": "rank_service.rank.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_RankService_Rank_async", - "title": "AclConfigService rank Sample", - "origin": "API_DEFINITION", - "description": " Ranks a list of text records based on the given input query.", - "canonical": true, - "file": "rank_service.rank.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 98, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "Rank", - "fullName": "google.cloud.discoveryengine.v1alpha.RankService.Rank", - "async": true, - "parameters": [ - { - "name": "ranking_config", - "type": "TYPE_STRING" - }, - { - "name": "model", - "type": "TYPE_STRING" - }, - { - "name": "top_n", - "type": "TYPE_INT32" - }, - { - "name": "query", - "type": "TYPE_STRING" - }, - { - "name": "records", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "ignore_record_details_in_response", - "type": "TYPE_BOOL" - }, - { - "name": "user_labels", - "type": "TYPE_MESSAGE[]" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.RankResponse", - "client": { - "shortName": "RankServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.RankServiceClient" - }, - "method": { - "shortName": "Rank", - "fullName": "google.cloud.discoveryengine.v1alpha.RankService.Rank", - "service": { - "shortName": "RankService", - "fullName": "google.cloud.discoveryengine.v1alpha.RankService" - } - } - } + "start": 25, + "end": 98, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "Rank", + "fullName": "google.cloud.discoveryengine.v1alpha.RankService.Rank", + "async": true, + "parameters": [ + { + "name": "ranking_config", + "type": "TYPE_STRING" + }, + { + "name": "model", + "type": "TYPE_STRING" + }, + { + "name": "top_n", + "type": "TYPE_INT32" + }, + { + "name": "query", + "type": "TYPE_STRING" + }, + { + "name": "records", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "ignore_record_details_in_response", + "type": "TYPE_BOOL" + }, + { + "name": "user_labels", + "type": "TYPE_MESSAGE[]" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.RankResponse", + "client": { + "shortName": "RankServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.RankServiceClient" }, + "method": { + "shortName": "Rank", + "fullName": "google.cloud.discoveryengine.v1alpha.RankService.Rank", + "service": { + "shortName": "RankService", + "fullName": "google.cloud.discoveryengine.v1alpha.RankService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_RecommendationService_Recommend_async", + "title": "AclConfigService recommend Sample", + "origin": "API_DEFINITION", + "description": " Makes a recommendation, which requires a contextual user event.", + "canonical": true, + "file": "recommendation_service.recommend.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_RecommendationService_Recommend_async", - "title": "AclConfigService recommend Sample", - "origin": "API_DEFINITION", - "description": " Makes a recommendation, which requires a contextual user event.", - "canonical": true, - "file": "recommendation_service.recommend.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 167, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "Recommend", - "fullName": "google.cloud.discoveryengine.v1alpha.RecommendationService.Recommend", - "async": true, - "parameters": [ - { - "name": "serving_config", - "type": "TYPE_STRING" - }, - { - "name": "user_event", - "type": ".google.cloud.discoveryengine.v1alpha.UserEvent" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "validate_only", - "type": "TYPE_BOOL" - }, - { - "name": "params", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "user_labels", - "type": "TYPE_MESSAGE[]" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.RecommendResponse", - "client": { - "shortName": "RecommendationServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.RecommendationServiceClient" - }, - "method": { - "shortName": "Recommend", - "fullName": "google.cloud.discoveryengine.v1alpha.RecommendationService.Recommend", - "service": { - "shortName": "RecommendationService", - "fullName": "google.cloud.discoveryengine.v1alpha.RecommendationService" - } - } - } + "start": 25, + "end": 167, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "Recommend", + "fullName": "google.cloud.discoveryengine.v1alpha.RecommendationService.Recommend", + "async": true, + "parameters": [ + { + "name": "serving_config", + "type": "TYPE_STRING" + }, + { + "name": "user_event", + "type": ".google.cloud.discoveryengine.v1alpha.UserEvent" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "validate_only", + "type": "TYPE_BOOL" + }, + { + "name": "params", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "user_labels", + "type": "TYPE_MESSAGE[]" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.RecommendResponse", + "client": { + "shortName": "RecommendationServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.RecommendationServiceClient" }, + "method": { + "shortName": "Recommend", + "fullName": "google.cloud.discoveryengine.v1alpha.RecommendationService.Recommend", + "service": { + "shortName": "RecommendationService", + "fullName": "google.cloud.discoveryengine.v1alpha.RecommendationService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_SampleQueryService_GetSampleQuery_async", + "title": "AclConfigService getSampleQuery Sample", + "origin": "API_DEFINITION", + "description": " Gets a [SampleQuery][google.cloud.discoveryengine.v1alpha.SampleQuery].", + "canonical": true, + "file": "sample_query_service.get_sample_query.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_SampleQueryService_GetSampleQuery_async", - "title": "AclConfigService getSampleQuery Sample", - "origin": "API_DEFINITION", - "description": " Gets a [SampleQuery][google.cloud.discoveryengine.v1alpha.SampleQuery].", - "canonical": true, - "file": "sample_query_service.get_sample_query.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetSampleQuery", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService.GetSampleQuery", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.SampleQuery", - "client": { - "shortName": "SampleQueryServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryServiceClient" - }, - "method": { - "shortName": "GetSampleQuery", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService.GetSampleQuery", - "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService" - } - } - } + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetSampleQuery", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService.GetSampleQuery", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.SampleQuery", + "client": { + "shortName": "SampleQueryServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryServiceClient" }, + "method": { + "shortName": "GetSampleQuery", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService.GetSampleQuery", + "service": { + "shortName": "SampleQueryService", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_SampleQueryService_ListSampleQueries_async", + "title": "AclConfigService listSampleQueries Sample", + "origin": "API_DEFINITION", + "description": " Gets a list of [SampleQuery][google.cloud.discoveryengine.v1alpha.SampleQuery]s.", + "canonical": true, + "file": "sample_query_service.list_sample_queries.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_SampleQueryService_ListSampleQueries_async", - "title": "AclConfigService listSampleQueries Sample", - "origin": "API_DEFINITION", - "description": " Gets a list of [SampleQuery][google.cloud.discoveryengine.v1alpha.SampleQuery]s.", - "canonical": true, - "file": "sample_query_service.list_sample_queries.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 80, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListSampleQueries", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService.ListSampleQueries", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.ListSampleQueriesResponse", - "client": { - "shortName": "SampleQueryServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryServiceClient" - }, - "method": { - "shortName": "ListSampleQueries", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService.ListSampleQueries", - "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService" - } - } - } + "start": 25, + "end": 80, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListSampleQueries", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService.ListSampleQueries", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.ListSampleQueriesResponse", + "client": { + "shortName": "SampleQueryServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryServiceClient" }, + "method": { + "shortName": "ListSampleQueries", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService.ListSampleQueries", + "service": { + "shortName": "SampleQueryService", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_SampleQueryService_CreateSampleQuery_async", + "title": "AclConfigService createSampleQuery Sample", + "origin": "API_DEFINITION", + "description": " Creates a [SampleQuery][google.cloud.discoveryengine.v1alpha.SampleQuery]", + "canonical": true, + "file": "sample_query_service.create_sample_query.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_SampleQueryService_CreateSampleQuery_async", - "title": "AclConfigService createSampleQuery Sample", - "origin": "API_DEFINITION", - "description": " Creates a [SampleQuery][google.cloud.discoveryengine.v1alpha.SampleQuery]", - "canonical": true, - "file": "sample_query_service.create_sample_query.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 79, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateSampleQuery", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService.CreateSampleQuery", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "sample_query", - "type": ".google.cloud.discoveryengine.v1alpha.SampleQuery" - }, - { - "name": "sample_query_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.SampleQuery", - "client": { - "shortName": "SampleQueryServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryServiceClient" - }, - "method": { - "shortName": "CreateSampleQuery", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService.CreateSampleQuery", - "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService" - } - } - } + "start": 25, + "end": 79, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateSampleQuery", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService.CreateSampleQuery", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "sample_query", + "type": ".google.cloud.discoveryengine.v1alpha.SampleQuery" + }, + { + "name": "sample_query_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.SampleQuery", + "client": { + "shortName": "SampleQueryServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryServiceClient" }, + "method": { + "shortName": "CreateSampleQuery", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService.CreateSampleQuery", + "service": { + "shortName": "SampleQueryService", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_SampleQueryService_UpdateSampleQuery_async", + "title": "AclConfigService updateSampleQuery Sample", + "origin": "API_DEFINITION", + "description": " Updates a [SampleQuery][google.cloud.discoveryengine.v1alpha.SampleQuery].", + "canonical": true, + "file": "sample_query_service.update_sample_query.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_SampleQueryService_UpdateSampleQuery_async", - "title": "AclConfigService updateSampleQuery Sample", - "origin": "API_DEFINITION", - "description": " Updates a [SampleQuery][google.cloud.discoveryengine.v1alpha.SampleQuery].", - "canonical": true, - "file": "sample_query_service.update_sample_query.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 63, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateSampleQuery", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService.UpdateSampleQuery", - "async": true, - "parameters": [ - { - "name": "sample_query", - "type": ".google.cloud.discoveryengine.v1alpha.SampleQuery" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.SampleQuery", - "client": { - "shortName": "SampleQueryServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryServiceClient" - }, - "method": { - "shortName": "UpdateSampleQuery", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService.UpdateSampleQuery", - "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService" - } - } - } + "start": 25, + "end": 63, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateSampleQuery", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService.UpdateSampleQuery", + "async": true, + "parameters": [ + { + "name": "sample_query", + "type": ".google.cloud.discoveryengine.v1alpha.SampleQuery" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.SampleQuery", + "client": { + "shortName": "SampleQueryServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryServiceClient" }, + "method": { + "shortName": "UpdateSampleQuery", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService.UpdateSampleQuery", + "service": { + "shortName": "SampleQueryService", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_SampleQueryService_DeleteSampleQuery_async", + "title": "AclConfigService deleteSampleQuery Sample", + "origin": "API_DEFINITION", + "description": " Deletes a [SampleQuery][google.cloud.discoveryengine.v1alpha.SampleQuery].", + "canonical": true, + "file": "sample_query_service.delete_sample_query.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_SampleQueryService_DeleteSampleQuery_async", - "title": "AclConfigService deleteSampleQuery Sample", - "origin": "API_DEFINITION", - "description": " Deletes a [SampleQuery][google.cloud.discoveryengine.v1alpha.SampleQuery].", - "canonical": true, - "file": "sample_query_service.delete_sample_query.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 60, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteSampleQuery", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService.DeleteSampleQuery", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "SampleQueryServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryServiceClient" - }, - "method": { - "shortName": "DeleteSampleQuery", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService.DeleteSampleQuery", - "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService" - } - } - } + "start": 25, + "end": 60, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteSampleQuery", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService.DeleteSampleQuery", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "SampleQueryServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryServiceClient" }, + "method": { + "shortName": "DeleteSampleQuery", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService.DeleteSampleQuery", + "service": { + "shortName": "SampleQueryService", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_SampleQueryService_ImportSampleQueries_async", + "title": "AclConfigService importSampleQueries Sample", + "origin": "API_DEFINITION", + "description": " Bulk import of multiple [SampleQuery][google.cloud.discoveryengine.v1alpha.SampleQuery]s. Sample queries that already exist may be deleted. Note: It is possible for a subset of the [SampleQuery][google.cloud.discoveryengine.v1alpha.SampleQuery]s to be successfully imported.", + "canonical": true, + "file": "sample_query_service.import_sample_queries.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_SampleQueryService_ImportSampleQueries_async", - "title": "AclConfigService importSampleQueries Sample", - "origin": "API_DEFINITION", - "description": " Bulk import of multiple [SampleQuery][google.cloud.discoveryengine.v1alpha.SampleQuery]s. Sample queries that already exist may be deleted. Note: It is possible for a subset of the [SampleQuery][google.cloud.discoveryengine.v1alpha.SampleQuery]s to be successfully imported.", - "canonical": true, - "file": "sample_query_service.import_sample_queries.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 75, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ImportSampleQueries", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService.ImportSampleQueries", - "async": true, - "parameters": [ - { - "name": "inline_source", - "type": ".google.cloud.discoveryengine.v1alpha.ImportSampleQueriesRequest.InlineSource" - }, - { - "name": "gcs_source", - "type": ".google.cloud.discoveryengine.v1alpha.GcsSource" - }, - { - "name": "bigquery_source", - "type": ".google.cloud.discoveryengine.v1alpha.BigQuerySource" - }, - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "error_config", - "type": ".google.cloud.discoveryengine.v1alpha.ImportErrorConfig" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "SampleQueryServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryServiceClient" - }, - "method": { - "shortName": "ImportSampleQueries", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService.ImportSampleQueries", - "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService" - } - } - } + "start": 25, + "end": 75, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ImportSampleQueries", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService.ImportSampleQueries", + "async": true, + "parameters": [ + { + "name": "inline_source", + "type": ".google.cloud.discoveryengine.v1alpha.ImportSampleQueriesRequest.InlineSource" + }, + { + "name": "gcs_source", + "type": ".google.cloud.discoveryengine.v1alpha.GcsSource" + }, + { + "name": "bigquery_source", + "type": ".google.cloud.discoveryengine.v1alpha.BigQuerySource" + }, + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "error_config", + "type": ".google.cloud.discoveryengine.v1alpha.ImportErrorConfig" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SampleQueryServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryServiceClient" }, + "method": { + "shortName": "ImportSampleQueries", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService.ImportSampleQueries", + "service": { + "shortName": "SampleQueryService", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQueryService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_SampleQuerySetService_GetSampleQuerySet_async", + "title": "AclConfigService getSampleQuerySet Sample", + "origin": "API_DEFINITION", + "description": " Gets a [SampleQuerySet][google.cloud.discoveryengine.v1alpha.SampleQuerySet].", + "canonical": true, + "file": "sample_query_set_service.get_sample_query_set.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_SampleQuerySetService_GetSampleQuerySet_async", - "title": "AclConfigService getSampleQuerySet Sample", - "origin": "API_DEFINITION", - "description": " Gets a [SampleQuerySet][google.cloud.discoveryengine.v1alpha.SampleQuerySet].", - "canonical": true, - "file": "sample_query_set_service.get_sample_query_set.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 63, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService.GetSampleQuerySet", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.SampleQuerySet", - "client": { - "shortName": "SampleQuerySetServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetServiceClient" - }, - "method": { - "shortName": "GetSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService.GetSampleQuerySet", - "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService" - } - } - } + "start": 25, + "end": 63, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetSampleQuerySet", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService.GetSampleQuerySet", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.SampleQuerySet", + "client": { + "shortName": "SampleQuerySetServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetServiceClient" }, + "method": { + "shortName": "GetSampleQuerySet", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService.GetSampleQuerySet", + "service": { + "shortName": "SampleQuerySetService", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_SampleQuerySetService_ListSampleQuerySets_async", + "title": "AclConfigService listSampleQuerySets Sample", + "origin": "API_DEFINITION", + "description": " Gets a list of [SampleQuerySet][google.cloud.discoveryengine.v1alpha.SampleQuerySet]s.", + "canonical": true, + "file": "sample_query_set_service.list_sample_query_sets.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_SampleQuerySetService_ListSampleQuerySets_async", - "title": "AclConfigService listSampleQuerySets Sample", - "origin": "API_DEFINITION", - "description": " Gets a list of [SampleQuerySet][google.cloud.discoveryengine.v1alpha.SampleQuerySet]s.", - "canonical": true, - "file": "sample_query_set_service.list_sample_query_sets.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 80, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListSampleQuerySets", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService.ListSampleQuerySets", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.ListSampleQuerySetsResponse", - "client": { - "shortName": "SampleQuerySetServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetServiceClient" - }, - "method": { - "shortName": "ListSampleQuerySets", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService.ListSampleQuerySets", - "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService" - } - } - } + "start": 25, + "end": 80, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListSampleQuerySets", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService.ListSampleQuerySets", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.ListSampleQuerySetsResponse", + "client": { + "shortName": "SampleQuerySetServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetServiceClient" }, + "method": { + "shortName": "ListSampleQuerySets", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService.ListSampleQuerySets", + "service": { + "shortName": "SampleQuerySetService", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_SampleQuerySetService_CreateSampleQuerySet_async", + "title": "AclConfigService createSampleQuerySet Sample", + "origin": "API_DEFINITION", + "description": " Creates a [SampleQuerySet][google.cloud.discoveryengine.v1alpha.SampleQuerySet]", + "canonical": true, + "file": "sample_query_set_service.create_sample_query_set.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_SampleQuerySetService_CreateSampleQuerySet_async", - "title": "AclConfigService createSampleQuerySet Sample", - "origin": "API_DEFINITION", - "description": " Creates a [SampleQuerySet][google.cloud.discoveryengine.v1alpha.SampleQuerySet]", - "canonical": true, - "file": "sample_query_set_service.create_sample_query_set.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 81, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService.CreateSampleQuerySet", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "sample_query_set", - "type": ".google.cloud.discoveryengine.v1alpha.SampleQuerySet" - }, - { - "name": "sample_query_set_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.SampleQuerySet", - "client": { - "shortName": "SampleQuerySetServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetServiceClient" - }, - "method": { - "shortName": "CreateSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService.CreateSampleQuerySet", - "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService" - } - } - } + "start": 25, + "end": 81, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateSampleQuerySet", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService.CreateSampleQuerySet", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "sample_query_set", + "type": ".google.cloud.discoveryengine.v1alpha.SampleQuerySet" + }, + { + "name": "sample_query_set_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.SampleQuerySet", + "client": { + "shortName": "SampleQuerySetServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetServiceClient" }, + "method": { + "shortName": "CreateSampleQuerySet", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService.CreateSampleQuerySet", + "service": { + "shortName": "SampleQuerySetService", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_SampleQuerySetService_UpdateSampleQuerySet_async", + "title": "AclConfigService updateSampleQuerySet Sample", + "origin": "API_DEFINITION", + "description": " Updates a [SampleQuerySet][google.cloud.discoveryengine.v1alpha.SampleQuerySet].", + "canonical": true, + "file": "sample_query_set_service.update_sample_query_set.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_SampleQuerySetService_UpdateSampleQuerySet_async", - "title": "AclConfigService updateSampleQuerySet Sample", - "origin": "API_DEFINITION", - "description": " Updates a [SampleQuerySet][google.cloud.discoveryengine.v1alpha.SampleQuerySet].", - "canonical": true, - "file": "sample_query_set_service.update_sample_query_set.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 65, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService.UpdateSampleQuerySet", - "async": true, - "parameters": [ - { - "name": "sample_query_set", - "type": ".google.cloud.discoveryengine.v1alpha.SampleQuerySet" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.SampleQuerySet", - "client": { - "shortName": "SampleQuerySetServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetServiceClient" - }, - "method": { - "shortName": "UpdateSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService.UpdateSampleQuerySet", - "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService" - } - } - } + "start": 25, + "end": 65, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateSampleQuerySet", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService.UpdateSampleQuerySet", + "async": true, + "parameters": [ + { + "name": "sample_query_set", + "type": ".google.cloud.discoveryengine.v1alpha.SampleQuerySet" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.SampleQuerySet", + "client": { + "shortName": "SampleQuerySetServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetServiceClient" }, + "method": { + "shortName": "UpdateSampleQuerySet", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService.UpdateSampleQuerySet", + "service": { + "shortName": "SampleQuerySetService", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_SampleQuerySetService_DeleteSampleQuerySet_async", + "title": "AclConfigService deleteSampleQuerySet Sample", + "origin": "API_DEFINITION", + "description": " Deletes a [SampleQuerySet][google.cloud.discoveryengine.v1alpha.SampleQuerySet].", + "canonical": true, + "file": "sample_query_set_service.delete_sample_query_set.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_SampleQuerySetService_DeleteSampleQuerySet_async", - "title": "AclConfigService deleteSampleQuerySet Sample", - "origin": "API_DEFINITION", - "description": " Deletes a [SampleQuerySet][google.cloud.discoveryengine.v1alpha.SampleQuerySet].", - "canonical": true, - "file": "sample_query_set_service.delete_sample_query_set.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 63, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService.DeleteSampleQuerySet", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "SampleQuerySetServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetServiceClient" - }, - "method": { - "shortName": "DeleteSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService.DeleteSampleQuerySet", - "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService" - } - } - } + "start": 25, + "end": 63, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteSampleQuerySet", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService.DeleteSampleQuerySet", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "SampleQuerySetServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetServiceClient" }, + "method": { + "shortName": "DeleteSampleQuerySet", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService.DeleteSampleQuerySet", + "service": { + "shortName": "SampleQuerySetService", + "fullName": "google.cloud.discoveryengine.v1alpha.SampleQuerySetService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_SchemaService_GetSchema_async", + "title": "AclConfigService getSchema Sample", + "origin": "API_DEFINITION", + "description": " Gets a [Schema][google.cloud.discoveryengine.v1alpha.Schema].", + "canonical": true, + "file": "schema_service.get_schema.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_SchemaService_GetSchema_async", - "title": "AclConfigService getSchema Sample", - "origin": "API_DEFINITION", - "description": " Gets a [Schema][google.cloud.discoveryengine.v1alpha.Schema].", - "canonical": true, - "file": "schema_service.get_schema.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetSchema", - "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService.GetSchema", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.Schema", - "client": { - "shortName": "SchemaServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SchemaServiceClient" - }, - "method": { - "shortName": "GetSchema", - "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService.GetSchema", - "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetSchema", + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService.GetSchema", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.Schema", + "client": { + "shortName": "SchemaServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaServiceClient" }, + "method": { + "shortName": "GetSchema", + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService.GetSchema", + "service": { + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_SchemaService_ListSchemas_async", + "title": "AclConfigService listSchemas Sample", + "origin": "API_DEFINITION", + "description": " Gets a list of [Schema][google.cloud.discoveryengine.v1alpha.Schema]s.", + "canonical": true, + "file": "schema_service.list_schemas.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_SchemaService_ListSchemas_async", - "title": "AclConfigService listSchemas Sample", - "origin": "API_DEFINITION", - "description": " Gets a list of [Schema][google.cloud.discoveryengine.v1alpha.Schema]s.", - "canonical": true, - "file": "schema_service.list_schemas.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 74, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListSchemas", - "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService.ListSchemas", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.ListSchemasResponse", - "client": { - "shortName": "SchemaServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SchemaServiceClient" - }, - "method": { - "shortName": "ListSchemas", - "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService.ListSchemas", - "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService" - } - } - } + "start": 25, + "end": 74, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListSchemas", + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService.ListSchemas", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.ListSchemasResponse", + "client": { + "shortName": "SchemaServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaServiceClient" }, + "method": { + "shortName": "ListSchemas", + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService.ListSchemas", + "service": { + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_SchemaService_CreateSchema_async", + "title": "AclConfigService createSchema Sample", + "origin": "API_DEFINITION", + "description": " Creates a [Schema][google.cloud.discoveryengine.v1alpha.Schema].", + "canonical": true, + "file": "schema_service.create_schema.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_SchemaService_CreateSchema_async", - "title": "AclConfigService createSchema Sample", - "origin": "API_DEFINITION", - "description": " Creates a [Schema][google.cloud.discoveryengine.v1alpha.Schema].", - "canonical": true, - "file": "schema_service.create_schema.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 72, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateSchema", - "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService.CreateSchema", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "schema", - "type": ".google.cloud.discoveryengine.v1alpha.Schema" - }, - { - "name": "schema_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "SchemaServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SchemaServiceClient" - }, - "method": { - "shortName": "CreateSchema", - "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService.CreateSchema", - "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService" - } - } - } + "start": 25, + "end": 72, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateSchema", + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService.CreateSchema", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "schema", + "type": ".google.cloud.discoveryengine.v1alpha.Schema" + }, + { + "name": "schema_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SchemaServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaServiceClient" }, + "method": { + "shortName": "CreateSchema", + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService.CreateSchema", + "service": { + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_SchemaService_UpdateSchema_async", + "title": "AclConfigService updateSchema Sample", + "origin": "API_DEFINITION", + "description": " Updates a [Schema][google.cloud.discoveryengine.v1alpha.Schema].", + "canonical": true, + "file": "schema_service.update_schema.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_SchemaService_UpdateSchema_async", - "title": "AclConfigService updateSchema Sample", - "origin": "API_DEFINITION", - "description": " Updates a [Schema][google.cloud.discoveryengine.v1alpha.Schema].", - "canonical": true, - "file": "schema_service.update_schema.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 62, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateSchema", - "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService.UpdateSchema", - "async": true, - "parameters": [ - { - "name": "schema", - "type": ".google.cloud.discoveryengine.v1alpha.Schema" - }, - { - "name": "allow_missing", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "SchemaServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SchemaServiceClient" - }, - "method": { - "shortName": "UpdateSchema", - "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService.UpdateSchema", - "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService" - } - } - } + "start": 25, + "end": 62, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateSchema", + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService.UpdateSchema", + "async": true, + "parameters": [ + { + "name": "schema", + "type": ".google.cloud.discoveryengine.v1alpha.Schema" + }, + { + "name": "allow_missing", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SchemaServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaServiceClient" }, + "method": { + "shortName": "UpdateSchema", + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService.UpdateSchema", + "service": { + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_SchemaService_DeleteSchema_async", + "title": "AclConfigService deleteSchema Sample", + "origin": "API_DEFINITION", + "description": " Deletes a [Schema][google.cloud.discoveryengine.v1alpha.Schema].", + "canonical": true, + "file": "schema_service.delete_schema.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_SchemaService_DeleteSchema_async", - "title": "AclConfigService deleteSchema Sample", - "origin": "API_DEFINITION", - "description": " Deletes a [Schema][google.cloud.discoveryengine.v1alpha.Schema].", - "canonical": true, - "file": "schema_service.delete_schema.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteSchema", - "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService.DeleteSchema", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "SchemaServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SchemaServiceClient" - }, - "method": { - "shortName": "DeleteSchema", - "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService.DeleteSchema", - "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteSchema", + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService.DeleteSchema", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SchemaServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaServiceClient" }, + "method": { + "shortName": "DeleteSchema", + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService.DeleteSchema", + "service": { + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_SearchService_Search_async", + "title": "AclConfigService search Sample", + "origin": "API_DEFINITION", + "description": " Performs a search.", + "canonical": true, + "file": "search_service.search.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_SearchService_Search_async", - "title": "AclConfigService search Sample", - "origin": "API_DEFINITION", - "description": " Performs a search.", - "canonical": true, - "file": "search_service.search.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 397, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "Search", - "fullName": "google.cloud.discoveryengine.v1alpha.SearchService.Search", - "async": true, - "parameters": [ - { - "name": "serving_config", - "type": "TYPE_STRING" - }, - { - "name": "branch", - "type": "TYPE_STRING" - }, - { - "name": "query", - "type": "TYPE_STRING" - }, - { - "name": "image_query", - "type": ".google.cloud.discoveryengine.v1alpha.SearchRequest.ImageQuery" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "offset", - "type": "TYPE_INT32" - }, - { - "name": "data_store_specs", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "canonical_filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - }, - { - "name": "user_info", - "type": ".google.cloud.discoveryengine.v1alpha.UserInfo" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - }, - { - "name": "region_code", - "type": "TYPE_STRING" - }, - { - "name": "facet_specs", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "boost_spec", - "type": ".google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec" - }, - { - "name": "params", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "query_expansion_spec", - "type": ".google.cloud.discoveryengine.v1alpha.SearchRequest.QueryExpansionSpec" - }, - { - "name": "spell_correction_spec", - "type": ".google.cloud.discoveryengine.v1alpha.SearchRequest.SpellCorrectionSpec" - }, - { - "name": "user_pseudo_id", - "type": "TYPE_STRING" - }, - { - "name": "content_search_spec", - "type": ".google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec" - }, - { - "name": "embedding_spec", - "type": ".google.cloud.discoveryengine.v1alpha.SearchRequest.EmbeddingSpec" - }, - { - "name": "ranking_expression", - "type": "TYPE_STRING" - }, - { - "name": "ranking_expression_backend", - "type": ".google.cloud.discoveryengine.v1alpha.SearchRequest.RankingExpressionBackend" - }, - { - "name": "safe_search", - "type": "TYPE_BOOL" - }, - { - "name": "user_labels", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "natural_language_query_understanding_spec", - "type": ".google.cloud.discoveryengine.v1alpha.SearchRequest.NaturalLanguageQueryUnderstandingSpec" - }, - { - "name": "search_as_you_type_spec", - "type": ".google.cloud.discoveryengine.v1alpha.SearchRequest.SearchAsYouTypeSpec" - }, - { - "name": "custom_fine_tuning_spec", - "type": ".google.cloud.discoveryengine.v1alpha.CustomFineTuningSpec" - }, - { - "name": "session", - "type": "TYPE_STRING" - }, - { - "name": "session_spec", - "type": ".google.cloud.discoveryengine.v1alpha.SearchRequest.SessionSpec" - }, - { - "name": "relevance_threshold", - "type": ".google.cloud.discoveryengine.v1alpha.SearchRequest.RelevanceThreshold" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.SearchResponse", - "client": { - "shortName": "SearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SearchServiceClient" - }, - "method": { - "shortName": "Search", - "fullName": "google.cloud.discoveryengine.v1alpha.SearchService.Search", - "service": { - "shortName": "SearchService", - "fullName": "google.cloud.discoveryengine.v1alpha.SearchService" - } - } - } + "start": 25, + "end": 397, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "Search", + "fullName": "google.cloud.discoveryengine.v1alpha.SearchService.Search", + "async": true, + "parameters": [ + { + "name": "serving_config", + "type": "TYPE_STRING" + }, + { + "name": "branch", + "type": "TYPE_STRING" + }, + { + "name": "query", + "type": "TYPE_STRING" + }, + { + "name": "image_query", + "type": ".google.cloud.discoveryengine.v1alpha.SearchRequest.ImageQuery" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "offset", + "type": "TYPE_INT32" + }, + { + "name": "data_store_specs", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "canonical_filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + }, + { + "name": "user_info", + "type": ".google.cloud.discoveryengine.v1alpha.UserInfo" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + }, + { + "name": "region_code", + "type": "TYPE_STRING" + }, + { + "name": "facet_specs", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "boost_spec", + "type": ".google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec" + }, + { + "name": "params", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "query_expansion_spec", + "type": ".google.cloud.discoveryengine.v1alpha.SearchRequest.QueryExpansionSpec" + }, + { + "name": "spell_correction_spec", + "type": ".google.cloud.discoveryengine.v1alpha.SearchRequest.SpellCorrectionSpec" + }, + { + "name": "user_pseudo_id", + "type": "TYPE_STRING" + }, + { + "name": "content_search_spec", + "type": ".google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec" + }, + { + "name": "embedding_spec", + "type": ".google.cloud.discoveryengine.v1alpha.SearchRequest.EmbeddingSpec" + }, + { + "name": "ranking_expression", + "type": "TYPE_STRING" + }, + { + "name": "ranking_expression_backend", + "type": ".google.cloud.discoveryengine.v1alpha.SearchRequest.RankingExpressionBackend" + }, + { + "name": "safe_search", + "type": "TYPE_BOOL" + }, + { + "name": "user_labels", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "natural_language_query_understanding_spec", + "type": ".google.cloud.discoveryengine.v1alpha.SearchRequest.NaturalLanguageQueryUnderstandingSpec" + }, + { + "name": "search_as_you_type_spec", + "type": ".google.cloud.discoveryengine.v1alpha.SearchRequest.SearchAsYouTypeSpec" + }, + { + "name": "custom_fine_tuning_spec", + "type": ".google.cloud.discoveryengine.v1alpha.CustomFineTuningSpec" + }, + { + "name": "session", + "type": "TYPE_STRING" + }, + { + "name": "session_spec", + "type": ".google.cloud.discoveryengine.v1alpha.SearchRequest.SessionSpec" + }, + { + "name": "relevance_threshold", + "type": ".google.cloud.discoveryengine.v1alpha.SearchRequest.RelevanceThreshold" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.SearchResponse", + "client": { + "shortName": "SearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.SearchServiceClient" }, + "method": { + "shortName": "Search", + "fullName": "google.cloud.discoveryengine.v1alpha.SearchService.Search", + "service": { + "shortName": "SearchService", + "fullName": "google.cloud.discoveryengine.v1alpha.SearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_SearchTuningService_TrainCustomModel_async", + "title": "AclConfigService trainCustomModel Sample", + "origin": "API_DEFINITION", + "description": " Trains a custom model.", + "canonical": true, + "file": "search_tuning_service.train_custom_model.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_SearchTuningService_TrainCustomModel_async", - "title": "AclConfigService trainCustomModel Sample", - "origin": "API_DEFINITION", - "description": " Trains a custom model.", - "canonical": true, - "file": "search_tuning_service.train_custom_model.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 74, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "TrainCustomModel", - "fullName": "google.cloud.discoveryengine.v1alpha.SearchTuningService.TrainCustomModel", - "async": true, - "parameters": [ - { - "name": "gcs_training_input", - "type": ".google.cloud.discoveryengine.v1alpha.TrainCustomModelRequest.GcsTrainingInput" - }, - { - "name": "data_store", - "type": "TYPE_STRING" - }, - { - "name": "model_type", - "type": "TYPE_STRING" - }, - { - "name": "error_config", - "type": ".google.cloud.discoveryengine.v1alpha.ImportErrorConfig" - }, - { - "name": "model_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "SearchTuningServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SearchTuningServiceClient" - }, - "method": { - "shortName": "TrainCustomModel", - "fullName": "google.cloud.discoveryengine.v1alpha.SearchTuningService.TrainCustomModel", - "service": { - "shortName": "SearchTuningService", - "fullName": "google.cloud.discoveryengine.v1alpha.SearchTuningService" - } - } - } + "start": 25, + "end": 74, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "TrainCustomModel", + "fullName": "google.cloud.discoveryengine.v1alpha.SearchTuningService.TrainCustomModel", + "async": true, + "parameters": [ + { + "name": "gcs_training_input", + "type": ".google.cloud.discoveryengine.v1alpha.TrainCustomModelRequest.GcsTrainingInput" + }, + { + "name": "data_store", + "type": "TYPE_STRING" + }, + { + "name": "model_type", + "type": "TYPE_STRING" + }, + { + "name": "error_config", + "type": ".google.cloud.discoveryengine.v1alpha.ImportErrorConfig" + }, + { + "name": "model_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SearchTuningServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.SearchTuningServiceClient" }, + "method": { + "shortName": "TrainCustomModel", + "fullName": "google.cloud.discoveryengine.v1alpha.SearchTuningService.TrainCustomModel", + "service": { + "shortName": "SearchTuningService", + "fullName": "google.cloud.discoveryengine.v1alpha.SearchTuningService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_SearchTuningService_ListCustomModels_async", + "title": "AclConfigService listCustomModels Sample", + "origin": "API_DEFINITION", + "description": " Gets a list of all the custom models.", + "canonical": true, + "file": "search_tuning_service.list_custom_models.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_SearchTuningService_ListCustomModels_async", - "title": "AclConfigService listCustomModels Sample", - "origin": "API_DEFINITION", - "description": " Gets a list of all the custom models.", - "canonical": true, - "file": "search_tuning_service.list_custom_models.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 56, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListCustomModels", - "fullName": "google.cloud.discoveryengine.v1alpha.SearchTuningService.ListCustomModels", - "async": true, - "parameters": [ - { - "name": "data_store", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.ListCustomModelsResponse", - "client": { - "shortName": "SearchTuningServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SearchTuningServiceClient" - }, - "method": { - "shortName": "ListCustomModels", - "fullName": "google.cloud.discoveryengine.v1alpha.SearchTuningService.ListCustomModels", - "service": { - "shortName": "SearchTuningService", - "fullName": "google.cloud.discoveryengine.v1alpha.SearchTuningService" - } - } - } + "start": 25, + "end": 56, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListCustomModels", + "fullName": "google.cloud.discoveryengine.v1alpha.SearchTuningService.ListCustomModels", + "async": true, + "parameters": [ + { + "name": "data_store", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.ListCustomModelsResponse", + "client": { + "shortName": "SearchTuningServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.SearchTuningServiceClient" }, + "method": { + "shortName": "ListCustomModels", + "fullName": "google.cloud.discoveryengine.v1alpha.SearchTuningService.ListCustomModels", + "service": { + "shortName": "SearchTuningService", + "fullName": "google.cloud.discoveryengine.v1alpha.SearchTuningService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_ServingConfigService_UpdateServingConfig_async", + "title": "AclConfigService updateServingConfig Sample", + "origin": "API_DEFINITION", + "description": " Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist.", + "canonical": true, + "file": "serving_config_service.update_serving_config.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_ServingConfigService_UpdateServingConfig_async", - "title": "AclConfigService updateServingConfig Sample", - "origin": "API_DEFINITION", - "description": " Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist.", - "canonical": true, - "file": "serving_config_service.update_serving_config.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateServingConfig", - "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigService.UpdateServingConfig", - "async": true, - "parameters": [ - { - "name": "serving_config", - "type": ".google.cloud.discoveryengine.v1alpha.ServingConfig" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.ServingConfig", - "client": { - "shortName": "ServingConfigServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigServiceClient" - }, - "method": { - "shortName": "UpdateServingConfig", - "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigService.UpdateServingConfig", - "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigService" - } - } - } + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateServingConfig", + "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigService.UpdateServingConfig", + "async": true, + "parameters": [ + { + "name": "serving_config", + "type": ".google.cloud.discoveryengine.v1alpha.ServingConfig" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.ServingConfig", + "client": { + "shortName": "ServingConfigServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigServiceClient" }, + "method": { + "shortName": "UpdateServingConfig", + "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigService.UpdateServingConfig", + "service": { + "shortName": "ServingConfigService", + "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_ServingConfigService_GetServingConfig_async", + "title": "AclConfigService getServingConfig Sample", + "origin": "API_DEFINITION", + "description": " Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist.", + "canonical": true, + "file": "serving_config_service.get_serving_config.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_ServingConfigService_GetServingConfig_async", - "title": "AclConfigService getServingConfig Sample", - "origin": "API_DEFINITION", - "description": " Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist.", - "canonical": true, - "file": "serving_config_service.get_serving_config.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetServingConfig", - "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigService.GetServingConfig", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.ServingConfig", - "client": { - "shortName": "ServingConfigServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigServiceClient" - }, - "method": { - "shortName": "GetServingConfig", - "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigService.GetServingConfig", - "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigService" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetServingConfig", + "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigService.GetServingConfig", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.ServingConfig", + "client": { + "shortName": "ServingConfigServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigServiceClient" }, + "method": { + "shortName": "GetServingConfig", + "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigService.GetServingConfig", + "service": { + "shortName": "ServingConfigService", + "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_ServingConfigService_ListServingConfigs_async", + "title": "AclConfigService listServingConfigs Sample", + "origin": "API_DEFINITION", + "description": " Lists all ServingConfigs linked to this dataStore.", + "canonical": true, + "file": "serving_config_service.list_serving_configs.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_ServingConfigService_ListServingConfigs_async", - "title": "AclConfigService listServingConfigs Sample", - "origin": "API_DEFINITION", - "description": " Lists all ServingConfigs linked to this dataStore.", - "canonical": true, - "file": "serving_config_service.list_serving_configs.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 67, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListServingConfigs", - "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigService.ListServingConfigs", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.ListServingConfigsResponse", - "client": { - "shortName": "ServingConfigServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigServiceClient" - }, - "method": { - "shortName": "ListServingConfigs", - "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigService.ListServingConfigs", - "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigService" - } - } - } + "start": 25, + "end": 67, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListServingConfigs", + "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigService.ListServingConfigs", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.ListServingConfigsResponse", + "client": { + "shortName": "ServingConfigServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigServiceClient" }, + "method": { + "shortName": "ListServingConfigs", + "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigService.ListServingConfigs", + "service": { + "shortName": "ServingConfigService", + "fullName": "google.cloud.discoveryengine.v1alpha.ServingConfigService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_SessionService_CreateSession_async", + "title": "AclConfigService createSession Sample", + "origin": "API_DEFINITION", + "description": " Creates a Session. If the [Session][google.cloud.discoveryengine.v1alpha.Session] to create already exists, an ALREADY_EXISTS error is returned.", + "canonical": true, + "file": "session_service.create_session.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_SessionService_CreateSession_async", - "title": "AclConfigService createSession Sample", - "origin": "API_DEFINITION", - "description": " Creates a Session. If the [Session][google.cloud.discoveryengine.v1alpha.Session] to create already exists, an ALREADY_EXISTS error is returned.", - "canonical": true, - "file": "session_service.create_session.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateSession", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionService.CreateSession", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "session", - "type": ".google.cloud.discoveryengine.v1alpha.Session" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.Session", - "client": { - "shortName": "SessionServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionServiceClient" - }, - "method": { - "shortName": "CreateSession", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionService.CreateSession", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionService" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateSession", + "fullName": "google.cloud.discoveryengine.v1alpha.SessionService.CreateSession", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "session", + "type": ".google.cloud.discoveryengine.v1alpha.Session" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.Session", + "client": { + "shortName": "SessionServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.SessionServiceClient" }, + "method": { + "shortName": "CreateSession", + "fullName": "google.cloud.discoveryengine.v1alpha.SessionService.CreateSession", + "service": { + "shortName": "SessionService", + "fullName": "google.cloud.discoveryengine.v1alpha.SessionService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_SessionService_DeleteSession_async", + "title": "AclConfigService deleteSession Sample", + "origin": "API_DEFINITION", + "description": " Deletes a Session. If the [Session][google.cloud.discoveryengine.v1alpha.Session] to delete does not exist, a NOT_FOUND error is returned.", + "canonical": true, + "file": "session_service.delete_session.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_SessionService_DeleteSession_async", - "title": "AclConfigService deleteSession Sample", - "origin": "API_DEFINITION", - "description": " Deletes a Session. If the [Session][google.cloud.discoveryengine.v1alpha.Session] to delete does not exist, a NOT_FOUND error is returned.", - "canonical": true, - "file": "session_service.delete_session.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteSession", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionService.DeleteSession", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "SessionServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionServiceClient" - }, - "method": { - "shortName": "DeleteSession", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionService.DeleteSession", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionService" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteSession", + "fullName": "google.cloud.discoveryengine.v1alpha.SessionService.DeleteSession", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "SessionServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.SessionServiceClient" }, + "method": { + "shortName": "DeleteSession", + "fullName": "google.cloud.discoveryengine.v1alpha.SessionService.DeleteSession", + "service": { + "shortName": "SessionService", + "fullName": "google.cloud.discoveryengine.v1alpha.SessionService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_SessionService_UpdateSession_async", + "title": "AclConfigService updateSession Sample", + "origin": "API_DEFINITION", + "description": " Updates a Session. [Session][google.cloud.discoveryengine.v1alpha.Session] action type cannot be changed. If the [Session][google.cloud.discoveryengine.v1alpha.Session] to update does not exist, a NOT_FOUND error is returned.", + "canonical": true, + "file": "session_service.update_session.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_SessionService_UpdateSession_async", - "title": "AclConfigService updateSession Sample", - "origin": "API_DEFINITION", - "description": " Updates a Session. [Session][google.cloud.discoveryengine.v1alpha.Session] action type cannot be changed. If the [Session][google.cloud.discoveryengine.v1alpha.Session] to update does not exist, a NOT_FOUND error is returned.", - "canonical": true, - "file": "session_service.update_session.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateSession", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionService.UpdateSession", - "async": true, - "parameters": [ - { - "name": "session", - "type": ".google.cloud.discoveryengine.v1alpha.Session" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.Session", - "client": { - "shortName": "SessionServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionServiceClient" - }, - "method": { - "shortName": "UpdateSession", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionService.UpdateSession", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionService" - } - } - } + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateSession", + "fullName": "google.cloud.discoveryengine.v1alpha.SessionService.UpdateSession", + "async": true, + "parameters": [ + { + "name": "session", + "type": ".google.cloud.discoveryengine.v1alpha.Session" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.Session", + "client": { + "shortName": "SessionServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.SessionServiceClient" }, + "method": { + "shortName": "UpdateSession", + "fullName": "google.cloud.discoveryengine.v1alpha.SessionService.UpdateSession", + "service": { + "shortName": "SessionService", + "fullName": "google.cloud.discoveryengine.v1alpha.SessionService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_SessionService_GetSession_async", + "title": "AclConfigService getSession Sample", + "origin": "API_DEFINITION", + "description": " Gets a Session.", + "canonical": true, + "file": "session_service.get_session.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_SessionService_GetSession_async", - "title": "AclConfigService getSession Sample", - "origin": "API_DEFINITION", - "description": " Gets a Session.", - "canonical": true, - "file": "session_service.get_session.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetSession", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionService.GetSession", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "include_answer_details", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.Session", - "client": { - "shortName": "SessionServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionServiceClient" - }, - "method": { - "shortName": "GetSession", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionService.GetSession", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionService" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetSession", + "fullName": "google.cloud.discoveryengine.v1alpha.SessionService.GetSession", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "include_answer_details", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.Session", + "client": { + "shortName": "SessionServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.SessionServiceClient" }, + "method": { + "shortName": "GetSession", + "fullName": "google.cloud.discoveryengine.v1alpha.SessionService.GetSession", + "service": { + "shortName": "SessionService", + "fullName": "google.cloud.discoveryengine.v1alpha.SessionService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_SessionService_ListSessions_async", + "title": "AclConfigService listSessions Sample", + "origin": "API_DEFINITION", + "description": " Lists all Sessions by their parent [DataStore][google.cloud.discoveryengine.v1alpha.DataStore].", + "canonical": true, + "file": "session_service.list_sessions.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_SessionService_ListSessions_async", - "title": "AclConfigService listSessions Sample", - "origin": "API_DEFINITION", - "description": " Lists all Sessions by their parent [DataStore][google.cloud.discoveryengine.v1alpha.DataStore].", - "canonical": true, - "file": "session_service.list_sessions.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 100, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListSessions", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionService.ListSessions", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.ListSessionsResponse", - "client": { - "shortName": "SessionServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionServiceClient" - }, - "method": { - "shortName": "ListSessions", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionService.ListSessions", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionService" - } - } - } + "start": 25, + "end": 100, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListSessions", + "fullName": "google.cloud.discoveryengine.v1alpha.SessionService.ListSessions", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.ListSessionsResponse", + "client": { + "shortName": "SessionServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.SessionServiceClient" }, + "method": { + "shortName": "ListSessions", + "fullName": "google.cloud.discoveryengine.v1alpha.SessionService.ListSessions", + "service": { + "shortName": "SessionService", + "fullName": "google.cloud.discoveryengine.v1alpha.SessionService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_SessionService_ListFiles_async", + "title": "AclConfigService listFiles Sample", + "origin": "API_DEFINITION", + "description": " Lists metadata for all files in the current session.", + "canonical": true, + "file": "session_service.list_files.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_SessionService_ListFiles_async", - "title": "AclConfigService listFiles Sample", - "origin": "API_DEFINITION", - "description": " Lists metadata for all files in the current session.", - "canonical": true, - "file": "session_service.list_files.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 92, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListFiles", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionService.ListFiles", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.ListFilesResponse", - "client": { - "shortName": "SessionServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionServiceClient" - }, - "method": { - "shortName": "ListFiles", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionService.ListFiles", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1alpha.SessionService" - } - } - } + "start": 25, + "end": 92, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListFiles", + "fullName": "google.cloud.discoveryengine.v1alpha.SessionService.ListFiles", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.ListFilesResponse", + "client": { + "shortName": "SessionServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.SessionServiceClient" }, + "method": { + "shortName": "ListFiles", + "fullName": "google.cloud.discoveryengine.v1alpha.SessionService.ListFiles", + "service": { + "shortName": "SessionService", + "fullName": "google.cloud.discoveryengine.v1alpha.SessionService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_GetSiteSearchEngine_async", + "title": "AclConfigService getSiteSearchEngine Sample", + "origin": "API_DEFINITION", + "description": " Gets the [SiteSearchEngine][google.cloud.discoveryengine.v1alpha.SiteSearchEngine].", + "canonical": true, + "file": "site_search_engine_service.get_site_search_engine.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_GetSiteSearchEngine_async", - "title": "AclConfigService getSiteSearchEngine Sample", - "origin": "API_DEFINITION", - "description": " Gets the [SiteSearchEngine][google.cloud.discoveryengine.v1alpha.SiteSearchEngine].", - "canonical": true, - "file": "site_search_engine_service.get_site_search_engine.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetSiteSearchEngine", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.GetSiteSearchEngine", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.SiteSearchEngine", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "GetSiteSearchEngine", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.GetSiteSearchEngine", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetSiteSearchEngine", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.GetSiteSearchEngine", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.SiteSearchEngine", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "GetSiteSearchEngine", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.GetSiteSearchEngine", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_CreateTargetSite_async", + "title": "AclConfigService createTargetSite Sample", + "origin": "API_DEFINITION", + "description": " Creates a [TargetSite][google.cloud.discoveryengine.v1alpha.TargetSite].", + "canonical": true, + "file": "site_search_engine_service.create_target_site.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_CreateTargetSite_async", - "title": "AclConfigService createTargetSite Sample", - "origin": "API_DEFINITION", - "description": " Creates a [TargetSite][google.cloud.discoveryengine.v1alpha.TargetSite].", - "canonical": true, - "file": "site_search_engine_service.create_target_site.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 62, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateTargetSite", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.CreateTargetSite", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "target_site", - "type": ".google.cloud.discoveryengine.v1alpha.TargetSite" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "CreateTargetSite", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.CreateTargetSite", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 62, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateTargetSite", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.CreateTargetSite", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "target_site", + "type": ".google.cloud.discoveryengine.v1alpha.TargetSite" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "CreateTargetSite", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.CreateTargetSite", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_BatchCreateTargetSites_async", + "title": "AclConfigService batchCreateTargetSites Sample", + "origin": "API_DEFINITION", + "description": " Creates [TargetSite][google.cloud.discoveryengine.v1alpha.TargetSite] in a batch.", + "canonical": true, + "file": "site_search_engine_service.batch_create_target_sites.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_BatchCreateTargetSites_async", - "title": "AclConfigService batchCreateTargetSites Sample", - "origin": "API_DEFINITION", - "description": " Creates [TargetSite][google.cloud.discoveryengine.v1alpha.TargetSite] in a batch.", - "canonical": true, - "file": "site_search_engine_service.batch_create_target_sites.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 63, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "BatchCreateTargetSites", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.BatchCreateTargetSites", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "requests", - "type": "TYPE_MESSAGE[]" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "BatchCreateTargetSites", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.BatchCreateTargetSites", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 63, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "BatchCreateTargetSites", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.BatchCreateTargetSites", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "requests", + "type": "TYPE_MESSAGE[]" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "BatchCreateTargetSites", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.BatchCreateTargetSites", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_GetTargetSite_async", + "title": "AclConfigService getTargetSite Sample", + "origin": "API_DEFINITION", + "description": " Gets a [TargetSite][google.cloud.discoveryengine.v1alpha.TargetSite].", + "canonical": true, + "file": "site_search_engine_service.get_target_site.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_GetTargetSite_async", - "title": "AclConfigService getTargetSite Sample", - "origin": "API_DEFINITION", - "description": " Gets a [TargetSite][google.cloud.discoveryengine.v1alpha.TargetSite].", - "canonical": true, - "file": "site_search_engine_service.get_target_site.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetTargetSite", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.GetTargetSite", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.TargetSite", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "GetTargetSite", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.GetTargetSite", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetTargetSite", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.GetTargetSite", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.TargetSite", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "GetTargetSite", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.GetTargetSite", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_UpdateTargetSite_async", + "title": "AclConfigService updateTargetSite Sample", + "origin": "API_DEFINITION", + "description": " Updates a [TargetSite][google.cloud.discoveryengine.v1alpha.TargetSite].", + "canonical": true, + "file": "site_search_engine_service.update_target_site.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_UpdateTargetSite_async", - "title": "AclConfigService updateTargetSite Sample", - "origin": "API_DEFINITION", - "description": " Updates a [TargetSite][google.cloud.discoveryengine.v1alpha.TargetSite].", - "canonical": true, - "file": "site_search_engine_service.update_target_site.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateTargetSite", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.UpdateTargetSite", - "async": true, - "parameters": [ - { - "name": "target_site", - "type": ".google.cloud.discoveryengine.v1alpha.TargetSite" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "UpdateTargetSite", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.UpdateTargetSite", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateTargetSite", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.UpdateTargetSite", + "async": true, + "parameters": [ + { + "name": "target_site", + "type": ".google.cloud.discoveryengine.v1alpha.TargetSite" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "UpdateTargetSite", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.UpdateTargetSite", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_DeleteTargetSite_async", + "title": "AclConfigService deleteTargetSite Sample", + "origin": "API_DEFINITION", + "description": " Deletes a [TargetSite][google.cloud.discoveryengine.v1alpha.TargetSite].", + "canonical": true, + "file": "site_search_engine_service.delete_target_site.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_DeleteTargetSite_async", - "title": "AclConfigService deleteTargetSite Sample", - "origin": "API_DEFINITION", - "description": " Deletes a [TargetSite][google.cloud.discoveryengine.v1alpha.TargetSite].", - "canonical": true, - "file": "site_search_engine_service.delete_target_site.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 62, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteTargetSite", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.DeleteTargetSite", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "DeleteTargetSite", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.DeleteTargetSite", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 62, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteTargetSite", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.DeleteTargetSite", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "DeleteTargetSite", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.DeleteTargetSite", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_ListTargetSites_async", + "title": "AclConfigService listTargetSites Sample", + "origin": "API_DEFINITION", + "description": " Gets a list of [TargetSite][google.cloud.discoveryengine.v1alpha.TargetSite]s.", + "canonical": true, + "file": "site_search_engine_service.list_target_sites.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_ListTargetSites_async", - "title": "AclConfigService listTargetSites Sample", - "origin": "API_DEFINITION", - "description": " Gets a list of [TargetSite][google.cloud.discoveryengine.v1alpha.TargetSite]s.", - "canonical": true, - "file": "site_search_engine_service.list_target_sites.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 74, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListTargetSites", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.ListTargetSites", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.ListTargetSitesResponse", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "ListTargetSites", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.ListTargetSites", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 74, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListTargetSites", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.ListTargetSites", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.ListTargetSitesResponse", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "ListTargetSites", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.ListTargetSites", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_EnableAdvancedSiteSearch_async", + "title": "AclConfigService enableAdvancedSiteSearch Sample", + "origin": "API_DEFINITION", + "description": " Upgrade from basic site search to advanced site search.", + "canonical": true, + "file": "site_search_engine_service.enable_advanced_site_search.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_EnableAdvancedSiteSearch_async", - "title": "AclConfigService enableAdvancedSiteSearch Sample", - "origin": "API_DEFINITION", - "description": " Upgrade from basic site search to advanced site search.", - "canonical": true, - "file": "site_search_engine_service.enable_advanced_site_search.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 57, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "EnableAdvancedSiteSearch", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.EnableAdvancedSiteSearch", - "async": true, - "parameters": [ - { - "name": "site_search_engine", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "EnableAdvancedSiteSearch", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.EnableAdvancedSiteSearch", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 57, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "EnableAdvancedSiteSearch", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.EnableAdvancedSiteSearch", + "async": true, + "parameters": [ + { + "name": "site_search_engine", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "EnableAdvancedSiteSearch", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.EnableAdvancedSiteSearch", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_DisableAdvancedSiteSearch_async", + "title": "AclConfigService disableAdvancedSiteSearch Sample", + "origin": "API_DEFINITION", + "description": " Downgrade from advanced site search to basic site search.", + "canonical": true, + "file": "site_search_engine_service.disable_advanced_site_search.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_DisableAdvancedSiteSearch_async", - "title": "AclConfigService disableAdvancedSiteSearch Sample", - "origin": "API_DEFINITION", - "description": " Downgrade from advanced site search to basic site search.", - "canonical": true, - "file": "site_search_engine_service.disable_advanced_site_search.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 57, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DisableAdvancedSiteSearch", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.DisableAdvancedSiteSearch", - "async": true, - "parameters": [ - { - "name": "site_search_engine", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "DisableAdvancedSiteSearch", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.DisableAdvancedSiteSearch", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 57, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DisableAdvancedSiteSearch", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.DisableAdvancedSiteSearch", + "async": true, + "parameters": [ + { + "name": "site_search_engine", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "DisableAdvancedSiteSearch", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.DisableAdvancedSiteSearch", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_RecrawlUris_async", + "title": "AclConfigService recrawlUris Sample", + "origin": "API_DEFINITION", + "description": " Request on-demand recrawl for a list of URIs.", + "canonical": true, + "file": "site_search_engine_service.recrawl_uris.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_RecrawlUris_async", - "title": "AclConfigService recrawlUris Sample", - "origin": "API_DEFINITION", - "description": " Request on-demand recrawl for a list of URIs.", - "canonical": true, - "file": "site_search_engine_service.recrawl_uris.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 65, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "RecrawlUris", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.RecrawlUris", - "async": true, - "parameters": [ - { - "name": "site_search_engine", - "type": "TYPE_STRING" - }, - { - "name": "uris", - "type": "TYPE_STRING[]" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "RecrawlUris", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.RecrawlUris", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 65, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "RecrawlUris", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.RecrawlUris", + "async": true, + "parameters": [ + { + "name": "site_search_engine", + "type": "TYPE_STRING" + }, + { + "name": "uris", + "type": "TYPE_STRING[]" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "RecrawlUris", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.RecrawlUris", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_BatchVerifyTargetSites_async", + "title": "AclConfigService batchVerifyTargetSites Sample", + "origin": "API_DEFINITION", + "description": " Verify target sites' ownership and validity. This API sends all the target sites under site search engine for verification.", + "canonical": true, + "file": "site_search_engine_service.batch_verify_target_sites.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_BatchVerifyTargetSites_async", - "title": "AclConfigService batchVerifyTargetSites Sample", - "origin": "API_DEFINITION", - "description": " Verify target sites' ownership and validity. This API sends all the target sites under site search engine for verification.", - "canonical": true, - "file": "site_search_engine_service.batch_verify_target_sites.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "BatchVerifyTargetSites", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.BatchVerifyTargetSites", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "BatchVerifyTargetSites", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.BatchVerifyTargetSites", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "BatchVerifyTargetSites", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.BatchVerifyTargetSites", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "BatchVerifyTargetSites", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.BatchVerifyTargetSites", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_FetchDomainVerificationStatus_async", + "title": "AclConfigService fetchDomainVerificationStatus Sample", + "origin": "API_DEFINITION", + "description": " Returns list of target sites with its domain verification status. This method can only be called under data store with BASIC_SITE_SEARCH state at the moment.", + "canonical": true, + "file": "site_search_engine_service.fetch_domain_verification_status.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_FetchDomainVerificationStatus_async", - "title": "AclConfigService fetchDomainVerificationStatus Sample", - "origin": "API_DEFINITION", - "description": " Returns list of target sites with its domain verification status. This method can only be called under data store with BASIC_SITE_SEARCH state at the moment.", - "canonical": true, - "file": "site_search_engine_service.fetch_domain_verification_status.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 72, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "FetchDomainVerificationStatus", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.FetchDomainVerificationStatus", - "async": true, - "parameters": [ - { - "name": "site_search_engine", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.FetchDomainVerificationStatusResponse", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "FetchDomainVerificationStatus", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.FetchDomainVerificationStatus", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 72, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "FetchDomainVerificationStatus", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.FetchDomainVerificationStatus", + "async": true, + "parameters": [ + { + "name": "site_search_engine", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.FetchDomainVerificationStatusResponse", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "FetchDomainVerificationStatus", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.FetchDomainVerificationStatus", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_SetUriPatternDocumentData_async", + "title": "AclConfigService setUriPatternDocumentData Sample", + "origin": "API_DEFINITION", + "description": " Sets the URI Pattern to Document data mapping for an Advanced Site Search DataStore.", + "canonical": true, + "file": "site_search_engine_service.set_uri_pattern_document_data.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_SetUriPatternDocumentData_async", - "title": "AclConfigService setUriPatternDocumentData Sample", - "origin": "API_DEFINITION", - "description": " Sets the URI Pattern to Document data mapping for an Advanced Site Search DataStore.", - "canonical": true, - "file": "site_search_engine_service.set_uri_pattern_document_data.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 95, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "SetUriPatternDocumentData", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.SetUriPatternDocumentData", - "async": true, - "parameters": [ - { - "name": "site_search_engine", - "type": "TYPE_STRING" - }, - { - "name": "document_data_map", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "empty_document_data_map", - "type": "TYPE_BOOL" - }, - { - "name": "schema", - "type": ".google.protobuf.Struct" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "SetUriPatternDocumentData", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.SetUriPatternDocumentData", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 95, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "SetUriPatternDocumentData", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.SetUriPatternDocumentData", + "async": true, + "parameters": [ + { + "name": "site_search_engine", + "type": "TYPE_STRING" + }, + { + "name": "document_data_map", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "empty_document_data_map", + "type": "TYPE_BOOL" + }, + { + "name": "schema", + "type": ".google.protobuf.Struct" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "SetUriPatternDocumentData", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.SetUriPatternDocumentData", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_GetUriPatternDocumentData_async", + "title": "AclConfigService getUriPatternDocumentData Sample", + "origin": "API_DEFINITION", + "description": " Gets the URI Pattern to Document data mapping for an Advanced Site Search DataStore.", + "canonical": true, + "file": "site_search_engine_service.get_uri_pattern_document_data.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_SiteSearchEngineService_GetUriPatternDocumentData_async", - "title": "AclConfigService getUriPatternDocumentData Sample", - "origin": "API_DEFINITION", - "description": " Gets the URI Pattern to Document data mapping for an Advanced Site Search DataStore.", - "canonical": true, - "file": "site_search_engine_service.get_uri_pattern_document_data.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 56, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetUriPatternDocumentData", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.GetUriPatternDocumentData", - "async": true, - "parameters": [ - { - "name": "site_search_engine", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.GetUriPatternDocumentDataResponse", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "GetUriPatternDocumentData", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.GetUriPatternDocumentData", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 56, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetUriPatternDocumentData", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.GetUriPatternDocumentData", + "async": true, + "parameters": [ + { + "name": "site_search_engine", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.GetUriPatternDocumentDataResponse", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "GetUriPatternDocumentData", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.GetUriPatternDocumentData", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_UserEventService_WriteUserEvent_async", + "title": "AclConfigService writeUserEvent Sample", + "origin": "API_DEFINITION", + "description": " Writes a single user event.", + "canonical": true, + "file": "user_event_service.write_user_event.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_UserEventService_WriteUserEvent_async", - "title": "AclConfigService writeUserEvent Sample", - "origin": "API_DEFINITION", - "description": " Writes a single user event.", - "canonical": true, - "file": "user_event_service.write_user_event.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 72, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "WriteUserEvent", - "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService.WriteUserEvent", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "user_event", - "type": ".google.cloud.discoveryengine.v1alpha.UserEvent" - }, - { - "name": "write_async", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.cloud.discoveryengine.v1alpha.UserEvent", - "client": { - "shortName": "UserEventServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.UserEventServiceClient" - }, - "method": { - "shortName": "WriteUserEvent", - "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService.WriteUserEvent", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService" - } - } - } + "start": 25, + "end": 72, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "WriteUserEvent", + "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService.WriteUserEvent", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "user_event", + "type": ".google.cloud.discoveryengine.v1alpha.UserEvent" + }, + { + "name": "write_async", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.cloud.discoveryengine.v1alpha.UserEvent", + "client": { + "shortName": "UserEventServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.UserEventServiceClient" }, + "method": { + "shortName": "WriteUserEvent", + "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService.WriteUserEvent", + "service": { + "shortName": "UserEventService", + "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_UserEventService_CollectUserEvent_async", + "title": "AclConfigService collectUserEvent Sample", + "origin": "API_DEFINITION", + "description": " Writes a single user event from the browser. This uses a GET request to due to browser restriction of POST-ing to a third-party domain. This method is used only by the Discovery Engine API JavaScript pixel and Google Tag Manager. Users should not call this method directly.", + "canonical": true, + "file": "user_event_service.collect_user_event.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_UserEventService_CollectUserEvent_async", - "title": "AclConfigService collectUserEvent Sample", - "origin": "API_DEFINITION", - "description": " Writes a single user event from the browser. This uses a GET request to due to browser restriction of POST-ing to a third-party domain. This method is used only by the Discovery Engine API JavaScript pixel and Google Tag Manager. Users should not call this method directly.", - "canonical": true, - "file": "user_event_service.collect_user_event.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 73, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CollectUserEvent", - "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService.CollectUserEvent", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "user_event", - "type": "TYPE_STRING" - }, - { - "name": "uri", - "type": "TYPE_STRING" - }, - { - "name": "ets", - "type": "TYPE_INT64" - } - ], - "resultType": ".google.api.HttpBody", - "client": { - "shortName": "UserEventServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.UserEventServiceClient" - }, - "method": { - "shortName": "CollectUserEvent", - "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService.CollectUserEvent", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService" - } - } - } + "start": 25, + "end": 73, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CollectUserEvent", + "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService.CollectUserEvent", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "user_event", + "type": "TYPE_STRING" + }, + { + "name": "uri", + "type": "TYPE_STRING" + }, + { + "name": "ets", + "type": "TYPE_INT64" + } + ], + "resultType": ".google.api.HttpBody", + "client": { + "shortName": "UserEventServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.UserEventServiceClient" }, + "method": { + "shortName": "CollectUserEvent", + "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService.CollectUserEvent", + "service": { + "shortName": "UserEventService", + "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_UserEventService_PurgeUserEvents_async", + "title": "AclConfigService purgeUserEvents Sample", + "origin": "API_DEFINITION", + "description": " Deletes permanently all user events specified by the filter provided. Depending on the number of events specified by the filter, this operation could take hours or days to complete. To test a filter, use the list command first.", + "canonical": true, + "file": "user_event_service.purge_user_events.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_UserEventService_PurgeUserEvents_async", - "title": "AclConfigService purgeUserEvents Sample", - "origin": "API_DEFINITION", - "description": " Deletes permanently all user events specified by the filter provided. Depending on the number of events specified by the filter, this operation could take hours or days to complete. To test a filter, use the list command first.", - "canonical": true, - "file": "user_event_service.purge_user_events.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 90, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "PurgeUserEvents", - "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService.PurgeUserEvents", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "force", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "UserEventServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.UserEventServiceClient" - }, - "method": { - "shortName": "PurgeUserEvents", - "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService.PurgeUserEvents", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService" - } - } - } + "start": 25, + "end": 90, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "PurgeUserEvents", + "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService.PurgeUserEvents", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "force", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "UserEventServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.UserEventServiceClient" }, + "method": { + "shortName": "PurgeUserEvents", + "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService.PurgeUserEvents", + "service": { + "shortName": "UserEventService", + "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1alpha_generated_UserEventService_ImportUserEvents_async", + "title": "AclConfigService importUserEvents Sample", + "origin": "API_DEFINITION", + "description": " Bulk import of user events. Request processing might be synchronous. Events that already exist are skipped. Use this method for backfilling historical user events. Operation.response is of type ImportResponse. Note that it is possible for a subset of the items to be successfully inserted. Operation.metadata is of type ImportMetadata.", + "canonical": true, + "file": "user_event_service.import_user_events.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1alpha_generated_UserEventService_ImportUserEvents_async", - "title": "AclConfigService importUserEvents Sample", - "origin": "API_DEFINITION", - "description": " Bulk import of user events. Request processing might be synchronous. Events that already exist are skipped. Use this method for backfilling historical user events. Operation.response is of type ImportResponse. Note that it is possible for a subset of the items to be successfully inserted. Operation.metadata is of type ImportMetadata.", - "canonical": true, - "file": "user_event_service.import_user_events.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 72, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ImportUserEvents", - "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService.ImportUserEvents", - "async": true, - "parameters": [ - { - "name": "inline_source", - "type": ".google.cloud.discoveryengine.v1alpha.ImportUserEventsRequest.InlineSource" - }, - { - "name": "gcs_source", - "type": ".google.cloud.discoveryengine.v1alpha.GcsSource" - }, - { - "name": "bigquery_source", - "type": ".google.cloud.discoveryengine.v1alpha.BigQuerySource" - }, - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "error_config", - "type": ".google.cloud.discoveryengine.v1alpha.ImportErrorConfig" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "UserEventServiceClient", - "fullName": "google.cloud.discoveryengine.v1alpha.UserEventServiceClient" - }, - "method": { - "shortName": "ImportUserEvents", - "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService.ImportUserEvents", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService" - } - } - } + "start": 25, + "end": 72, + "type": "FULL" } - ] -} \ No newline at end of file + ], + "clientMethod": { + "shortName": "ImportUserEvents", + "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService.ImportUserEvents", + "async": true, + "parameters": [ + { + "name": "inline_source", + "type": ".google.cloud.discoveryengine.v1alpha.ImportUserEventsRequest.InlineSource" + }, + { + "name": "gcs_source", + "type": ".google.cloud.discoveryengine.v1alpha.GcsSource" + }, + { + "name": "bigquery_source", + "type": ".google.cloud.discoveryengine.v1alpha.BigQuerySource" + }, + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "error_config", + "type": ".google.cloud.discoveryengine.v1alpha.ImportErrorConfig" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "UserEventServiceClient", + "fullName": "google.cloud.discoveryengine.v1alpha.UserEventServiceClient" + }, + "method": { + "shortName": "ImportUserEvents", + "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService.ImportUserEvents", + "service": { + "shortName": "UserEventService", + "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService" + } + } + } + } + ] +} diff --git a/packages/google-cloud-discoveryengine/samples/generated/v1beta/snippet_metadata_google.cloud.discoveryengine.v1beta.json b/packages/google-cloud-discoveryengine/samples/generated/v1beta/snippet_metadata_google.cloud.discoveryengine.v1beta.json index 96e6585c0858..1caabfc7f860 100644 --- a/packages/google-cloud-discoveryengine/samples/generated/v1beta/snippet_metadata_google.cloud.discoveryengine.v1beta.json +++ b/packages/google-cloud-discoveryengine/samples/generated/v1beta/snippet_metadata_google.cloud.discoveryengine.v1beta.json @@ -1,5079 +1,5079 @@ { - "clientLibrary": { - "name": "nodejs-discoveryengine", - "version": "2.4.0", - "language": "TYPESCRIPT", - "apis": [ - { - "id": "google.cloud.discoveryengine.v1beta", - "version": "v1beta" - } - ] - }, - "snippets": [ + "clientLibrary": { + "name": "nodejs-discoveryengine", + "version": "0.1.0", + "language": "TYPESCRIPT", + "apis": [ + { + "id": "google.cloud.discoveryengine.v1beta", + "version": "v1beta" + } + ] + }, + "snippets": [ + { + "regionTag": "discoveryengine_v1beta_generated_CompletionService_CompleteQuery_async", + "title": "CompletionService completeQuery Sample", + "origin": "API_DEFINITION", + "description": " Completes the specified user input with keyword suggestions.", + "canonical": true, + "file": "completion_service.complete_query.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_CompletionService_CompleteQuery_async", - "title": "CompletionService completeQuery Sample", - "origin": "API_DEFINITION", - "description": " Completes the specified user input with keyword suggestions.", - "canonical": true, - "file": "completion_service.complete_query.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 99, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CompleteQuery", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.CompleteQuery", - "async": true, - "parameters": [ - { - "name": "data_store", - "type": "TYPE_STRING" - }, - { - "name": "query", - "type": "TYPE_STRING" - }, - { - "name": "query_model", - "type": "TYPE_STRING" - }, - { - "name": "user_pseudo_id", - "type": "TYPE_STRING" - }, - { - "name": "include_tail_suggestions", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.CompleteQueryResponse", - "client": { - "shortName": "CompletionServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionServiceClient" - }, - "method": { - "shortName": "CompleteQuery", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.CompleteQuery", - "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" - } - } - } + "start": 25, + "end": 99, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CompleteQuery", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.CompleteQuery", + "async": true, + "parameters": [ + { + "name": "data_store", + "type": "TYPE_STRING" + }, + { + "name": "query", + "type": "TYPE_STRING" + }, + { + "name": "query_model", + "type": "TYPE_STRING" + }, + { + "name": "user_pseudo_id", + "type": "TYPE_STRING" + }, + { + "name": "include_tail_suggestions", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.CompleteQueryResponse", + "client": { + "shortName": "CompletionServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionServiceClient" }, + "method": { + "shortName": "CompleteQuery", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.CompleteQuery", + "service": { + "shortName": "CompletionService", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_CompletionService_AdvancedCompleteQuery_async", + "title": "CompletionService advancedCompleteQuery Sample", + "origin": "API_DEFINITION", + "description": " Completes the user input with advanced keyword suggestions.", + "canonical": true, + "file": "completion_service.advanced_complete_query.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_CompletionService_AdvancedCompleteQuery_async", - "title": "CompletionService advancedCompleteQuery Sample", - "origin": "API_DEFINITION", - "description": " Completes the user input with advanced keyword suggestions.", - "canonical": true, - "file": "completion_service.advanced_complete_query.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 122, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "AdvancedCompleteQuery", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.AdvancedCompleteQuery", - "async": true, - "parameters": [ - { - "name": "completion_config", - "type": "TYPE_STRING" - }, - { - "name": "query", - "type": "TYPE_STRING" - }, - { - "name": "query_model", - "type": "TYPE_STRING" - }, - { - "name": "user_pseudo_id", - "type": "TYPE_STRING" - }, - { - "name": "user_info", - "type": ".google.cloud.discoveryengine.v1beta.UserInfo" - }, - { - "name": "include_tail_suggestions", - "type": "TYPE_BOOL" - }, - { - "name": "boost_spec", - "type": ".google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryRequest.BoostSpec" - }, - { - "name": "suggestion_types", - "type": "TYPE_ENUM[]" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse", - "client": { - "shortName": "CompletionServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionServiceClient" - }, - "method": { - "shortName": "AdvancedCompleteQuery", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.AdvancedCompleteQuery", - "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" - } - } - } + "start": 25, + "end": 122, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "AdvancedCompleteQuery", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.AdvancedCompleteQuery", + "async": true, + "parameters": [ + { + "name": "completion_config", + "type": "TYPE_STRING" + }, + { + "name": "query", + "type": "TYPE_STRING" + }, + { + "name": "query_model", + "type": "TYPE_STRING" + }, + { + "name": "user_pseudo_id", + "type": "TYPE_STRING" + }, + { + "name": "user_info", + "type": ".google.cloud.discoveryengine.v1beta.UserInfo" + }, + { + "name": "include_tail_suggestions", + "type": "TYPE_BOOL" + }, + { + "name": "boost_spec", + "type": ".google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryRequest.BoostSpec" + }, + { + "name": "suggestion_types", + "type": "TYPE_ENUM[]" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.AdvancedCompleteQueryResponse", + "client": { + "shortName": "CompletionServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionServiceClient" }, + "method": { + "shortName": "AdvancedCompleteQuery", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.AdvancedCompleteQuery", + "service": { + "shortName": "CompletionService", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_CompletionService_ImportSuggestionDenyListEntries_async", + "title": "CompletionService importSuggestionDenyListEntries Sample", + "origin": "API_DEFINITION", + "description": " Imports all [SuggestionDenyListEntry][google.cloud.discoveryengine.v1beta.SuggestionDenyListEntry] for a DataStore.", + "canonical": true, + "file": "completion_service.import_suggestion_deny_list_entries.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_CompletionService_ImportSuggestionDenyListEntries_async", - "title": "CompletionService importSuggestionDenyListEntries Sample", - "origin": "API_DEFINITION", - "description": " Imports all [SuggestionDenyListEntry][google.cloud.discoveryengine.v1beta.SuggestionDenyListEntry] for a DataStore.", - "canonical": true, - "file": "completion_service.import_suggestion_deny_list_entries.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 68, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ImportSuggestionDenyListEntries", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.ImportSuggestionDenyListEntries", - "async": true, - "parameters": [ - { - "name": "inline_source", - "type": ".google.cloud.discoveryengine.v1beta.ImportSuggestionDenyListEntriesRequest.InlineSource" - }, - { - "name": "gcs_source", - "type": ".google.cloud.discoveryengine.v1beta.GcsSource" - }, - { - "name": "parent", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "CompletionServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionServiceClient" - }, - "method": { - "shortName": "ImportSuggestionDenyListEntries", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.ImportSuggestionDenyListEntries", - "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" - } - } - } + "start": 25, + "end": 68, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ImportSuggestionDenyListEntries", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.ImportSuggestionDenyListEntries", + "async": true, + "parameters": [ + { + "name": "inline_source", + "type": ".google.cloud.discoveryengine.v1beta.ImportSuggestionDenyListEntriesRequest.InlineSource" + }, + { + "name": "gcs_source", + "type": ".google.cloud.discoveryengine.v1beta.GcsSource" + }, + { + "name": "parent", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "CompletionServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionServiceClient" }, + "method": { + "shortName": "ImportSuggestionDenyListEntries", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.ImportSuggestionDenyListEntries", + "service": { + "shortName": "CompletionService", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_CompletionService_PurgeSuggestionDenyListEntries_async", + "title": "CompletionService purgeSuggestionDenyListEntries Sample", + "origin": "API_DEFINITION", + "description": " Permanently deletes all [SuggestionDenyListEntry][google.cloud.discoveryengine.v1beta.SuggestionDenyListEntry] for a DataStore.", + "canonical": true, + "file": "completion_service.purge_suggestion_deny_list_entries.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_CompletionService_PurgeSuggestionDenyListEntries_async", - "title": "CompletionService purgeSuggestionDenyListEntries Sample", - "origin": "API_DEFINITION", - "description": " Permanently deletes all [SuggestionDenyListEntry][google.cloud.discoveryengine.v1beta.SuggestionDenyListEntry] for a DataStore.", - "canonical": true, - "file": "completion_service.purge_suggestion_deny_list_entries.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "PurgeSuggestionDenyListEntries", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.PurgeSuggestionDenyListEntries", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "CompletionServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionServiceClient" - }, - "method": { - "shortName": "PurgeSuggestionDenyListEntries", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.PurgeSuggestionDenyListEntries", - "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "PurgeSuggestionDenyListEntries", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.PurgeSuggestionDenyListEntries", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "CompletionServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionServiceClient" }, + "method": { + "shortName": "PurgeSuggestionDenyListEntries", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.PurgeSuggestionDenyListEntries", + "service": { + "shortName": "CompletionService", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_CompletionService_ImportCompletionSuggestions_async", + "title": "CompletionService importCompletionSuggestions Sample", + "origin": "API_DEFINITION", + "description": " Imports [CompletionSuggestion][google.cloud.discoveryengine.v1beta.CompletionSuggestion]s for a DataStore.", + "canonical": true, + "file": "completion_service.import_completion_suggestions.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_CompletionService_ImportCompletionSuggestions_async", - "title": "CompletionService importCompletionSuggestions Sample", - "origin": "API_DEFINITION", - "description": " Imports [CompletionSuggestion][google.cloud.discoveryengine.v1beta.CompletionSuggestion]s for a DataStore.", - "canonical": true, - "file": "completion_service.import_completion_suggestions.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 72, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ImportCompletionSuggestions", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.ImportCompletionSuggestions", - "async": true, - "parameters": [ - { - "name": "inline_source", - "type": ".google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsRequest.InlineSource" - }, - { - "name": "gcs_source", - "type": ".google.cloud.discoveryengine.v1beta.GcsSource" - }, - { - "name": "bigquery_source", - "type": ".google.cloud.discoveryengine.v1beta.BigQuerySource" - }, - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "error_config", - "type": ".google.cloud.discoveryengine.v1beta.ImportErrorConfig" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "CompletionServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionServiceClient" - }, - "method": { - "shortName": "ImportCompletionSuggestions", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.ImportCompletionSuggestions", - "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" - } - } - } + "start": 25, + "end": 72, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ImportCompletionSuggestions", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.ImportCompletionSuggestions", + "async": true, + "parameters": [ + { + "name": "inline_source", + "type": ".google.cloud.discoveryengine.v1beta.ImportCompletionSuggestionsRequest.InlineSource" + }, + { + "name": "gcs_source", + "type": ".google.cloud.discoveryengine.v1beta.GcsSource" + }, + { + "name": "bigquery_source", + "type": ".google.cloud.discoveryengine.v1beta.BigQuerySource" + }, + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "error_config", + "type": ".google.cloud.discoveryengine.v1beta.ImportErrorConfig" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "CompletionServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionServiceClient" }, + "method": { + "shortName": "ImportCompletionSuggestions", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.ImportCompletionSuggestions", + "service": { + "shortName": "CompletionService", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_CompletionService_PurgeCompletionSuggestions_async", + "title": "CompletionService purgeCompletionSuggestions Sample", + "origin": "API_DEFINITION", + "description": " Permanently deletes all [CompletionSuggestion][google.cloud.discoveryengine.v1beta.CompletionSuggestion]s for a DataStore.", + "canonical": true, + "file": "completion_service.purge_completion_suggestions.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_CompletionService_PurgeCompletionSuggestions_async", - "title": "CompletionService purgeCompletionSuggestions Sample", - "origin": "API_DEFINITION", - "description": " Permanently deletes all [CompletionSuggestion][google.cloud.discoveryengine.v1beta.CompletionSuggestion]s for a DataStore.", - "canonical": true, - "file": "completion_service.purge_completion_suggestions.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 56, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "PurgeCompletionSuggestions", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.PurgeCompletionSuggestions", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "CompletionServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionServiceClient" - }, - "method": { - "shortName": "PurgeCompletionSuggestions", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.PurgeCompletionSuggestions", - "service": { - "shortName": "CompletionService", - "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" - } - } - } + "start": 25, + "end": 56, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "PurgeCompletionSuggestions", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.PurgeCompletionSuggestions", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "CompletionServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionServiceClient" }, + "method": { + "shortName": "PurgeCompletionSuggestions", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.PurgeCompletionSuggestions", + "service": { + "shortName": "CompletionService", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_ControlService_CreateControl_async", + "title": "CompletionService createControl Sample", + "origin": "API_DEFINITION", + "description": " Creates a Control. By default 1000 controls are allowed for a data store. A request can be submitted to adjust this limit. If the [Control][google.cloud.discoveryengine.v1beta.Control] to create already exists, an ALREADY_EXISTS error is returned.", + "canonical": true, + "file": "control_service.create_control.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_ControlService_CreateControl_async", - "title": "CompletionService createControl Sample", - "origin": "API_DEFINITION", - "description": " Creates a Control. By default 1000 controls are allowed for a data store. A request can be submitted to adjust this limit. If the [Control][google.cloud.discoveryengine.v1beta.Control] to create already exists, an ALREADY_EXISTS error is returned.", - "canonical": true, - "file": "control_service.create_control.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 69, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateControl", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.CreateControl", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "control", - "type": ".google.cloud.discoveryengine.v1beta.Control" - }, - { - "name": "control_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.Control", - "client": { - "shortName": "ControlServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.ControlServiceClient" - }, - "method": { - "shortName": "CreateControl", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.CreateControl", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService" - } - } - } + "start": 25, + "end": 69, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateControl", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.CreateControl", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "control", + "type": ".google.cloud.discoveryengine.v1beta.Control" + }, + { + "name": "control_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.Control", + "client": { + "shortName": "ControlServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.ControlServiceClient" }, + "method": { + "shortName": "CreateControl", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.CreateControl", + "service": { + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_ControlService_DeleteControl_async", + "title": "CompletionService deleteControl Sample", + "origin": "API_DEFINITION", + "description": " Deletes a Control. If the [Control][google.cloud.discoveryengine.v1beta.Control] to delete does not exist, a NOT_FOUND error is returned.", + "canonical": true, + "file": "control_service.delete_control.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_ControlService_DeleteControl_async", - "title": "CompletionService deleteControl Sample", - "origin": "API_DEFINITION", - "description": " Deletes a Control. If the [Control][google.cloud.discoveryengine.v1beta.Control] to delete does not exist, a NOT_FOUND error is returned.", - "canonical": true, - "file": "control_service.delete_control.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteControl", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.DeleteControl", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "ControlServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.ControlServiceClient" - }, - "method": { - "shortName": "DeleteControl", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.DeleteControl", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteControl", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.DeleteControl", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "ControlServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.ControlServiceClient" }, + "method": { + "shortName": "DeleteControl", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.DeleteControl", + "service": { + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_ControlService_UpdateControl_async", + "title": "CompletionService updateControl Sample", + "origin": "API_DEFINITION", + "description": " Updates a Control. [Control][google.cloud.discoveryengine.v1beta.Control] action type cannot be changed. If the [Control][google.cloud.discoveryengine.v1beta.Control] to update does not exist, a NOT_FOUND error is returned.", + "canonical": true, + "file": "control_service.update_control.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_ControlService_UpdateControl_async", - "title": "CompletionService updateControl Sample", - "origin": "API_DEFINITION", - "description": " Updates a Control. [Control][google.cloud.discoveryengine.v1beta.Control] action type cannot be changed. If the [Control][google.cloud.discoveryengine.v1beta.Control] to update does not exist, a NOT_FOUND error is returned.", - "canonical": true, - "file": "control_service.update_control.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 62, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateControl", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.UpdateControl", - "async": true, - "parameters": [ - { - "name": "control", - "type": ".google.cloud.discoveryengine.v1beta.Control" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.Control", - "client": { - "shortName": "ControlServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.ControlServiceClient" - }, - "method": { - "shortName": "UpdateControl", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.UpdateControl", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService" - } - } - } + "start": 25, + "end": 62, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateControl", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.UpdateControl", + "async": true, + "parameters": [ + { + "name": "control", + "type": ".google.cloud.discoveryengine.v1beta.Control" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.Control", + "client": { + "shortName": "ControlServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.ControlServiceClient" }, + "method": { + "shortName": "UpdateControl", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.UpdateControl", + "service": { + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_ControlService_GetControl_async", + "title": "CompletionService getControl Sample", + "origin": "API_DEFINITION", + "description": " Gets a Control.", + "canonical": true, + "file": "control_service.get_control.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_ControlService_GetControl_async", - "title": "CompletionService getControl Sample", - "origin": "API_DEFINITION", - "description": " Gets a Control.", - "canonical": true, - "file": "control_service.get_control.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetControl", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.GetControl", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.Control", - "client": { - "shortName": "ControlServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.ControlServiceClient" - }, - "method": { - "shortName": "GetControl", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.GetControl", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetControl", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.GetControl", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.Control", + "client": { + "shortName": "ControlServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.ControlServiceClient" }, + "method": { + "shortName": "GetControl", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.GetControl", + "service": { + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_ControlService_ListControls_async", + "title": "CompletionService listControls Sample", + "origin": "API_DEFINITION", + "description": " Lists all Controls by their parent [DataStore][google.cloud.discoveryengine.v1beta.DataStore].", + "canonical": true, + "file": "control_service.list_controls.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_ControlService_ListControls_async", - "title": "CompletionService listControls Sample", - "origin": "API_DEFINITION", - "description": " Lists all Controls by their parent [DataStore][google.cloud.discoveryengine.v1beta.DataStore].", - "canonical": true, - "file": "control_service.list_controls.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 75, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListControls", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.ListControls", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.ListControlsResponse", - "client": { - "shortName": "ControlServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.ControlServiceClient" - }, - "method": { - "shortName": "ListControls", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService.ListControls", - "service": { - "shortName": "ControlService", - "fullName": "google.cloud.discoveryengine.v1beta.ControlService" - } - } - } + "start": 25, + "end": 75, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListControls", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.ListControls", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.ListControlsResponse", + "client": { + "shortName": "ControlServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.ControlServiceClient" }, + "method": { + "shortName": "ListControls", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService.ListControls", + "service": { + "shortName": "ControlService", + "fullName": "google.cloud.discoveryengine.v1beta.ControlService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ConverseConversation_async", + "title": "CompletionService converseConversation Sample", + "origin": "API_DEFINITION", + "description": " Converses a conversation.", + "canonical": true, + "file": "conversational_search_service.converse_conversation.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ConverseConversation_async", - "title": "CompletionService converseConversation Sample", - "origin": "API_DEFINITION", - "description": " Converses a conversation.", - "canonical": true, - "file": "conversational_search_service.converse_conversation.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 123, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ConverseConversation", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ConverseConversation", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "query", - "type": ".google.cloud.discoveryengine.v1beta.TextInput" - }, - { - "name": "serving_config", - "type": "TYPE_STRING" - }, - { - "name": "conversation", - "type": ".google.cloud.discoveryengine.v1beta.Conversation" - }, - { - "name": "safe_search", - "type": "TYPE_BOOL" - }, - { - "name": "user_labels", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "summary_spec", - "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SummarySpec" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "boost_spec", - "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.ConverseConversationResponse", - "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchServiceClient" - }, - "method": { - "shortName": "ConverseConversation", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ConverseConversation", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" - } - } - } + "start": 25, + "end": 123, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ConverseConversation", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ConverseConversation", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "query", + "type": ".google.cloud.discoveryengine.v1beta.TextInput" + }, + { + "name": "serving_config", + "type": "TYPE_STRING" + }, + { + "name": "conversation", + "type": ".google.cloud.discoveryengine.v1beta.Conversation" + }, + { + "name": "safe_search", + "type": "TYPE_BOOL" + }, + { + "name": "user_labels", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "summary_spec", + "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SummarySpec" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "boost_spec", + "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.ConverseConversationResponse", + "client": { + "shortName": "ConversationalSearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchServiceClient" }, + "method": { + "shortName": "ConverseConversation", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ConverseConversation", + "service": { + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_CreateConversation_async", + "title": "CompletionService createConversation Sample", + "origin": "API_DEFINITION", + "description": " Creates a Conversation. If the [Conversation][google.cloud.discoveryengine.v1beta.Conversation] to create already exists, an ALREADY_EXISTS error is returned.", + "canonical": true, + "file": "conversational_search_service.create_conversation.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_CreateConversation_async", - "title": "CompletionService createConversation Sample", - "origin": "API_DEFINITION", - "description": " Creates a Conversation. If the [Conversation][google.cloud.discoveryengine.v1beta.Conversation] to create already exists, an ALREADY_EXISTS error is returned.", - "canonical": true, - "file": "conversational_search_service.create_conversation.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateConversation", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.CreateConversation", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "conversation", - "type": ".google.cloud.discoveryengine.v1beta.Conversation" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.Conversation", - "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchServiceClient" - }, - "method": { - "shortName": "CreateConversation", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.CreateConversation", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateConversation", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.CreateConversation", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "conversation", + "type": ".google.cloud.discoveryengine.v1beta.Conversation" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.Conversation", + "client": { + "shortName": "ConversationalSearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchServiceClient" }, + "method": { + "shortName": "CreateConversation", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.CreateConversation", + "service": { + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_DeleteConversation_async", + "title": "CompletionService deleteConversation Sample", + "origin": "API_DEFINITION", + "description": " Deletes a Conversation. If the [Conversation][google.cloud.discoveryengine.v1beta.Conversation] to delete does not exist, a NOT_FOUND error is returned.", + "canonical": true, + "file": "conversational_search_service.delete_conversation.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_DeleteConversation_async", - "title": "CompletionService deleteConversation Sample", - "origin": "API_DEFINITION", - "description": " Deletes a Conversation. If the [Conversation][google.cloud.discoveryengine.v1beta.Conversation] to delete does not exist, a NOT_FOUND error is returned.", - "canonical": true, - "file": "conversational_search_service.delete_conversation.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteConversation", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.DeleteConversation", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchServiceClient" - }, - "method": { - "shortName": "DeleteConversation", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.DeleteConversation", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteConversation", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.DeleteConversation", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "ConversationalSearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchServiceClient" }, + "method": { + "shortName": "DeleteConversation", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.DeleteConversation", + "service": { + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_UpdateConversation_async", + "title": "CompletionService updateConversation Sample", + "origin": "API_DEFINITION", + "description": " Updates a Conversation. [Conversation][google.cloud.discoveryengine.v1beta.Conversation] action type cannot be changed. If the [Conversation][google.cloud.discoveryengine.v1beta.Conversation] to update does not exist, a NOT_FOUND error is returned.", + "canonical": true, + "file": "conversational_search_service.update_conversation.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_UpdateConversation_async", - "title": "CompletionService updateConversation Sample", - "origin": "API_DEFINITION", - "description": " Updates a Conversation. [Conversation][google.cloud.discoveryengine.v1beta.Conversation] action type cannot be changed. If the [Conversation][google.cloud.discoveryengine.v1beta.Conversation] to update does not exist, a NOT_FOUND error is returned.", - "canonical": true, - "file": "conversational_search_service.update_conversation.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateConversation", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.UpdateConversation", - "async": true, - "parameters": [ - { - "name": "conversation", - "type": ".google.cloud.discoveryengine.v1beta.Conversation" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.Conversation", - "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchServiceClient" - }, - "method": { - "shortName": "UpdateConversation", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.UpdateConversation", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" - } - } - } + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateConversation", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.UpdateConversation", + "async": true, + "parameters": [ + { + "name": "conversation", + "type": ".google.cloud.discoveryengine.v1beta.Conversation" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.Conversation", + "client": { + "shortName": "ConversationalSearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchServiceClient" }, + "method": { + "shortName": "UpdateConversation", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.UpdateConversation", + "service": { + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetConversation_async", + "title": "CompletionService getConversation Sample", + "origin": "API_DEFINITION", + "description": " Gets a Conversation.", + "canonical": true, + "file": "conversational_search_service.get_conversation.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetConversation_async", - "title": "CompletionService getConversation Sample", - "origin": "API_DEFINITION", - "description": " Gets a Conversation.", - "canonical": true, - "file": "conversational_search_service.get_conversation.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetConversation", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetConversation", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.Conversation", - "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchServiceClient" - }, - "method": { - "shortName": "GetConversation", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetConversation", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetConversation", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetConversation", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.Conversation", + "client": { + "shortName": "ConversationalSearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchServiceClient" }, + "method": { + "shortName": "GetConversation", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetConversation", + "service": { + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ListConversations_async", + "title": "CompletionService listConversations Sample", + "origin": "API_DEFINITION", + "description": " Lists all Conversations by their parent [DataStore][google.cloud.discoveryengine.v1beta.DataStore].", + "canonical": true, + "file": "conversational_search_service.list_conversations.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ListConversations_async", - "title": "CompletionService listConversations Sample", - "origin": "API_DEFINITION", - "description": " Lists all Conversations by their parent [DataStore][google.cloud.discoveryengine.v1beta.DataStore].", - "canonical": true, - "file": "conversational_search_service.list_conversations.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 85, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListConversations", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ListConversations", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.ListConversationsResponse", - "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchServiceClient" - }, - "method": { - "shortName": "ListConversations", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ListConversations", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" - } - } - } + "start": 25, + "end": 85, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListConversations", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ListConversations", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.ListConversationsResponse", + "client": { + "shortName": "ConversationalSearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchServiceClient" }, + "method": { + "shortName": "ListConversations", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ListConversations", + "service": { + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_AnswerQuery_async", + "title": "CompletionService answerQuery Sample", + "origin": "API_DEFINITION", + "description": " Answer query method.", + "canonical": true, + "file": "conversational_search_service.answer_query.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_AnswerQuery_async", - "title": "CompletionService answerQuery Sample", - "origin": "API_DEFINITION", - "description": " Answer query method.", - "canonical": true, - "file": "conversational_search_service.answer_query.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 122, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "AnswerQuery", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.AnswerQuery", - "async": true, - "parameters": [ - { - "name": "serving_config", - "type": "TYPE_STRING" - }, - { - "name": "query", - "type": ".google.cloud.discoveryengine.v1beta.Query" - }, - { - "name": "session", - "type": "TYPE_STRING" - }, - { - "name": "safety_spec", - "type": ".google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SafetySpec" - }, - { - "name": "related_questions_spec", - "type": ".google.cloud.discoveryengine.v1beta.AnswerQueryRequest.RelatedQuestionsSpec" - }, - { - "name": "grounding_spec", - "type": ".google.cloud.discoveryengine.v1beta.AnswerQueryRequest.GroundingSpec" - }, - { - "name": "answer_generation_spec", - "type": ".google.cloud.discoveryengine.v1beta.AnswerQueryRequest.AnswerGenerationSpec" - }, - { - "name": "search_spec", - "type": ".google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec" - }, - { - "name": "query_understanding_spec", - "type": ".google.cloud.discoveryengine.v1beta.AnswerQueryRequest.QueryUnderstandingSpec" - }, - { - "name": "asynchronous_mode", - "type": "TYPE_BOOL" - }, - { - "name": "user_pseudo_id", - "type": "TYPE_STRING" - }, - { - "name": "user_labels", - "type": "TYPE_MESSAGE[]" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.AnswerQueryResponse", - "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchServiceClient" - }, - "method": { - "shortName": "AnswerQuery", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.AnswerQuery", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" - } - } - } + "start": 25, + "end": 122, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "AnswerQuery", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.AnswerQuery", + "async": true, + "parameters": [ + { + "name": "serving_config", + "type": "TYPE_STRING" + }, + { + "name": "query", + "type": ".google.cloud.discoveryengine.v1beta.Query" + }, + { + "name": "session", + "type": "TYPE_STRING" + }, + { + "name": "safety_spec", + "type": ".google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SafetySpec" + }, + { + "name": "related_questions_spec", + "type": ".google.cloud.discoveryengine.v1beta.AnswerQueryRequest.RelatedQuestionsSpec" + }, + { + "name": "grounding_spec", + "type": ".google.cloud.discoveryengine.v1beta.AnswerQueryRequest.GroundingSpec" + }, + { + "name": "answer_generation_spec", + "type": ".google.cloud.discoveryengine.v1beta.AnswerQueryRequest.AnswerGenerationSpec" + }, + { + "name": "search_spec", + "type": ".google.cloud.discoveryengine.v1beta.AnswerQueryRequest.SearchSpec" + }, + { + "name": "query_understanding_spec", + "type": ".google.cloud.discoveryengine.v1beta.AnswerQueryRequest.QueryUnderstandingSpec" + }, + { + "name": "asynchronous_mode", + "type": "TYPE_BOOL" + }, + { + "name": "user_pseudo_id", + "type": "TYPE_STRING" + }, + { + "name": "user_labels", + "type": "TYPE_MESSAGE[]" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.AnswerQueryResponse", + "client": { + "shortName": "ConversationalSearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchServiceClient" }, + "method": { + "shortName": "AnswerQuery", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.AnswerQuery", + "service": { + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetAnswer_async", + "title": "CompletionService getAnswer Sample", + "origin": "API_DEFINITION", + "description": " Gets a Answer.", + "canonical": true, + "file": "conversational_search_service.get_answer.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetAnswer_async", - "title": "CompletionService getAnswer Sample", - "origin": "API_DEFINITION", - "description": " Gets a Answer.", - "canonical": true, - "file": "conversational_search_service.get_answer.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetAnswer", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetAnswer", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.Answer", - "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchServiceClient" - }, - "method": { - "shortName": "GetAnswer", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetAnswer", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetAnswer", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetAnswer", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.Answer", + "client": { + "shortName": "ConversationalSearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchServiceClient" }, + "method": { + "shortName": "GetAnswer", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetAnswer", + "service": { + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_CreateSession_async", + "title": "CompletionService createSession Sample", + "origin": "API_DEFINITION", + "description": " Creates a Session. If the [Session][google.cloud.discoveryengine.v1beta.Session] to create already exists, an ALREADY_EXISTS error is returned.", + "canonical": true, + "file": "conversational_search_service.create_session.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_CreateSession_async", - "title": "CompletionService createSession Sample", - "origin": "API_DEFINITION", - "description": " Creates a Session. If the [Session][google.cloud.discoveryengine.v1beta.Session] to create already exists, an ALREADY_EXISTS error is returned.", - "canonical": true, - "file": "conversational_search_service.create_session.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateSession", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.CreateSession", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "session", - "type": ".google.cloud.discoveryengine.v1beta.Session" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.Session", - "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchServiceClient" - }, - "method": { - "shortName": "CreateSession", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.CreateSession", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateSession", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.CreateSession", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "session", + "type": ".google.cloud.discoveryengine.v1beta.Session" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.Session", + "client": { + "shortName": "ConversationalSearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchServiceClient" }, + "method": { + "shortName": "CreateSession", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.CreateSession", + "service": { + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_DeleteSession_async", + "title": "CompletionService deleteSession Sample", + "origin": "API_DEFINITION", + "description": " Deletes a Session. If the [Session][google.cloud.discoveryengine.v1beta.Session] to delete does not exist, a NOT_FOUND error is returned.", + "canonical": true, + "file": "conversational_search_service.delete_session.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_DeleteSession_async", - "title": "CompletionService deleteSession Sample", - "origin": "API_DEFINITION", - "description": " Deletes a Session. If the [Session][google.cloud.discoveryengine.v1beta.Session] to delete does not exist, a NOT_FOUND error is returned.", - "canonical": true, - "file": "conversational_search_service.delete_session.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteSession", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.DeleteSession", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchServiceClient" - }, - "method": { - "shortName": "DeleteSession", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.DeleteSession", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteSession", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.DeleteSession", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "ConversationalSearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchServiceClient" }, + "method": { + "shortName": "DeleteSession", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.DeleteSession", + "service": { + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_UpdateSession_async", + "title": "CompletionService updateSession Sample", + "origin": "API_DEFINITION", + "description": " Updates a Session. [Session][google.cloud.discoveryengine.v1beta.Session] action type cannot be changed. If the [Session][google.cloud.discoveryengine.v1beta.Session] to update does not exist, a NOT_FOUND error is returned.", + "canonical": true, + "file": "conversational_search_service.update_session.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_UpdateSession_async", - "title": "CompletionService updateSession Sample", - "origin": "API_DEFINITION", - "description": " Updates a Session. [Session][google.cloud.discoveryengine.v1beta.Session] action type cannot be changed. If the [Session][google.cloud.discoveryengine.v1beta.Session] to update does not exist, a NOT_FOUND error is returned.", - "canonical": true, - "file": "conversational_search_service.update_session.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateSession", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.UpdateSession", - "async": true, - "parameters": [ - { - "name": "session", - "type": ".google.cloud.discoveryengine.v1beta.Session" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.Session", - "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchServiceClient" - }, - "method": { - "shortName": "UpdateSession", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.UpdateSession", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" - } - } - } + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateSession", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.UpdateSession", + "async": true, + "parameters": [ + { + "name": "session", + "type": ".google.cloud.discoveryengine.v1beta.Session" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.Session", + "client": { + "shortName": "ConversationalSearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchServiceClient" }, + "method": { + "shortName": "UpdateSession", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.UpdateSession", + "service": { + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetSession_async", + "title": "CompletionService getSession Sample", + "origin": "API_DEFINITION", + "description": " Gets a Session.", + "canonical": true, + "file": "conversational_search_service.get_session.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_GetSession_async", - "title": "CompletionService getSession Sample", - "origin": "API_DEFINITION", - "description": " Gets a Session.", - "canonical": true, - "file": "conversational_search_service.get_session.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetSession", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetSession", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "include_answer_details", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.Session", - "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchServiceClient" - }, - "method": { - "shortName": "GetSession", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetSession", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetSession", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetSession", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "include_answer_details", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.Session", + "client": { + "shortName": "ConversationalSearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchServiceClient" }, + "method": { + "shortName": "GetSession", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetSession", + "service": { + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ListSessions_async", + "title": "CompletionService listSessions Sample", + "origin": "API_DEFINITION", + "description": " Lists all Sessions by their parent [DataStore][google.cloud.discoveryengine.v1beta.DataStore].", + "canonical": true, + "file": "conversational_search_service.list_sessions.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_ConversationalSearchService_ListSessions_async", - "title": "CompletionService listSessions Sample", - "origin": "API_DEFINITION", - "description": " Lists all Sessions by their parent [DataStore][google.cloud.discoveryengine.v1beta.DataStore].", - "canonical": true, - "file": "conversational_search_service.list_sessions.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 100, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListSessions", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ListSessions", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.ListSessionsResponse", - "client": { - "shortName": "ConversationalSearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchServiceClient" - }, - "method": { - "shortName": "ListSessions", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ListSessions", - "service": { - "shortName": "ConversationalSearchService", - "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" - } - } - } + "start": 25, + "end": 100, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListSessions", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ListSessions", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.ListSessionsResponse", + "client": { + "shortName": "ConversationalSearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchServiceClient" }, + "method": { + "shortName": "ListSessions", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ListSessions", + "service": { + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_DataStoreService_CreateDataStore_async", + "title": "CompletionService createDataStore Sample", + "origin": "API_DEFINITION", + "description": " Creates a [DataStore][google.cloud.discoveryengine.v1beta.DataStore]. DataStore is for storing [Documents][google.cloud.discoveryengine.v1beta.Document]. To serve these documents for Search, or Recommendation use case, an [Engine][google.cloud.discoveryengine.v1beta.Engine] needs to be created separately.", + "canonical": true, + "file": "data_store_service.create_data_store.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_DataStoreService_CreateDataStore_async", - "title": "CompletionService createDataStore Sample", - "origin": "API_DEFINITION", - "description": " Creates a [DataStore][google.cloud.discoveryengine.v1beta.DataStore]. DataStore is for storing [Documents][google.cloud.discoveryengine.v1beta.Document]. To serve these documents for Search, or Recommendation use case, an [Engine][google.cloud.discoveryengine.v1beta.Engine] needs to be created separately.", - "canonical": true, - "file": "data_store_service.create_data_store.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 89, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateDataStore", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.CreateDataStore", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "data_store", - "type": ".google.cloud.discoveryengine.v1beta.DataStore" - }, - { - "name": "data_store_id", - "type": "TYPE_STRING" - }, - { - "name": "create_advanced_site_search", - "type": "TYPE_BOOL" - }, - { - "name": "skip_default_schema_creation", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DataStoreServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreServiceClient" - }, - "method": { - "shortName": "CreateDataStore", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.CreateDataStore", - "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" - } - } - } + "start": 25, + "end": 89, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateDataStore", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.CreateDataStore", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "data_store", + "type": ".google.cloud.discoveryengine.v1beta.DataStore" + }, + { + "name": "data_store_id", + "type": "TYPE_STRING" + }, + { + "name": "create_advanced_site_search", + "type": "TYPE_BOOL" + }, + { + "name": "skip_default_schema_creation", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DataStoreServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreServiceClient" }, + "method": { + "shortName": "CreateDataStore", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.CreateDataStore", + "service": { + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_DataStoreService_GetDataStore_async", + "title": "CompletionService getDataStore Sample", + "origin": "API_DEFINITION", + "description": " Gets a [DataStore][google.cloud.discoveryengine.v1beta.DataStore].", + "canonical": true, + "file": "data_store_service.get_data_store.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_DataStoreService_GetDataStore_async", - "title": "CompletionService getDataStore Sample", - "origin": "API_DEFINITION", - "description": " Gets a [DataStore][google.cloud.discoveryengine.v1beta.DataStore].", - "canonical": true, - "file": "data_store_service.get_data_store.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 60, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetDataStore", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.GetDataStore", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.DataStore", - "client": { - "shortName": "DataStoreServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreServiceClient" - }, - "method": { - "shortName": "GetDataStore", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.GetDataStore", - "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" - } - } - } + "start": 25, + "end": 60, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetDataStore", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.GetDataStore", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.DataStore", + "client": { + "shortName": "DataStoreServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreServiceClient" }, + "method": { + "shortName": "GetDataStore", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.GetDataStore", + "service": { + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_DataStoreService_ListDataStores_async", + "title": "CompletionService listDataStores Sample", + "origin": "API_DEFINITION", + "description": " Lists all the [DataStore][google.cloud.discoveryengine.v1beta.DataStore]s associated with the project.", + "canonical": true, + "file": "data_store_service.list_data_stores.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_DataStoreService_ListDataStores_async", - "title": "CompletionService listDataStores Sample", - "origin": "API_DEFINITION", - "description": " Lists all the [DataStore][google.cloud.discoveryengine.v1beta.DataStore]s associated with the project.", - "canonical": true, - "file": "data_store_service.list_data_stores.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 85, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListDataStores", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.ListDataStores", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.ListDataStoresResponse", - "client": { - "shortName": "DataStoreServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreServiceClient" - }, - "method": { - "shortName": "ListDataStores", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.ListDataStores", - "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" - } - } - } + "start": 25, + "end": 85, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListDataStores", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.ListDataStores", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.ListDataStoresResponse", + "client": { + "shortName": "DataStoreServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreServiceClient" }, + "method": { + "shortName": "ListDataStores", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.ListDataStores", + "service": { + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_DataStoreService_DeleteDataStore_async", + "title": "CompletionService deleteDataStore Sample", + "origin": "API_DEFINITION", + "description": " Deletes a [DataStore][google.cloud.discoveryengine.v1beta.DataStore].", + "canonical": true, + "file": "data_store_service.delete_data_store.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_DataStoreService_DeleteDataStore_async", - "title": "CompletionService deleteDataStore Sample", - "origin": "API_DEFINITION", - "description": " Deletes a [DataStore][google.cloud.discoveryengine.v1beta.DataStore].", - "canonical": true, - "file": "data_store_service.delete_data_store.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteDataStore", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.DeleteDataStore", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DataStoreServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreServiceClient" - }, - "method": { - "shortName": "DeleteDataStore", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.DeleteDataStore", - "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" - } - } - } + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteDataStore", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.DeleteDataStore", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DataStoreServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreServiceClient" }, + "method": { + "shortName": "DeleteDataStore", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.DeleteDataStore", + "service": { + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_DataStoreService_UpdateDataStore_async", + "title": "CompletionService updateDataStore Sample", + "origin": "API_DEFINITION", + "description": " Updates a [DataStore][google.cloud.discoveryengine.v1beta.DataStore]", + "canonical": true, + "file": "data_store_service.update_data_store.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_DataStoreService_UpdateDataStore_async", - "title": "CompletionService updateDataStore Sample", - "origin": "API_DEFINITION", - "description": " Updates a [DataStore][google.cloud.discoveryengine.v1beta.DataStore]", - "canonical": true, - "file": "data_store_service.update_data_store.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 66, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateDataStore", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.UpdateDataStore", - "async": true, - "parameters": [ - { - "name": "data_store", - "type": ".google.cloud.discoveryengine.v1beta.DataStore" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.DataStore", - "client": { - "shortName": "DataStoreServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreServiceClient" - }, - "method": { - "shortName": "UpdateDataStore", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.UpdateDataStore", - "service": { - "shortName": "DataStoreService", - "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" - } - } - } + "start": 25, + "end": 66, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateDataStore", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.UpdateDataStore", + "async": true, + "parameters": [ + { + "name": "data_store", + "type": ".google.cloud.discoveryengine.v1beta.DataStore" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.DataStore", + "client": { + "shortName": "DataStoreServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreServiceClient" }, + "method": { + "shortName": "UpdateDataStore", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.UpdateDataStore", + "service": { + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_DocumentService_GetDocument_async", + "title": "CompletionService getDocument Sample", + "origin": "API_DEFINITION", + "description": " Gets a [Document][google.cloud.discoveryengine.v1beta.Document].", + "canonical": true, + "file": "document_service.get_document.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_GetDocument_async", - "title": "CompletionService getDocument Sample", - "origin": "API_DEFINITION", - "description": " Gets a [Document][google.cloud.discoveryengine.v1beta.Document].", - "canonical": true, - "file": "document_service.get_document.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 60, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetDocument", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.GetDocument", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.Document", - "client": { - "shortName": "DocumentServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentServiceClient" - }, - "method": { - "shortName": "GetDocument", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.GetDocument", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" - } - } - } + "start": 25, + "end": 60, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetDocument", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.GetDocument", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.Document", + "client": { + "shortName": "DocumentServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentServiceClient" }, + "method": { + "shortName": "GetDocument", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.GetDocument", + "service": { + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_DocumentService_ListDocuments_async", + "title": "CompletionService listDocuments Sample", + "origin": "API_DEFINITION", + "description": " Gets a list of [Document][google.cloud.discoveryengine.v1beta.Document]s.", + "canonical": true, + "file": "document_service.list_documents.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_ListDocuments_async", - "title": "CompletionService listDocuments Sample", - "origin": "API_DEFINITION", - "description": " Gets a list of [Document][google.cloud.discoveryengine.v1beta.Document]s.", - "canonical": true, - "file": "document_service.list_documents.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 81, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListDocuments", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.ListDocuments", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.ListDocumentsResponse", - "client": { - "shortName": "DocumentServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentServiceClient" - }, - "method": { - "shortName": "ListDocuments", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.ListDocuments", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" - } - } - } + "start": 25, + "end": 81, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListDocuments", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.ListDocuments", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.ListDocumentsResponse", + "client": { + "shortName": "DocumentServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentServiceClient" }, + "method": { + "shortName": "ListDocuments", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.ListDocuments", + "service": { + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_DocumentService_CreateDocument_async", + "title": "CompletionService createDocument Sample", + "origin": "API_DEFINITION", + "description": " Creates a [Document][google.cloud.discoveryengine.v1beta.Document].", + "canonical": true, + "file": "document_service.create_document.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_CreateDocument_async", - "title": "CompletionService createDocument Sample", - "origin": "API_DEFINITION", - "description": " Creates a [Document][google.cloud.discoveryengine.v1beta.Document].", - "canonical": true, - "file": "document_service.create_document.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 78, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateDocument", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.CreateDocument", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "document", - "type": ".google.cloud.discoveryengine.v1beta.Document" - }, - { - "name": "document_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.Document", - "client": { - "shortName": "DocumentServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentServiceClient" - }, - "method": { - "shortName": "CreateDocument", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.CreateDocument", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" - } - } - } + "start": 25, + "end": 78, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateDocument", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.CreateDocument", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "document", + "type": ".google.cloud.discoveryengine.v1beta.Document" + }, + { + "name": "document_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.Document", + "client": { + "shortName": "DocumentServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentServiceClient" }, + "method": { + "shortName": "CreateDocument", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.CreateDocument", + "service": { + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_DocumentService_UpdateDocument_async", + "title": "CompletionService updateDocument Sample", + "origin": "API_DEFINITION", + "description": " Updates a [Document][google.cloud.discoveryengine.v1beta.Document].", + "canonical": true, + "file": "document_service.update_document.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_UpdateDocument_async", - "title": "CompletionService updateDocument Sample", - "origin": "API_DEFINITION", - "description": " Updates a [Document][google.cloud.discoveryengine.v1beta.Document].", - "canonical": true, - "file": "document_service.update_document.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 71, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateDocument", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.UpdateDocument", - "async": true, - "parameters": [ - { - "name": "document", - "type": ".google.cloud.discoveryengine.v1beta.Document" - }, - { - "name": "allow_missing", - "type": "TYPE_BOOL" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.Document", - "client": { - "shortName": "DocumentServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentServiceClient" - }, - "method": { - "shortName": "UpdateDocument", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.UpdateDocument", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" - } - } - } + "start": 25, + "end": 71, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateDocument", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.UpdateDocument", + "async": true, + "parameters": [ + { + "name": "document", + "type": ".google.cloud.discoveryengine.v1beta.Document" + }, + { + "name": "allow_missing", + "type": "TYPE_BOOL" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.Document", + "client": { + "shortName": "DocumentServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentServiceClient" }, + "method": { + "shortName": "UpdateDocument", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.UpdateDocument", + "service": { + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_DocumentService_DeleteDocument_async", + "title": "CompletionService deleteDocument Sample", + "origin": "API_DEFINITION", + "description": " Deletes a [Document][google.cloud.discoveryengine.v1beta.Document].", + "canonical": true, + "file": "document_service.delete_document.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_DeleteDocument_async", - "title": "CompletionService deleteDocument Sample", - "origin": "API_DEFINITION", - "description": " Deletes a [Document][google.cloud.discoveryengine.v1beta.Document].", - "canonical": true, - "file": "document_service.delete_document.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 60, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteDocument", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.DeleteDocument", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "DocumentServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentServiceClient" - }, - "method": { - "shortName": "DeleteDocument", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.DeleteDocument", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" - } - } - } + "start": 25, + "end": 60, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteDocument", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.DeleteDocument", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "DocumentServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentServiceClient" }, + "method": { + "shortName": "DeleteDocument", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.DeleteDocument", + "service": { + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_DocumentService_ImportDocuments_async", + "title": "CompletionService importDocuments Sample", + "origin": "API_DEFINITION", + "description": " Bulk import of multiple [Document][google.cloud.discoveryengine.v1beta.Document]s. Request processing may be synchronous. Non-existing items are created. Note: It is possible for a subset of the [Document][google.cloud.discoveryengine.v1beta.Document]s to be successfully updated.", + "canonical": true, + "file": "document_service.import_documents.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_ImportDocuments_async", - "title": "CompletionService importDocuments Sample", - "origin": "API_DEFINITION", - "description": " Bulk import of multiple [Document][google.cloud.discoveryengine.v1beta.Document]s. Request processing may be synchronous. Non-existing items are created. Note: It is possible for a subset of the [Document][google.cloud.discoveryengine.v1beta.Document]s to be successfully updated.", - "canonical": true, - "file": "document_service.import_documents.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 163, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ImportDocuments", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.ImportDocuments", - "async": true, - "parameters": [ - { - "name": "inline_source", - "type": ".google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.InlineSource" - }, - { - "name": "gcs_source", - "type": ".google.cloud.discoveryengine.v1beta.GcsSource" - }, - { - "name": "bigquery_source", - "type": ".google.cloud.discoveryengine.v1beta.BigQuerySource" - }, - { - "name": "fhir_store_source", - "type": ".google.cloud.discoveryengine.v1beta.FhirStoreSource" - }, - { - "name": "spanner_source", - "type": ".google.cloud.discoveryengine.v1beta.SpannerSource" - }, - { - "name": "cloud_sql_source", - "type": ".google.cloud.discoveryengine.v1beta.CloudSqlSource" - }, - { - "name": "firestore_source", - "type": ".google.cloud.discoveryengine.v1beta.FirestoreSource" - }, - { - "name": "alloy_db_source", - "type": ".google.cloud.discoveryengine.v1beta.AlloyDbSource" - }, - { - "name": "bigtable_source", - "type": ".google.cloud.discoveryengine.v1beta.BigtableSource" - }, - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "error_config", - "type": ".google.cloud.discoveryengine.v1beta.ImportErrorConfig" - }, - { - "name": "reconciliation_mode", - "type": ".google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.ReconciliationMode" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - }, - { - "name": "auto_generate_ids", - "type": "TYPE_BOOL" - }, - { - "name": "id_field", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DocumentServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentServiceClient" - }, - "method": { - "shortName": "ImportDocuments", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.ImportDocuments", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" - } - } - } + "start": 25, + "end": 163, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ImportDocuments", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.ImportDocuments", + "async": true, + "parameters": [ + { + "name": "inline_source", + "type": ".google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.InlineSource" + }, + { + "name": "gcs_source", + "type": ".google.cloud.discoveryengine.v1beta.GcsSource" + }, + { + "name": "bigquery_source", + "type": ".google.cloud.discoveryengine.v1beta.BigQuerySource" + }, + { + "name": "fhir_store_source", + "type": ".google.cloud.discoveryengine.v1beta.FhirStoreSource" + }, + { + "name": "spanner_source", + "type": ".google.cloud.discoveryengine.v1beta.SpannerSource" + }, + { + "name": "cloud_sql_source", + "type": ".google.cloud.discoveryengine.v1beta.CloudSqlSource" + }, + { + "name": "firestore_source", + "type": ".google.cloud.discoveryengine.v1beta.FirestoreSource" + }, + { + "name": "alloy_db_source", + "type": ".google.cloud.discoveryengine.v1beta.AlloyDbSource" + }, + { + "name": "bigtable_source", + "type": ".google.cloud.discoveryengine.v1beta.BigtableSource" + }, + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "error_config", + "type": ".google.cloud.discoveryengine.v1beta.ImportErrorConfig" + }, + { + "name": "reconciliation_mode", + "type": ".google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.ReconciliationMode" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + }, + { + "name": "auto_generate_ids", + "type": "TYPE_BOOL" + }, + { + "name": "id_field", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DocumentServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentServiceClient" }, + "method": { + "shortName": "ImportDocuments", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.ImportDocuments", + "service": { + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_DocumentService_PurgeDocuments_async", + "title": "CompletionService purgeDocuments Sample", + "origin": "API_DEFINITION", + "description": " Permanently deletes all selected [Document][google.cloud.discoveryengine.v1beta.Document]s in a branch. This process is asynchronous. Depending on the number of [Document][google.cloud.discoveryengine.v1beta.Document]s to be deleted, this operation can take hours to complete. Before the delete operation completes, some [Document][google.cloud.discoveryengine.v1beta.Document]s might still be returned by [DocumentService.GetDocument][google.cloud.discoveryengine.v1beta.DocumentService.GetDocument] or [DocumentService.ListDocuments][google.cloud.discoveryengine.v1beta.DocumentService.ListDocuments]. To get a list of the [Document][google.cloud.discoveryengine.v1beta.Document]s to be deleted, set [PurgeDocumentsRequest.force][google.cloud.discoveryengine.v1beta.PurgeDocumentsRequest.force] to false.", + "canonical": true, + "file": "document_service.purge_documents.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_PurgeDocuments_async", - "title": "CompletionService purgeDocuments Sample", - "origin": "API_DEFINITION", - "description": " Permanently deletes all selected [Document][google.cloud.discoveryengine.v1beta.Document]s in a branch. This process is asynchronous. Depending on the number of [Document][google.cloud.discoveryengine.v1beta.Document]s to be deleted, this operation can take hours to complete. Before the delete operation completes, some [Document][google.cloud.discoveryengine.v1beta.Document]s might still be returned by [DocumentService.GetDocument][google.cloud.discoveryengine.v1beta.DocumentService.GetDocument] or [DocumentService.ListDocuments][google.cloud.discoveryengine.v1beta.DocumentService.ListDocuments]. To get a list of the [Document][google.cloud.discoveryengine.v1beta.Document]s to be deleted, set [PurgeDocumentsRequest.force][google.cloud.discoveryengine.v1beta.PurgeDocumentsRequest.force] to false.", - "canonical": true, - "file": "document_service.purge_documents.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 82, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "PurgeDocuments", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.PurgeDocuments", - "async": true, - "parameters": [ - { - "name": "gcs_source", - "type": ".google.cloud.discoveryengine.v1beta.GcsSource" - }, - { - "name": "inline_source", - "type": ".google.cloud.discoveryengine.v1beta.PurgeDocumentsRequest.InlineSource" - }, - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "error_config", - "type": ".google.cloud.discoveryengine.v1beta.PurgeErrorConfig" - }, - { - "name": "force", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "DocumentServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentServiceClient" - }, - "method": { - "shortName": "PurgeDocuments", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.PurgeDocuments", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" - } - } - } + "start": 25, + "end": 82, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "PurgeDocuments", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.PurgeDocuments", + "async": true, + "parameters": [ + { + "name": "gcs_source", + "type": ".google.cloud.discoveryengine.v1beta.GcsSource" + }, + { + "name": "inline_source", + "type": ".google.cloud.discoveryengine.v1beta.PurgeDocumentsRequest.InlineSource" + }, + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "error_config", + "type": ".google.cloud.discoveryengine.v1beta.PurgeErrorConfig" + }, + { + "name": "force", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "DocumentServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentServiceClient" }, + "method": { + "shortName": "PurgeDocuments", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.PurgeDocuments", + "service": { + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_DocumentService_BatchGetDocumentsMetadata_async", + "title": "CompletionService batchGetDocumentsMetadata Sample", + "origin": "API_DEFINITION", + "description": " Gets index freshness metadata for [Document][google.cloud.discoveryengine.v1beta.Document]s. Supported for website search only.", + "canonical": true, + "file": "document_service.batch_get_documents_metadata.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_DocumentService_BatchGetDocumentsMetadata_async", - "title": "CompletionService batchGetDocumentsMetadata Sample", - "origin": "API_DEFINITION", - "description": " Gets index freshness metadata for [Document][google.cloud.discoveryengine.v1beta.Document]s. Supported for website search only.", - "canonical": true, - "file": "document_service.batch_get_documents_metadata.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 60, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "BatchGetDocumentsMetadata", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.BatchGetDocumentsMetadata", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "matcher", - "type": ".google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataRequest.Matcher" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse", - "client": { - "shortName": "DocumentServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentServiceClient" - }, - "method": { - "shortName": "BatchGetDocumentsMetadata", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.BatchGetDocumentsMetadata", - "service": { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" - } - } - } + "start": 25, + "end": 60, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "BatchGetDocumentsMetadata", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.BatchGetDocumentsMetadata", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "matcher", + "type": ".google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataRequest.Matcher" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse", + "client": { + "shortName": "DocumentServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentServiceClient" }, + "method": { + "shortName": "BatchGetDocumentsMetadata", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.BatchGetDocumentsMetadata", + "service": { + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_EngineService_CreateEngine_async", + "title": "CompletionService createEngine Sample", + "origin": "API_DEFINITION", + "description": " Creates a [Engine][google.cloud.discoveryengine.v1beta.Engine].", + "canonical": true, + "file": "engine_service.create_engine.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_EngineService_CreateEngine_async", - "title": "CompletionService createEngine Sample", - "origin": "API_DEFINITION", - "description": " Creates a [Engine][google.cloud.discoveryengine.v1beta.Engine].", - "canonical": true, - "file": "engine_service.create_engine.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 72, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.CreateEngine", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "engine", - "type": ".google.cloud.discoveryengine.v1beta.Engine" - }, - { - "name": "engine_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.EngineServiceClient" - }, - "method": { - "shortName": "CreateEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.CreateEngine", - "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" - } - } - } + "start": 25, + "end": 72, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.CreateEngine", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "engine", + "type": ".google.cloud.discoveryengine.v1beta.Engine" + }, + { + "name": "engine_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.EngineServiceClient" }, + "method": { + "shortName": "CreateEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.CreateEngine", + "service": { + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_EngineService_DeleteEngine_async", + "title": "CompletionService deleteEngine Sample", + "origin": "API_DEFINITION", + "description": " Deletes a [Engine][google.cloud.discoveryengine.v1beta.Engine].", + "canonical": true, + "file": "engine_service.delete_engine.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_EngineService_DeleteEngine_async", - "title": "CompletionService deleteEngine Sample", - "origin": "API_DEFINITION", - "description": " Deletes a [Engine][google.cloud.discoveryengine.v1beta.Engine].", - "canonical": true, - "file": "engine_service.delete_engine.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.DeleteEngine", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.EngineServiceClient" - }, - "method": { - "shortName": "DeleteEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.DeleteEngine", - "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" - } - } - } + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.DeleteEngine", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.EngineServiceClient" }, + "method": { + "shortName": "DeleteEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.DeleteEngine", + "service": { + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_EngineService_UpdateEngine_async", + "title": "CompletionService updateEngine Sample", + "origin": "API_DEFINITION", + "description": " Updates an [Engine][google.cloud.discoveryengine.v1beta.Engine]", + "canonical": true, + "file": "engine_service.update_engine.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_EngineService_UpdateEngine_async", - "title": "CompletionService updateEngine Sample", - "origin": "API_DEFINITION", - "description": " Updates an [Engine][google.cloud.discoveryengine.v1beta.Engine]", - "canonical": true, - "file": "engine_service.update_engine.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 66, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.UpdateEngine", - "async": true, - "parameters": [ - { - "name": "engine", - "type": ".google.cloud.discoveryengine.v1beta.Engine" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.Engine", - "client": { - "shortName": "EngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.EngineServiceClient" - }, - "method": { - "shortName": "UpdateEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.UpdateEngine", - "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" - } - } - } + "start": 25, + "end": 66, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.UpdateEngine", + "async": true, + "parameters": [ + { + "name": "engine", + "type": ".google.cloud.discoveryengine.v1beta.Engine" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.Engine", + "client": { + "shortName": "EngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.EngineServiceClient" }, + "method": { + "shortName": "UpdateEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.UpdateEngine", + "service": { + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_EngineService_GetEngine_async", + "title": "CompletionService getEngine Sample", + "origin": "API_DEFINITION", + "description": " Gets a [Engine][google.cloud.discoveryengine.v1beta.Engine].", + "canonical": true, + "file": "engine_service.get_engine.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_EngineService_GetEngine_async", - "title": "CompletionService getEngine Sample", - "origin": "API_DEFINITION", - "description": " Gets a [Engine][google.cloud.discoveryengine.v1beta.Engine].", - "canonical": true, - "file": "engine_service.get_engine.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.GetEngine", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.Engine", - "client": { - "shortName": "EngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.EngineServiceClient" - }, - "method": { - "shortName": "GetEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.GetEngine", - "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.GetEngine", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.Engine", + "client": { + "shortName": "EngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.EngineServiceClient" }, + "method": { + "shortName": "GetEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.GetEngine", + "service": { + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_EngineService_ListEngines_async", + "title": "CompletionService listEngines Sample", + "origin": "API_DEFINITION", + "description": " Lists all the [Engine][google.cloud.discoveryengine.v1beta.Engine]s associated with the project.", + "canonical": true, + "file": "engine_service.list_engines.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_EngineService_ListEngines_async", - "title": "CompletionService listEngines Sample", - "origin": "API_DEFINITION", - "description": " Lists all the [Engine][google.cloud.discoveryengine.v1beta.Engine]s associated with the project.", - "canonical": true, - "file": "engine_service.list_engines.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 69, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListEngines", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.ListEngines", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.ListEnginesResponse", - "client": { - "shortName": "EngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.EngineServiceClient" - }, - "method": { - "shortName": "ListEngines", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.ListEngines", - "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" - } - } - } + "start": 25, + "end": 69, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListEngines", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.ListEngines", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.ListEnginesResponse", + "client": { + "shortName": "EngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.EngineServiceClient" }, + "method": { + "shortName": "ListEngines", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.ListEngines", + "service": { + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_EngineService_PauseEngine_async", + "title": "CompletionService pauseEngine Sample", + "origin": "API_DEFINITION", + "description": " Pauses the training of an existing engine. Only applicable if [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION].", + "canonical": true, + "file": "engine_service.pause_engine.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_EngineService_PauseEngine_async", - "title": "CompletionService pauseEngine Sample", - "origin": "API_DEFINITION", - "description": " Pauses the training of an existing engine. Only applicable if [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION].", - "canonical": true, - "file": "engine_service.pause_engine.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "PauseEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.PauseEngine", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.Engine", - "client": { - "shortName": "EngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.EngineServiceClient" - }, - "method": { - "shortName": "PauseEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.PauseEngine", - "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "PauseEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.PauseEngine", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.Engine", + "client": { + "shortName": "EngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.EngineServiceClient" }, + "method": { + "shortName": "PauseEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.PauseEngine", + "service": { + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_EngineService_ResumeEngine_async", + "title": "CompletionService resumeEngine Sample", + "origin": "API_DEFINITION", + "description": " Resumes the training of an existing engine. Only applicable if [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION].", + "canonical": true, + "file": "engine_service.resume_engine.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_EngineService_ResumeEngine_async", - "title": "CompletionService resumeEngine Sample", - "origin": "API_DEFINITION", - "description": " Resumes the training of an existing engine. Only applicable if [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION].", - "canonical": true, - "file": "engine_service.resume_engine.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ResumeEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.ResumeEngine", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.Engine", - "client": { - "shortName": "EngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.EngineServiceClient" - }, - "method": { - "shortName": "ResumeEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.ResumeEngine", - "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ResumeEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.ResumeEngine", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.Engine", + "client": { + "shortName": "EngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.EngineServiceClient" }, + "method": { + "shortName": "ResumeEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.ResumeEngine", + "service": { + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_EngineService_TuneEngine_async", + "title": "CompletionService tuneEngine Sample", + "origin": "API_DEFINITION", + "description": " Tunes an existing engine. Only applicable if [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION].", + "canonical": true, + "file": "engine_service.tune_engine.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_EngineService_TuneEngine_async", - "title": "CompletionService tuneEngine Sample", - "origin": "API_DEFINITION", - "description": " Tunes an existing engine. Only applicable if [SolutionType][google.cloud.discoveryengine.v1beta.SolutionType] is [SOLUTION_TYPE_RECOMMENDATION][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_RECOMMENDATION].", - "canonical": true, - "file": "engine_service.tune_engine.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 56, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "TuneEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.TuneEngine", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.EngineServiceClient" - }, - "method": { - "shortName": "TuneEngine", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService.TuneEngine", - "service": { - "shortName": "EngineService", - "fullName": "google.cloud.discoveryengine.v1beta.EngineService" - } - } - } + "start": 25, + "end": 56, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "TuneEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.TuneEngine", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.EngineServiceClient" }, + "method": { + "shortName": "TuneEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.TuneEngine", + "service": { + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_EvaluationService_GetEvaluation_async", + "title": "CompletionService getEvaluation Sample", + "origin": "API_DEFINITION", + "description": " Gets a [Evaluation][google.cloud.discoveryengine.v1beta.Evaluation].", + "canonical": true, + "file": "evaluation_service.get_evaluation.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_EvaluationService_GetEvaluation_async", - "title": "CompletionService getEvaluation Sample", - "origin": "API_DEFINITION", - "description": " Gets a [Evaluation][google.cloud.discoveryengine.v1beta.Evaluation].", - "canonical": true, - "file": "evaluation_service.get_evaluation.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetEvaluation", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.GetEvaluation", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.Evaluation", - "client": { - "shortName": "EvaluationServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationServiceClient" - }, - "method": { - "shortName": "GetEvaluation", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.GetEvaluation", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" - } - } - } + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetEvaluation", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.GetEvaluation", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.Evaluation", + "client": { + "shortName": "EvaluationServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationServiceClient" }, + "method": { + "shortName": "GetEvaluation", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.GetEvaluation", + "service": { + "shortName": "EvaluationService", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_EvaluationService_ListEvaluations_async", + "title": "CompletionService listEvaluations Sample", + "origin": "API_DEFINITION", + "description": " Gets a list of [Evaluation][google.cloud.discoveryengine.v1beta.Evaluation]s.", + "canonical": true, + "file": "evaluation_service.list_evaluations.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_EvaluationService_ListEvaluations_async", - "title": "CompletionService listEvaluations Sample", - "origin": "API_DEFINITION", - "description": " Gets a list of [Evaluation][google.cloud.discoveryengine.v1beta.Evaluation]s.", - "canonical": true, - "file": "evaluation_service.list_evaluations.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 80, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListEvaluations", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.ListEvaluations", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.ListEvaluationsResponse", - "client": { - "shortName": "EvaluationServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationServiceClient" - }, - "method": { - "shortName": "ListEvaluations", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.ListEvaluations", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" - } - } - } + "start": 25, + "end": 80, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListEvaluations", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.ListEvaluations", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.ListEvaluationsResponse", + "client": { + "shortName": "EvaluationServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationServiceClient" }, + "method": { + "shortName": "ListEvaluations", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.ListEvaluations", + "service": { + "shortName": "EvaluationService", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_EvaluationService_CreateEvaluation_async", + "title": "CompletionService createEvaluation Sample", + "origin": "API_DEFINITION", + "description": " Creates a [Evaluation][google.cloud.discoveryengine.v1beta.Evaluation]. Upon creation, the evaluation will be automatically triggered and begin execution.", + "canonical": true, + "file": "evaluation_service.create_evaluation.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_EvaluationService_CreateEvaluation_async", - "title": "CompletionService createEvaluation Sample", - "origin": "API_DEFINITION", - "description": " Creates a [Evaluation][google.cloud.discoveryengine.v1beta.Evaluation]. Upon creation, the evaluation will be automatically triggered and begin execution.", - "canonical": true, - "file": "evaluation_service.create_evaluation.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateEvaluation", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.CreateEvaluation", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "evaluation", - "type": ".google.cloud.discoveryengine.v1beta.Evaluation" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EvaluationServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationServiceClient" - }, - "method": { - "shortName": "CreateEvaluation", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.CreateEvaluation", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" - } - } - } + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateEvaluation", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.CreateEvaluation", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "evaluation", + "type": ".google.cloud.discoveryengine.v1beta.Evaluation" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EvaluationServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationServiceClient" }, + "method": { + "shortName": "CreateEvaluation", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.CreateEvaluation", + "service": { + "shortName": "EvaluationService", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_EvaluationService_ListEvaluationResults_async", + "title": "CompletionService listEvaluationResults Sample", + "origin": "API_DEFINITION", + "description": " Gets a list of results for a given a [Evaluation][google.cloud.discoveryengine.v1beta.Evaluation].", + "canonical": true, + "file": "evaluation_service.list_evaluation_results.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_EvaluationService_ListEvaluationResults_async", - "title": "CompletionService listEvaluationResults Sample", - "origin": "API_DEFINITION", - "description": " Gets a list of results for a given a [Evaluation][google.cloud.discoveryengine.v1beta.Evaluation].", - "canonical": true, - "file": "evaluation_service.list_evaluation_results.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 78, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListEvaluationResults", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.ListEvaluationResults", - "async": true, - "parameters": [ - { - "name": "evaluation", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.ListEvaluationResultsResponse", - "client": { - "shortName": "EvaluationServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationServiceClient" - }, - "method": { - "shortName": "ListEvaluationResults", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.ListEvaluationResults", - "service": { - "shortName": "EvaluationService", - "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" - } - } - } + "start": 25, + "end": 78, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListEvaluationResults", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.ListEvaluationResults", + "async": true, + "parameters": [ + { + "name": "evaluation", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.ListEvaluationResultsResponse", + "client": { + "shortName": "EvaluationServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationServiceClient" }, + "method": { + "shortName": "ListEvaluationResults", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService.ListEvaluationResults", + "service": { + "shortName": "EvaluationService", + "fullName": "google.cloud.discoveryengine.v1beta.EvaluationService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_GroundedGenerationService_StreamGenerateGroundedContent_async", + "title": "CompletionService streamGenerateGroundedContent Sample", + "origin": "API_DEFINITION", + "description": " Generates grounded content in a streaming fashion.", + "canonical": true, + "file": "grounded_generation_service.stream_generate_grounded_content.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_GroundedGenerationService_StreamGenerateGroundedContent_async", - "title": "CompletionService streamGenerateGroundedContent Sample", - "origin": "API_DEFINITION", - "description": " Generates grounded content in a streaming fashion.", - "canonical": true, - "file": "grounded_generation_service.stream_generate_grounded_content.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 97, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "StreamGenerateGroundedContent", - "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService.StreamGenerateGroundedContent", - "async": true, - "parameters": [ - { - "name": "location", - "type": "TYPE_STRING" - }, - { - "name": "system_instruction", - "type": ".google.cloud.discoveryengine.v1beta.GroundedGenerationContent" - }, - { - "name": "contents", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "generation_spec", - "type": ".google.cloud.discoveryengine.v1beta.GenerateGroundedContentRequest.GenerationSpec" - }, - { - "name": "grounding_spec", - "type": ".google.cloud.discoveryengine.v1beta.GenerateGroundedContentRequest.GroundingSpec" - }, - { - "name": "user_labels", - "type": "TYPE_MESSAGE[]" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse", - "client": { - "shortName": "GroundedGenerationServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationServiceClient" - }, - "method": { - "shortName": "StreamGenerateGroundedContent", - "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService.StreamGenerateGroundedContent", - "service": { - "shortName": "GroundedGenerationService", - "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService" - } - } - } + "start": 25, + "end": 97, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "StreamGenerateGroundedContent", + "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService.StreamGenerateGroundedContent", + "async": true, + "parameters": [ + { + "name": "location", + "type": "TYPE_STRING" + }, + { + "name": "system_instruction", + "type": ".google.cloud.discoveryengine.v1beta.GroundedGenerationContent" + }, + { + "name": "contents", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "generation_spec", + "type": ".google.cloud.discoveryengine.v1beta.GenerateGroundedContentRequest.GenerationSpec" + }, + { + "name": "grounding_spec", + "type": ".google.cloud.discoveryengine.v1beta.GenerateGroundedContentRequest.GroundingSpec" + }, + { + "name": "user_labels", + "type": "TYPE_MESSAGE[]" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse", + "client": { + "shortName": "GroundedGenerationServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationServiceClient" }, + "method": { + "shortName": "StreamGenerateGroundedContent", + "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService.StreamGenerateGroundedContent", + "service": { + "shortName": "GroundedGenerationService", + "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_GroundedGenerationService_GenerateGroundedContent_async", + "title": "CompletionService generateGroundedContent Sample", + "origin": "API_DEFINITION", + "description": " Generates grounded content.", + "canonical": true, + "file": "grounded_generation_service.generate_grounded_content.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_GroundedGenerationService_GenerateGroundedContent_async", - "title": "CompletionService generateGroundedContent Sample", - "origin": "API_DEFINITION", - "description": " Generates grounded content.", - "canonical": true, - "file": "grounded_generation_service.generate_grounded_content.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 93, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GenerateGroundedContent", - "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService.GenerateGroundedContent", - "async": true, - "parameters": [ - { - "name": "location", - "type": "TYPE_STRING" - }, - { - "name": "system_instruction", - "type": ".google.cloud.discoveryengine.v1beta.GroundedGenerationContent" - }, - { - "name": "contents", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "generation_spec", - "type": ".google.cloud.discoveryengine.v1beta.GenerateGroundedContentRequest.GenerationSpec" - }, - { - "name": "grounding_spec", - "type": ".google.cloud.discoveryengine.v1beta.GenerateGroundedContentRequest.GroundingSpec" - }, - { - "name": "user_labels", - "type": "TYPE_MESSAGE[]" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse", - "client": { - "shortName": "GroundedGenerationServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationServiceClient" - }, - "method": { - "shortName": "GenerateGroundedContent", - "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService.GenerateGroundedContent", - "service": { - "shortName": "GroundedGenerationService", - "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService" - } - } - } + "start": 25, + "end": 93, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GenerateGroundedContent", + "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService.GenerateGroundedContent", + "async": true, + "parameters": [ + { + "name": "location", + "type": "TYPE_STRING" + }, + { + "name": "system_instruction", + "type": ".google.cloud.discoveryengine.v1beta.GroundedGenerationContent" + }, + { + "name": "contents", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "generation_spec", + "type": ".google.cloud.discoveryengine.v1beta.GenerateGroundedContentRequest.GenerationSpec" + }, + { + "name": "grounding_spec", + "type": ".google.cloud.discoveryengine.v1beta.GenerateGroundedContentRequest.GroundingSpec" + }, + { + "name": "user_labels", + "type": "TYPE_MESSAGE[]" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.GenerateGroundedContentResponse", + "client": { + "shortName": "GroundedGenerationServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationServiceClient" }, + "method": { + "shortName": "GenerateGroundedContent", + "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService.GenerateGroundedContent", + "service": { + "shortName": "GroundedGenerationService", + "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_GroundedGenerationService_CheckGrounding_async", + "title": "CompletionService checkGrounding Sample", + "origin": "API_DEFINITION", + "description": " Performs a grounding check.", + "canonical": true, + "file": "grounded_generation_service.check_grounding.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_GroundedGenerationService_CheckGrounding_async", - "title": "CompletionService checkGrounding Sample", - "origin": "API_DEFINITION", - "description": " Performs a grounding check.", - "canonical": true, - "file": "grounded_generation_service.check_grounding.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 85, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CheckGrounding", - "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService.CheckGrounding", - "async": true, - "parameters": [ - { - "name": "grounding_config", - "type": "TYPE_STRING" - }, - { - "name": "answer_candidate", - "type": "TYPE_STRING" - }, - { - "name": "facts", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "grounding_spec", - "type": ".google.cloud.discoveryengine.v1beta.CheckGroundingSpec" - }, - { - "name": "user_labels", - "type": "TYPE_MESSAGE[]" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.CheckGroundingResponse", - "client": { - "shortName": "GroundedGenerationServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationServiceClient" - }, - "method": { - "shortName": "CheckGrounding", - "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService.CheckGrounding", - "service": { - "shortName": "GroundedGenerationService", - "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService" - } - } - } + "start": 25, + "end": 85, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CheckGrounding", + "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService.CheckGrounding", + "async": true, + "parameters": [ + { + "name": "grounding_config", + "type": "TYPE_STRING" + }, + { + "name": "answer_candidate", + "type": "TYPE_STRING" + }, + { + "name": "facts", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "grounding_spec", + "type": ".google.cloud.discoveryengine.v1beta.CheckGroundingSpec" + }, + { + "name": "user_labels", + "type": "TYPE_MESSAGE[]" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.CheckGroundingResponse", + "client": { + "shortName": "GroundedGenerationServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationServiceClient" }, + "method": { + "shortName": "CheckGrounding", + "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService.CheckGrounding", + "service": { + "shortName": "GroundedGenerationService", + "fullName": "google.cloud.discoveryengine.v1beta.GroundedGenerationService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_ProjectService_ProvisionProject_async", + "title": "CompletionService provisionProject Sample", + "origin": "API_DEFINITION", + "description": " Provisions the project resource. During the process, related systems will get prepared and initialized. Caller must read the [Terms for data use](https://cloud.google.com/retail/data-use-terms), and optionally specify in request to provide consent to that service terms.", + "canonical": true, + "file": "project_service.provision_project.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_ProjectService_ProvisionProject_async", - "title": "CompletionService provisionProject Sample", - "origin": "API_DEFINITION", - "description": " Provisions the project resource. During the process, related systems will get prepared and initialized. Caller must read the [Terms for data use](https://cloud.google.com/retail/data-use-terms), and optionally specify in request to provide consent to that service terms.", - "canonical": true, - "file": "project_service.provision_project.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 71, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ProvisionProject", - "fullName": "google.cloud.discoveryengine.v1beta.ProjectService.ProvisionProject", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "accept_data_use_terms", - "type": "TYPE_BOOL" - }, - { - "name": "data_use_terms_version", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "ProjectServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.ProjectServiceClient" - }, - "method": { - "shortName": "ProvisionProject", - "fullName": "google.cloud.discoveryengine.v1beta.ProjectService.ProvisionProject", - "service": { - "shortName": "ProjectService", - "fullName": "google.cloud.discoveryengine.v1beta.ProjectService" - } - } - } + "start": 25, + "end": 71, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ProvisionProject", + "fullName": "google.cloud.discoveryengine.v1beta.ProjectService.ProvisionProject", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "accept_data_use_terms", + "type": "TYPE_BOOL" + }, + { + "name": "data_use_terms_version", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "ProjectServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.ProjectServiceClient" }, + "method": { + "shortName": "ProvisionProject", + "fullName": "google.cloud.discoveryengine.v1beta.ProjectService.ProvisionProject", + "service": { + "shortName": "ProjectService", + "fullName": "google.cloud.discoveryengine.v1beta.ProjectService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_RankService_Rank_async", + "title": "CompletionService rank Sample", + "origin": "API_DEFINITION", + "description": " Ranks a list of text records based on the given input query.", + "canonical": true, + "file": "rank_service.rank.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_RankService_Rank_async", - "title": "CompletionService rank Sample", - "origin": "API_DEFINITION", - "description": " Ranks a list of text records based on the given input query.", - "canonical": true, - "file": "rank_service.rank.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 98, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "Rank", - "fullName": "google.cloud.discoveryengine.v1beta.RankService.Rank", - "async": true, - "parameters": [ - { - "name": "ranking_config", - "type": "TYPE_STRING" - }, - { - "name": "model", - "type": "TYPE_STRING" - }, - { - "name": "top_n", - "type": "TYPE_INT32" - }, - { - "name": "query", - "type": "TYPE_STRING" - }, - { - "name": "records", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "ignore_record_details_in_response", - "type": "TYPE_BOOL" - }, - { - "name": "user_labels", - "type": "TYPE_MESSAGE[]" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.RankResponse", - "client": { - "shortName": "RankServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.RankServiceClient" - }, - "method": { - "shortName": "Rank", - "fullName": "google.cloud.discoveryengine.v1beta.RankService.Rank", - "service": { - "shortName": "RankService", - "fullName": "google.cloud.discoveryengine.v1beta.RankService" - } - } - } + "start": 25, + "end": 98, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "Rank", + "fullName": "google.cloud.discoveryengine.v1beta.RankService.Rank", + "async": true, + "parameters": [ + { + "name": "ranking_config", + "type": "TYPE_STRING" + }, + { + "name": "model", + "type": "TYPE_STRING" + }, + { + "name": "top_n", + "type": "TYPE_INT32" + }, + { + "name": "query", + "type": "TYPE_STRING" + }, + { + "name": "records", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "ignore_record_details_in_response", + "type": "TYPE_BOOL" + }, + { + "name": "user_labels", + "type": "TYPE_MESSAGE[]" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.RankResponse", + "client": { + "shortName": "RankServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.RankServiceClient" }, + "method": { + "shortName": "Rank", + "fullName": "google.cloud.discoveryengine.v1beta.RankService.Rank", + "service": { + "shortName": "RankService", + "fullName": "google.cloud.discoveryengine.v1beta.RankService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_RecommendationService_Recommend_async", + "title": "CompletionService recommend Sample", + "origin": "API_DEFINITION", + "description": " Makes a recommendation, which requires a contextual user event.", + "canonical": true, + "file": "recommendation_service.recommend.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_RecommendationService_Recommend_async", - "title": "CompletionService recommend Sample", - "origin": "API_DEFINITION", - "description": " Makes a recommendation, which requires a contextual user event.", - "canonical": true, - "file": "recommendation_service.recommend.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 167, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "Recommend", - "fullName": "google.cloud.discoveryengine.v1beta.RecommendationService.Recommend", - "async": true, - "parameters": [ - { - "name": "serving_config", - "type": "TYPE_STRING" - }, - { - "name": "user_event", - "type": ".google.cloud.discoveryengine.v1beta.UserEvent" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "validate_only", - "type": "TYPE_BOOL" - }, - { - "name": "params", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "user_labels", - "type": "TYPE_MESSAGE[]" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.RecommendResponse", - "client": { - "shortName": "RecommendationServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.RecommendationServiceClient" - }, - "method": { - "shortName": "Recommend", - "fullName": "google.cloud.discoveryengine.v1beta.RecommendationService.Recommend", - "service": { - "shortName": "RecommendationService", - "fullName": "google.cloud.discoveryengine.v1beta.RecommendationService" - } - } - } + "start": 25, + "end": 167, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "Recommend", + "fullName": "google.cloud.discoveryengine.v1beta.RecommendationService.Recommend", + "async": true, + "parameters": [ + { + "name": "serving_config", + "type": "TYPE_STRING" + }, + { + "name": "user_event", + "type": ".google.cloud.discoveryengine.v1beta.UserEvent" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "validate_only", + "type": "TYPE_BOOL" + }, + { + "name": "params", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "user_labels", + "type": "TYPE_MESSAGE[]" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.RecommendResponse", + "client": { + "shortName": "RecommendationServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.RecommendationServiceClient" }, + "method": { + "shortName": "Recommend", + "fullName": "google.cloud.discoveryengine.v1beta.RecommendationService.Recommend", + "service": { + "shortName": "RecommendationService", + "fullName": "google.cloud.discoveryengine.v1beta.RecommendationService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_GetSampleQuery_async", + "title": "CompletionService getSampleQuery Sample", + "origin": "API_DEFINITION", + "description": " Gets a [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery].", + "canonical": true, + "file": "sample_query_service.get_sample_query.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_GetSampleQuery_async", - "title": "CompletionService getSampleQuery Sample", - "origin": "API_DEFINITION", - "description": " Gets a [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery].", - "canonical": true, - "file": "sample_query_service.get_sample_query.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetSampleQuery", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.GetSampleQuery", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.SampleQuery", - "client": { - "shortName": "SampleQueryServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryServiceClient" - }, - "method": { - "shortName": "GetSampleQuery", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.GetSampleQuery", - "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" - } - } - } + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetSampleQuery", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.GetSampleQuery", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.SampleQuery", + "client": { + "shortName": "SampleQueryServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryServiceClient" }, + "method": { + "shortName": "GetSampleQuery", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.GetSampleQuery", + "service": { + "shortName": "SampleQueryService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_ListSampleQueries_async", + "title": "CompletionService listSampleQueries Sample", + "origin": "API_DEFINITION", + "description": " Gets a list of [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery]s.", + "canonical": true, + "file": "sample_query_service.list_sample_queries.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_ListSampleQueries_async", - "title": "CompletionService listSampleQueries Sample", - "origin": "API_DEFINITION", - "description": " Gets a list of [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery]s.", - "canonical": true, - "file": "sample_query_service.list_sample_queries.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 80, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListSampleQueries", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.ListSampleQueries", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.ListSampleQueriesResponse", - "client": { - "shortName": "SampleQueryServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryServiceClient" - }, - "method": { - "shortName": "ListSampleQueries", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.ListSampleQueries", - "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" - } - } - } + "start": 25, + "end": 80, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListSampleQueries", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.ListSampleQueries", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.ListSampleQueriesResponse", + "client": { + "shortName": "SampleQueryServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryServiceClient" }, + "method": { + "shortName": "ListSampleQueries", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.ListSampleQueries", + "service": { + "shortName": "SampleQueryService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_CreateSampleQuery_async", + "title": "CompletionService createSampleQuery Sample", + "origin": "API_DEFINITION", + "description": " Creates a [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery]", + "canonical": true, + "file": "sample_query_service.create_sample_query.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_CreateSampleQuery_async", - "title": "CompletionService createSampleQuery Sample", - "origin": "API_DEFINITION", - "description": " Creates a [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery]", - "canonical": true, - "file": "sample_query_service.create_sample_query.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 79, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateSampleQuery", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.CreateSampleQuery", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "sample_query", - "type": ".google.cloud.discoveryengine.v1beta.SampleQuery" - }, - { - "name": "sample_query_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.SampleQuery", - "client": { - "shortName": "SampleQueryServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryServiceClient" - }, - "method": { - "shortName": "CreateSampleQuery", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.CreateSampleQuery", - "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" - } - } - } + "start": 25, + "end": 79, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateSampleQuery", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.CreateSampleQuery", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "sample_query", + "type": ".google.cloud.discoveryengine.v1beta.SampleQuery" + }, + { + "name": "sample_query_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.SampleQuery", + "client": { + "shortName": "SampleQueryServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryServiceClient" }, + "method": { + "shortName": "CreateSampleQuery", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.CreateSampleQuery", + "service": { + "shortName": "SampleQueryService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_UpdateSampleQuery_async", + "title": "CompletionService updateSampleQuery Sample", + "origin": "API_DEFINITION", + "description": " Updates a [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery].", + "canonical": true, + "file": "sample_query_service.update_sample_query.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_UpdateSampleQuery_async", - "title": "CompletionService updateSampleQuery Sample", - "origin": "API_DEFINITION", - "description": " Updates a [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery].", - "canonical": true, - "file": "sample_query_service.update_sample_query.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 63, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateSampleQuery", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.UpdateSampleQuery", - "async": true, - "parameters": [ - { - "name": "sample_query", - "type": ".google.cloud.discoveryengine.v1beta.SampleQuery" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.SampleQuery", - "client": { - "shortName": "SampleQueryServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryServiceClient" - }, - "method": { - "shortName": "UpdateSampleQuery", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.UpdateSampleQuery", - "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" - } - } - } + "start": 25, + "end": 63, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateSampleQuery", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.UpdateSampleQuery", + "async": true, + "parameters": [ + { + "name": "sample_query", + "type": ".google.cloud.discoveryengine.v1beta.SampleQuery" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.SampleQuery", + "client": { + "shortName": "SampleQueryServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryServiceClient" }, + "method": { + "shortName": "UpdateSampleQuery", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.UpdateSampleQuery", + "service": { + "shortName": "SampleQueryService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_DeleteSampleQuery_async", + "title": "CompletionService deleteSampleQuery Sample", + "origin": "API_DEFINITION", + "description": " Deletes a [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery].", + "canonical": true, + "file": "sample_query_service.delete_sample_query.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_DeleteSampleQuery_async", - "title": "CompletionService deleteSampleQuery Sample", - "origin": "API_DEFINITION", - "description": " Deletes a [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery].", - "canonical": true, - "file": "sample_query_service.delete_sample_query.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 60, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteSampleQuery", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.DeleteSampleQuery", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "SampleQueryServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryServiceClient" - }, - "method": { - "shortName": "DeleteSampleQuery", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.DeleteSampleQuery", - "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" - } - } - } + "start": 25, + "end": 60, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteSampleQuery", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.DeleteSampleQuery", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "SampleQueryServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryServiceClient" }, + "method": { + "shortName": "DeleteSampleQuery", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.DeleteSampleQuery", + "service": { + "shortName": "SampleQueryService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_ImportSampleQueries_async", + "title": "CompletionService importSampleQueries Sample", + "origin": "API_DEFINITION", + "description": " Bulk import of multiple [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery]s. Sample queries that already exist may be deleted. Note: It is possible for a subset of the [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery]s to be successfully imported.", + "canonical": true, + "file": "sample_query_service.import_sample_queries.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_SampleQueryService_ImportSampleQueries_async", - "title": "CompletionService importSampleQueries Sample", - "origin": "API_DEFINITION", - "description": " Bulk import of multiple [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery]s. Sample queries that already exist may be deleted. Note: It is possible for a subset of the [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery]s to be successfully imported.", - "canonical": true, - "file": "sample_query_service.import_sample_queries.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 75, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ImportSampleQueries", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.ImportSampleQueries", - "async": true, - "parameters": [ - { - "name": "inline_source", - "type": ".google.cloud.discoveryengine.v1beta.ImportSampleQueriesRequest.InlineSource" - }, - { - "name": "gcs_source", - "type": ".google.cloud.discoveryengine.v1beta.GcsSource" - }, - { - "name": "bigquery_source", - "type": ".google.cloud.discoveryengine.v1beta.BigQuerySource" - }, - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "error_config", - "type": ".google.cloud.discoveryengine.v1beta.ImportErrorConfig" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "SampleQueryServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryServiceClient" - }, - "method": { - "shortName": "ImportSampleQueries", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.ImportSampleQueries", - "service": { - "shortName": "SampleQueryService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" - } - } - } + "start": 25, + "end": 75, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ImportSampleQueries", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.ImportSampleQueries", + "async": true, + "parameters": [ + { + "name": "inline_source", + "type": ".google.cloud.discoveryengine.v1beta.ImportSampleQueriesRequest.InlineSource" + }, + { + "name": "gcs_source", + "type": ".google.cloud.discoveryengine.v1beta.GcsSource" + }, + { + "name": "bigquery_source", + "type": ".google.cloud.discoveryengine.v1beta.BigQuerySource" + }, + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "error_config", + "type": ".google.cloud.discoveryengine.v1beta.ImportErrorConfig" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SampleQueryServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryServiceClient" }, + "method": { + "shortName": "ImportSampleQueries", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService.ImportSampleQueries", + "service": { + "shortName": "SampleQueryService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQueryService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_GetSampleQuerySet_async", + "title": "CompletionService getSampleQuerySet Sample", + "origin": "API_DEFINITION", + "description": " Gets a [SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet].", + "canonical": true, + "file": "sample_query_set_service.get_sample_query_set.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_GetSampleQuerySet_async", - "title": "CompletionService getSampleQuerySet Sample", - "origin": "API_DEFINITION", - "description": " Gets a [SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet].", - "canonical": true, - "file": "sample_query_set_service.get_sample_query_set.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 63, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.GetSampleQuerySet", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.SampleQuerySet", - "client": { - "shortName": "SampleQuerySetServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetServiceClient" - }, - "method": { - "shortName": "GetSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.GetSampleQuerySet", - "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" - } - } - } + "start": 25, + "end": 63, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetSampleQuerySet", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.GetSampleQuerySet", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.SampleQuerySet", + "client": { + "shortName": "SampleQuerySetServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetServiceClient" }, + "method": { + "shortName": "GetSampleQuerySet", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.GetSampleQuerySet", + "service": { + "shortName": "SampleQuerySetService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_ListSampleQuerySets_async", + "title": "CompletionService listSampleQuerySets Sample", + "origin": "API_DEFINITION", + "description": " Gets a list of [SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet]s.", + "canonical": true, + "file": "sample_query_set_service.list_sample_query_sets.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_ListSampleQuerySets_async", - "title": "CompletionService listSampleQuerySets Sample", - "origin": "API_DEFINITION", - "description": " Gets a list of [SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet]s.", - "canonical": true, - "file": "sample_query_set_service.list_sample_query_sets.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 80, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListSampleQuerySets", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.ListSampleQuerySets", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.ListSampleQuerySetsResponse", - "client": { - "shortName": "SampleQuerySetServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetServiceClient" - }, - "method": { - "shortName": "ListSampleQuerySets", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.ListSampleQuerySets", - "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" - } - } - } + "start": 25, + "end": 80, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListSampleQuerySets", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.ListSampleQuerySets", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.ListSampleQuerySetsResponse", + "client": { + "shortName": "SampleQuerySetServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetServiceClient" }, + "method": { + "shortName": "ListSampleQuerySets", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.ListSampleQuerySets", + "service": { + "shortName": "SampleQuerySetService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_CreateSampleQuerySet_async", + "title": "CompletionService createSampleQuerySet Sample", + "origin": "API_DEFINITION", + "description": " Creates a [SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet]", + "canonical": true, + "file": "sample_query_set_service.create_sample_query_set.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_CreateSampleQuerySet_async", - "title": "CompletionService createSampleQuerySet Sample", - "origin": "API_DEFINITION", - "description": " Creates a [SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet]", - "canonical": true, - "file": "sample_query_set_service.create_sample_query_set.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 81, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.CreateSampleQuerySet", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "sample_query_set", - "type": ".google.cloud.discoveryengine.v1beta.SampleQuerySet" - }, - { - "name": "sample_query_set_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.SampleQuerySet", - "client": { - "shortName": "SampleQuerySetServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetServiceClient" - }, - "method": { - "shortName": "CreateSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.CreateSampleQuerySet", - "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" - } - } - } + "start": 25, + "end": 81, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateSampleQuerySet", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.CreateSampleQuerySet", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "sample_query_set", + "type": ".google.cloud.discoveryengine.v1beta.SampleQuerySet" + }, + { + "name": "sample_query_set_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.SampleQuerySet", + "client": { + "shortName": "SampleQuerySetServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetServiceClient" }, + "method": { + "shortName": "CreateSampleQuerySet", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.CreateSampleQuerySet", + "service": { + "shortName": "SampleQuerySetService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_UpdateSampleQuerySet_async", + "title": "CompletionService updateSampleQuerySet Sample", + "origin": "API_DEFINITION", + "description": " Updates a [SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet].", + "canonical": true, + "file": "sample_query_set_service.update_sample_query_set.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_UpdateSampleQuerySet_async", - "title": "CompletionService updateSampleQuerySet Sample", - "origin": "API_DEFINITION", - "description": " Updates a [SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet].", - "canonical": true, - "file": "sample_query_set_service.update_sample_query_set.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 64, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.UpdateSampleQuerySet", - "async": true, - "parameters": [ - { - "name": "sample_query_set", - "type": ".google.cloud.discoveryengine.v1beta.SampleQuerySet" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.SampleQuerySet", - "client": { - "shortName": "SampleQuerySetServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetServiceClient" - }, - "method": { - "shortName": "UpdateSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.UpdateSampleQuerySet", - "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" - } - } - } + "start": 25, + "end": 64, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateSampleQuerySet", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.UpdateSampleQuerySet", + "async": true, + "parameters": [ + { + "name": "sample_query_set", + "type": ".google.cloud.discoveryengine.v1beta.SampleQuerySet" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.SampleQuerySet", + "client": { + "shortName": "SampleQuerySetServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetServiceClient" }, + "method": { + "shortName": "UpdateSampleQuerySet", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.UpdateSampleQuerySet", + "service": { + "shortName": "SampleQuerySetService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_DeleteSampleQuerySet_async", + "title": "CompletionService deleteSampleQuerySet Sample", + "origin": "API_DEFINITION", + "description": " Deletes a [SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet].", + "canonical": true, + "file": "sample_query_set_service.delete_sample_query_set.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_SampleQuerySetService_DeleteSampleQuerySet_async", - "title": "CompletionService deleteSampleQuerySet Sample", - "origin": "API_DEFINITION", - "description": " Deletes a [SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet].", - "canonical": true, - "file": "sample_query_set_service.delete_sample_query_set.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 62, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.DeleteSampleQuerySet", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "SampleQuerySetServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetServiceClient" - }, - "method": { - "shortName": "DeleteSampleQuerySet", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.DeleteSampleQuerySet", - "service": { - "shortName": "SampleQuerySetService", - "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" - } - } - } + "start": 25, + "end": 62, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteSampleQuerySet", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.DeleteSampleQuerySet", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "SampleQuerySetServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetServiceClient" }, + "method": { + "shortName": "DeleteSampleQuerySet", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService.DeleteSampleQuerySet", + "service": { + "shortName": "SampleQuerySetService", + "fullName": "google.cloud.discoveryengine.v1beta.SampleQuerySetService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_SchemaService_GetSchema_async", + "title": "CompletionService getSchema Sample", + "origin": "API_DEFINITION", + "description": " Gets a [Schema][google.cloud.discoveryengine.v1beta.Schema].", + "canonical": true, + "file": "schema_service.get_schema.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_SchemaService_GetSchema_async", - "title": "CompletionService getSchema Sample", - "origin": "API_DEFINITION", - "description": " Gets a [Schema][google.cloud.discoveryengine.v1beta.Schema].", - "canonical": true, - "file": "schema_service.get_schema.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetSchema", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.GetSchema", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.Schema", - "client": { - "shortName": "SchemaServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaServiceClient" - }, - "method": { - "shortName": "GetSchema", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.GetSchema", - "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetSchema", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.GetSchema", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.Schema", + "client": { + "shortName": "SchemaServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaServiceClient" }, + "method": { + "shortName": "GetSchema", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.GetSchema", + "service": { + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_SchemaService_ListSchemas_async", + "title": "CompletionService listSchemas Sample", + "origin": "API_DEFINITION", + "description": " Gets a list of [Schema][google.cloud.discoveryengine.v1beta.Schema]s.", + "canonical": true, + "file": "schema_service.list_schemas.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_SchemaService_ListSchemas_async", - "title": "CompletionService listSchemas Sample", - "origin": "API_DEFINITION", - "description": " Gets a list of [Schema][google.cloud.discoveryengine.v1beta.Schema]s.", - "canonical": true, - "file": "schema_service.list_schemas.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 73, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListSchemas", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.ListSchemas", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.ListSchemasResponse", - "client": { - "shortName": "SchemaServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaServiceClient" - }, - "method": { - "shortName": "ListSchemas", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.ListSchemas", - "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" - } - } - } + "start": 25, + "end": 73, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListSchemas", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.ListSchemas", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.ListSchemasResponse", + "client": { + "shortName": "SchemaServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaServiceClient" }, + "method": { + "shortName": "ListSchemas", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.ListSchemas", + "service": { + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_SchemaService_CreateSchema_async", + "title": "CompletionService createSchema Sample", + "origin": "API_DEFINITION", + "description": " Creates a [Schema][google.cloud.discoveryengine.v1beta.Schema].", + "canonical": true, + "file": "schema_service.create_schema.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_SchemaService_CreateSchema_async", - "title": "CompletionService createSchema Sample", - "origin": "API_DEFINITION", - "description": " Creates a [Schema][google.cloud.discoveryengine.v1beta.Schema].", - "canonical": true, - "file": "schema_service.create_schema.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 72, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateSchema", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.CreateSchema", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "schema", - "type": ".google.cloud.discoveryengine.v1beta.Schema" - }, - { - "name": "schema_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "SchemaServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaServiceClient" - }, - "method": { - "shortName": "CreateSchema", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.CreateSchema", - "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" - } - } - } + "start": 25, + "end": 72, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateSchema", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.CreateSchema", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "schema", + "type": ".google.cloud.discoveryengine.v1beta.Schema" + }, + { + "name": "schema_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SchemaServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaServiceClient" }, + "method": { + "shortName": "CreateSchema", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.CreateSchema", + "service": { + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_SchemaService_UpdateSchema_async", + "title": "CompletionService updateSchema Sample", + "origin": "API_DEFINITION", + "description": " Updates a [Schema][google.cloud.discoveryengine.v1beta.Schema].", + "canonical": true, + "file": "schema_service.update_schema.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_SchemaService_UpdateSchema_async", - "title": "CompletionService updateSchema Sample", - "origin": "API_DEFINITION", - "description": " Updates a [Schema][google.cloud.discoveryengine.v1beta.Schema].", - "canonical": true, - "file": "schema_service.update_schema.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 62, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateSchema", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.UpdateSchema", - "async": true, - "parameters": [ - { - "name": "schema", - "type": ".google.cloud.discoveryengine.v1beta.Schema" - }, - { - "name": "allow_missing", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "SchemaServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaServiceClient" - }, - "method": { - "shortName": "UpdateSchema", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.UpdateSchema", - "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" - } - } - } + "start": 25, + "end": 62, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateSchema", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.UpdateSchema", + "async": true, + "parameters": [ + { + "name": "schema", + "type": ".google.cloud.discoveryengine.v1beta.Schema" + }, + { + "name": "allow_missing", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SchemaServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaServiceClient" }, + "method": { + "shortName": "UpdateSchema", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.UpdateSchema", + "service": { + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_SchemaService_DeleteSchema_async", + "title": "CompletionService deleteSchema Sample", + "origin": "API_DEFINITION", + "description": " Deletes a [Schema][google.cloud.discoveryengine.v1beta.Schema].", + "canonical": true, + "file": "schema_service.delete_schema.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_SchemaService_DeleteSchema_async", - "title": "CompletionService deleteSchema Sample", - "origin": "API_DEFINITION", - "description": " Deletes a [Schema][google.cloud.discoveryengine.v1beta.Schema].", - "canonical": true, - "file": "schema_service.delete_schema.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteSchema", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.DeleteSchema", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "SchemaServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaServiceClient" - }, - "method": { - "shortName": "DeleteSchema", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.DeleteSchema", - "service": { - "shortName": "SchemaService", - "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteSchema", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.DeleteSchema", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SchemaServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaServiceClient" }, + "method": { + "shortName": "DeleteSchema", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.DeleteSchema", + "service": { + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_SearchService_Search_async", + "title": "CompletionService search Sample", + "origin": "API_DEFINITION", + "description": " Performs a search.", + "canonical": true, + "file": "search_service.search.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_SearchService_Search_async", - "title": "CompletionService search Sample", - "origin": "API_DEFINITION", - "description": " Performs a search.", - "canonical": true, - "file": "search_service.search.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 408, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "Search", - "fullName": "google.cloud.discoveryengine.v1beta.SearchService.Search", - "async": true, - "parameters": [ - { - "name": "serving_config", - "type": "TYPE_STRING" - }, - { - "name": "branch", - "type": "TYPE_STRING" - }, - { - "name": "query", - "type": "TYPE_STRING" - }, - { - "name": "image_query", - "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.ImageQuery" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "offset", - "type": "TYPE_INT32" - }, - { - "name": "one_box_page_size", - "type": "TYPE_INT32" - }, - { - "name": "data_store_specs", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "canonical_filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - }, - { - "name": "user_info", - "type": ".google.cloud.discoveryengine.v1beta.UserInfo" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - }, - { - "name": "region_code", - "type": "TYPE_STRING" - }, - { - "name": "facet_specs", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "boost_spec", - "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec" - }, - { - "name": "params", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "query_expansion_spec", - "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.QueryExpansionSpec" - }, - { - "name": "spell_correction_spec", - "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.SpellCorrectionSpec" - }, - { - "name": "user_pseudo_id", - "type": "TYPE_STRING" - }, - { - "name": "content_search_spec", - "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec" - }, - { - "name": "embedding_spec", - "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec" - }, - { - "name": "ranking_expression", - "type": "TYPE_STRING" - }, - { - "name": "ranking_expression_backend", - "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.RankingExpressionBackend" - }, - { - "name": "safe_search", - "type": "TYPE_BOOL" - }, - { - "name": "user_labels", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "natural_language_query_understanding_spec", - "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.NaturalLanguageQueryUnderstandingSpec" - }, - { - "name": "search_as_you_type_spec", - "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.SearchAsYouTypeSpec" - }, - { - "name": "session", - "type": "TYPE_STRING" - }, - { - "name": "session_spec", - "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.SessionSpec" - }, - { - "name": "relevance_threshold", - "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.RelevanceThreshold" - }, - { - "name": "personalization_spec", - "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.PersonalizationSpec" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.SearchResponse", - "client": { - "shortName": "SearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.SearchServiceClient" - }, - "method": { - "shortName": "Search", - "fullName": "google.cloud.discoveryengine.v1beta.SearchService.Search", - "service": { - "shortName": "SearchService", - "fullName": "google.cloud.discoveryengine.v1beta.SearchService" - } - } - } + "start": 25, + "end": 408, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "Search", + "fullName": "google.cloud.discoveryengine.v1beta.SearchService.Search", + "async": true, + "parameters": [ + { + "name": "serving_config", + "type": "TYPE_STRING" + }, + { + "name": "branch", + "type": "TYPE_STRING" + }, + { + "name": "query", + "type": "TYPE_STRING" + }, + { + "name": "image_query", + "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.ImageQuery" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "offset", + "type": "TYPE_INT32" + }, + { + "name": "one_box_page_size", + "type": "TYPE_INT32" + }, + { + "name": "data_store_specs", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "canonical_filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + }, + { + "name": "user_info", + "type": ".google.cloud.discoveryengine.v1beta.UserInfo" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + }, + { + "name": "region_code", + "type": "TYPE_STRING" + }, + { + "name": "facet_specs", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "boost_spec", + "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec" + }, + { + "name": "params", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "query_expansion_spec", + "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.QueryExpansionSpec" + }, + { + "name": "spell_correction_spec", + "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.SpellCorrectionSpec" + }, + { + "name": "user_pseudo_id", + "type": "TYPE_STRING" + }, + { + "name": "content_search_spec", + "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec" + }, + { + "name": "embedding_spec", + "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec" + }, + { + "name": "ranking_expression", + "type": "TYPE_STRING" + }, + { + "name": "ranking_expression_backend", + "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.RankingExpressionBackend" + }, + { + "name": "safe_search", + "type": "TYPE_BOOL" + }, + { + "name": "user_labels", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "natural_language_query_understanding_spec", + "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.NaturalLanguageQueryUnderstandingSpec" + }, + { + "name": "search_as_you_type_spec", + "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.SearchAsYouTypeSpec" + }, + { + "name": "session", + "type": "TYPE_STRING" + }, + { + "name": "session_spec", + "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.SessionSpec" + }, + { + "name": "relevance_threshold", + "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.RelevanceThreshold" + }, + { + "name": "personalization_spec", + "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.PersonalizationSpec" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.SearchResponse", + "client": { + "shortName": "SearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.SearchServiceClient" }, + "method": { + "shortName": "Search", + "fullName": "google.cloud.discoveryengine.v1beta.SearchService.Search", + "service": { + "shortName": "SearchService", + "fullName": "google.cloud.discoveryengine.v1beta.SearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_SearchService_SearchLite_async", + "title": "CompletionService searchLite Sample", + "origin": "API_DEFINITION", + "description": " Performs a search. Similar to the [SearchService.Search][google.cloud.discoveryengine.v1beta.SearchService.Search] method, but a lite version that allows API key for authentication, where OAuth and IAM checks are not required. Only public website search is supported by this method. If data stores and engines not associated with public website search are specified, a `FAILED_PRECONDITION` error is returned. This method can be used for easy onboarding without having to implement an authentication backend. However, it is strongly recommended to use [SearchService.Search][google.cloud.discoveryengine.v1beta.SearchService.Search] instead with required OAuth and IAM checks to provide better data security.", + "canonical": true, + "file": "search_service.search_lite.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_SearchService_SearchLite_async", - "title": "CompletionService searchLite Sample", - "origin": "API_DEFINITION", - "description": " Performs a search. Similar to the [SearchService.Search][google.cloud.discoveryengine.v1beta.SearchService.Search] method, but a lite version that allows API key for authentication, where OAuth and IAM checks are not required. Only public website search is supported by this method. If data stores and engines not associated with public website search are specified, a `FAILED_PRECONDITION` error is returned. This method can be used for easy onboarding without having to implement an authentication backend. However, it is strongly recommended to use [SearchService.Search][google.cloud.discoveryengine.v1beta.SearchService.Search] instead with required OAuth and IAM checks to provide better data security.", - "canonical": true, - "file": "search_service.search_lite.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 408, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "SearchLite", - "fullName": "google.cloud.discoveryengine.v1beta.SearchService.SearchLite", - "async": true, - "parameters": [ - { - "name": "serving_config", - "type": "TYPE_STRING" - }, - { - "name": "branch", - "type": "TYPE_STRING" - }, - { - "name": "query", - "type": "TYPE_STRING" - }, - { - "name": "image_query", - "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.ImageQuery" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "offset", - "type": "TYPE_INT32" - }, - { - "name": "one_box_page_size", - "type": "TYPE_INT32" - }, - { - "name": "data_store_specs", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "canonical_filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - }, - { - "name": "user_info", - "type": ".google.cloud.discoveryengine.v1beta.UserInfo" - }, - { - "name": "language_code", - "type": "TYPE_STRING" - }, - { - "name": "region_code", - "type": "TYPE_STRING" - }, - { - "name": "facet_specs", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "boost_spec", - "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec" - }, - { - "name": "params", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "query_expansion_spec", - "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.QueryExpansionSpec" - }, - { - "name": "spell_correction_spec", - "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.SpellCorrectionSpec" - }, - { - "name": "user_pseudo_id", - "type": "TYPE_STRING" - }, - { - "name": "content_search_spec", - "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec" - }, - { - "name": "embedding_spec", - "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec" - }, - { - "name": "ranking_expression", - "type": "TYPE_STRING" - }, - { - "name": "ranking_expression_backend", - "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.RankingExpressionBackend" - }, - { - "name": "safe_search", - "type": "TYPE_BOOL" - }, - { - "name": "user_labels", - "type": "TYPE_MESSAGE[]" - }, - { - "name": "natural_language_query_understanding_spec", - "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.NaturalLanguageQueryUnderstandingSpec" - }, - { - "name": "search_as_you_type_spec", - "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.SearchAsYouTypeSpec" - }, - { - "name": "session", - "type": "TYPE_STRING" - }, - { - "name": "session_spec", - "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.SessionSpec" - }, - { - "name": "relevance_threshold", - "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.RelevanceThreshold" - }, - { - "name": "personalization_spec", - "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.PersonalizationSpec" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.SearchResponse", - "client": { - "shortName": "SearchServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.SearchServiceClient" - }, - "method": { - "shortName": "SearchLite", - "fullName": "google.cloud.discoveryengine.v1beta.SearchService.SearchLite", - "service": { - "shortName": "SearchService", - "fullName": "google.cloud.discoveryengine.v1beta.SearchService" - } - } - } + "start": 25, + "end": 408, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "SearchLite", + "fullName": "google.cloud.discoveryengine.v1beta.SearchService.SearchLite", + "async": true, + "parameters": [ + { + "name": "serving_config", + "type": "TYPE_STRING" + }, + { + "name": "branch", + "type": "TYPE_STRING" + }, + { + "name": "query", + "type": "TYPE_STRING" + }, + { + "name": "image_query", + "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.ImageQuery" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "offset", + "type": "TYPE_INT32" + }, + { + "name": "one_box_page_size", + "type": "TYPE_INT32" + }, + { + "name": "data_store_specs", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "canonical_filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + }, + { + "name": "user_info", + "type": ".google.cloud.discoveryengine.v1beta.UserInfo" + }, + { + "name": "language_code", + "type": "TYPE_STRING" + }, + { + "name": "region_code", + "type": "TYPE_STRING" + }, + { + "name": "facet_specs", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "boost_spec", + "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec" + }, + { + "name": "params", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "query_expansion_spec", + "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.QueryExpansionSpec" + }, + { + "name": "spell_correction_spec", + "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.SpellCorrectionSpec" + }, + { + "name": "user_pseudo_id", + "type": "TYPE_STRING" + }, + { + "name": "content_search_spec", + "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec" + }, + { + "name": "embedding_spec", + "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec" + }, + { + "name": "ranking_expression", + "type": "TYPE_STRING" + }, + { + "name": "ranking_expression_backend", + "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.RankingExpressionBackend" + }, + { + "name": "safe_search", + "type": "TYPE_BOOL" + }, + { + "name": "user_labels", + "type": "TYPE_MESSAGE[]" + }, + { + "name": "natural_language_query_understanding_spec", + "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.NaturalLanguageQueryUnderstandingSpec" + }, + { + "name": "search_as_you_type_spec", + "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.SearchAsYouTypeSpec" + }, + { + "name": "session", + "type": "TYPE_STRING" + }, + { + "name": "session_spec", + "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.SessionSpec" + }, + { + "name": "relevance_threshold", + "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.RelevanceThreshold" + }, + { + "name": "personalization_spec", + "type": ".google.cloud.discoveryengine.v1beta.SearchRequest.PersonalizationSpec" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.SearchResponse", + "client": { + "shortName": "SearchServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.SearchServiceClient" }, + "method": { + "shortName": "SearchLite", + "fullName": "google.cloud.discoveryengine.v1beta.SearchService.SearchLite", + "service": { + "shortName": "SearchService", + "fullName": "google.cloud.discoveryengine.v1beta.SearchService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_SearchTuningService_TrainCustomModel_async", + "title": "CompletionService trainCustomModel Sample", + "origin": "API_DEFINITION", + "description": " Trains a custom model.", + "canonical": true, + "file": "search_tuning_service.train_custom_model.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_SearchTuningService_TrainCustomModel_async", - "title": "CompletionService trainCustomModel Sample", - "origin": "API_DEFINITION", - "description": " Trains a custom model.", - "canonical": true, - "file": "search_tuning_service.train_custom_model.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 74, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "TrainCustomModel", - "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningService.TrainCustomModel", - "async": true, - "parameters": [ - { - "name": "gcs_training_input", - "type": ".google.cloud.discoveryengine.v1beta.TrainCustomModelRequest.GcsTrainingInput" - }, - { - "name": "data_store", - "type": "TYPE_STRING" - }, - { - "name": "model_type", - "type": "TYPE_STRING" - }, - { - "name": "error_config", - "type": ".google.cloud.discoveryengine.v1beta.ImportErrorConfig" - }, - { - "name": "model_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "SearchTuningServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningServiceClient" - }, - "method": { - "shortName": "TrainCustomModel", - "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningService.TrainCustomModel", - "service": { - "shortName": "SearchTuningService", - "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningService" - } - } - } + "start": 25, + "end": 74, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "TrainCustomModel", + "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningService.TrainCustomModel", + "async": true, + "parameters": [ + { + "name": "gcs_training_input", + "type": ".google.cloud.discoveryengine.v1beta.TrainCustomModelRequest.GcsTrainingInput" + }, + { + "name": "data_store", + "type": "TYPE_STRING" + }, + { + "name": "model_type", + "type": "TYPE_STRING" + }, + { + "name": "error_config", + "type": ".google.cloud.discoveryengine.v1beta.ImportErrorConfig" + }, + { + "name": "model_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SearchTuningServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningServiceClient" }, + "method": { + "shortName": "TrainCustomModel", + "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningService.TrainCustomModel", + "service": { + "shortName": "SearchTuningService", + "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_SearchTuningService_ListCustomModels_async", + "title": "CompletionService listCustomModels Sample", + "origin": "API_DEFINITION", + "description": " Gets a list of all the custom models.", + "canonical": true, + "file": "search_tuning_service.list_custom_models.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_SearchTuningService_ListCustomModels_async", - "title": "CompletionService listCustomModels Sample", - "origin": "API_DEFINITION", - "description": " Gets a list of all the custom models.", - "canonical": true, - "file": "search_tuning_service.list_custom_models.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 56, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListCustomModels", - "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningService.ListCustomModels", - "async": true, - "parameters": [ - { - "name": "data_store", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.ListCustomModelsResponse", - "client": { - "shortName": "SearchTuningServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningServiceClient" - }, - "method": { - "shortName": "ListCustomModels", - "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningService.ListCustomModels", - "service": { - "shortName": "SearchTuningService", - "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningService" - } - } - } + "start": 25, + "end": 56, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListCustomModels", + "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningService.ListCustomModels", + "async": true, + "parameters": [ + { + "name": "data_store", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.ListCustomModelsResponse", + "client": { + "shortName": "SearchTuningServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningServiceClient" }, + "method": { + "shortName": "ListCustomModels", + "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningService.ListCustomModels", + "service": { + "shortName": "SearchTuningService", + "fullName": "google.cloud.discoveryengine.v1beta.SearchTuningService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_UpdateServingConfig_async", + "title": "CompletionService updateServingConfig Sample", + "origin": "API_DEFINITION", + "description": " Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist.", + "canonical": true, + "file": "serving_config_service.update_serving_config.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_UpdateServingConfig_async", - "title": "CompletionService updateServingConfig Sample", - "origin": "API_DEFINITION", - "description": " Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist.", - "canonical": true, - "file": "serving_config_service.update_serving_config.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateServingConfig", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.UpdateServingConfig", - "async": true, - "parameters": [ - { - "name": "serving_config", - "type": ".google.cloud.discoveryengine.v1beta.ServingConfig" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.ServingConfig", - "client": { - "shortName": "ServingConfigServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigServiceClient" - }, - "method": { - "shortName": "UpdateServingConfig", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.UpdateServingConfig", - "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" - } - } - } + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateServingConfig", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.UpdateServingConfig", + "async": true, + "parameters": [ + { + "name": "serving_config", + "type": ".google.cloud.discoveryengine.v1beta.ServingConfig" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.ServingConfig", + "client": { + "shortName": "ServingConfigServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigServiceClient" }, + "method": { + "shortName": "UpdateServingConfig", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.UpdateServingConfig", + "service": { + "shortName": "ServingConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_GetServingConfig_async", + "title": "CompletionService getServingConfig Sample", + "origin": "API_DEFINITION", + "description": " Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist.", + "canonical": true, + "file": "serving_config_service.get_serving_config.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_GetServingConfig_async", - "title": "CompletionService getServingConfig Sample", - "origin": "API_DEFINITION", - "description": " Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist.", - "canonical": true, - "file": "serving_config_service.get_serving_config.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetServingConfig", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.GetServingConfig", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.ServingConfig", - "client": { - "shortName": "ServingConfigServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigServiceClient" - }, - "method": { - "shortName": "GetServingConfig", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.GetServingConfig", - "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetServingConfig", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.GetServingConfig", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.ServingConfig", + "client": { + "shortName": "ServingConfigServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigServiceClient" }, + "method": { + "shortName": "GetServingConfig", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.GetServingConfig", + "service": { + "shortName": "ServingConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_ListServingConfigs_async", + "title": "CompletionService listServingConfigs Sample", + "origin": "API_DEFINITION", + "description": " Lists all ServingConfigs linked to this dataStore.", + "canonical": true, + "file": "serving_config_service.list_serving_configs.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_ServingConfigService_ListServingConfigs_async", - "title": "CompletionService listServingConfigs Sample", - "origin": "API_DEFINITION", - "description": " Lists all ServingConfigs linked to this dataStore.", - "canonical": true, - "file": "serving_config_service.list_serving_configs.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 67, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListServingConfigs", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.ListServingConfigs", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.ListServingConfigsResponse", - "client": { - "shortName": "ServingConfigServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigServiceClient" - }, - "method": { - "shortName": "ListServingConfigs", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.ListServingConfigs", - "service": { - "shortName": "ServingConfigService", - "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" - } - } - } + "start": 25, + "end": 67, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListServingConfigs", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.ListServingConfigs", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.ListServingConfigsResponse", + "client": { + "shortName": "ServingConfigServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigServiceClient" }, + "method": { + "shortName": "ListServingConfigs", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.ListServingConfigs", + "service": { + "shortName": "ServingConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_SessionService_CreateSession_async", + "title": "CompletionService createSession Sample", + "origin": "API_DEFINITION", + "description": " Creates a Session. If the [Session][google.cloud.discoveryengine.v1beta.Session] to create already exists, an ALREADY_EXISTS error is returned.", + "canonical": true, + "file": "session_service.create_session.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_SessionService_CreateSession_async", - "title": "CompletionService createSession Sample", - "origin": "API_DEFINITION", - "description": " Creates a Session. If the [Session][google.cloud.discoveryengine.v1beta.Session] to create already exists, an ALREADY_EXISTS error is returned.", - "canonical": true, - "file": "session_service.create_session.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateSession", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService.CreateSession", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "session", - "type": ".google.cloud.discoveryengine.v1beta.Session" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.Session", - "client": { - "shortName": "SessionServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.SessionServiceClient" - }, - "method": { - "shortName": "CreateSession", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService.CreateSession", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateSession", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService.CreateSession", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "session", + "type": ".google.cloud.discoveryengine.v1beta.Session" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.Session", + "client": { + "shortName": "SessionServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.SessionServiceClient" }, + "method": { + "shortName": "CreateSession", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService.CreateSession", + "service": { + "shortName": "SessionService", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_SessionService_DeleteSession_async", + "title": "CompletionService deleteSession Sample", + "origin": "API_DEFINITION", + "description": " Deletes a Session. If the [Session][google.cloud.discoveryengine.v1beta.Session] to delete does not exist, a NOT_FOUND error is returned.", + "canonical": true, + "file": "session_service.delete_session.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_SessionService_DeleteSession_async", - "title": "CompletionService deleteSession Sample", - "origin": "API_DEFINITION", - "description": " Deletes a Session. If the [Session][google.cloud.discoveryengine.v1beta.Session] to delete does not exist, a NOT_FOUND error is returned.", - "canonical": true, - "file": "session_service.delete_session.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteSession", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService.DeleteSession", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "SessionServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.SessionServiceClient" - }, - "method": { - "shortName": "DeleteSession", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService.DeleteSession", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteSession", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService.DeleteSession", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "SessionServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.SessionServiceClient" }, + "method": { + "shortName": "DeleteSession", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService.DeleteSession", + "service": { + "shortName": "SessionService", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_SessionService_UpdateSession_async", + "title": "CompletionService updateSession Sample", + "origin": "API_DEFINITION", + "description": " Updates a Session. [Session][google.cloud.discoveryengine.v1beta.Session] action type cannot be changed. If the [Session][google.cloud.discoveryengine.v1beta.Session] to update does not exist, a NOT_FOUND error is returned.", + "canonical": true, + "file": "session_service.update_session.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_SessionService_UpdateSession_async", - "title": "CompletionService updateSession Sample", - "origin": "API_DEFINITION", - "description": " Updates a Session. [Session][google.cloud.discoveryengine.v1beta.Session] action type cannot be changed. If the [Session][google.cloud.discoveryengine.v1beta.Session] to update does not exist, a NOT_FOUND error is returned.", - "canonical": true, - "file": "session_service.update_session.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateSession", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService.UpdateSession", - "async": true, - "parameters": [ - { - "name": "session", - "type": ".google.cloud.discoveryengine.v1beta.Session" - }, - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.Session", - "client": { - "shortName": "SessionServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.SessionServiceClient" - }, - "method": { - "shortName": "UpdateSession", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService.UpdateSession", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService" - } - } - } + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateSession", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService.UpdateSession", + "async": true, + "parameters": [ + { + "name": "session", + "type": ".google.cloud.discoveryengine.v1beta.Session" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.Session", + "client": { + "shortName": "SessionServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.SessionServiceClient" }, + "method": { + "shortName": "UpdateSession", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService.UpdateSession", + "service": { + "shortName": "SessionService", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_SessionService_GetSession_async", + "title": "CompletionService getSession Sample", + "origin": "API_DEFINITION", + "description": " Gets a Session.", + "canonical": true, + "file": "session_service.get_session.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_SessionService_GetSession_async", - "title": "CompletionService getSession Sample", - "origin": "API_DEFINITION", - "description": " Gets a Session.", - "canonical": true, - "file": "session_service.get_session.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetSession", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService.GetSession", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "include_answer_details", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.Session", - "client": { - "shortName": "SessionServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.SessionServiceClient" - }, - "method": { - "shortName": "GetSession", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService.GetSession", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetSession", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService.GetSession", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "include_answer_details", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.Session", + "client": { + "shortName": "SessionServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.SessionServiceClient" }, + "method": { + "shortName": "GetSession", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService.GetSession", + "service": { + "shortName": "SessionService", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_SessionService_ListSessions_async", + "title": "CompletionService listSessions Sample", + "origin": "API_DEFINITION", + "description": " Lists all Sessions by their parent [DataStore][google.cloud.discoveryengine.v1beta.DataStore].", + "canonical": true, + "file": "session_service.list_sessions.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_SessionService_ListSessions_async", - "title": "CompletionService listSessions Sample", - "origin": "API_DEFINITION", - "description": " Lists all Sessions by their parent [DataStore][google.cloud.discoveryengine.v1beta.DataStore].", - "canonical": true, - "file": "session_service.list_sessions.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 100, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListSessions", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService.ListSessions", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.ListSessionsResponse", - "client": { - "shortName": "SessionServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.SessionServiceClient" - }, - "method": { - "shortName": "ListSessions", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService.ListSessions", - "service": { - "shortName": "SessionService", - "fullName": "google.cloud.discoveryengine.v1beta.SessionService" - } - } - } + "start": 25, + "end": 100, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListSessions", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService.ListSessions", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.ListSessionsResponse", + "client": { + "shortName": "SessionServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.SessionServiceClient" }, + "method": { + "shortName": "ListSessions", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService.ListSessions", + "service": { + "shortName": "SessionService", + "fullName": "google.cloud.discoveryengine.v1beta.SessionService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_GetSiteSearchEngine_async", + "title": "CompletionService getSiteSearchEngine Sample", + "origin": "API_DEFINITION", + "description": " Gets the [SiteSearchEngine][google.cloud.discoveryengine.v1beta.SiteSearchEngine].", + "canonical": true, + "file": "site_search_engine_service.get_site_search_engine.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_GetSiteSearchEngine_async", - "title": "CompletionService getSiteSearchEngine Sample", - "origin": "API_DEFINITION", - "description": " Gets the [SiteSearchEngine][google.cloud.discoveryengine.v1beta.SiteSearchEngine].", - "canonical": true, - "file": "site_search_engine_service.get_site_search_engine.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetSiteSearchEngine", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.GetSiteSearchEngine", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.SiteSearchEngine", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "GetSiteSearchEngine", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.GetSiteSearchEngine", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetSiteSearchEngine", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.GetSiteSearchEngine", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.SiteSearchEngine", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "GetSiteSearchEngine", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.GetSiteSearchEngine", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_CreateTargetSite_async", + "title": "CompletionService createTargetSite Sample", + "origin": "API_DEFINITION", + "description": " Creates a [TargetSite][google.cloud.discoveryengine.v1beta.TargetSite].", + "canonical": true, + "file": "site_search_engine_service.create_target_site.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_CreateTargetSite_async", - "title": "CompletionService createTargetSite Sample", - "origin": "API_DEFINITION", - "description": " Creates a [TargetSite][google.cloud.discoveryengine.v1beta.TargetSite].", - "canonical": true, - "file": "site_search_engine_service.create_target_site.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 62, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateTargetSite", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.CreateTargetSite", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "target_site", - "type": ".google.cloud.discoveryengine.v1beta.TargetSite" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "CreateTargetSite", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.CreateTargetSite", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 62, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateTargetSite", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.CreateTargetSite", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "target_site", + "type": ".google.cloud.discoveryengine.v1beta.TargetSite" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "CreateTargetSite", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.CreateTargetSite", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_BatchCreateTargetSites_async", + "title": "CompletionService batchCreateTargetSites Sample", + "origin": "API_DEFINITION", + "description": " Creates [TargetSite][google.cloud.discoveryengine.v1beta.TargetSite] in a batch.", + "canonical": true, + "file": "site_search_engine_service.batch_create_target_sites.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_BatchCreateTargetSites_async", - "title": "CompletionService batchCreateTargetSites Sample", - "origin": "API_DEFINITION", - "description": " Creates [TargetSite][google.cloud.discoveryengine.v1beta.TargetSite] in a batch.", - "canonical": true, - "file": "site_search_engine_service.batch_create_target_sites.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 63, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "BatchCreateTargetSites", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.BatchCreateTargetSites", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "requests", - "type": "TYPE_MESSAGE[]" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "BatchCreateTargetSites", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.BatchCreateTargetSites", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 63, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "BatchCreateTargetSites", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.BatchCreateTargetSites", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "requests", + "type": "TYPE_MESSAGE[]" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "BatchCreateTargetSites", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.BatchCreateTargetSites", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_GetTargetSite_async", + "title": "CompletionService getTargetSite Sample", + "origin": "API_DEFINITION", + "description": " Gets a [TargetSite][google.cloud.discoveryengine.v1beta.TargetSite].", + "canonical": true, + "file": "site_search_engine_service.get_target_site.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_GetTargetSite_async", - "title": "CompletionService getTargetSite Sample", - "origin": "API_DEFINITION", - "description": " Gets a [TargetSite][google.cloud.discoveryengine.v1beta.TargetSite].", - "canonical": true, - "file": "site_search_engine_service.get_target_site.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetTargetSite", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.GetTargetSite", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.TargetSite", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "GetTargetSite", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.GetTargetSite", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetTargetSite", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.GetTargetSite", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.TargetSite", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "GetTargetSite", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.GetTargetSite", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_UpdateTargetSite_async", + "title": "CompletionService updateTargetSite Sample", + "origin": "API_DEFINITION", + "description": " Updates a [TargetSite][google.cloud.discoveryengine.v1beta.TargetSite].", + "canonical": true, + "file": "site_search_engine_service.update_target_site.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_UpdateTargetSite_async", - "title": "CompletionService updateTargetSite Sample", - "origin": "API_DEFINITION", - "description": " Updates a [TargetSite][google.cloud.discoveryengine.v1beta.TargetSite].", - "canonical": true, - "file": "site_search_engine_service.update_target_site.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 59, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateTargetSite", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.UpdateTargetSite", - "async": true, - "parameters": [ - { - "name": "target_site", - "type": ".google.cloud.discoveryengine.v1beta.TargetSite" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "UpdateTargetSite", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.UpdateTargetSite", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 59, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateTargetSite", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.UpdateTargetSite", + "async": true, + "parameters": [ + { + "name": "target_site", + "type": ".google.cloud.discoveryengine.v1beta.TargetSite" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "UpdateTargetSite", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.UpdateTargetSite", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_DeleteTargetSite_async", + "title": "CompletionService deleteTargetSite Sample", + "origin": "API_DEFINITION", + "description": " Deletes a [TargetSite][google.cloud.discoveryengine.v1beta.TargetSite].", + "canonical": true, + "file": "site_search_engine_service.delete_target_site.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_DeleteTargetSite_async", - "title": "CompletionService deleteTargetSite Sample", - "origin": "API_DEFINITION", - "description": " Deletes a [TargetSite][google.cloud.discoveryengine.v1beta.TargetSite].", - "canonical": true, - "file": "site_search_engine_service.delete_target_site.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 62, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteTargetSite", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DeleteTargetSite", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "DeleteTargetSite", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DeleteTargetSite", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 62, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteTargetSite", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DeleteTargetSite", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "DeleteTargetSite", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DeleteTargetSite", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_ListTargetSites_async", + "title": "CompletionService listTargetSites Sample", + "origin": "API_DEFINITION", + "description": " Gets a list of [TargetSite][google.cloud.discoveryengine.v1beta.TargetSite]s.", + "canonical": true, + "file": "site_search_engine_service.list_target_sites.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_ListTargetSites_async", - "title": "CompletionService listTargetSites Sample", - "origin": "API_DEFINITION", - "description": " Gets a list of [TargetSite][google.cloud.discoveryengine.v1beta.TargetSite]s.", - "canonical": true, - "file": "site_search_engine_service.list_target_sites.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 74, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListTargetSites", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.ListTargetSites", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.ListTargetSitesResponse", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "ListTargetSites", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.ListTargetSites", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 74, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListTargetSites", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.ListTargetSites", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.ListTargetSitesResponse", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "ListTargetSites", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.ListTargetSites", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_CreateSitemap_async", + "title": "CompletionService createSitemap Sample", + "origin": "API_DEFINITION", + "description": " Creates a [Sitemap][google.cloud.discoveryengine.v1beta.Sitemap].", + "canonical": true, + "file": "site_search_engine_service.create_sitemap.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_CreateSitemap_async", - "title": "CompletionService createSitemap Sample", - "origin": "API_DEFINITION", - "description": " Creates a [Sitemap][google.cloud.discoveryengine.v1beta.Sitemap].", - "canonical": true, - "file": "site_search_engine_service.create_sitemap.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 63, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateSitemap", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.CreateSitemap", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "sitemap", - "type": ".google.cloud.discoveryengine.v1beta.Sitemap" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "CreateSitemap", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.CreateSitemap", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 63, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateSitemap", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.CreateSitemap", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "sitemap", + "type": ".google.cloud.discoveryengine.v1beta.Sitemap" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "CreateSitemap", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.CreateSitemap", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_DeleteSitemap_async", + "title": "CompletionService deleteSitemap Sample", + "origin": "API_DEFINITION", + "description": " Deletes a [Sitemap][google.cloud.discoveryengine.v1beta.Sitemap].", + "canonical": true, + "file": "site_search_engine_service.delete_sitemap.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_DeleteSitemap_async", - "title": "CompletionService deleteSitemap Sample", - "origin": "API_DEFINITION", - "description": " Deletes a [Sitemap][google.cloud.discoveryengine.v1beta.Sitemap].", - "canonical": true, - "file": "site_search_engine_service.delete_sitemap.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 61, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteSitemap", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DeleteSitemap", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "DeleteSitemap", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DeleteSitemap", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteSitemap", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DeleteSitemap", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "DeleteSitemap", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DeleteSitemap", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_FetchSitemaps_async", + "title": "CompletionService fetchSitemaps Sample", + "origin": "API_DEFINITION", + "description": " Fetch [Sitemap][google.cloud.discoveryengine.v1beta.Sitemap]s in a [DataStore][google.cloud.discoveryengine.v1beta.DataStore].", + "canonical": true, + "file": "site_search_engine_service.fetch_sitemaps.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_FetchSitemaps_async", - "title": "CompletionService fetchSitemaps Sample", - "origin": "API_DEFINITION", - "description": " Fetch [Sitemap][google.cloud.discoveryengine.v1beta.Sitemap]s in a [DataStore][google.cloud.discoveryengine.v1beta.DataStore].", - "canonical": true, - "file": "site_search_engine_service.fetch_sitemaps.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 63, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "FetchSitemaps", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.FetchSitemaps", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "matcher", - "type": ".google.cloud.discoveryengine.v1beta.FetchSitemapsRequest.Matcher" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.FetchSitemapsResponse", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "FetchSitemaps", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.FetchSitemaps", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 63, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "FetchSitemaps", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.FetchSitemaps", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "matcher", + "type": ".google.cloud.discoveryengine.v1beta.FetchSitemapsRequest.Matcher" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.FetchSitemapsResponse", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "FetchSitemaps", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.FetchSitemaps", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_EnableAdvancedSiteSearch_async", + "title": "CompletionService enableAdvancedSiteSearch Sample", + "origin": "API_DEFINITION", + "description": " Upgrade from basic site search to advanced site search.", + "canonical": true, + "file": "site_search_engine_service.enable_advanced_site_search.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_EnableAdvancedSiteSearch_async", - "title": "CompletionService enableAdvancedSiteSearch Sample", - "origin": "API_DEFINITION", - "description": " Upgrade from basic site search to advanced site search.", - "canonical": true, - "file": "site_search_engine_service.enable_advanced_site_search.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 57, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "EnableAdvancedSiteSearch", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.EnableAdvancedSiteSearch", - "async": true, - "parameters": [ - { - "name": "site_search_engine", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "EnableAdvancedSiteSearch", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.EnableAdvancedSiteSearch", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 57, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "EnableAdvancedSiteSearch", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.EnableAdvancedSiteSearch", + "async": true, + "parameters": [ + { + "name": "site_search_engine", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "EnableAdvancedSiteSearch", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.EnableAdvancedSiteSearch", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_DisableAdvancedSiteSearch_async", + "title": "CompletionService disableAdvancedSiteSearch Sample", + "origin": "API_DEFINITION", + "description": " Downgrade from advanced site search to basic site search.", + "canonical": true, + "file": "site_search_engine_service.disable_advanced_site_search.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_DisableAdvancedSiteSearch_async", - "title": "CompletionService disableAdvancedSiteSearch Sample", - "origin": "API_DEFINITION", - "description": " Downgrade from advanced site search to basic site search.", - "canonical": true, - "file": "site_search_engine_service.disable_advanced_site_search.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 57, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DisableAdvancedSiteSearch", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DisableAdvancedSiteSearch", - "async": true, - "parameters": [ - { - "name": "site_search_engine", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "DisableAdvancedSiteSearch", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DisableAdvancedSiteSearch", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 57, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DisableAdvancedSiteSearch", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DisableAdvancedSiteSearch", + "async": true, + "parameters": [ + { + "name": "site_search_engine", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "DisableAdvancedSiteSearch", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DisableAdvancedSiteSearch", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_RecrawlUris_async", + "title": "CompletionService recrawlUris Sample", + "origin": "API_DEFINITION", + "description": " Request on-demand recrawl for a list of URIs.", + "canonical": true, + "file": "site_search_engine_service.recrawl_uris.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_RecrawlUris_async", - "title": "CompletionService recrawlUris Sample", - "origin": "API_DEFINITION", - "description": " Request on-demand recrawl for a list of URIs.", - "canonical": true, - "file": "site_search_engine_service.recrawl_uris.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 71, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "RecrawlUris", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.RecrawlUris", - "async": true, - "parameters": [ - { - "name": "site_search_engine", - "type": "TYPE_STRING" - }, - { - "name": "uris", - "type": "TYPE_STRING[]" - }, - { - "name": "site_credential", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "RecrawlUris", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.RecrawlUris", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 71, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "RecrawlUris", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.RecrawlUris", + "async": true, + "parameters": [ + { + "name": "site_search_engine", + "type": "TYPE_STRING" + }, + { + "name": "uris", + "type": "TYPE_STRING[]" + }, + { + "name": "site_credential", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "RecrawlUris", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.RecrawlUris", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_BatchVerifyTargetSites_async", + "title": "CompletionService batchVerifyTargetSites Sample", + "origin": "API_DEFINITION", + "description": " Verify target sites' ownership and validity. This API sends all the target sites under site search engine for verification.", + "canonical": true, + "file": "site_search_engine_service.batch_verify_target_sites.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_BatchVerifyTargetSites_async", - "title": "CompletionService batchVerifyTargetSites Sample", - "origin": "API_DEFINITION", - "description": " Verify target sites' ownership and validity. This API sends all the target sites under site search engine for verification.", - "canonical": true, - "file": "site_search_engine_service.batch_verify_target_sites.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 55, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "BatchVerifyTargetSites", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.BatchVerifyTargetSites", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "BatchVerifyTargetSites", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.BatchVerifyTargetSites", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "BatchVerifyTargetSites", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.BatchVerifyTargetSites", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "BatchVerifyTargetSites", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.BatchVerifyTargetSites", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_FetchDomainVerificationStatus_async", + "title": "CompletionService fetchDomainVerificationStatus Sample", + "origin": "API_DEFINITION", + "description": " Returns list of target sites with its domain verification status. This method can only be called under data store with BASIC_SITE_SEARCH state at the moment.", + "canonical": true, + "file": "site_search_engine_service.fetch_domain_verification_status.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_SiteSearchEngineService_FetchDomainVerificationStatus_async", - "title": "CompletionService fetchDomainVerificationStatus Sample", - "origin": "API_DEFINITION", - "description": " Returns list of target sites with its domain verification status. This method can only be called under data store with BASIC_SITE_SEARCH state at the moment.", - "canonical": true, - "file": "site_search_engine_service.fetch_domain_verification_status.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 72, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "FetchDomainVerificationStatus", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.FetchDomainVerificationStatus", - "async": true, - "parameters": [ - { - "name": "site_search_engine", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.FetchDomainVerificationStatusResponse", - "client": { - "shortName": "SiteSearchEngineServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineServiceClient" - }, - "method": { - "shortName": "FetchDomainVerificationStatus", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.FetchDomainVerificationStatus", - "service": { - "shortName": "SiteSearchEngineService", - "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" - } - } - } + "start": 25, + "end": 72, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "FetchDomainVerificationStatus", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.FetchDomainVerificationStatus", + "async": true, + "parameters": [ + { + "name": "site_search_engine", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.FetchDomainVerificationStatusResponse", + "client": { + "shortName": "SiteSearchEngineServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineServiceClient" }, + "method": { + "shortName": "FetchDomainVerificationStatus", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.FetchDomainVerificationStatus", + "service": { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_UserEventService_WriteUserEvent_async", + "title": "CompletionService writeUserEvent Sample", + "origin": "API_DEFINITION", + "description": " Writes a single user event.", + "canonical": true, + "file": "user_event_service.write_user_event.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_UserEventService_WriteUserEvent_async", - "title": "CompletionService writeUserEvent Sample", - "origin": "API_DEFINITION", - "description": " Writes a single user event.", - "canonical": true, - "file": "user_event_service.write_user_event.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 72, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "WriteUserEvent", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.WriteUserEvent", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "user_event", - "type": ".google.cloud.discoveryengine.v1beta.UserEvent" - }, - { - "name": "write_async", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.cloud.discoveryengine.v1beta.UserEvent", - "client": { - "shortName": "UserEventServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventServiceClient" - }, - "method": { - "shortName": "WriteUserEvent", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.WriteUserEvent", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventService" - } - } - } + "start": 25, + "end": 72, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "WriteUserEvent", + "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.WriteUserEvent", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "user_event", + "type": ".google.cloud.discoveryengine.v1beta.UserEvent" + }, + { + "name": "write_async", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.cloud.discoveryengine.v1beta.UserEvent", + "client": { + "shortName": "UserEventServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.UserEventServiceClient" }, + "method": { + "shortName": "WriteUserEvent", + "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.WriteUserEvent", + "service": { + "shortName": "UserEventService", + "fullName": "google.cloud.discoveryengine.v1beta.UserEventService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_UserEventService_CollectUserEvent_async", + "title": "CompletionService collectUserEvent Sample", + "origin": "API_DEFINITION", + "description": " Writes a single user event from the browser. This uses a GET request to due to browser restriction of POST-ing to a third-party domain. This method is used only by the Discovery Engine API JavaScript pixel and Google Tag Manager. Users should not call this method directly.", + "canonical": true, + "file": "user_event_service.collect_user_event.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_UserEventService_CollectUserEvent_async", - "title": "CompletionService collectUserEvent Sample", - "origin": "API_DEFINITION", - "description": " Writes a single user event from the browser. This uses a GET request to due to browser restriction of POST-ing to a third-party domain. This method is used only by the Discovery Engine API JavaScript pixel and Google Tag Manager. Users should not call this method directly.", - "canonical": true, - "file": "user_event_service.collect_user_event.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 73, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CollectUserEvent", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.CollectUserEvent", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "user_event", - "type": "TYPE_STRING" - }, - { - "name": "uri", - "type": "TYPE_STRING" - }, - { - "name": "ets", - "type": "TYPE_INT64" - } - ], - "resultType": ".google.api.HttpBody", - "client": { - "shortName": "UserEventServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventServiceClient" - }, - "method": { - "shortName": "CollectUserEvent", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.CollectUserEvent", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventService" - } - } - } + "start": 25, + "end": 73, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CollectUserEvent", + "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.CollectUserEvent", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "user_event", + "type": "TYPE_STRING" + }, + { + "name": "uri", + "type": "TYPE_STRING" + }, + { + "name": "ets", + "type": "TYPE_INT64" + } + ], + "resultType": ".google.api.HttpBody", + "client": { + "shortName": "UserEventServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.UserEventServiceClient" }, + "method": { + "shortName": "CollectUserEvent", + "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.CollectUserEvent", + "service": { + "shortName": "UserEventService", + "fullName": "google.cloud.discoveryengine.v1beta.UserEventService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_UserEventService_PurgeUserEvents_async", + "title": "CompletionService purgeUserEvents Sample", + "origin": "API_DEFINITION", + "description": " Deletes permanently all user events specified by the filter provided. Depending on the number of events specified by the filter, this operation could take hours or days to complete. To test a filter, use the list command first.", + "canonical": true, + "file": "user_event_service.purge_user_events.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_UserEventService_PurgeUserEvents_async", - "title": "CompletionService purgeUserEvents Sample", - "origin": "API_DEFINITION", - "description": " Deletes permanently all user events specified by the filter provided. Depending on the number of events specified by the filter, this operation could take hours or days to complete. To test a filter, use the list command first.", - "canonical": true, - "file": "user_event_service.purge_user_events.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 90, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "PurgeUserEvents", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.PurgeUserEvents", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "force", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "UserEventServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventServiceClient" - }, - "method": { - "shortName": "PurgeUserEvents", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.PurgeUserEvents", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventService" - } - } - } + "start": 25, + "end": 90, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "PurgeUserEvents", + "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.PurgeUserEvents", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "force", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "UserEventServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.UserEventServiceClient" }, + "method": { + "shortName": "PurgeUserEvents", + "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.PurgeUserEvents", + "service": { + "shortName": "UserEventService", + "fullName": "google.cloud.discoveryengine.v1beta.UserEventService" + } + } + } + }, + { + "regionTag": "discoveryengine_v1beta_generated_UserEventService_ImportUserEvents_async", + "title": "CompletionService importUserEvents Sample", + "origin": "API_DEFINITION", + "description": " Bulk import of user events. Request processing might be synchronous. Events that already exist are skipped. Use this method for backfilling historical user events. Operation.response is of type ImportResponse. Note that it is possible for a subset of the items to be successfully inserted. Operation.metadata is of type ImportMetadata.", + "canonical": true, + "file": "user_event_service.import_user_events.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "discoveryengine_v1beta_generated_UserEventService_ImportUserEvents_async", - "title": "CompletionService importUserEvents Sample", - "origin": "API_DEFINITION", - "description": " Bulk import of user events. Request processing might be synchronous. Events that already exist are skipped. Use this method for backfilling historical user events. Operation.response is of type ImportResponse. Note that it is possible for a subset of the items to be successfully inserted. Operation.metadata is of type ImportMetadata.", - "canonical": true, - "file": "user_event_service.import_user_events.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 72, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ImportUserEvents", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.ImportUserEvents", - "async": true, - "parameters": [ - { - "name": "inline_source", - "type": ".google.cloud.discoveryengine.v1beta.ImportUserEventsRequest.InlineSource" - }, - { - "name": "gcs_source", - "type": ".google.cloud.discoveryengine.v1beta.GcsSource" - }, - { - "name": "bigquery_source", - "type": ".google.cloud.discoveryengine.v1beta.BigQuerySource" - }, - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "error_config", - "type": ".google.cloud.discoveryengine.v1beta.ImportErrorConfig" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "UserEventServiceClient", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventServiceClient" - }, - "method": { - "shortName": "ImportUserEvents", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.ImportUserEvents", - "service": { - "shortName": "UserEventService", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventService" - } - } - } + "start": 25, + "end": 72, + "type": "FULL" } - ] -} \ No newline at end of file + ], + "clientMethod": { + "shortName": "ImportUserEvents", + "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.ImportUserEvents", + "async": true, + "parameters": [ + { + "name": "inline_source", + "type": ".google.cloud.discoveryengine.v1beta.ImportUserEventsRequest.InlineSource" + }, + { + "name": "gcs_source", + "type": ".google.cloud.discoveryengine.v1beta.GcsSource" + }, + { + "name": "bigquery_source", + "type": ".google.cloud.discoveryengine.v1beta.BigQuerySource" + }, + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "error_config", + "type": ".google.cloud.discoveryengine.v1beta.ImportErrorConfig" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "UserEventServiceClient", + "fullName": "google.cloud.discoveryengine.v1beta.UserEventServiceClient" + }, + "method": { + "shortName": "ImportUserEvents", + "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.ImportUserEvents", + "service": { + "shortName": "UserEventService", + "fullName": "google.cloud.discoveryengine.v1beta.UserEventService" + } + } + } + } + ] +} diff --git a/packages/google-cloud-edgecontainer/.OwlBot.yaml b/packages/google-cloud-edgecontainer/.OwlBot.yaml index 5e544a5bc719..5088df070ca8 100644 --- a/packages/google-cloud-edgecontainer/.OwlBot.yaml +++ b/packages/google-cloud-edgecontainer/.OwlBot.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 Google LLC +# Copyright 2025 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -13,7 +13,7 @@ # limitations under the License. deep-copy-regex: - - source: /google/cloud/edgecontainer/google-cloud-edgecontainer-nodejs - dest: /owl-bot-staging/google-cloud-edgecontainer + - source: /google/cloud/edgecontainer/google-cloud-edgecontainer-nodejs + dest: /owl-bot-staging/google-cloud-edgecontainer -api-name: edgecontainer +api-name: edgecontainer \ No newline at end of file diff --git a/packages/google-cloud-edgecontainer/.eslintignore b/packages/google-cloud-edgecontainer/.eslintignore index ea5b04aebe68..cfc348ec4d11 100644 --- a/packages/google-cloud-edgecontainer/.eslintignore +++ b/packages/google-cloud-edgecontainer/.eslintignore @@ -1,7 +1,7 @@ **/node_modules -**/coverage -test/fixtures +**/.coverage build/ docs/ protos/ +system-test/ samples/generated/ diff --git a/packages/google-cloud-edgecontainer/.mocharc.js b/packages/google-cloud-edgecontainer/.mocharc.js index eef6173ab449..24e9d15257f9 100644 --- a/packages/google-cloud-edgecontainer/.mocharc.js +++ b/packages/google-cloud-edgecontainer/.mocharc.js @@ -4,18 +4,22 @@ // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // -// http://www.apache.org/licenses/LICENSE-2.0 +// https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// ** This file is automatically generated by gapic-generator-typescript. ** +// ** https://github.com/googleapis/gapic-generator-typescript ** +// ** All changes to this file may be overwritten. ** + const config = { "enable-source-maps": true, "throw-deprecation": true, - "timeout": 10000, - "recursive": true + "timeout": 10000 } if (process.env.MOCHA_THROW_DEPRECATION === 'false') { delete config['throw-deprecation']; diff --git a/packages/google-cloud-edgecontainer/.nycrc b/packages/google-cloud-edgecontainer/.nycrc index b18d5472b62b..81a95fc94b00 100644 --- a/packages/google-cloud-edgecontainer/.nycrc +++ b/packages/google-cloud-edgecontainer/.nycrc @@ -21,4 +21,4 @@ ], "exclude-after-remap": false, "all": true -} +} \ No newline at end of file diff --git a/packages/google-cloud-edgecontainer/.prettierrc.js b/packages/google-cloud-edgecontainer/.prettierrc.js index b189724933b2..d89a632f90b0 100644 --- a/packages/google-cloud-edgecontainer/.prettierrc.js +++ b/packages/google-cloud-edgecontainer/.prettierrc.js @@ -4,13 +4,18 @@ // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // -// https://www.apache.org/licenses/LICENSE-2.0 +// https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// ** This file is automatically generated by gapic-generator-typescript. ** +// ** https://github.com/googleapis/gapic-generator-typescript ** +// ** All changes to this file may be overwritten. ** + module.exports = { ...require('gts/.prettierrc.json') diff --git a/packages/google-cloud-edgecontainer/CONTRIBUTING.md b/packages/google-cloud-edgecontainer/CONTRIBUTING.md index 73e868d2530e..3f9b85bf2d20 100644 --- a/packages/google-cloud-edgecontainer/CONTRIBUTING.md +++ b/packages/google-cloud-edgecontainer/CONTRIBUTING.md @@ -40,8 +40,8 @@ accept your pull requests. ### Before you begin 1. [Select or create a Cloud Platform project][projects]. -1. [Enable billing for your project][billing]. -1. [Enable the Distributed Cloud Edge Container API API][enable_api]. +1. [Enable billing for your project][billing]. +1. [Enable the Edgecontainer API][enable_api]. 1. [Set up authentication with a service account][auth] so you can access the API from your local workstation. diff --git a/packages/google-cloud-edgecontainer/README.md b/packages/google-cloud-edgecontainer/README.md index 63de3b3375eb..2d9e2e47ebbb 100644 --- a/packages/google-cloud-edgecontainer/README.md +++ b/packages/google-cloud-edgecontainer/README.md @@ -1,24 +1,25 @@ [//]: # "This README.md file is auto-generated, all changes to this file will be lost." -[//]: # "To regenerate it, use `python -m synthtool`." +[//]: # "The comments you see below are used to generate those parts of the template in later states." Google Cloud Platform logo -# [Distributed Cloud Edge Container API: Node.js Client](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-edgecontainer) - -[![release level](https://img.shields.io/badge/release%20level-stable-brightgreen.svg?style=flat)](https://cloud.google.com/terms/launch-stages) -[![npm version](https://img.shields.io/npm/v/@google-cloud/edgecontainer.svg)](https://www.npmjs.org/package/@google-cloud/edgecontainer) - +# [Distributed Cloud Edge Container API: Nodejs Client][homepage] +This library is considered to be **stable**. The code surface will not change in backwards-incompatible ways +unless absolutely necessary (e.g. because of critical security issues) or with +an extensive deprecation period. Issues and requests against **stable** libraries +are addressed with the highest priority +[![npm version](https://img.shields.io/npm/v/@google-cloud/edgecontainer.svg)](https://www.npmjs.org/package/@google-cloud/edgecontainer) Distributed Cloud Edge Container API client for Node.js +[//]: # "partials.introduction" A comprehensive list of changes in each version may be found in -[the CHANGELOG](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-edgecontainer/CHANGELOG.md). +[the CHANGELOG][homepage_changelog]. -* [Distributed Cloud Edge Container API Node.js Client API Reference][client-docs] +* [Distributed Cloud Edge Container API Nodejs Client API Reference](https://cloud.google.com/nodejs/docs/reference/edgecontainer/latest) -* [github.com/googleapis/google-cloud-node/packages/google-cloud-edgecontainer](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-edgecontainer) Read more about the client libraries for Cloud APIs, including the older Google APIs Client Libraries, in [Client Libraries Explained][explained]. @@ -27,18 +28,15 @@ Google APIs Client Libraries, in [Client Libraries Explained][explained]. **Table of contents:** - * [Quickstart](#quickstart) * [Before you begin](#before-you-begin) * [Installing the client library](#installing-the-client-library) - * [Using the client library](#using-the-client-library) -* [Samples](#samples) + * [Versioning](#versioning) * [Contributing](#contributing) * [License](#license) ## Quickstart - ### Before you begin 1. [Select or create a Cloud Platform project][projects]. @@ -46,102 +44,42 @@ Google APIs Client Libraries, in [Client Libraries Explained][explained]. 1. [Enable the Distributed Cloud Edge Container API API][enable_api]. 1. [Set up authentication][auth] so you can access the API from your local workstation. - ### Installing the client library ```bash npm install @google-cloud/edgecontainer ``` - -### Using the client library - -```javascript -/** - * This snippet has been automatically generated and should be regarded as a code template only. - * It will require modifications to work. - * It may require correct/in-range values for request initialization. - * TODO(developer): Uncomment these variables before running the sample. - */ -/** - * Required. The parent location, which owns this collection of clusters. - */ -// const parent = 'abc123' -/** - * The maximum number of resources to list. - */ -// const pageSize = 1234 -/** - * A page token received from previous list request. - * A page token received from previous list request. - */ -// const pageToken = 'abc123' -/** - * Only resources matching this filter will be listed. - */ -// const filter = 'abc123' -/** - * Specifies the order in which resources will be listed. - */ -// const orderBy = 'abc123' - -// Imports the Edgecontainer library -const {EdgeContainerClient} = require('@google-cloud/edgecontainer').v1; - -// Instantiates a client -const edgecontainerClient = new EdgeContainerClient(); - -async function callListClusters() { - // Construct request - const request = { - parent, - }; - - // Run request - const iterable = await edgecontainerClient.listClustersAsync(request); - for await (const response of iterable) { - console.log(response); - } -} - -callListClusters(); - -``` - - +[//]: # "partials.body" ## Samples -Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-edgecontainer/samples) directory. Each sample's `README.md` has instructions for running its sample. - -| Sample | Source Code | Try it | -| --------------------------- | --------------------------------- | ------ | -| Edge_container.create_cluster | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.create_cluster.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.create_cluster.js,packages/google-cloud-edgecontainer/samples/README.md) | -| Edge_container.create_node_pool | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.create_node_pool.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.create_node_pool.js,packages/google-cloud-edgecontainer/samples/README.md) | -| Edge_container.create_vpn_connection | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.create_vpn_connection.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.create_vpn_connection.js,packages/google-cloud-edgecontainer/samples/README.md) | -| Edge_container.delete_cluster | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.delete_cluster.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.delete_cluster.js,packages/google-cloud-edgecontainer/samples/README.md) | -| Edge_container.delete_node_pool | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.delete_node_pool.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.delete_node_pool.js,packages/google-cloud-edgecontainer/samples/README.md) | -| Edge_container.delete_vpn_connection | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.delete_vpn_connection.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.delete_vpn_connection.js,packages/google-cloud-edgecontainer/samples/README.md) | -| Edge_container.generate_access_token | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.generate_access_token.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.generate_access_token.js,packages/google-cloud-edgecontainer/samples/README.md) | -| Edge_container.generate_offline_credential | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.generate_offline_credential.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.generate_offline_credential.js,packages/google-cloud-edgecontainer/samples/README.md) | -| Edge_container.get_cluster | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.get_cluster.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.get_cluster.js,packages/google-cloud-edgecontainer/samples/README.md) | -| Edge_container.get_machine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.get_machine.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.get_machine.js,packages/google-cloud-edgecontainer/samples/README.md) | -| Edge_container.get_node_pool | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.get_node_pool.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.get_node_pool.js,packages/google-cloud-edgecontainer/samples/README.md) | -| Edge_container.get_server_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.get_server_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.get_server_config.js,packages/google-cloud-edgecontainer/samples/README.md) | -| Edge_container.get_vpn_connection | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.get_vpn_connection.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.get_vpn_connection.js,packages/google-cloud-edgecontainer/samples/README.md) | -| Edge_container.list_clusters | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.list_clusters.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.list_clusters.js,packages/google-cloud-edgecontainer/samples/README.md) | -| Edge_container.list_machines | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.list_machines.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.list_machines.js,packages/google-cloud-edgecontainer/samples/README.md) | -| Edge_container.list_node_pools | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.list_node_pools.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.list_node_pools.js,packages/google-cloud-edgecontainer/samples/README.md) | -| Edge_container.list_vpn_connections | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.list_vpn_connections.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.list_vpn_connections.js,packages/google-cloud-edgecontainer/samples/README.md) | -| Edge_container.update_cluster | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.update_cluster.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.update_cluster.js,packages/google-cloud-edgecontainer/samples/README.md) | -| Edge_container.update_node_pool | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.update_node_pool.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.update_node_pool.js,packages/google-cloud-edgecontainer/samples/README.md) | -| Edge_container.upgrade_cluster | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.upgrade_cluster.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.upgrade_cluster.js,packages/google-cloud-edgecontainer/samples/README.md) | -| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgecontainer/samples/quickstart.js,packages/google-cloud-edgecontainer/samples/README.md) | - - - -The [Distributed Cloud Edge Container API Node.js Client API Reference][client-docs] documentation -also contains samples. +Samples are in the [`samples/`][homepage_samples] directory. Each sample's `README.md` has instructions for running its sample. + +| Sample | Source Code | +| --------------------------- | --------------------------------- | +| create cluster | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.create_cluster.js) | +| create node pool | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.create_node_pool.js) | +| create vpn connection | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.create_vpn_connection.js) | +| delete cluster | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.delete_cluster.js) | +| delete node pool | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.delete_node_pool.js) | +| delete vpn connection | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.delete_vpn_connection.js) | +| generate access token | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.generate_access_token.js) | +| generate offline credential | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.generate_offline_credential.js) | +| get cluster | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.get_cluster.js) | +| get machine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.get_machine.js) | +| get node pool | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.get_node_pool.js) | +| get server config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.get_server_config.js) | +| get vpn connection | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.get_vpn_connection.js) | +| list clusters | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.list_clusters.js) | +| list machines | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.list_machines.js) | +| list node pools | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.list_node_pools.js) | +| list vpn connections | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.list_vpn_connections.js) | +| update cluster | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.update_cluster.js) | +| update node pool | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.update_node_pool.js) | +| upgrade cluster | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/samples/generated/v1/edge_container.upgrade_cluster.js) | +| cloud | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/samples/generated/v1/snippet_metadata_google.cloud.edgecontainer.v1.json) | + ## Supported Node.js Versions @@ -168,45 +106,29 @@ for versions compatible with Node.js 8. This library follows [Semantic Versioning](http://semver.org/). - - -This library is considered to be **stable**. The code surface will not change in backwards-incompatible ways -unless absolutely necessary (e.g. because of critical security issues) or with -an extensive deprecation period. Issues and requests against **stable** libraries -are addressed with the highest priority. - - - - - - More Information: [Google Cloud Platform Launch Stages][launch_stages] [launch_stages]: https://cloud.google.com/terms/launch-stages ## Contributing -Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/google-cloud-node/blob/main/CONTRIBUTING.md). +Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/CONTRIBUTING.md). -Please note that this `README.md`, the `samples/README.md`, +Please note that this `README.md` and a variety of configuration files in this repository (including `.nycrc` and `tsconfig.json`) -are generated from a central template. To edit one of these files, make an edit -to its templates in -[directory](https://github.com/googleapis/synthtool). +are generated from a central template. ## License Apache Version 2.0 -See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/LICENSE) - -[client-docs]: https://cloud.google.com/nodejs/docs/reference/edgecontainer/latest +See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/LICENSE) [shell_img]: https://gstatic.com/cloudssh/images/open-btn.png [projects]: https://console.cloud.google.com/project [billing]: https://support.google.com/cloud/answer/6293499#enable-billing [enable_api]: https://console.cloud.google.com/flows/enableapi?apiid=edgecontainer.googleapis.com [auth]: https://cloud.google.com/docs/authentication/external/set-up-adc-local - - -[//]: # "partials.introduction" \ No newline at end of file +[homepage_samples]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/samples +[homepage_changelog]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer/CHANGELOG.md +[homepage]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgecontainer diff --git a/packages/google-cloud-edgecontainer/protos/protos.d.ts b/packages/google-cloud-edgecontainer/protos/protos.d.ts index 4674f5ed7d3b..c73753bafc8c 100644 --- a/packages/google-cloud-edgecontainer/protos/protos.d.ts +++ b/packages/google-cloud-edgecontainer/protos/protos.d.ts @@ -8245,9 +8245,6 @@ export namespace google { /** CommonLanguageSettings destinations */ destinations?: (google.api.ClientLibraryDestination[]|null); - - /** CommonLanguageSettings selectiveGapicGeneration */ - selectiveGapicGeneration?: (google.api.ISelectiveGapicGeneration|null); } /** Represents a CommonLanguageSettings. */ @@ -8265,9 +8262,6 @@ export namespace google { /** CommonLanguageSettings destinations. */ public destinations: google.api.ClientLibraryDestination[]; - /** CommonLanguageSettings selectiveGapicGeneration. */ - public selectiveGapicGeneration?: (google.api.ISelectiveGapicGeneration|null); - /** * Creates a new CommonLanguageSettings instance using the specified properties. * @param [properties] Properties to set @@ -8968,9 +8962,6 @@ export namespace google { /** PythonSettings common */ common?: (google.api.ICommonLanguageSettings|null); - - /** PythonSettings experimentalFeatures */ - experimentalFeatures?: (google.api.PythonSettings.IExperimentalFeatures|null); } /** Represents a PythonSettings. */ @@ -8985,9 +8976,6 @@ export namespace google { /** PythonSettings common. */ public common?: (google.api.ICommonLanguageSettings|null); - /** PythonSettings experimentalFeatures. */ - public experimentalFeatures?: (google.api.PythonSettings.IExperimentalFeatures|null); - /** * Creates a new PythonSettings instance using the specified properties. * @param [properties] Properties to set @@ -9066,118 +9054,6 @@ export namespace google { public static getTypeUrl(typeUrlPrefix?: string): string; } - namespace PythonSettings { - - /** Properties of an ExperimentalFeatures. */ - interface IExperimentalFeatures { - - /** ExperimentalFeatures restAsyncIoEnabled */ - restAsyncIoEnabled?: (boolean|null); - - /** ExperimentalFeatures protobufPythonicTypesEnabled */ - protobufPythonicTypesEnabled?: (boolean|null); - - /** ExperimentalFeatures unversionedPackageDisabled */ - unversionedPackageDisabled?: (boolean|null); - } - - /** Represents an ExperimentalFeatures. */ - class ExperimentalFeatures implements IExperimentalFeatures { - - /** - * Constructs a new ExperimentalFeatures. - * @param [properties] Properties to set - */ - constructor(properties?: google.api.PythonSettings.IExperimentalFeatures); - - /** ExperimentalFeatures restAsyncIoEnabled. */ - public restAsyncIoEnabled: boolean; - - /** ExperimentalFeatures protobufPythonicTypesEnabled. */ - public protobufPythonicTypesEnabled: boolean; - - /** ExperimentalFeatures unversionedPackageDisabled. */ - public unversionedPackageDisabled: boolean; - - /** - * Creates a new ExperimentalFeatures instance using the specified properties. - * @param [properties] Properties to set - * @returns ExperimentalFeatures instance - */ - public static create(properties?: google.api.PythonSettings.IExperimentalFeatures): google.api.PythonSettings.ExperimentalFeatures; - - /** - * Encodes the specified ExperimentalFeatures message. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @param message ExperimentalFeatures message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.api.PythonSettings.IExperimentalFeatures, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ExperimentalFeatures message, length delimited. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @param message ExperimentalFeatures message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.api.PythonSettings.IExperimentalFeatures, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.PythonSettings.ExperimentalFeatures; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.PythonSettings.ExperimentalFeatures; - - /** - * Verifies an ExperimentalFeatures message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an ExperimentalFeatures message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ExperimentalFeatures - */ - public static fromObject(object: { [k: string]: any }): google.api.PythonSettings.ExperimentalFeatures; - - /** - * Creates a plain object from an ExperimentalFeatures message. Also converts values to other types if specified. - * @param message ExperimentalFeatures - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.api.PythonSettings.ExperimentalFeatures, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ExperimentalFeatures to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ExperimentalFeatures - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - } - /** Properties of a NodeSettings. */ interface INodeSettings { @@ -9504,9 +9380,6 @@ export namespace google { /** GoSettings common */ common?: (google.api.ICommonLanguageSettings|null); - - /** GoSettings renamedServices */ - renamedServices?: ({ [k: string]: string }|null); } /** Represents a GoSettings. */ @@ -9521,9 +9394,6 @@ export namespace google { /** GoSettings common. */ public common?: (google.api.ICommonLanguageSettings|null); - /** GoSettings renamedServices. */ - public renamedServices: { [k: string]: string }; - /** * Creates a new GoSettings instance using the specified properties. * @param [properties] Properties to set @@ -9848,109 +9718,6 @@ export namespace google { PACKAGE_MANAGER = 20 } - /** Properties of a SelectiveGapicGeneration. */ - interface ISelectiveGapicGeneration { - - /** SelectiveGapicGeneration methods */ - methods?: (string[]|null); - - /** SelectiveGapicGeneration generateOmittedAsInternal */ - generateOmittedAsInternal?: (boolean|null); - } - - /** Represents a SelectiveGapicGeneration. */ - class SelectiveGapicGeneration implements ISelectiveGapicGeneration { - - /** - * Constructs a new SelectiveGapicGeneration. - * @param [properties] Properties to set - */ - constructor(properties?: google.api.ISelectiveGapicGeneration); - - /** SelectiveGapicGeneration methods. */ - public methods: string[]; - - /** SelectiveGapicGeneration generateOmittedAsInternal. */ - public generateOmittedAsInternal: boolean; - - /** - * Creates a new SelectiveGapicGeneration instance using the specified properties. - * @param [properties] Properties to set - * @returns SelectiveGapicGeneration instance - */ - public static create(properties?: google.api.ISelectiveGapicGeneration): google.api.SelectiveGapicGeneration; - - /** - * Encodes the specified SelectiveGapicGeneration message. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @param message SelectiveGapicGeneration message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.api.ISelectiveGapicGeneration, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified SelectiveGapicGeneration message, length delimited. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @param message SelectiveGapicGeneration message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.api.ISelectiveGapicGeneration, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.SelectiveGapicGeneration; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.SelectiveGapicGeneration; - - /** - * Verifies a SelectiveGapicGeneration message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a SelectiveGapicGeneration message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns SelectiveGapicGeneration - */ - public static fromObject(object: { [k: string]: any }): google.api.SelectiveGapicGeneration; - - /** - * Creates a plain object from a SelectiveGapicGeneration message. Also converts values to other types if specified. - * @param message SelectiveGapicGeneration - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.api.SelectiveGapicGeneration, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this SelectiveGapicGeneration to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for SelectiveGapicGeneration - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - /** LaunchStage enum. */ enum LaunchStage { LAUNCH_STAGE_UNSPECIFIED = 0, @@ -10067,7 +9834,6 @@ export namespace google { /** Edition enum. */ enum Edition { EDITION_UNKNOWN = 0, - EDITION_LEGACY = 900, EDITION_PROTO2 = 998, EDITION_PROTO3 = 999, EDITION_2023 = 1000, @@ -10098,9 +9864,6 @@ export namespace google { /** FileDescriptorProto weakDependency */ weakDependency?: (number[]|null); - /** FileDescriptorProto optionDependency */ - optionDependency?: (string[]|null); - /** FileDescriptorProto messageType */ messageType?: (google.protobuf.IDescriptorProto[]|null); @@ -10150,9 +9913,6 @@ export namespace google { /** FileDescriptorProto weakDependency. */ public weakDependency: number[]; - /** FileDescriptorProto optionDependency. */ - public optionDependency: string[]; - /** FileDescriptorProto messageType. */ public messageType: google.protobuf.IDescriptorProto[]; @@ -10287,9 +10047,6 @@ export namespace google { /** DescriptorProto reservedName */ reservedName?: (string[]|null); - - /** DescriptorProto visibility */ - visibility?: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility|null); } /** Represents a DescriptorProto. */ @@ -10331,9 +10088,6 @@ export namespace google { /** DescriptorProto reservedName. */ public reservedName: string[]; - /** DescriptorProto visibility. */ - public visibility: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility); - /** * Creates a new DescriptorProto instance using the specified properties. * @param [properties] Properties to set @@ -11181,9 +10935,6 @@ export namespace google { /** EnumDescriptorProto reservedName */ reservedName?: (string[]|null); - - /** EnumDescriptorProto visibility */ - visibility?: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility|null); } /** Represents an EnumDescriptorProto. */ @@ -11210,9 +10961,6 @@ export namespace google { /** EnumDescriptorProto reservedName. */ public reservedName: string[]; - /** EnumDescriptorProto visibility. */ - public visibility: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility); - /** * Creates a new EnumDescriptorProto instance using the specified properties. * @param [properties] Properties to set @@ -12147,9 +11895,6 @@ export namespace google { /** FieldOptions features */ features?: (google.protobuf.IFeatureSet|null); - /** FieldOptions featureSupport */ - featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** FieldOptions uninterpretedOption */ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); @@ -12205,9 +11950,6 @@ export namespace google { /** FieldOptions features. */ public features?: (google.protobuf.IFeatureSet|null); - /** FieldOptions featureSupport. */ - public featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** FieldOptions uninterpretedOption. */ public uninterpretedOption: google.protobuf.IUninterpretedOption[]; @@ -12428,121 +12170,6 @@ export namespace google { */ public static getTypeUrl(typeUrlPrefix?: string): string; } - - /** Properties of a FeatureSupport. */ - interface IFeatureSupport { - - /** FeatureSupport editionIntroduced */ - editionIntroduced?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - - /** FeatureSupport editionDeprecated */ - editionDeprecated?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - - /** FeatureSupport deprecationWarning */ - deprecationWarning?: (string|null); - - /** FeatureSupport editionRemoved */ - editionRemoved?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - } - - /** Represents a FeatureSupport. */ - class FeatureSupport implements IFeatureSupport { - - /** - * Constructs a new FeatureSupport. - * @param [properties] Properties to set - */ - constructor(properties?: google.protobuf.FieldOptions.IFeatureSupport); - - /** FeatureSupport editionIntroduced. */ - public editionIntroduced: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - - /** FeatureSupport editionDeprecated. */ - public editionDeprecated: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - - /** FeatureSupport deprecationWarning. */ - public deprecationWarning: string; - - /** FeatureSupport editionRemoved. */ - public editionRemoved: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - - /** - * Creates a new FeatureSupport instance using the specified properties. - * @param [properties] Properties to set - * @returns FeatureSupport instance - */ - public static create(properties?: google.protobuf.FieldOptions.IFeatureSupport): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Encodes the specified FeatureSupport message. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. - * @param message FeatureSupport message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.protobuf.FieldOptions.IFeatureSupport, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified FeatureSupport message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. - * @param message FeatureSupport message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.protobuf.FieldOptions.IFeatureSupport, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a FeatureSupport message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns FeatureSupport - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Decodes a FeatureSupport message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns FeatureSupport - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Verifies a FeatureSupport message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a FeatureSupport message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns FeatureSupport - */ - public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Creates a plain object from a FeatureSupport message. Also converts values to other types if specified. - * @param message FeatureSupport - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.protobuf.FieldOptions.FeatureSupport, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this FeatureSupport to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for FeatureSupport - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } } /** Properties of an OneofOptions. */ @@ -12781,9 +12408,6 @@ export namespace google { /** EnumValueOptions debugRedact */ debugRedact?: (boolean|null); - /** EnumValueOptions featureSupport */ - featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** EnumValueOptions uninterpretedOption */ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); } @@ -12806,9 +12430,6 @@ export namespace google { /** EnumValueOptions debugRedact. */ public debugRedact: boolean; - /** EnumValueOptions featureSupport. */ - public featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** EnumValueOptions uninterpretedOption. */ public uninterpretedOption: google.protobuf.IUninterpretedOption[]; @@ -13401,12 +13022,6 @@ export namespace google { /** FeatureSet jsonFormat */ jsonFormat?: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat|null); - - /** FeatureSet enforceNamingStyle */ - enforceNamingStyle?: (google.protobuf.FeatureSet.EnforceNamingStyle|keyof typeof google.protobuf.FeatureSet.EnforceNamingStyle|null); - - /** FeatureSet defaultSymbolVisibility */ - defaultSymbolVisibility?: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|keyof typeof google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|null); } /** Represents a FeatureSet. */ @@ -13436,12 +13051,6 @@ export namespace google { /** FeatureSet jsonFormat. */ public jsonFormat: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat); - /** FeatureSet enforceNamingStyle. */ - public enforceNamingStyle: (google.protobuf.FeatureSet.EnforceNamingStyle|keyof typeof google.protobuf.FeatureSet.EnforceNamingStyle); - - /** FeatureSet defaultSymbolVisibility. */ - public defaultSymbolVisibility: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|keyof typeof google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility); - /** * Creates a new FeatureSet instance using the specified properties. * @param [properties] Properties to set @@ -13564,116 +13173,6 @@ export namespace google { ALLOW = 1, LEGACY_BEST_EFFORT = 2 } - - /** EnforceNamingStyle enum. */ - enum EnforceNamingStyle { - ENFORCE_NAMING_STYLE_UNKNOWN = 0, - STYLE2024 = 1, - STYLE_LEGACY = 2 - } - - /** Properties of a VisibilityFeature. */ - interface IVisibilityFeature { - } - - /** Represents a VisibilityFeature. */ - class VisibilityFeature implements IVisibilityFeature { - - /** - * Constructs a new VisibilityFeature. - * @param [properties] Properties to set - */ - constructor(properties?: google.protobuf.FeatureSet.IVisibilityFeature); - - /** - * Creates a new VisibilityFeature instance using the specified properties. - * @param [properties] Properties to set - * @returns VisibilityFeature instance - */ - public static create(properties?: google.protobuf.FeatureSet.IVisibilityFeature): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Encodes the specified VisibilityFeature message. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @param message VisibilityFeature message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.protobuf.FeatureSet.IVisibilityFeature, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified VisibilityFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @param message VisibilityFeature message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.protobuf.FeatureSet.IVisibilityFeature, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Verifies a VisibilityFeature message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a VisibilityFeature message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns VisibilityFeature - */ - public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Creates a plain object from a VisibilityFeature message. Also converts values to other types if specified. - * @param message VisibilityFeature - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.protobuf.FeatureSet.VisibilityFeature, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this VisibilityFeature to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for VisibilityFeature - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - namespace VisibilityFeature { - - /** DefaultSymbolVisibility enum. */ - enum DefaultSymbolVisibility { - DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0, - EXPORT_ALL = 1, - EXPORT_TOP_LEVEL = 2, - LOCAL_ALL = 3, - STRICT = 4 - } - } } /** Properties of a FeatureSetDefaults. */ @@ -13793,11 +13292,8 @@ export namespace google { /** FeatureSetEditionDefault edition */ edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - /** FeatureSetEditionDefault overridableFeatures */ - overridableFeatures?: (google.protobuf.IFeatureSet|null); - - /** FeatureSetEditionDefault fixedFeatures */ - fixedFeatures?: (google.protobuf.IFeatureSet|null); + /** FeatureSetEditionDefault features */ + features?: (google.protobuf.IFeatureSet|null); } /** Represents a FeatureSetEditionDefault. */ @@ -13812,11 +13308,8 @@ export namespace google { /** FeatureSetEditionDefault edition. */ public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - /** FeatureSetEditionDefault overridableFeatures. */ - public overridableFeatures?: (google.protobuf.IFeatureSet|null); - - /** FeatureSetEditionDefault fixedFeatures. */ - public fixedFeatures?: (google.protobuf.IFeatureSet|null); + /** FeatureSetEditionDefault features. */ + public features?: (google.protobuf.IFeatureSet|null); /** * Creates a new FeatureSetEditionDefault instance using the specified properties. @@ -14349,13 +13842,6 @@ export namespace google { } } - /** SymbolVisibility enum. */ - enum SymbolVisibility { - VISIBILITY_UNSET = 0, - VISIBILITY_LOCAL = 1, - VISIBILITY_EXPORT = 2 - } - /** Properties of a Duration. */ interface IDuration { diff --git a/packages/google-cloud-edgecontainer/protos/protos.js b/packages/google-cloud-edgecontainer/protos/protos.js index 0e96c9e74a63..d284354a473c 100644 --- a/packages/google-cloud-edgecontainer/protos/protos.js +++ b/packages/google-cloud-edgecontainer/protos/protos.js @@ -20424,7 +20424,6 @@ * @interface ICommonLanguageSettings * @property {string|null} [referenceDocsUri] CommonLanguageSettings referenceDocsUri * @property {Array.|null} [destinations] CommonLanguageSettings destinations - * @property {google.api.ISelectiveGapicGeneration|null} [selectiveGapicGeneration] CommonLanguageSettings selectiveGapicGeneration */ /** @@ -20459,14 +20458,6 @@ */ CommonLanguageSettings.prototype.destinations = $util.emptyArray; - /** - * CommonLanguageSettings selectiveGapicGeneration. - * @member {google.api.ISelectiveGapicGeneration|null|undefined} selectiveGapicGeneration - * @memberof google.api.CommonLanguageSettings - * @instance - */ - CommonLanguageSettings.prototype.selectiveGapicGeneration = null; - /** * Creates a new CommonLanguageSettings instance using the specified properties. * @function create @@ -20499,8 +20490,6 @@ writer.int32(message.destinations[i]); writer.ldelim(); } - if (message.selectiveGapicGeneration != null && Object.hasOwnProperty.call(message, "selectiveGapicGeneration")) - $root.google.api.SelectiveGapicGeneration.encode(message.selectiveGapicGeneration, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; @@ -20552,10 +20541,6 @@ message.destinations.push(reader.int32()); break; } - case 3: { - message.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.decode(reader, reader.uint32()); - break; - } default: reader.skipType(tag & 7); break; @@ -20607,11 +20592,6 @@ break; } } - if (message.selectiveGapicGeneration != null && message.hasOwnProperty("selectiveGapicGeneration")) { - var error = $root.google.api.SelectiveGapicGeneration.verify(message.selectiveGapicGeneration); - if (error) - return "selectiveGapicGeneration." + error; - } return null; }; @@ -20654,11 +20634,6 @@ break; } } - if (object.selectiveGapicGeneration != null) { - if (typeof object.selectiveGapicGeneration !== "object") - throw TypeError(".google.api.CommonLanguageSettings.selectiveGapicGeneration: object expected"); - message.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.fromObject(object.selectiveGapicGeneration); - } return message; }; @@ -20677,10 +20652,8 @@ var object = {}; if (options.arrays || options.defaults) object.destinations = []; - if (options.defaults) { + if (options.defaults) object.referenceDocsUri = ""; - object.selectiveGapicGeneration = null; - } if (message.referenceDocsUri != null && message.hasOwnProperty("referenceDocsUri")) object.referenceDocsUri = message.referenceDocsUri; if (message.destinations && message.destinations.length) { @@ -20688,8 +20661,6 @@ for (var j = 0; j < message.destinations.length; ++j) object.destinations[j] = options.enums === String ? $root.google.api.ClientLibraryDestination[message.destinations[j]] === undefined ? message.destinations[j] : $root.google.api.ClientLibraryDestination[message.destinations[j]] : message.destinations[j]; } - if (message.selectiveGapicGeneration != null && message.hasOwnProperty("selectiveGapicGeneration")) - object.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.toObject(message.selectiveGapicGeneration, options); return object; }; @@ -22512,7 +22483,6 @@ * @memberof google.api * @interface IPythonSettings * @property {google.api.ICommonLanguageSettings|null} [common] PythonSettings common - * @property {google.api.PythonSettings.IExperimentalFeatures|null} [experimentalFeatures] PythonSettings experimentalFeatures */ /** @@ -22538,14 +22508,6 @@ */ PythonSettings.prototype.common = null; - /** - * PythonSettings experimentalFeatures. - * @member {google.api.PythonSettings.IExperimentalFeatures|null|undefined} experimentalFeatures - * @memberof google.api.PythonSettings - * @instance - */ - PythonSettings.prototype.experimentalFeatures = null; - /** * Creates a new PythonSettings instance using the specified properties. * @function create @@ -22572,8 +22534,6 @@ writer = $Writer.create(); if (message.common != null && Object.hasOwnProperty.call(message, "common")) $root.google.api.CommonLanguageSettings.encode(message.common, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.experimentalFeatures != null && Object.hasOwnProperty.call(message, "experimentalFeatures")) - $root.google.api.PythonSettings.ExperimentalFeatures.encode(message.experimentalFeatures, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; @@ -22614,10 +22574,6 @@ message.common = $root.google.api.CommonLanguageSettings.decode(reader, reader.uint32()); break; } - case 2: { - message.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.decode(reader, reader.uint32()); - break; - } default: reader.skipType(tag & 7); break; @@ -22658,11 +22614,6 @@ if (error) return "common." + error; } - if (message.experimentalFeatures != null && message.hasOwnProperty("experimentalFeatures")) { - var error = $root.google.api.PythonSettings.ExperimentalFeatures.verify(message.experimentalFeatures); - if (error) - return "experimentalFeatures." + error; - } return null; }; @@ -22683,11 +22634,6 @@ throw TypeError(".google.api.PythonSettings.common: object expected"); message.common = $root.google.api.CommonLanguageSettings.fromObject(object.common); } - if (object.experimentalFeatures != null) { - if (typeof object.experimentalFeatures !== "object") - throw TypeError(".google.api.PythonSettings.experimentalFeatures: object expected"); - message.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.fromObject(object.experimentalFeatures); - } return message; }; @@ -22704,14 +22650,10 @@ if (!options) options = {}; var object = {}; - if (options.defaults) { + if (options.defaults) object.common = null; - object.experimentalFeatures = null; - } if (message.common != null && message.hasOwnProperty("common")) object.common = $root.google.api.CommonLanguageSettings.toObject(message.common, options); - if (message.experimentalFeatures != null && message.hasOwnProperty("experimentalFeatures")) - object.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.toObject(message.experimentalFeatures, options); return object; }; @@ -22741,258 +22683,6 @@ return typeUrlPrefix + "/google.api.PythonSettings"; }; - PythonSettings.ExperimentalFeatures = (function() { - - /** - * Properties of an ExperimentalFeatures. - * @memberof google.api.PythonSettings - * @interface IExperimentalFeatures - * @property {boolean|null} [restAsyncIoEnabled] ExperimentalFeatures restAsyncIoEnabled - * @property {boolean|null} [protobufPythonicTypesEnabled] ExperimentalFeatures protobufPythonicTypesEnabled - * @property {boolean|null} [unversionedPackageDisabled] ExperimentalFeatures unversionedPackageDisabled - */ - - /** - * Constructs a new ExperimentalFeatures. - * @memberof google.api.PythonSettings - * @classdesc Represents an ExperimentalFeatures. - * @implements IExperimentalFeatures - * @constructor - * @param {google.api.PythonSettings.IExperimentalFeatures=} [properties] Properties to set - */ - function ExperimentalFeatures(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ExperimentalFeatures restAsyncIoEnabled. - * @member {boolean} restAsyncIoEnabled - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - */ - ExperimentalFeatures.prototype.restAsyncIoEnabled = false; - - /** - * ExperimentalFeatures protobufPythonicTypesEnabled. - * @member {boolean} protobufPythonicTypesEnabled - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - */ - ExperimentalFeatures.prototype.protobufPythonicTypesEnabled = false; - - /** - * ExperimentalFeatures unversionedPackageDisabled. - * @member {boolean} unversionedPackageDisabled - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - */ - ExperimentalFeatures.prototype.unversionedPackageDisabled = false; - - /** - * Creates a new ExperimentalFeatures instance using the specified properties. - * @function create - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.IExperimentalFeatures=} [properties] Properties to set - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures instance - */ - ExperimentalFeatures.create = function create(properties) { - return new ExperimentalFeatures(properties); - }; - - /** - * Encodes the specified ExperimentalFeatures message. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @function encode - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.IExperimentalFeatures} message ExperimentalFeatures message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ExperimentalFeatures.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.restAsyncIoEnabled != null && Object.hasOwnProperty.call(message, "restAsyncIoEnabled")) - writer.uint32(/* id 1, wireType 0 =*/8).bool(message.restAsyncIoEnabled); - if (message.protobufPythonicTypesEnabled != null && Object.hasOwnProperty.call(message, "protobufPythonicTypesEnabled")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.protobufPythonicTypesEnabled); - if (message.unversionedPackageDisabled != null && Object.hasOwnProperty.call(message, "unversionedPackageDisabled")) - writer.uint32(/* id 3, wireType 0 =*/24).bool(message.unversionedPackageDisabled); - return writer; - }; - - /** - * Encodes the specified ExperimentalFeatures message, length delimited. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @function encodeDelimited - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.IExperimentalFeatures} message ExperimentalFeatures message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ExperimentalFeatures.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer. - * @function decode - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ExperimentalFeatures.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.PythonSettings.ExperimentalFeatures(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.restAsyncIoEnabled = reader.bool(); - break; - } - case 2: { - message.protobufPythonicTypesEnabled = reader.bool(); - break; - } - case 3: { - message.unversionedPackageDisabled = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ExperimentalFeatures.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an ExperimentalFeatures message. - * @function verify - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - ExperimentalFeatures.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.restAsyncIoEnabled != null && message.hasOwnProperty("restAsyncIoEnabled")) - if (typeof message.restAsyncIoEnabled !== "boolean") - return "restAsyncIoEnabled: boolean expected"; - if (message.protobufPythonicTypesEnabled != null && message.hasOwnProperty("protobufPythonicTypesEnabled")) - if (typeof message.protobufPythonicTypesEnabled !== "boolean") - return "protobufPythonicTypesEnabled: boolean expected"; - if (message.unversionedPackageDisabled != null && message.hasOwnProperty("unversionedPackageDisabled")) - if (typeof message.unversionedPackageDisabled !== "boolean") - return "unversionedPackageDisabled: boolean expected"; - return null; - }; - - /** - * Creates an ExperimentalFeatures message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {Object.} object Plain object - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures - */ - ExperimentalFeatures.fromObject = function fromObject(object) { - if (object instanceof $root.google.api.PythonSettings.ExperimentalFeatures) - return object; - var message = new $root.google.api.PythonSettings.ExperimentalFeatures(); - if (object.restAsyncIoEnabled != null) - message.restAsyncIoEnabled = Boolean(object.restAsyncIoEnabled); - if (object.protobufPythonicTypesEnabled != null) - message.protobufPythonicTypesEnabled = Boolean(object.protobufPythonicTypesEnabled); - if (object.unversionedPackageDisabled != null) - message.unversionedPackageDisabled = Boolean(object.unversionedPackageDisabled); - return message; - }; - - /** - * Creates a plain object from an ExperimentalFeatures message. Also converts values to other types if specified. - * @function toObject - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.ExperimentalFeatures} message ExperimentalFeatures - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ExperimentalFeatures.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.restAsyncIoEnabled = false; - object.protobufPythonicTypesEnabled = false; - object.unversionedPackageDisabled = false; - } - if (message.restAsyncIoEnabled != null && message.hasOwnProperty("restAsyncIoEnabled")) - object.restAsyncIoEnabled = message.restAsyncIoEnabled; - if (message.protobufPythonicTypesEnabled != null && message.hasOwnProperty("protobufPythonicTypesEnabled")) - object.protobufPythonicTypesEnabled = message.protobufPythonicTypesEnabled; - if (message.unversionedPackageDisabled != null && message.hasOwnProperty("unversionedPackageDisabled")) - object.unversionedPackageDisabled = message.unversionedPackageDisabled; - return object; - }; - - /** - * Converts this ExperimentalFeatures to JSON. - * @function toJSON - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - * @returns {Object.} JSON object - */ - ExperimentalFeatures.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ExperimentalFeatures - * @function getTypeUrl - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ExperimentalFeatures.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.api.PythonSettings.ExperimentalFeatures"; - }; - - return ExperimentalFeatures; - })(); - return PythonSettings; })(); @@ -23869,7 +23559,6 @@ * @memberof google.api * @interface IGoSettings * @property {google.api.ICommonLanguageSettings|null} [common] GoSettings common - * @property {Object.|null} [renamedServices] GoSettings renamedServices */ /** @@ -23881,7 +23570,6 @@ * @param {google.api.IGoSettings=} [properties] Properties to set */ function GoSettings(properties) { - this.renamedServices = {}; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -23896,14 +23584,6 @@ */ GoSettings.prototype.common = null; - /** - * GoSettings renamedServices. - * @member {Object.} renamedServices - * @memberof google.api.GoSettings - * @instance - */ - GoSettings.prototype.renamedServices = $util.emptyObject; - /** * Creates a new GoSettings instance using the specified properties. * @function create @@ -23930,9 +23610,6 @@ writer = $Writer.create(); if (message.common != null && Object.hasOwnProperty.call(message, "common")) $root.google.api.CommonLanguageSettings.encode(message.common, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.renamedServices != null && Object.hasOwnProperty.call(message, "renamedServices")) - for (var keys = Object.keys(message.renamedServices), i = 0; i < keys.length; ++i) - writer.uint32(/* id 2, wireType 2 =*/18).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.renamedServices[keys[i]]).ldelim(); return writer; }; @@ -23963,7 +23640,7 @@ GoSettings.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.GoSettings(), key, value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.GoSettings(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) @@ -23973,29 +23650,6 @@ message.common = $root.google.api.CommonLanguageSettings.decode(reader, reader.uint32()); break; } - case 2: { - if (message.renamedServices === $util.emptyObject) - message.renamedServices = {}; - var end2 = reader.uint32() + reader.pos; - key = ""; - value = ""; - while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { - case 1: - key = reader.string(); - break; - case 2: - value = reader.string(); - break; - default: - reader.skipType(tag2 & 7); - break; - } - } - message.renamedServices[key] = value; - break; - } default: reader.skipType(tag & 7); break; @@ -24036,14 +23690,6 @@ if (error) return "common." + error; } - if (message.renamedServices != null && message.hasOwnProperty("renamedServices")) { - if (!$util.isObject(message.renamedServices)) - return "renamedServices: object expected"; - var key = Object.keys(message.renamedServices); - for (var i = 0; i < key.length; ++i) - if (!$util.isString(message.renamedServices[key[i]])) - return "renamedServices: string{k:string} expected"; - } return null; }; @@ -24064,13 +23710,6 @@ throw TypeError(".google.api.GoSettings.common: object expected"); message.common = $root.google.api.CommonLanguageSettings.fromObject(object.common); } - if (object.renamedServices) { - if (typeof object.renamedServices !== "object") - throw TypeError(".google.api.GoSettings.renamedServices: object expected"); - message.renamedServices = {}; - for (var keys = Object.keys(object.renamedServices), i = 0; i < keys.length; ++i) - message.renamedServices[keys[i]] = String(object.renamedServices[keys[i]]); - } return message; }; @@ -24087,18 +23726,10 @@ if (!options) options = {}; var object = {}; - if (options.objects || options.defaults) - object.renamedServices = {}; if (options.defaults) object.common = null; if (message.common != null && message.hasOwnProperty("common")) object.common = $root.google.api.CommonLanguageSettings.toObject(message.common, options); - var keys2; - if (message.renamedServices && (keys2 = Object.keys(message.renamedServices)).length) { - object.renamedServices = {}; - for (var j = 0; j < keys2.length; ++j) - object.renamedServices[keys2[j]] = message.renamedServices[keys2[j]]; - } return object; }; @@ -24737,251 +24368,6 @@ return values; })(); - api.SelectiveGapicGeneration = (function() { - - /** - * Properties of a SelectiveGapicGeneration. - * @memberof google.api - * @interface ISelectiveGapicGeneration - * @property {Array.|null} [methods] SelectiveGapicGeneration methods - * @property {boolean|null} [generateOmittedAsInternal] SelectiveGapicGeneration generateOmittedAsInternal - */ - - /** - * Constructs a new SelectiveGapicGeneration. - * @memberof google.api - * @classdesc Represents a SelectiveGapicGeneration. - * @implements ISelectiveGapicGeneration - * @constructor - * @param {google.api.ISelectiveGapicGeneration=} [properties] Properties to set - */ - function SelectiveGapicGeneration(properties) { - this.methods = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * SelectiveGapicGeneration methods. - * @member {Array.} methods - * @memberof google.api.SelectiveGapicGeneration - * @instance - */ - SelectiveGapicGeneration.prototype.methods = $util.emptyArray; - - /** - * SelectiveGapicGeneration generateOmittedAsInternal. - * @member {boolean} generateOmittedAsInternal - * @memberof google.api.SelectiveGapicGeneration - * @instance - */ - SelectiveGapicGeneration.prototype.generateOmittedAsInternal = false; - - /** - * Creates a new SelectiveGapicGeneration instance using the specified properties. - * @function create - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.ISelectiveGapicGeneration=} [properties] Properties to set - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration instance - */ - SelectiveGapicGeneration.create = function create(properties) { - return new SelectiveGapicGeneration(properties); - }; - - /** - * Encodes the specified SelectiveGapicGeneration message. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @function encode - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.ISelectiveGapicGeneration} message SelectiveGapicGeneration message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - SelectiveGapicGeneration.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.methods != null && message.methods.length) - for (var i = 0; i < message.methods.length; ++i) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.methods[i]); - if (message.generateOmittedAsInternal != null && Object.hasOwnProperty.call(message, "generateOmittedAsInternal")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.generateOmittedAsInternal); - return writer; - }; - - /** - * Encodes the specified SelectiveGapicGeneration message, length delimited. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @function encodeDelimited - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.ISelectiveGapicGeneration} message SelectiveGapicGeneration message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - SelectiveGapicGeneration.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer. - * @function decode - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - SelectiveGapicGeneration.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.SelectiveGapicGeneration(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - if (!(message.methods && message.methods.length)) - message.methods = []; - message.methods.push(reader.string()); - break; - } - case 2: { - message.generateOmittedAsInternal = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - SelectiveGapicGeneration.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a SelectiveGapicGeneration message. - * @function verify - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - SelectiveGapicGeneration.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.methods != null && message.hasOwnProperty("methods")) { - if (!Array.isArray(message.methods)) - return "methods: array expected"; - for (var i = 0; i < message.methods.length; ++i) - if (!$util.isString(message.methods[i])) - return "methods: string[] expected"; - } - if (message.generateOmittedAsInternal != null && message.hasOwnProperty("generateOmittedAsInternal")) - if (typeof message.generateOmittedAsInternal !== "boolean") - return "generateOmittedAsInternal: boolean expected"; - return null; - }; - - /** - * Creates a SelectiveGapicGeneration message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {Object.} object Plain object - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration - */ - SelectiveGapicGeneration.fromObject = function fromObject(object) { - if (object instanceof $root.google.api.SelectiveGapicGeneration) - return object; - var message = new $root.google.api.SelectiveGapicGeneration(); - if (object.methods) { - if (!Array.isArray(object.methods)) - throw TypeError(".google.api.SelectiveGapicGeneration.methods: array expected"); - message.methods = []; - for (var i = 0; i < object.methods.length; ++i) - message.methods[i] = String(object.methods[i]); - } - if (object.generateOmittedAsInternal != null) - message.generateOmittedAsInternal = Boolean(object.generateOmittedAsInternal); - return message; - }; - - /** - * Creates a plain object from a SelectiveGapicGeneration message. Also converts values to other types if specified. - * @function toObject - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.SelectiveGapicGeneration} message SelectiveGapicGeneration - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - SelectiveGapicGeneration.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.methods = []; - if (options.defaults) - object.generateOmittedAsInternal = false; - if (message.methods && message.methods.length) { - object.methods = []; - for (var j = 0; j < message.methods.length; ++j) - object.methods[j] = message.methods[j]; - } - if (message.generateOmittedAsInternal != null && message.hasOwnProperty("generateOmittedAsInternal")) - object.generateOmittedAsInternal = message.generateOmittedAsInternal; - return object; - }; - - /** - * Converts this SelectiveGapicGeneration to JSON. - * @function toJSON - * @memberof google.api.SelectiveGapicGeneration - * @instance - * @returns {Object.} JSON object - */ - SelectiveGapicGeneration.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for SelectiveGapicGeneration - * @function getTypeUrl - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - SelectiveGapicGeneration.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.api.SelectiveGapicGeneration"; - }; - - return SelectiveGapicGeneration; - })(); - /** * LaunchStage enum. * @name google.api.LaunchStage @@ -25251,7 +24637,6 @@ * @name google.protobuf.Edition * @enum {number} * @property {number} EDITION_UNKNOWN=0 EDITION_UNKNOWN value - * @property {number} EDITION_LEGACY=900 EDITION_LEGACY value * @property {number} EDITION_PROTO2=998 EDITION_PROTO2 value * @property {number} EDITION_PROTO3=999 EDITION_PROTO3 value * @property {number} EDITION_2023=1000 EDITION_2023 value @@ -25266,7 +24651,6 @@ protobuf.Edition = (function() { var valuesById = {}, values = Object.create(valuesById); values[valuesById[0] = "EDITION_UNKNOWN"] = 0; - values[valuesById[900] = "EDITION_LEGACY"] = 900; values[valuesById[998] = "EDITION_PROTO2"] = 998; values[valuesById[999] = "EDITION_PROTO3"] = 999; values[valuesById[1000] = "EDITION_2023"] = 1000; @@ -25291,7 +24675,6 @@ * @property {Array.|null} [dependency] FileDescriptorProto dependency * @property {Array.|null} [publicDependency] FileDescriptorProto publicDependency * @property {Array.|null} [weakDependency] FileDescriptorProto weakDependency - * @property {Array.|null} [optionDependency] FileDescriptorProto optionDependency * @property {Array.|null} [messageType] FileDescriptorProto messageType * @property {Array.|null} [enumType] FileDescriptorProto enumType * @property {Array.|null} [service] FileDescriptorProto service @@ -25314,7 +24697,6 @@ this.dependency = []; this.publicDependency = []; this.weakDependency = []; - this.optionDependency = []; this.messageType = []; this.enumType = []; this.service = []; @@ -25365,14 +24747,6 @@ */ FileDescriptorProto.prototype.weakDependency = $util.emptyArray; - /** - * FileDescriptorProto optionDependency. - * @member {Array.} optionDependency - * @memberof google.protobuf.FileDescriptorProto - * @instance - */ - FileDescriptorProto.prototype.optionDependency = $util.emptyArray; - /** * FileDescriptorProto messageType. * @member {Array.} messageType @@ -25494,9 +24868,6 @@ writer.uint32(/* id 12, wireType 2 =*/98).string(message.syntax); if (message.edition != null && Object.hasOwnProperty.call(message, "edition")) writer.uint32(/* id 14, wireType 0 =*/112).int32(message.edition); - if (message.optionDependency != null && message.optionDependency.length) - for (var i = 0; i < message.optionDependency.length; ++i) - writer.uint32(/* id 15, wireType 2 =*/122).string(message.optionDependency[i]); return writer; }; @@ -25569,12 +24940,6 @@ message.weakDependency.push(reader.int32()); break; } - case 15: { - if (!(message.optionDependency && message.optionDependency.length)) - message.optionDependency = []; - message.optionDependency.push(reader.string()); - break; - } case 4: { if (!(message.messageType && message.messageType.length)) message.messageType = []; @@ -25677,13 +25042,6 @@ if (!$util.isInteger(message.weakDependency[i])) return "weakDependency: integer[] expected"; } - if (message.optionDependency != null && message.hasOwnProperty("optionDependency")) { - if (!Array.isArray(message.optionDependency)) - return "optionDependency: array expected"; - for (var i = 0; i < message.optionDependency.length; ++i) - if (!$util.isString(message.optionDependency[i])) - return "optionDependency: string[] expected"; - } if (message.messageType != null && message.hasOwnProperty("messageType")) { if (!Array.isArray(message.messageType)) return "messageType: array expected"; @@ -25738,7 +25096,6 @@ default: return "edition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -25791,13 +25148,6 @@ for (var i = 0; i < object.weakDependency.length; ++i) message.weakDependency[i] = object.weakDependency[i] | 0; } - if (object.optionDependency) { - if (!Array.isArray(object.optionDependency)) - throw TypeError(".google.protobuf.FileDescriptorProto.optionDependency: array expected"); - message.optionDependency = []; - for (var i = 0; i < object.optionDependency.length; ++i) - message.optionDependency[i] = String(object.optionDependency[i]); - } if (object.messageType) { if (!Array.isArray(object.messageType)) throw TypeError(".google.protobuf.FileDescriptorProto.messageType: array expected"); @@ -25861,10 +25211,6 @@ case 0: message.edition = 0; break; - case "EDITION_LEGACY": - case 900: - message.edition = 900; - break; case "EDITION_PROTO2": case 998: message.edition = 998; @@ -25930,7 +25276,6 @@ object.extension = []; object.publicDependency = []; object.weakDependency = []; - object.optionDependency = []; } if (options.defaults) { object.name = ""; @@ -25987,11 +25332,6 @@ object.syntax = message.syntax; if (message.edition != null && message.hasOwnProperty("edition")) object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; - if (message.optionDependency && message.optionDependency.length) { - object.optionDependency = []; - for (var j = 0; j < message.optionDependency.length; ++j) - object.optionDependency[j] = message.optionDependency[j]; - } return object; }; @@ -26040,7 +25380,6 @@ * @property {google.protobuf.IMessageOptions|null} [options] DescriptorProto options * @property {Array.|null} [reservedRange] DescriptorProto reservedRange * @property {Array.|null} [reservedName] DescriptorProto reservedName - * @property {google.protobuf.SymbolVisibility|null} [visibility] DescriptorProto visibility */ /** @@ -26146,14 +25485,6 @@ */ DescriptorProto.prototype.reservedName = $util.emptyArray; - /** - * DescriptorProto visibility. - * @member {google.protobuf.SymbolVisibility} visibility - * @memberof google.protobuf.DescriptorProto - * @instance - */ - DescriptorProto.prototype.visibility = 0; - /** * Creates a new DescriptorProto instance using the specified properties. * @function create @@ -26206,8 +25537,6 @@ if (message.reservedName != null && message.reservedName.length) for (var i = 0; i < message.reservedName.length; ++i) writer.uint32(/* id 10, wireType 2 =*/82).string(message.reservedName[i]); - if (message.visibility != null && Object.hasOwnProperty.call(message, "visibility")) - writer.uint32(/* id 11, wireType 0 =*/88).int32(message.visibility); return writer; }; @@ -26300,10 +25629,6 @@ message.reservedName.push(reader.string()); break; } - case 11: { - message.visibility = reader.int32(); - break; - } default: reader.skipType(tag & 7); break; @@ -26417,15 +25742,6 @@ if (!$util.isString(message.reservedName[i])) return "reservedName: string[] expected"; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - switch (message.visibility) { - default: - return "visibility: enum value expected"; - case 0: - case 1: - case 2: - break; - } return null; }; @@ -26525,26 +25841,6 @@ for (var i = 0; i < object.reservedName.length; ++i) message.reservedName[i] = String(object.reservedName[i]); } - switch (object.visibility) { - default: - if (typeof object.visibility === "number") { - message.visibility = object.visibility; - break; - } - break; - case "VISIBILITY_UNSET": - case 0: - message.visibility = 0; - break; - case "VISIBILITY_LOCAL": - case 1: - message.visibility = 1; - break; - case "VISIBILITY_EXPORT": - case 2: - message.visibility = 2; - break; - } return message; }; @@ -26574,7 +25870,6 @@ if (options.defaults) { object.name = ""; object.options = null; - object.visibility = options.enums === String ? "VISIBILITY_UNSET" : 0; } if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; @@ -26620,8 +25915,6 @@ for (var j = 0; j < message.reservedName.length; ++j) object.reservedName[j] = message.reservedName[j]; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - object.visibility = options.enums === String ? $root.google.protobuf.SymbolVisibility[message.visibility] === undefined ? message.visibility : $root.google.protobuf.SymbolVisibility[message.visibility] : message.visibility; return object; }; @@ -28666,7 +27959,6 @@ * @property {google.protobuf.IEnumOptions|null} [options] EnumDescriptorProto options * @property {Array.|null} [reservedRange] EnumDescriptorProto reservedRange * @property {Array.|null} [reservedName] EnumDescriptorProto reservedName - * @property {google.protobuf.SymbolVisibility|null} [visibility] EnumDescriptorProto visibility */ /** @@ -28727,14 +28019,6 @@ */ EnumDescriptorProto.prototype.reservedName = $util.emptyArray; - /** - * EnumDescriptorProto visibility. - * @member {google.protobuf.SymbolVisibility} visibility - * @memberof google.protobuf.EnumDescriptorProto - * @instance - */ - EnumDescriptorProto.prototype.visibility = 0; - /** * Creates a new EnumDescriptorProto instance using the specified properties. * @function create @@ -28772,8 +28056,6 @@ if (message.reservedName != null && message.reservedName.length) for (var i = 0; i < message.reservedName.length; ++i) writer.uint32(/* id 5, wireType 2 =*/42).string(message.reservedName[i]); - if (message.visibility != null && Object.hasOwnProperty.call(message, "visibility")) - writer.uint32(/* id 6, wireType 0 =*/48).int32(message.visibility); return writer; }; @@ -28836,10 +28118,6 @@ message.reservedName.push(reader.string()); break; } - case 6: { - message.visibility = reader.int32(); - break; - } default: reader.skipType(tag & 7); break; @@ -28908,15 +28186,6 @@ if (!$util.isString(message.reservedName[i])) return "reservedName: string[] expected"; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - switch (message.visibility) { - default: - return "visibility: enum value expected"; - case 0: - case 1: - case 2: - break; - } return null; }; @@ -28966,26 +28235,6 @@ for (var i = 0; i < object.reservedName.length; ++i) message.reservedName[i] = String(object.reservedName[i]); } - switch (object.visibility) { - default: - if (typeof object.visibility === "number") { - message.visibility = object.visibility; - break; - } - break; - case "VISIBILITY_UNSET": - case 0: - message.visibility = 0; - break; - case "VISIBILITY_LOCAL": - case 1: - message.visibility = 1; - break; - case "VISIBILITY_EXPORT": - case 2: - message.visibility = 2; - break; - } return message; }; @@ -29010,7 +28259,6 @@ if (options.defaults) { object.name = ""; object.options = null; - object.visibility = options.enums === String ? "VISIBILITY_UNSET" : 0; } if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; @@ -29031,8 +28279,6 @@ for (var j = 0; j < message.reservedName.length; ++j) object.reservedName[j] = message.reservedName[j]; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - object.visibility = options.enums === String ? $root.google.protobuf.SymbolVisibility[message.visibility] === undefined ? message.visibility : $root.google.protobuf.SymbolVisibility[message.visibility] : message.visibility; return object; }; @@ -31351,7 +30597,6 @@ * @property {Array.|null} [targets] FieldOptions targets * @property {Array.|null} [editionDefaults] FieldOptions editionDefaults * @property {google.protobuf.IFeatureSet|null} [features] FieldOptions features - * @property {google.protobuf.FieldOptions.IFeatureSupport|null} [featureSupport] FieldOptions featureSupport * @property {Array.|null} [uninterpretedOption] FieldOptions uninterpretedOption * @property {Array.|null} [".google.api.fieldBehavior"] FieldOptions .google.api.fieldBehavior * @property {google.api.IResourceReference|null} [".google.api.resourceReference"] FieldOptions .google.api.resourceReference @@ -31472,14 +30717,6 @@ */ FieldOptions.prototype.features = null; - /** - * FieldOptions featureSupport. - * @member {google.protobuf.FieldOptions.IFeatureSupport|null|undefined} featureSupport - * @memberof google.protobuf.FieldOptions - * @instance - */ - FieldOptions.prototype.featureSupport = null; - /** * FieldOptions uninterpretedOption. * @member {Array.} uninterpretedOption @@ -31554,8 +30791,6 @@ $root.google.protobuf.FieldOptions.EditionDefault.encode(message.editionDefaults[i], writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim(); if (message.features != null && Object.hasOwnProperty.call(message, "features")) $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim(); - if (message.featureSupport != null && Object.hasOwnProperty.call(message, "featureSupport")) - $root.google.protobuf.FieldOptions.FeatureSupport.encode(message.featureSupport, writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim(); if (message.uninterpretedOption != null && message.uninterpretedOption.length) for (var i = 0; i < message.uninterpretedOption.length; ++i) $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim(); @@ -31657,10 +30892,6 @@ message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); break; } - case 22: { - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.decode(reader, reader.uint32()); - break; - } case 999: { if (!(message.uninterpretedOption && message.uninterpretedOption.length)) message.uninterpretedOption = []; @@ -31796,11 +31027,6 @@ if (error) return "features." + error; } - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) { - var error = $root.google.protobuf.FieldOptions.FeatureSupport.verify(message.featureSupport); - if (error) - return "featureSupport." + error; - } if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) { if (!Array.isArray(message.uninterpretedOption)) return "uninterpretedOption: array expected"; @@ -31989,11 +31215,6 @@ throw TypeError(".google.protobuf.FieldOptions.features: object expected"); message.features = $root.google.protobuf.FeatureSet.fromObject(object.features); } - if (object.featureSupport != null) { - if (typeof object.featureSupport !== "object") - throw TypeError(".google.protobuf.FieldOptions.featureSupport: object expected"); - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.fromObject(object.featureSupport); - } if (object.uninterpretedOption) { if (!Array.isArray(object.uninterpretedOption)) throw TypeError(".google.protobuf.FieldOptions.uninterpretedOption: array expected"); @@ -32091,7 +31312,6 @@ object.debugRedact = false; object.retention = options.enums === String ? "RETENTION_UNKNOWN" : 0; object.features = null; - object.featureSupport = null; object[".google.api.resourceReference"] = null; } if (message.ctype != null && message.hasOwnProperty("ctype")) @@ -32124,8 +31344,6 @@ } if (message.features != null && message.hasOwnProperty("features")) object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options); - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) - object.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.toObject(message.featureSupport, options); if (message.uninterpretedOption && message.uninterpretedOption.length) { object.uninterpretedOption = []; for (var j = 0; j < message.uninterpretedOption.length; ++j) @@ -32398,7 +31616,6 @@ default: return "edition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -32440,589 +31657,103 @@ case 0: message.edition = 0; break; - case "EDITION_LEGACY": - case 900: - message.edition = 900; - break; case "EDITION_PROTO2": case 998: message.edition = 998; break; case "EDITION_PROTO3": case 999: - message.edition = 999; - break; - case "EDITION_2023": - case 1000: - message.edition = 1000; - break; - case "EDITION_2024": - case 1001: - message.edition = 1001; - break; - case "EDITION_1_TEST_ONLY": - case 1: - message.edition = 1; - break; - case "EDITION_2_TEST_ONLY": - case 2: - message.edition = 2; - break; - case "EDITION_99997_TEST_ONLY": - case 99997: - message.edition = 99997; - break; - case "EDITION_99998_TEST_ONLY": - case 99998: - message.edition = 99998; - break; - case "EDITION_99999_TEST_ONLY": - case 99999: - message.edition = 99999; - break; - case "EDITION_MAX": - case 2147483647: - message.edition = 2147483647; - break; - } - if (object.value != null) - message.value = String(object.value); - return message; - }; - - /** - * Creates a plain object from an EditionDefault message. Also converts values to other types if specified. - * @function toObject - * @memberof google.protobuf.FieldOptions.EditionDefault - * @static - * @param {google.protobuf.FieldOptions.EditionDefault} message EditionDefault - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - EditionDefault.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.value = ""; - object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0; - } - if (message.value != null && message.hasOwnProperty("value")) - object.value = message.value; - if (message.edition != null && message.hasOwnProperty("edition")) - object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; - return object; - }; - - /** - * Converts this EditionDefault to JSON. - * @function toJSON - * @memberof google.protobuf.FieldOptions.EditionDefault - * @instance - * @returns {Object.} JSON object - */ - EditionDefault.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for EditionDefault - * @function getTypeUrl - * @memberof google.protobuf.FieldOptions.EditionDefault - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - EditionDefault.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.FieldOptions.EditionDefault"; - }; - - return EditionDefault; - })(); - - FieldOptions.FeatureSupport = (function() { - - /** - * Properties of a FeatureSupport. - * @memberof google.protobuf.FieldOptions - * @interface IFeatureSupport - * @property {google.protobuf.Edition|null} [editionIntroduced] FeatureSupport editionIntroduced - * @property {google.protobuf.Edition|null} [editionDeprecated] FeatureSupport editionDeprecated - * @property {string|null} [deprecationWarning] FeatureSupport deprecationWarning - * @property {google.protobuf.Edition|null} [editionRemoved] FeatureSupport editionRemoved - */ - - /** - * Constructs a new FeatureSupport. - * @memberof google.protobuf.FieldOptions - * @classdesc Represents a FeatureSupport. - * @implements IFeatureSupport - * @constructor - * @param {google.protobuf.FieldOptions.IFeatureSupport=} [properties] Properties to set - */ - function FeatureSupport(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * FeatureSupport editionIntroduced. - * @member {google.protobuf.Edition} editionIntroduced - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @instance - */ - FeatureSupport.prototype.editionIntroduced = 0; - - /** - * FeatureSupport editionDeprecated. - * @member {google.protobuf.Edition} editionDeprecated - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @instance - */ - FeatureSupport.prototype.editionDeprecated = 0; - - /** - * FeatureSupport deprecationWarning. - * @member {string} deprecationWarning - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @instance - */ - FeatureSupport.prototype.deprecationWarning = ""; - - /** - * FeatureSupport editionRemoved. - * @member {google.protobuf.Edition} editionRemoved - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @instance - */ - FeatureSupport.prototype.editionRemoved = 0; - - /** - * Creates a new FeatureSupport instance using the specified properties. - * @function create - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {google.protobuf.FieldOptions.IFeatureSupport=} [properties] Properties to set - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport instance - */ - FeatureSupport.create = function create(properties) { - return new FeatureSupport(properties); - }; - - /** - * Encodes the specified FeatureSupport message. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. - * @function encode - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {google.protobuf.FieldOptions.IFeatureSupport} message FeatureSupport message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - FeatureSupport.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.editionIntroduced != null && Object.hasOwnProperty.call(message, "editionIntroduced")) - writer.uint32(/* id 1, wireType 0 =*/8).int32(message.editionIntroduced); - if (message.editionDeprecated != null && Object.hasOwnProperty.call(message, "editionDeprecated")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.editionDeprecated); - if (message.deprecationWarning != null && Object.hasOwnProperty.call(message, "deprecationWarning")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.deprecationWarning); - if (message.editionRemoved != null && Object.hasOwnProperty.call(message, "editionRemoved")) - writer.uint32(/* id 4, wireType 0 =*/32).int32(message.editionRemoved); - return writer; - }; - - /** - * Encodes the specified FeatureSupport message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. - * @function encodeDelimited - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {google.protobuf.FieldOptions.IFeatureSupport} message FeatureSupport message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - FeatureSupport.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a FeatureSupport message from the specified reader or buffer. - * @function decode - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - FeatureSupport.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FieldOptions.FeatureSupport(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.editionIntroduced = reader.int32(); - break; - } - case 2: { - message.editionDeprecated = reader.int32(); - break; - } - case 3: { - message.deprecationWarning = reader.string(); - break; - } - case 4: { - message.editionRemoved = reader.int32(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a FeatureSupport message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - FeatureSupport.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a FeatureSupport message. - * @function verify - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - FeatureSupport.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.editionIntroduced != null && message.hasOwnProperty("editionIntroduced")) - switch (message.editionIntroduced) { - default: - return "editionIntroduced: enum value expected"; - case 0: - case 900: - case 998: - case 999: - case 1000: - case 1001: - case 1: - case 2: - case 99997: - case 99998: - case 99999: - case 2147483647: - break; - } - if (message.editionDeprecated != null && message.hasOwnProperty("editionDeprecated")) - switch (message.editionDeprecated) { - default: - return "editionDeprecated: enum value expected"; - case 0: - case 900: - case 998: - case 999: - case 1000: - case 1001: - case 1: - case 2: - case 99997: - case 99998: - case 99999: - case 2147483647: - break; - } - if (message.deprecationWarning != null && message.hasOwnProperty("deprecationWarning")) - if (!$util.isString(message.deprecationWarning)) - return "deprecationWarning: string expected"; - if (message.editionRemoved != null && message.hasOwnProperty("editionRemoved")) - switch (message.editionRemoved) { - default: - return "editionRemoved: enum value expected"; - case 0: - case 900: - case 998: - case 999: - case 1000: - case 1001: - case 1: - case 2: - case 99997: - case 99998: - case 99999: - case 2147483647: - break; - } - return null; - }; - - /** - * Creates a FeatureSupport message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {Object.} object Plain object - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport - */ - FeatureSupport.fromObject = function fromObject(object) { - if (object instanceof $root.google.protobuf.FieldOptions.FeatureSupport) - return object; - var message = new $root.google.protobuf.FieldOptions.FeatureSupport(); - switch (object.editionIntroduced) { - default: - if (typeof object.editionIntroduced === "number") { - message.editionIntroduced = object.editionIntroduced; - break; - } - break; - case "EDITION_UNKNOWN": - case 0: - message.editionIntroduced = 0; - break; - case "EDITION_LEGACY": - case 900: - message.editionIntroduced = 900; - break; - case "EDITION_PROTO2": - case 998: - message.editionIntroduced = 998; - break; - case "EDITION_PROTO3": - case 999: - message.editionIntroduced = 999; - break; - case "EDITION_2023": - case 1000: - message.editionIntroduced = 1000; - break; - case "EDITION_2024": - case 1001: - message.editionIntroduced = 1001; - break; - case "EDITION_1_TEST_ONLY": - case 1: - message.editionIntroduced = 1; - break; - case "EDITION_2_TEST_ONLY": - case 2: - message.editionIntroduced = 2; - break; - case "EDITION_99997_TEST_ONLY": - case 99997: - message.editionIntroduced = 99997; - break; - case "EDITION_99998_TEST_ONLY": - case 99998: - message.editionIntroduced = 99998; - break; - case "EDITION_99999_TEST_ONLY": - case 99999: - message.editionIntroduced = 99999; - break; - case "EDITION_MAX": - case 2147483647: - message.editionIntroduced = 2147483647; - break; - } - switch (object.editionDeprecated) { - default: - if (typeof object.editionDeprecated === "number") { - message.editionDeprecated = object.editionDeprecated; - break; - } - break; - case "EDITION_UNKNOWN": - case 0: - message.editionDeprecated = 0; - break; - case "EDITION_LEGACY": - case 900: - message.editionDeprecated = 900; - break; - case "EDITION_PROTO2": - case 998: - message.editionDeprecated = 998; - break; - case "EDITION_PROTO3": - case 999: - message.editionDeprecated = 999; - break; - case "EDITION_2023": - case 1000: - message.editionDeprecated = 1000; - break; - case "EDITION_2024": - case 1001: - message.editionDeprecated = 1001; - break; - case "EDITION_1_TEST_ONLY": - case 1: - message.editionDeprecated = 1; - break; - case "EDITION_2_TEST_ONLY": - case 2: - message.editionDeprecated = 2; - break; - case "EDITION_99997_TEST_ONLY": - case 99997: - message.editionDeprecated = 99997; - break; - case "EDITION_99998_TEST_ONLY": - case 99998: - message.editionDeprecated = 99998; - break; - case "EDITION_99999_TEST_ONLY": - case 99999: - message.editionDeprecated = 99999; - break; - case "EDITION_MAX": - case 2147483647: - message.editionDeprecated = 2147483647; - break; - } - if (object.deprecationWarning != null) - message.deprecationWarning = String(object.deprecationWarning); - switch (object.editionRemoved) { - default: - if (typeof object.editionRemoved === "number") { - message.editionRemoved = object.editionRemoved; - break; - } - break; - case "EDITION_UNKNOWN": - case 0: - message.editionRemoved = 0; - break; - case "EDITION_LEGACY": - case 900: - message.editionRemoved = 900; - break; - case "EDITION_PROTO2": - case 998: - message.editionRemoved = 998; - break; - case "EDITION_PROTO3": - case 999: - message.editionRemoved = 999; + message.edition = 999; break; case "EDITION_2023": case 1000: - message.editionRemoved = 1000; + message.edition = 1000; break; case "EDITION_2024": case 1001: - message.editionRemoved = 1001; + message.edition = 1001; break; case "EDITION_1_TEST_ONLY": case 1: - message.editionRemoved = 1; + message.edition = 1; break; case "EDITION_2_TEST_ONLY": case 2: - message.editionRemoved = 2; + message.edition = 2; break; case "EDITION_99997_TEST_ONLY": case 99997: - message.editionRemoved = 99997; + message.edition = 99997; break; case "EDITION_99998_TEST_ONLY": case 99998: - message.editionRemoved = 99998; + message.edition = 99998; break; case "EDITION_99999_TEST_ONLY": case 99999: - message.editionRemoved = 99999; + message.edition = 99999; break; case "EDITION_MAX": case 2147483647: - message.editionRemoved = 2147483647; + message.edition = 2147483647; break; } + if (object.value != null) + message.value = String(object.value); return message; }; /** - * Creates a plain object from a FeatureSupport message. Also converts values to other types if specified. + * Creates a plain object from an EditionDefault message. Also converts values to other types if specified. * @function toObject - * @memberof google.protobuf.FieldOptions.FeatureSupport + * @memberof google.protobuf.FieldOptions.EditionDefault * @static - * @param {google.protobuf.FieldOptions.FeatureSupport} message FeatureSupport + * @param {google.protobuf.FieldOptions.EditionDefault} message EditionDefault * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - FeatureSupport.toObject = function toObject(message, options) { + EditionDefault.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; if (options.defaults) { - object.editionIntroduced = options.enums === String ? "EDITION_UNKNOWN" : 0; - object.editionDeprecated = options.enums === String ? "EDITION_UNKNOWN" : 0; - object.deprecationWarning = ""; - object.editionRemoved = options.enums === String ? "EDITION_UNKNOWN" : 0; - } - if (message.editionIntroduced != null && message.hasOwnProperty("editionIntroduced")) - object.editionIntroduced = options.enums === String ? $root.google.protobuf.Edition[message.editionIntroduced] === undefined ? message.editionIntroduced : $root.google.protobuf.Edition[message.editionIntroduced] : message.editionIntroduced; - if (message.editionDeprecated != null && message.hasOwnProperty("editionDeprecated")) - object.editionDeprecated = options.enums === String ? $root.google.protobuf.Edition[message.editionDeprecated] === undefined ? message.editionDeprecated : $root.google.protobuf.Edition[message.editionDeprecated] : message.editionDeprecated; - if (message.deprecationWarning != null && message.hasOwnProperty("deprecationWarning")) - object.deprecationWarning = message.deprecationWarning; - if (message.editionRemoved != null && message.hasOwnProperty("editionRemoved")) - object.editionRemoved = options.enums === String ? $root.google.protobuf.Edition[message.editionRemoved] === undefined ? message.editionRemoved : $root.google.protobuf.Edition[message.editionRemoved] : message.editionRemoved; + object.value = ""; + object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0; + } + if (message.value != null && message.hasOwnProperty("value")) + object.value = message.value; + if (message.edition != null && message.hasOwnProperty("edition")) + object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; return object; }; /** - * Converts this FeatureSupport to JSON. + * Converts this EditionDefault to JSON. * @function toJSON - * @memberof google.protobuf.FieldOptions.FeatureSupport + * @memberof google.protobuf.FieldOptions.EditionDefault * @instance * @returns {Object.} JSON object */ - FeatureSupport.prototype.toJSON = function toJSON() { + EditionDefault.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for FeatureSupport + * Gets the default type url for EditionDefault * @function getTypeUrl - * @memberof google.protobuf.FieldOptions.FeatureSupport + * @memberof google.protobuf.FieldOptions.EditionDefault * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - FeatureSupport.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + EditionDefault.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.protobuf.FieldOptions.FeatureSupport"; + return typeUrlPrefix + "/google.protobuf.FieldOptions.EditionDefault"; }; - return FeatureSupport; + return EditionDefault; })(); return FieldOptions; @@ -33617,7 +32348,6 @@ * @property {boolean|null} [deprecated] EnumValueOptions deprecated * @property {google.protobuf.IFeatureSet|null} [features] EnumValueOptions features * @property {boolean|null} [debugRedact] EnumValueOptions debugRedact - * @property {google.protobuf.FieldOptions.IFeatureSupport|null} [featureSupport] EnumValueOptions featureSupport * @property {Array.|null} [uninterpretedOption] EnumValueOptions uninterpretedOption */ @@ -33661,14 +32391,6 @@ */ EnumValueOptions.prototype.debugRedact = false; - /** - * EnumValueOptions featureSupport. - * @member {google.protobuf.FieldOptions.IFeatureSupport|null|undefined} featureSupport - * @memberof google.protobuf.EnumValueOptions - * @instance - */ - EnumValueOptions.prototype.featureSupport = null; - /** * EnumValueOptions uninterpretedOption. * @member {Array.} uninterpretedOption @@ -33707,8 +32429,6 @@ $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); if (message.debugRedact != null && Object.hasOwnProperty.call(message, "debugRedact")) writer.uint32(/* id 3, wireType 0 =*/24).bool(message.debugRedact); - if (message.featureSupport != null && Object.hasOwnProperty.call(message, "featureSupport")) - $root.google.protobuf.FieldOptions.FeatureSupport.encode(message.featureSupport, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); if (message.uninterpretedOption != null && message.uninterpretedOption.length) for (var i = 0; i < message.uninterpretedOption.length; ++i) $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim(); @@ -33760,10 +32480,6 @@ message.debugRedact = reader.bool(); break; } - case 4: { - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.decode(reader, reader.uint32()); - break; - } case 999: { if (!(message.uninterpretedOption && message.uninterpretedOption.length)) message.uninterpretedOption = []; @@ -33816,11 +32532,6 @@ if (message.debugRedact != null && message.hasOwnProperty("debugRedact")) if (typeof message.debugRedact !== "boolean") return "debugRedact: boolean expected"; - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) { - var error = $root.google.protobuf.FieldOptions.FeatureSupport.verify(message.featureSupport); - if (error) - return "featureSupport." + error; - } if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) { if (!Array.isArray(message.uninterpretedOption)) return "uninterpretedOption: array expected"; @@ -33854,11 +32565,6 @@ } if (object.debugRedact != null) message.debugRedact = Boolean(object.debugRedact); - if (object.featureSupport != null) { - if (typeof object.featureSupport !== "object") - throw TypeError(".google.protobuf.EnumValueOptions.featureSupport: object expected"); - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.fromObject(object.featureSupport); - } if (object.uninterpretedOption) { if (!Array.isArray(object.uninterpretedOption)) throw TypeError(".google.protobuf.EnumValueOptions.uninterpretedOption: array expected"); @@ -33891,7 +32597,6 @@ object.deprecated = false; object.features = null; object.debugRedact = false; - object.featureSupport = null; } if (message.deprecated != null && message.hasOwnProperty("deprecated")) object.deprecated = message.deprecated; @@ -33899,8 +32604,6 @@ object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options); if (message.debugRedact != null && message.hasOwnProperty("debugRedact")) object.debugRedact = message.debugRedact; - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) - object.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.toObject(message.featureSupport, options); if (message.uninterpretedOption && message.uninterpretedOption.length) { object.uninterpretedOption = []; for (var j = 0; j < message.uninterpretedOption.length; ++j) @@ -35368,8 +34071,6 @@ * @property {google.protobuf.FeatureSet.Utf8Validation|null} [utf8Validation] FeatureSet utf8Validation * @property {google.protobuf.FeatureSet.MessageEncoding|null} [messageEncoding] FeatureSet messageEncoding * @property {google.protobuf.FeatureSet.JsonFormat|null} [jsonFormat] FeatureSet jsonFormat - * @property {google.protobuf.FeatureSet.EnforceNamingStyle|null} [enforceNamingStyle] FeatureSet enforceNamingStyle - * @property {google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|null} [defaultSymbolVisibility] FeatureSet defaultSymbolVisibility */ /** @@ -35435,22 +34136,6 @@ */ FeatureSet.prototype.jsonFormat = 0; - /** - * FeatureSet enforceNamingStyle. - * @member {google.protobuf.FeatureSet.EnforceNamingStyle} enforceNamingStyle - * @memberof google.protobuf.FeatureSet - * @instance - */ - FeatureSet.prototype.enforceNamingStyle = 0; - - /** - * FeatureSet defaultSymbolVisibility. - * @member {google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility} defaultSymbolVisibility - * @memberof google.protobuf.FeatureSet - * @instance - */ - FeatureSet.prototype.defaultSymbolVisibility = 0; - /** * Creates a new FeatureSet instance using the specified properties. * @function create @@ -35487,10 +34172,6 @@ writer.uint32(/* id 5, wireType 0 =*/40).int32(message.messageEncoding); if (message.jsonFormat != null && Object.hasOwnProperty.call(message, "jsonFormat")) writer.uint32(/* id 6, wireType 0 =*/48).int32(message.jsonFormat); - if (message.enforceNamingStyle != null && Object.hasOwnProperty.call(message, "enforceNamingStyle")) - writer.uint32(/* id 7, wireType 0 =*/56).int32(message.enforceNamingStyle); - if (message.defaultSymbolVisibility != null && Object.hasOwnProperty.call(message, "defaultSymbolVisibility")) - writer.uint32(/* id 8, wireType 0 =*/64).int32(message.defaultSymbolVisibility); return writer; }; @@ -35551,14 +34232,6 @@ message.jsonFormat = reader.int32(); break; } - case 7: { - message.enforceNamingStyle = reader.int32(); - break; - } - case 8: { - message.defaultSymbolVisibility = reader.int32(); - break; - } default: reader.skipType(tag & 7); break; @@ -35649,26 +34322,6 @@ case 2: break; } - if (message.enforceNamingStyle != null && message.hasOwnProperty("enforceNamingStyle")) - switch (message.enforceNamingStyle) { - default: - return "enforceNamingStyle: enum value expected"; - case 0: - case 1: - case 2: - break; - } - if (message.defaultSymbolVisibility != null && message.hasOwnProperty("defaultSymbolVisibility")) - switch (message.defaultSymbolVisibility) { - default: - return "defaultSymbolVisibility: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } return null; }; @@ -35808,54 +34461,6 @@ message.jsonFormat = 2; break; } - switch (object.enforceNamingStyle) { - default: - if (typeof object.enforceNamingStyle === "number") { - message.enforceNamingStyle = object.enforceNamingStyle; - break; - } - break; - case "ENFORCE_NAMING_STYLE_UNKNOWN": - case 0: - message.enforceNamingStyle = 0; - break; - case "STYLE2024": - case 1: - message.enforceNamingStyle = 1; - break; - case "STYLE_LEGACY": - case 2: - message.enforceNamingStyle = 2; - break; - } - switch (object.defaultSymbolVisibility) { - default: - if (typeof object.defaultSymbolVisibility === "number") { - message.defaultSymbolVisibility = object.defaultSymbolVisibility; - break; - } - break; - case "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN": - case 0: - message.defaultSymbolVisibility = 0; - break; - case "EXPORT_ALL": - case 1: - message.defaultSymbolVisibility = 1; - break; - case "EXPORT_TOP_LEVEL": - case 2: - message.defaultSymbolVisibility = 2; - break; - case "LOCAL_ALL": - case 3: - message.defaultSymbolVisibility = 3; - break; - case "STRICT": - case 4: - message.defaultSymbolVisibility = 4; - break; - } return message; }; @@ -35879,8 +34484,6 @@ object.utf8Validation = options.enums === String ? "UTF8_VALIDATION_UNKNOWN" : 0; object.messageEncoding = options.enums === String ? "MESSAGE_ENCODING_UNKNOWN" : 0; object.jsonFormat = options.enums === String ? "JSON_FORMAT_UNKNOWN" : 0; - object.enforceNamingStyle = options.enums === String ? "ENFORCE_NAMING_STYLE_UNKNOWN" : 0; - object.defaultSymbolVisibility = options.enums === String ? "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN" : 0; } if (message.fieldPresence != null && message.hasOwnProperty("fieldPresence")) object.fieldPresence = options.enums === String ? $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] === undefined ? message.fieldPresence : $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] : message.fieldPresence; @@ -35894,10 +34497,6 @@ object.messageEncoding = options.enums === String ? $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] === undefined ? message.messageEncoding : $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] : message.messageEncoding; if (message.jsonFormat != null && message.hasOwnProperty("jsonFormat")) object.jsonFormat = options.enums === String ? $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] === undefined ? message.jsonFormat : $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] : message.jsonFormat; - if (message.enforceNamingStyle != null && message.hasOwnProperty("enforceNamingStyle")) - object.enforceNamingStyle = options.enums === String ? $root.google.protobuf.FeatureSet.EnforceNamingStyle[message.enforceNamingStyle] === undefined ? message.enforceNamingStyle : $root.google.protobuf.FeatureSet.EnforceNamingStyle[message.enforceNamingStyle] : message.enforceNamingStyle; - if (message.defaultSymbolVisibility != null && message.hasOwnProperty("defaultSymbolVisibility")) - object.defaultSymbolVisibility = options.enums === String ? $root.google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility[message.defaultSymbolVisibility] === undefined ? message.defaultSymbolVisibility : $root.google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility[message.defaultSymbolVisibility] : message.defaultSymbolVisibility; return object; }; @@ -36025,219 +34624,6 @@ return values; })(); - /** - * EnforceNamingStyle enum. - * @name google.protobuf.FeatureSet.EnforceNamingStyle - * @enum {number} - * @property {number} ENFORCE_NAMING_STYLE_UNKNOWN=0 ENFORCE_NAMING_STYLE_UNKNOWN value - * @property {number} STYLE2024=1 STYLE2024 value - * @property {number} STYLE_LEGACY=2 STYLE_LEGACY value - */ - FeatureSet.EnforceNamingStyle = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "ENFORCE_NAMING_STYLE_UNKNOWN"] = 0; - values[valuesById[1] = "STYLE2024"] = 1; - values[valuesById[2] = "STYLE_LEGACY"] = 2; - return values; - })(); - - FeatureSet.VisibilityFeature = (function() { - - /** - * Properties of a VisibilityFeature. - * @memberof google.protobuf.FeatureSet - * @interface IVisibilityFeature - */ - - /** - * Constructs a new VisibilityFeature. - * @memberof google.protobuf.FeatureSet - * @classdesc Represents a VisibilityFeature. - * @implements IVisibilityFeature - * @constructor - * @param {google.protobuf.FeatureSet.IVisibilityFeature=} [properties] Properties to set - */ - function VisibilityFeature(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Creates a new VisibilityFeature instance using the specified properties. - * @function create - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.IVisibilityFeature=} [properties] Properties to set - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature instance - */ - VisibilityFeature.create = function create(properties) { - return new VisibilityFeature(properties); - }; - - /** - * Encodes the specified VisibilityFeature message. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @function encode - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.IVisibilityFeature} message VisibilityFeature message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - VisibilityFeature.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - return writer; - }; - - /** - * Encodes the specified VisibilityFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @function encodeDelimited - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.IVisibilityFeature} message VisibilityFeature message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - VisibilityFeature.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer. - * @function decode - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - VisibilityFeature.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FeatureSet.VisibilityFeature(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - VisibilityFeature.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a VisibilityFeature message. - * @function verify - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - VisibilityFeature.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - return null; - }; - - /** - * Creates a VisibilityFeature message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {Object.} object Plain object - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature - */ - VisibilityFeature.fromObject = function fromObject(object) { - if (object instanceof $root.google.protobuf.FeatureSet.VisibilityFeature) - return object; - return new $root.google.protobuf.FeatureSet.VisibilityFeature(); - }; - - /** - * Creates a plain object from a VisibilityFeature message. Also converts values to other types if specified. - * @function toObject - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.VisibilityFeature} message VisibilityFeature - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - VisibilityFeature.toObject = function toObject() { - return {}; - }; - - /** - * Converts this VisibilityFeature to JSON. - * @function toJSON - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @instance - * @returns {Object.} JSON object - */ - VisibilityFeature.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for VisibilityFeature - * @function getTypeUrl - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - VisibilityFeature.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.FeatureSet.VisibilityFeature"; - }; - - /** - * DefaultSymbolVisibility enum. - * @name google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility - * @enum {number} - * @property {number} DEFAULT_SYMBOL_VISIBILITY_UNKNOWN=0 DEFAULT_SYMBOL_VISIBILITY_UNKNOWN value - * @property {number} EXPORT_ALL=1 EXPORT_ALL value - * @property {number} EXPORT_TOP_LEVEL=2 EXPORT_TOP_LEVEL value - * @property {number} LOCAL_ALL=3 LOCAL_ALL value - * @property {number} STRICT=4 STRICT value - */ - VisibilityFeature.DefaultSymbolVisibility = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN"] = 0; - values[valuesById[1] = "EXPORT_ALL"] = 1; - values[valuesById[2] = "EXPORT_TOP_LEVEL"] = 2; - values[valuesById[3] = "LOCAL_ALL"] = 3; - values[valuesById[4] = "STRICT"] = 4; - return values; - })(); - - return VisibilityFeature; - })(); - return FeatureSet; })(); @@ -36422,7 +34808,6 @@ default: return "minimumEdition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -36440,7 +34825,6 @@ default: return "maximumEdition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -36489,10 +34873,6 @@ case 0: message.minimumEdition = 0; break; - case "EDITION_LEGACY": - case 900: - message.minimumEdition = 900; - break; case "EDITION_PROTO2": case 998: message.minimumEdition = 998; @@ -36545,10 +34925,6 @@ case 0: message.maximumEdition = 0; break; - case "EDITION_LEGACY": - case 900: - message.maximumEdition = 900; - break; case "EDITION_PROTO2": case 998: message.maximumEdition = 998; @@ -36657,8 +35033,7 @@ * @memberof google.protobuf.FeatureSetDefaults * @interface IFeatureSetEditionDefault * @property {google.protobuf.Edition|null} [edition] FeatureSetEditionDefault edition - * @property {google.protobuf.IFeatureSet|null} [overridableFeatures] FeatureSetEditionDefault overridableFeatures - * @property {google.protobuf.IFeatureSet|null} [fixedFeatures] FeatureSetEditionDefault fixedFeatures + * @property {google.protobuf.IFeatureSet|null} [features] FeatureSetEditionDefault features */ /** @@ -36685,20 +35060,12 @@ FeatureSetEditionDefault.prototype.edition = 0; /** - * FeatureSetEditionDefault overridableFeatures. - * @member {google.protobuf.IFeatureSet|null|undefined} overridableFeatures - * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault - * @instance - */ - FeatureSetEditionDefault.prototype.overridableFeatures = null; - - /** - * FeatureSetEditionDefault fixedFeatures. - * @member {google.protobuf.IFeatureSet|null|undefined} fixedFeatures + * FeatureSetEditionDefault features. + * @member {google.protobuf.IFeatureSet|null|undefined} features * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault * @instance */ - FeatureSetEditionDefault.prototype.fixedFeatures = null; + FeatureSetEditionDefault.prototype.features = null; /** * Creates a new FeatureSetEditionDefault instance using the specified properties. @@ -36724,12 +35091,10 @@ FeatureSetEditionDefault.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); + if (message.features != null && Object.hasOwnProperty.call(message, "features")) + $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); if (message.edition != null && Object.hasOwnProperty.call(message, "edition")) writer.uint32(/* id 3, wireType 0 =*/24).int32(message.edition); - if (message.overridableFeatures != null && Object.hasOwnProperty.call(message, "overridableFeatures")) - $root.google.protobuf.FeatureSet.encode(message.overridableFeatures, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.fixedFeatures != null && Object.hasOwnProperty.call(message, "fixedFeatures")) - $root.google.protobuf.FeatureSet.encode(message.fixedFeatures, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); return writer; }; @@ -36770,12 +35135,8 @@ message.edition = reader.int32(); break; } - case 4: { - message.overridableFeatures = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); - break; - } - case 5: { - message.fixedFeatures = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); + case 2: { + message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); break; } default: @@ -36818,7 +35179,6 @@ default: return "edition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -36831,15 +35191,10 @@ case 2147483647: break; } - if (message.overridableFeatures != null && message.hasOwnProperty("overridableFeatures")) { - var error = $root.google.protobuf.FeatureSet.verify(message.overridableFeatures); - if (error) - return "overridableFeatures." + error; - } - if (message.fixedFeatures != null && message.hasOwnProperty("fixedFeatures")) { - var error = $root.google.protobuf.FeatureSet.verify(message.fixedFeatures); + if (message.features != null && message.hasOwnProperty("features")) { + var error = $root.google.protobuf.FeatureSet.verify(message.features); if (error) - return "fixedFeatures." + error; + return "features." + error; } return null; }; @@ -36867,10 +35222,6 @@ case 0: message.edition = 0; break; - case "EDITION_LEGACY": - case 900: - message.edition = 900; - break; case "EDITION_PROTO2": case 998: message.edition = 998; @@ -36912,15 +35263,10 @@ message.edition = 2147483647; break; } - if (object.overridableFeatures != null) { - if (typeof object.overridableFeatures !== "object") - throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.overridableFeatures: object expected"); - message.overridableFeatures = $root.google.protobuf.FeatureSet.fromObject(object.overridableFeatures); - } - if (object.fixedFeatures != null) { - if (typeof object.fixedFeatures !== "object") - throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.fixedFeatures: object expected"); - message.fixedFeatures = $root.google.protobuf.FeatureSet.fromObject(object.fixedFeatures); + if (object.features != null) { + if (typeof object.features !== "object") + throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.features: object expected"); + message.features = $root.google.protobuf.FeatureSet.fromObject(object.features); } return message; }; @@ -36939,16 +35285,13 @@ options = {}; var object = {}; if (options.defaults) { + object.features = null; object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0; - object.overridableFeatures = null; - object.fixedFeatures = null; } + if (message.features != null && message.hasOwnProperty("features")) + object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options); if (message.edition != null && message.hasOwnProperty("edition")) object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; - if (message.overridableFeatures != null && message.hasOwnProperty("overridableFeatures")) - object.overridableFeatures = $root.google.protobuf.FeatureSet.toObject(message.overridableFeatures, options); - if (message.fixedFeatures != null && message.hasOwnProperty("fixedFeatures")) - object.fixedFeatures = $root.google.protobuf.FeatureSet.toObject(message.fixedFeatures, options); return object; }; @@ -38163,22 +36506,6 @@ return GeneratedCodeInfo; })(); - /** - * SymbolVisibility enum. - * @name google.protobuf.SymbolVisibility - * @enum {number} - * @property {number} VISIBILITY_UNSET=0 VISIBILITY_UNSET value - * @property {number} VISIBILITY_LOCAL=1 VISIBILITY_LOCAL value - * @property {number} VISIBILITY_EXPORT=2 VISIBILITY_EXPORT value - */ - protobuf.SymbolVisibility = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "VISIBILITY_UNSET"] = 0; - values[valuesById[1] = "VISIBILITY_LOCAL"] = 1; - values[valuesById[2] = "VISIBILITY_EXPORT"] = 2; - return values; - })(); - protobuf.Duration = (function() { /** diff --git a/packages/google-cloud-edgecontainer/protos/protos.json b/packages/google-cloud-edgecontainer/protos/protos.json index c6db8420a6f7..75e5e39c2667 100644 --- a/packages/google-cloud-edgecontainer/protos/protos.json +++ b/packages/google-cloud-edgecontainer/protos/protos.json @@ -2143,7 +2143,8 @@ "java_multiple_files": true, "java_outer_classname": "LaunchStageProto", "java_package": "com.google.api", - "objc_class_prefix": "GAPI" + "objc_class_prefix": "GAPI", + "cc_enable_arenas": true }, "nested": { "fieldBehavior": { @@ -2366,10 +2367,6 @@ "rule": "repeated", "type": "ClientLibraryDestination", "id": 2 - }, - "selectiveGapicGeneration": { - "type": "SelectiveGapicGeneration", - "id": 3 } } }, @@ -2510,28 +2507,6 @@ "common": { "type": "CommonLanguageSettings", "id": 1 - }, - "experimentalFeatures": { - "type": "ExperimentalFeatures", - "id": 2 - } - }, - "nested": { - "ExperimentalFeatures": { - "fields": { - "restAsyncIoEnabled": { - "type": "bool", - "id": 1 - }, - "protobufPythonicTypesEnabled": { - "type": "bool", - "id": 2 - }, - "unversionedPackageDisabled": { - "type": "bool", - "id": 3 - } - } } } }, @@ -2589,11 +2564,6 @@ "common": { "type": "CommonLanguageSettings", "id": 1 - }, - "renamedServices": { - "keyType": "string", - "type": "string", - "id": 2 } } }, @@ -2655,19 +2625,6 @@ "PACKAGE_MANAGER": 20 } }, - "SelectiveGapicGeneration": { - "fields": { - "methods": { - "rule": "repeated", - "type": "string", - "id": 1 - }, - "generateOmittedAsInternal": { - "type": "bool", - "id": 2 - } - } - }, "LaunchStage": { "values": { "LAUNCH_STAGE_UNSPECIFIED": 0, @@ -2701,19 +2658,12 @@ "type": "FileDescriptorProto", "id": 1 } - }, - "extensions": [ - [ - 536000000, - 536000000 - ] - ] + } }, "Edition": { "edition": "proto2", "values": { "EDITION_UNKNOWN": 0, - "EDITION_LEGACY": 900, "EDITION_PROTO2": 998, "EDITION_PROTO3": 999, "EDITION_2023": 1000, @@ -2752,11 +2702,6 @@ "type": "int32", "id": 11 }, - "optionDependency": { - "rule": "repeated", - "type": "string", - "id": 15 - }, "messageType": { "rule": "repeated", "type": "DescriptorProto", @@ -2845,10 +2790,6 @@ "rule": "repeated", "type": "string", "id": 10 - }, - "visibility": { - "type": "SymbolVisibility", - "id": 11 } }, "nested": { @@ -3074,10 +3015,6 @@ "rule": "repeated", "type": "string", "id": 5 - }, - "visibility": { - "type": "SymbolVisibility", - "id": 6 } }, "nested": { @@ -3292,7 +3229,6 @@ 42, 42 ], - "php_generic_services", [ 38, 38 @@ -3428,8 +3364,7 @@ "type": "bool", "id": 10, "options": { - "default": false, - "deprecated": true + "default": false } }, "debugRedact": { @@ -3457,10 +3392,6 @@ "type": "FeatureSet", "id": 21 }, - "featureSupport": { - "type": "FeatureSupport", - "id": 22 - }, "uninterpretedOption": { "rule": "repeated", "type": "UninterpretedOption", @@ -3530,26 +3461,6 @@ "id": 2 } } - }, - "FeatureSupport": { - "fields": { - "editionIntroduced": { - "type": "Edition", - "id": 1 - }, - "editionDeprecated": { - "type": "Edition", - "id": 2 - }, - "deprecationWarning": { - "type": "string", - "id": 3 - }, - "editionRemoved": { - "type": "Edition", - "id": 4 - } - } } } }, @@ -3638,10 +3549,6 @@ "default": false } }, - "featureSupport": { - "type": "FieldOptions.FeatureSupport", - "id": 4 - }, "uninterpretedOption": { "rule": "repeated", "type": "UninterpretedOption", @@ -3784,7 +3691,6 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_2023", "edition_defaults.value": "EXPLICIT" } @@ -3795,7 +3701,6 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_PROTO3", "edition_defaults.value": "OPEN" } @@ -3806,7 +3711,6 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_PROTO3", "edition_defaults.value": "PACKED" } @@ -3817,7 +3721,6 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_PROTO3", "edition_defaults.value": "VERIFY" } @@ -3828,8 +3731,7 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", - "edition_defaults.edition": "EDITION_LEGACY", + "edition_defaults.edition": "EDITION_PROTO2", "edition_defaults.value": "LENGTH_PREFIXED" } }, @@ -3839,38 +3741,27 @@ "options": { "retention": "RETENTION_RUNTIME", "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2023", "edition_defaults.edition": "EDITION_PROTO3", "edition_defaults.value": "ALLOW" } - }, - "enforceNamingStyle": { - "type": "EnforceNamingStyle", - "id": 7, - "options": { - "retention": "RETENTION_SOURCE", - "targets": "TARGET_TYPE_METHOD", - "feature_support.edition_introduced": "EDITION_2024", - "edition_defaults.edition": "EDITION_2024", - "edition_defaults.value": "STYLE2024" - } - }, - "defaultSymbolVisibility": { - "type": "VisibilityFeature.DefaultSymbolVisibility", - "id": 8, - "options": { - "retention": "RETENTION_SOURCE", - "targets": "TARGET_TYPE_FILE", - "feature_support.edition_introduced": "EDITION_2024", - "edition_defaults.edition": "EDITION_2024", - "edition_defaults.value": "EXPORT_TOP_LEVEL" - } } }, "extensions": [ [ 1000, - 9994 + 1000 + ], + [ + 1001, + 1001 + ], + [ + 1002, + 1002 + ], + [ + 9990, + 9990 ], [ 9995, @@ -3915,13 +3806,7 @@ "UTF8_VALIDATION_UNKNOWN": 0, "VERIFY": 2, "NONE": 3 - }, - "reserved": [ - [ - 1, - 1 - ] - ] + } }, "MessageEncoding": { "values": { @@ -3936,33 +3821,6 @@ "ALLOW": 1, "LEGACY_BEST_EFFORT": 2 } - }, - "EnforceNamingStyle": { - "values": { - "ENFORCE_NAMING_STYLE_UNKNOWN": 0, - "STYLE2024": 1, - "STYLE_LEGACY": 2 - } - }, - "VisibilityFeature": { - "fields": {}, - "reserved": [ - [ - 1, - 536870911 - ] - ], - "nested": { - "DefaultSymbolVisibility": { - "values": { - "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN": 0, - "EXPORT_ALL": 1, - "EXPORT_TOP_LEVEL": 2, - "LOCAL_ALL": 3, - "STRICT": 4 - } - } - } } } }, @@ -3990,26 +3848,11 @@ "type": "Edition", "id": 3 }, - "overridableFeatures": { + "features": { "type": "FeatureSet", - "id": 4 - }, - "fixedFeatures": { - "type": "FeatureSet", - "id": 5 + "id": 2 } - }, - "reserved": [ - [ - 1, - 1 - ], - [ - 2, - 2 - ], - "features" - ] + } } } }, @@ -4022,12 +3865,6 @@ "id": 1 } }, - "extensions": [ - [ - 536000000, - 536000000 - ] - ], "nested": { "Location": { "fields": { @@ -4113,14 +3950,6 @@ } } }, - "SymbolVisibility": { - "edition": "proto2", - "values": { - "VISIBILITY_UNSET": 0, - "VISIBILITY_LOCAL": 1, - "VISIBILITY_EXPORT": 2 - } - }, "Duration": { "fields": { "seconds": { @@ -4208,7 +4037,6 @@ "java_multiple_files": true, "java_outer_classname": "OperationsProto", "java_package": "com.google.longrunning", - "objc_class_prefix": "GLRUN", "php_namespace": "Google\\LongRunning" }, "nested": { diff --git a/packages/google-cloud-edgecontainer/samples/generated/v1/snippet_metadata_google.cloud.edgecontainer.v1.json b/packages/google-cloud-edgecontainer/samples/generated/v1/snippet_metadata_google.cloud.edgecontainer.v1.json index 38000a84a4a9..b1c2f9ee2c6d 100644 --- a/packages/google-cloud-edgecontainer/samples/generated/v1/snippet_metadata_google.cloud.edgecontainer.v1.json +++ b/packages/google-cloud-edgecontainer/samples/generated/v1/snippet_metadata_google.cloud.edgecontainer.v1.json @@ -1,955 +1,955 @@ { - "clientLibrary": { - "name": "nodejs-edgecontainer", - "version": "0.8.0", - "language": "TYPESCRIPT", - "apis": [ - { - "id": "google.cloud.edgecontainer.v1", - "version": "v1" - } - ] - }, - "snippets": [ + "clientLibrary": { + "name": "nodejs-edgecontainer", + "version": "0.1.0", + "language": "TYPESCRIPT", + "apis": [ + { + "id": "google.cloud.edgecontainer.v1", + "version": "v1" + } + ] + }, + "snippets": [ + { + "regionTag": "edgecontainer_v1_generated_EdgeContainer_ListClusters_async", + "title": "EdgeContainer listClusters Sample", + "origin": "API_DEFINITION", + "description": " Lists Clusters in a given project and location.", + "canonical": true, + "file": "edge_container.list_clusters.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_ListClusters_async", - "title": "EdgeContainer listClusters Sample", - "origin": "API_DEFINITION", - "description": " Lists Clusters in a given project and location.", - "canonical": true, - "file": "edge_container.list_clusters.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 72, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListClusters", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.ListClusters", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.edgecontainer.v1.ListClustersResponse", - "client": { - "shortName": "EdgeContainerClient", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainerClient" - }, - "method": { - "shortName": "ListClusters", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.ListClusters", - "service": { - "shortName": "EdgeContainer", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" - } - } - } + "start": 25, + "end": 72, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListClusters", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.ListClusters", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.edgecontainer.v1.ListClustersResponse", + "client": { + "shortName": "EdgeContainerClient", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainerClient" }, + "method": { + "shortName": "ListClusters", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.ListClusters", + "service": { + "shortName": "EdgeContainer", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" + } + } + } + }, + { + "regionTag": "edgecontainer_v1_generated_EdgeContainer_GetCluster_async", + "title": "EdgeContainer getCluster Sample", + "origin": "API_DEFINITION", + "description": " Gets details of a single Cluster.", + "canonical": true, + "file": "edge_container.get_cluster.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_GetCluster_async", - "title": "EdgeContainer getCluster Sample", - "origin": "API_DEFINITION", - "description": " Gets details of a single Cluster.", - "canonical": true, - "file": "edge_container.get_cluster.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 53, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetCluster", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GetCluster", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.edgecontainer.v1.Cluster", - "client": { - "shortName": "EdgeContainerClient", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainerClient" - }, - "method": { - "shortName": "GetCluster", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GetCluster", - "service": { - "shortName": "EdgeContainer", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" - } - } - } + "start": 25, + "end": 53, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetCluster", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GetCluster", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.edgecontainer.v1.Cluster", + "client": { + "shortName": "EdgeContainerClient", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainerClient" }, + "method": { + "shortName": "GetCluster", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GetCluster", + "service": { + "shortName": "EdgeContainer", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" + } + } + } + }, + { + "regionTag": "edgecontainer_v1_generated_EdgeContainer_CreateCluster_async", + "title": "EdgeContainer createCluster Sample", + "origin": "API_DEFINITION", + "description": " Creates a new Cluster in a given project and location.", + "canonical": true, + "file": "edge_container.create_cluster.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_CreateCluster_async", - "title": "EdgeContainer createCluster Sample", - "origin": "API_DEFINITION", - "description": " Creates a new Cluster in a given project and location.", - "canonical": true, - "file": "edge_container.create_cluster.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 70, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateCluster", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.CreateCluster", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "cluster_id", - "type": "TYPE_STRING" - }, - { - "name": "cluster", - "type": ".google.cloud.edgecontainer.v1.Cluster" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EdgeContainerClient", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainerClient" - }, - "method": { - "shortName": "CreateCluster", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.CreateCluster", - "service": { - "shortName": "EdgeContainer", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" - } - } - } + "start": 25, + "end": 70, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateCluster", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.CreateCluster", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "cluster_id", + "type": "TYPE_STRING" + }, + { + "name": "cluster", + "type": ".google.cloud.edgecontainer.v1.Cluster" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EdgeContainerClient", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainerClient" }, + "method": { + "shortName": "CreateCluster", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.CreateCluster", + "service": { + "shortName": "EdgeContainer", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" + } + } + } + }, + { + "regionTag": "edgecontainer_v1_generated_EdgeContainer_UpdateCluster_async", + "title": "EdgeContainer updateCluster Sample", + "origin": "API_DEFINITION", + "description": " Updates the parameters of a single Cluster.", + "canonical": true, + "file": "edge_container.update_cluster.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_UpdateCluster_async", - "title": "EdgeContainer updateCluster Sample", - "origin": "API_DEFINITION", - "description": " Updates the parameters of a single Cluster.", - "canonical": true, - "file": "edge_container.update_cluster.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 67, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateCluster", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.UpdateCluster", - "async": true, - "parameters": [ - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - }, - { - "name": "cluster", - "type": ".google.cloud.edgecontainer.v1.Cluster" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EdgeContainerClient", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainerClient" - }, - "method": { - "shortName": "UpdateCluster", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.UpdateCluster", - "service": { - "shortName": "EdgeContainer", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" - } - } - } + "start": 25, + "end": 67, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateCluster", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.UpdateCluster", + "async": true, + "parameters": [ + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + }, + { + "name": "cluster", + "type": ".google.cloud.edgecontainer.v1.Cluster" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EdgeContainerClient", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainerClient" }, + "method": { + "shortName": "UpdateCluster", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.UpdateCluster", + "service": { + "shortName": "EdgeContainer", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" + } + } + } + }, + { + "regionTag": "edgecontainer_v1_generated_EdgeContainer_UpgradeCluster_async", + "title": "EdgeContainer upgradeCluster Sample", + "origin": "API_DEFINITION", + "description": " Upgrades a single cluster.", + "canonical": true, + "file": "edge_container.upgrade_cluster.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_UpgradeCluster_async", - "title": "EdgeContainer upgradeCluster Sample", - "origin": "API_DEFINITION", - "description": " Upgrades a single cluster.", - "canonical": true, - "file": "edge_container.upgrade_cluster.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 69, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpgradeCluster", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.UpgradeCluster", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "target_version", - "type": "TYPE_STRING" - }, - { - "name": "schedule", - "type": ".google.cloud.edgecontainer.v1.UpgradeClusterRequest.Schedule" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EdgeContainerClient", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainerClient" - }, - "method": { - "shortName": "UpgradeCluster", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.UpgradeCluster", - "service": { - "shortName": "EdgeContainer", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" - } - } - } + "start": 25, + "end": 69, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpgradeCluster", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.UpgradeCluster", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "target_version", + "type": "TYPE_STRING" + }, + { + "name": "schedule", + "type": ".google.cloud.edgecontainer.v1.UpgradeClusterRequest.Schedule" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EdgeContainerClient", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainerClient" }, + "method": { + "shortName": "UpgradeCluster", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.UpgradeCluster", + "service": { + "shortName": "EdgeContainer", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" + } + } + } + }, + { + "regionTag": "edgecontainer_v1_generated_EdgeContainer_DeleteCluster_async", + "title": "EdgeContainer deleteCluster Sample", + "origin": "API_DEFINITION", + "description": " Deletes a single Cluster.", + "canonical": true, + "file": "edge_container.delete_cluster.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_DeleteCluster_async", - "title": "EdgeContainer deleteCluster Sample", - "origin": "API_DEFINITION", - "description": " Deletes a single Cluster.", - "canonical": true, - "file": "edge_container.delete_cluster.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 60, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteCluster", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.DeleteCluster", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EdgeContainerClient", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainerClient" - }, - "method": { - "shortName": "DeleteCluster", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.DeleteCluster", - "service": { - "shortName": "EdgeContainer", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" - } - } - } + "start": 25, + "end": 60, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteCluster", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.DeleteCluster", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EdgeContainerClient", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainerClient" }, + "method": { + "shortName": "DeleteCluster", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.DeleteCluster", + "service": { + "shortName": "EdgeContainer", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" + } + } + } + }, + { + "regionTag": "edgecontainer_v1_generated_EdgeContainer_GenerateAccessToken_async", + "title": "EdgeContainer generateAccessToken Sample", + "origin": "API_DEFINITION", + "description": " Generates an access token for a Cluster.", + "canonical": true, + "file": "edge_container.generate_access_token.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_GenerateAccessToken_async", - "title": "EdgeContainer generateAccessToken Sample", - "origin": "API_DEFINITION", - "description": " Generates an access token for a Cluster.", - "canonical": true, - "file": "edge_container.generate_access_token.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 53, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GenerateAccessToken", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GenerateAccessToken", - "async": true, - "parameters": [ - { - "name": "cluster", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.edgecontainer.v1.GenerateAccessTokenResponse", - "client": { - "shortName": "EdgeContainerClient", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainerClient" - }, - "method": { - "shortName": "GenerateAccessToken", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GenerateAccessToken", - "service": { - "shortName": "EdgeContainer", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" - } - } - } + "start": 25, + "end": 53, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GenerateAccessToken", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GenerateAccessToken", + "async": true, + "parameters": [ + { + "name": "cluster", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.edgecontainer.v1.GenerateAccessTokenResponse", + "client": { + "shortName": "EdgeContainerClient", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainerClient" }, + "method": { + "shortName": "GenerateAccessToken", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GenerateAccessToken", + "service": { + "shortName": "EdgeContainer", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" + } + } + } + }, + { + "regionTag": "edgecontainer_v1_generated_EdgeContainer_GenerateOfflineCredential_async", + "title": "EdgeContainer generateOfflineCredential Sample", + "origin": "API_DEFINITION", + "description": " Generates an offline credential for a Cluster.", + "canonical": true, + "file": "edge_container.generate_offline_credential.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_GenerateOfflineCredential_async", - "title": "EdgeContainer generateOfflineCredential Sample", - "origin": "API_DEFINITION", - "description": " Generates an offline credential for a Cluster.", - "canonical": true, - "file": "edge_container.generate_offline_credential.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 53, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GenerateOfflineCredential", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GenerateOfflineCredential", - "async": true, - "parameters": [ - { - "name": "cluster", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse", - "client": { - "shortName": "EdgeContainerClient", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainerClient" - }, - "method": { - "shortName": "GenerateOfflineCredential", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GenerateOfflineCredential", - "service": { - "shortName": "EdgeContainer", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" - } - } - } + "start": 25, + "end": 53, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GenerateOfflineCredential", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GenerateOfflineCredential", + "async": true, + "parameters": [ + { + "name": "cluster", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.edgecontainer.v1.GenerateOfflineCredentialResponse", + "client": { + "shortName": "EdgeContainerClient", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainerClient" }, + "method": { + "shortName": "GenerateOfflineCredential", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GenerateOfflineCredential", + "service": { + "shortName": "EdgeContainer", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" + } + } + } + }, + { + "regionTag": "edgecontainer_v1_generated_EdgeContainer_ListNodePools_async", + "title": "EdgeContainer listNodePools Sample", + "origin": "API_DEFINITION", + "description": " Lists NodePools in a given project and location.", + "canonical": true, + "file": "edge_container.list_node_pools.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_ListNodePools_async", - "title": "EdgeContainer listNodePools Sample", - "origin": "API_DEFINITION", - "description": " Lists NodePools in a given project and location.", - "canonical": true, - "file": "edge_container.list_node_pools.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 71, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListNodePools", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.ListNodePools", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.edgecontainer.v1.ListNodePoolsResponse", - "client": { - "shortName": "EdgeContainerClient", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainerClient" - }, - "method": { - "shortName": "ListNodePools", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.ListNodePools", - "service": { - "shortName": "EdgeContainer", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" - } - } - } + "start": 25, + "end": 71, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListNodePools", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.ListNodePools", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.edgecontainer.v1.ListNodePoolsResponse", + "client": { + "shortName": "EdgeContainerClient", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainerClient" }, + "method": { + "shortName": "ListNodePools", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.ListNodePools", + "service": { + "shortName": "EdgeContainer", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" + } + } + } + }, + { + "regionTag": "edgecontainer_v1_generated_EdgeContainer_GetNodePool_async", + "title": "EdgeContainer getNodePool Sample", + "origin": "API_DEFINITION", + "description": " Gets details of a single NodePool.", + "canonical": true, + "file": "edge_container.get_node_pool.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_GetNodePool_async", - "title": "EdgeContainer getNodePool Sample", - "origin": "API_DEFINITION", - "description": " Gets details of a single NodePool.", - "canonical": true, - "file": "edge_container.get_node_pool.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 53, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetNodePool", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GetNodePool", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.edgecontainer.v1.NodePool", - "client": { - "shortName": "EdgeContainerClient", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainerClient" - }, - "method": { - "shortName": "GetNodePool", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GetNodePool", - "service": { - "shortName": "EdgeContainer", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" - } - } - } + "start": 25, + "end": 53, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetNodePool", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GetNodePool", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.edgecontainer.v1.NodePool", + "client": { + "shortName": "EdgeContainerClient", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainerClient" }, + "method": { + "shortName": "GetNodePool", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GetNodePool", + "service": { + "shortName": "EdgeContainer", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" + } + } + } + }, + { + "regionTag": "edgecontainer_v1_generated_EdgeContainer_CreateNodePool_async", + "title": "EdgeContainer createNodePool Sample", + "origin": "API_DEFINITION", + "description": " Creates a new NodePool in a given project and location.", + "canonical": true, + "file": "edge_container.create_node_pool.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_CreateNodePool_async", - "title": "EdgeContainer createNodePool Sample", - "origin": "API_DEFINITION", - "description": " Creates a new NodePool in a given project and location.", - "canonical": true, - "file": "edge_container.create_node_pool.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 70, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateNodePool", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.CreateNodePool", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "node_pool_id", - "type": "TYPE_STRING" - }, - { - "name": "node_pool", - "type": ".google.cloud.edgecontainer.v1.NodePool" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EdgeContainerClient", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainerClient" - }, - "method": { - "shortName": "CreateNodePool", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.CreateNodePool", - "service": { - "shortName": "EdgeContainer", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" - } - } - } + "start": 25, + "end": 70, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateNodePool", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.CreateNodePool", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "node_pool_id", + "type": "TYPE_STRING" + }, + { + "name": "node_pool", + "type": ".google.cloud.edgecontainer.v1.NodePool" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EdgeContainerClient", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainerClient" }, + "method": { + "shortName": "CreateNodePool", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.CreateNodePool", + "service": { + "shortName": "EdgeContainer", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" + } + } + } + }, + { + "regionTag": "edgecontainer_v1_generated_EdgeContainer_UpdateNodePool_async", + "title": "EdgeContainer updateNodePool Sample", + "origin": "API_DEFINITION", + "description": " Updates the parameters of a single NodePool.", + "canonical": true, + "file": "edge_container.update_node_pool.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_UpdateNodePool_async", - "title": "EdgeContainer updateNodePool Sample", - "origin": "API_DEFINITION", - "description": " Updates the parameters of a single NodePool.", - "canonical": true, - "file": "edge_container.update_node_pool.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 67, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "UpdateNodePool", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.UpdateNodePool", - "async": true, - "parameters": [ - { - "name": "update_mask", - "type": ".google.protobuf.FieldMask" - }, - { - "name": "node_pool", - "type": ".google.cloud.edgecontainer.v1.NodePool" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EdgeContainerClient", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainerClient" - }, - "method": { - "shortName": "UpdateNodePool", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.UpdateNodePool", - "service": { - "shortName": "EdgeContainer", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" - } - } - } + "start": 25, + "end": 67, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateNodePool", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.UpdateNodePool", + "async": true, + "parameters": [ + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + }, + { + "name": "node_pool", + "type": ".google.cloud.edgecontainer.v1.NodePool" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EdgeContainerClient", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainerClient" }, + "method": { + "shortName": "UpdateNodePool", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.UpdateNodePool", + "service": { + "shortName": "EdgeContainer", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" + } + } + } + }, + { + "regionTag": "edgecontainer_v1_generated_EdgeContainer_DeleteNodePool_async", + "title": "EdgeContainer deleteNodePool Sample", + "origin": "API_DEFINITION", + "description": " Deletes a single NodePool.", + "canonical": true, + "file": "edge_container.delete_node_pool.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_DeleteNodePool_async", - "title": "EdgeContainer deleteNodePool Sample", - "origin": "API_DEFINITION", - "description": " Deletes a single NodePool.", - "canonical": true, - "file": "edge_container.delete_node_pool.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 60, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteNodePool", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.DeleteNodePool", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EdgeContainerClient", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainerClient" - }, - "method": { - "shortName": "DeleteNodePool", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.DeleteNodePool", - "service": { - "shortName": "EdgeContainer", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" - } - } - } + "start": 25, + "end": 60, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteNodePool", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.DeleteNodePool", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EdgeContainerClient", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainerClient" }, + "method": { + "shortName": "DeleteNodePool", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.DeleteNodePool", + "service": { + "shortName": "EdgeContainer", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" + } + } + } + }, + { + "regionTag": "edgecontainer_v1_generated_EdgeContainer_ListMachines_async", + "title": "EdgeContainer listMachines Sample", + "origin": "API_DEFINITION", + "description": " Lists Machines in a given project and location.", + "canonical": true, + "file": "edge_container.list_machines.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_ListMachines_async", - "title": "EdgeContainer listMachines Sample", - "origin": "API_DEFINITION", - "description": " Lists Machines in a given project and location.", - "canonical": true, - "file": "edge_container.list_machines.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 71, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListMachines", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.ListMachines", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.edgecontainer.v1.ListMachinesResponse", - "client": { - "shortName": "EdgeContainerClient", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainerClient" - }, - "method": { - "shortName": "ListMachines", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.ListMachines", - "service": { - "shortName": "EdgeContainer", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" - } - } - } + "start": 25, + "end": 71, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListMachines", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.ListMachines", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.edgecontainer.v1.ListMachinesResponse", + "client": { + "shortName": "EdgeContainerClient", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainerClient" }, + "method": { + "shortName": "ListMachines", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.ListMachines", + "service": { + "shortName": "EdgeContainer", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" + } + } + } + }, + { + "regionTag": "edgecontainer_v1_generated_EdgeContainer_GetMachine_async", + "title": "EdgeContainer getMachine Sample", + "origin": "API_DEFINITION", + "description": " Gets details of a single Machine.", + "canonical": true, + "file": "edge_container.get_machine.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_GetMachine_async", - "title": "EdgeContainer getMachine Sample", - "origin": "API_DEFINITION", - "description": " Gets details of a single Machine.", - "canonical": true, - "file": "edge_container.get_machine.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 53, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetMachine", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GetMachine", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.edgecontainer.v1.Machine", - "client": { - "shortName": "EdgeContainerClient", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainerClient" - }, - "method": { - "shortName": "GetMachine", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GetMachine", - "service": { - "shortName": "EdgeContainer", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" - } - } - } + "start": 25, + "end": 53, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetMachine", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GetMachine", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.edgecontainer.v1.Machine", + "client": { + "shortName": "EdgeContainerClient", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainerClient" }, + "method": { + "shortName": "GetMachine", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GetMachine", + "service": { + "shortName": "EdgeContainer", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" + } + } + } + }, + { + "regionTag": "edgecontainer_v1_generated_EdgeContainer_ListVpnConnections_async", + "title": "EdgeContainer listVpnConnections Sample", + "origin": "API_DEFINITION", + "description": " Lists VPN connections in a given project and location.", + "canonical": true, + "file": "edge_container.list_vpn_connections.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_ListVpnConnections_async", - "title": "EdgeContainer listVpnConnections Sample", - "origin": "API_DEFINITION", - "description": " Lists VPN connections in a given project and location.", - "canonical": true, - "file": "edge_container.list_vpn_connections.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 72, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListVpnConnections", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.ListVpnConnections", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.edgecontainer.v1.ListVpnConnectionsResponse", - "client": { - "shortName": "EdgeContainerClient", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainerClient" - }, - "method": { - "shortName": "ListVpnConnections", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.ListVpnConnections", - "service": { - "shortName": "EdgeContainer", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" - } - } - } + "start": 25, + "end": 72, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListVpnConnections", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.ListVpnConnections", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.edgecontainer.v1.ListVpnConnectionsResponse", + "client": { + "shortName": "EdgeContainerClient", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainerClient" }, + "method": { + "shortName": "ListVpnConnections", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.ListVpnConnections", + "service": { + "shortName": "EdgeContainer", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" + } + } + } + }, + { + "regionTag": "edgecontainer_v1_generated_EdgeContainer_GetVpnConnection_async", + "title": "EdgeContainer getVpnConnection Sample", + "origin": "API_DEFINITION", + "description": " Gets details of a single VPN connection.", + "canonical": true, + "file": "edge_container.get_vpn_connection.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_GetVpnConnection_async", - "title": "EdgeContainer getVpnConnection Sample", - "origin": "API_DEFINITION", - "description": " Gets details of a single VPN connection.", - "canonical": true, - "file": "edge_container.get_vpn_connection.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 53, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetVpnConnection", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GetVpnConnection", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.edgecontainer.v1.VpnConnection", - "client": { - "shortName": "EdgeContainerClient", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainerClient" - }, - "method": { - "shortName": "GetVpnConnection", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GetVpnConnection", - "service": { - "shortName": "EdgeContainer", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" - } - } - } + "start": 25, + "end": 53, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetVpnConnection", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GetVpnConnection", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.edgecontainer.v1.VpnConnection", + "client": { + "shortName": "EdgeContainerClient", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainerClient" }, + "method": { + "shortName": "GetVpnConnection", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GetVpnConnection", + "service": { + "shortName": "EdgeContainer", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" + } + } + } + }, + { + "regionTag": "edgecontainer_v1_generated_EdgeContainer_CreateVpnConnection_async", + "title": "EdgeContainer createVpnConnection Sample", + "origin": "API_DEFINITION", + "description": " Creates a new VPN connection in a given project and location.", + "canonical": true, + "file": "edge_container.create_vpn_connection.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_CreateVpnConnection_async", - "title": "EdgeContainer createVpnConnection Sample", - "origin": "API_DEFINITION", - "description": " Creates a new VPN connection in a given project and location.", - "canonical": true, - "file": "edge_container.create_vpn_connection.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 70, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateVpnConnection", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.CreateVpnConnection", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "vpn_connection_id", - "type": "TYPE_STRING" - }, - { - "name": "vpn_connection", - "type": ".google.cloud.edgecontainer.v1.VpnConnection" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EdgeContainerClient", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainerClient" - }, - "method": { - "shortName": "CreateVpnConnection", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.CreateVpnConnection", - "service": { - "shortName": "EdgeContainer", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" - } - } - } + "start": 25, + "end": 70, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateVpnConnection", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.CreateVpnConnection", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "vpn_connection_id", + "type": "TYPE_STRING" + }, + { + "name": "vpn_connection", + "type": ".google.cloud.edgecontainer.v1.VpnConnection" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EdgeContainerClient", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainerClient" }, + "method": { + "shortName": "CreateVpnConnection", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.CreateVpnConnection", + "service": { + "shortName": "EdgeContainer", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" + } + } + } + }, + { + "regionTag": "edgecontainer_v1_generated_EdgeContainer_DeleteVpnConnection_async", + "title": "EdgeContainer deleteVpnConnection Sample", + "origin": "API_DEFINITION", + "description": " Deletes a single VPN connection.", + "canonical": true, + "file": "edge_container.delete_vpn_connection.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_DeleteVpnConnection_async", - "title": "EdgeContainer deleteVpnConnection Sample", - "origin": "API_DEFINITION", - "description": " Deletes a single VPN connection.", - "canonical": true, - "file": "edge_container.delete_vpn_connection.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 60, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteVpnConnection", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.DeleteVpnConnection", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "request_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.longrunning.Operation", - "client": { - "shortName": "EdgeContainerClient", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainerClient" - }, - "method": { - "shortName": "DeleteVpnConnection", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.DeleteVpnConnection", - "service": { - "shortName": "EdgeContainer", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" - } - } - } + "start": 25, + "end": 60, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteVpnConnection", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.DeleteVpnConnection", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "request_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "EdgeContainerClient", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainerClient" }, + "method": { + "shortName": "DeleteVpnConnection", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.DeleteVpnConnection", + "service": { + "shortName": "EdgeContainer", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" + } + } + } + }, + { + "regionTag": "edgecontainer_v1_generated_EdgeContainer_GetServerConfig_async", + "title": "EdgeContainer getServerConfig Sample", + "origin": "API_DEFINITION", + "description": " Gets the server config.", + "canonical": true, + "file": "edge_container.get_server_config.js", + "language": "JAVASCRIPT", + "segments": [ { - "regionTag": "edgecontainer_v1_generated_EdgeContainer_GetServerConfig_async", - "title": "EdgeContainer getServerConfig Sample", - "origin": "API_DEFINITION", - "description": " Gets the server config.", - "canonical": true, - "file": "edge_container.get_server_config.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 54, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetServerConfig", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GetServerConfig", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.edgecontainer.v1.ServerConfig", - "client": { - "shortName": "EdgeContainerClient", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainerClient" - }, - "method": { - "shortName": "GetServerConfig", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GetServerConfig", - "service": { - "shortName": "EdgeContainer", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" - } - } - } + "start": 25, + "end": 54, + "type": "FULL" } - ] -} \ No newline at end of file + ], + "clientMethod": { + "shortName": "GetServerConfig", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GetServerConfig", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.edgecontainer.v1.ServerConfig", + "client": { + "shortName": "EdgeContainerClient", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainerClient" + }, + "method": { + "shortName": "GetServerConfig", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GetServerConfig", + "service": { + "shortName": "EdgeContainer", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer" + } + } + } + } + ] +} diff --git a/packages/google-cloud-edgenetwork/.OwlBot.yaml b/packages/google-cloud-edgenetwork/.OwlBot.yaml index 5dc558663804..abdf35bd1087 100644 --- a/packages/google-cloud-edgenetwork/.OwlBot.yaml +++ b/packages/google-cloud-edgenetwork/.OwlBot.yaml @@ -1,4 +1,4 @@ -# Copyright 2022 Google LLC +# Copyright 2025 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -13,7 +13,7 @@ # limitations under the License. deep-copy-regex: - - source: /google/cloud/edgenetwork/google-cloud-edgenetwork-nodejs - dest: /owl-bot-staging/google-cloud-edgenetwork + - source: /google/cloud/edgenetwork/google-cloud-edgenetwork-nodejs + dest: /owl-bot-staging/google-cloud-edgenetwork -api-name: edgenetwork +api-name: edgenetwork \ No newline at end of file diff --git a/packages/google-cloud-edgenetwork/.eslintignore b/packages/google-cloud-edgenetwork/.eslintignore index ea5b04aebe68..cfc348ec4d11 100644 --- a/packages/google-cloud-edgenetwork/.eslintignore +++ b/packages/google-cloud-edgenetwork/.eslintignore @@ -1,7 +1,7 @@ **/node_modules -**/coverage -test/fixtures +**/.coverage build/ docs/ protos/ +system-test/ samples/generated/ diff --git a/packages/google-cloud-edgenetwork/.mocharc.js b/packages/google-cloud-edgenetwork/.mocharc.js index eef6173ab449..24e9d15257f9 100644 --- a/packages/google-cloud-edgenetwork/.mocharc.js +++ b/packages/google-cloud-edgenetwork/.mocharc.js @@ -4,18 +4,22 @@ // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // -// http://www.apache.org/licenses/LICENSE-2.0 +// https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// ** This file is automatically generated by gapic-generator-typescript. ** +// ** https://github.com/googleapis/gapic-generator-typescript ** +// ** All changes to this file may be overwritten. ** + const config = { "enable-source-maps": true, "throw-deprecation": true, - "timeout": 10000, - "recursive": true + "timeout": 10000 } if (process.env.MOCHA_THROW_DEPRECATION === 'false') { delete config['throw-deprecation']; diff --git a/packages/google-cloud-edgenetwork/.nycrc b/packages/google-cloud-edgenetwork/.nycrc index b18d5472b62b..81a95fc94b00 100644 --- a/packages/google-cloud-edgenetwork/.nycrc +++ b/packages/google-cloud-edgenetwork/.nycrc @@ -21,4 +21,4 @@ ], "exclude-after-remap": false, "all": true -} +} \ No newline at end of file diff --git a/packages/google-cloud-edgenetwork/.prettierrc.js b/packages/google-cloud-edgenetwork/.prettierrc.js index b189724933b2..d89a632f90b0 100644 --- a/packages/google-cloud-edgenetwork/.prettierrc.js +++ b/packages/google-cloud-edgenetwork/.prettierrc.js @@ -4,13 +4,18 @@ // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // -// https://www.apache.org/licenses/LICENSE-2.0 +// https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +// ** This file is automatically generated by gapic-generator-typescript. ** +// ** https://github.com/googleapis/gapic-generator-typescript ** +// ** All changes to this file may be overwritten. ** + module.exports = { ...require('gts/.prettierrc.json') diff --git a/packages/google-cloud-edgenetwork/CONTRIBUTING.md b/packages/google-cloud-edgenetwork/CONTRIBUTING.md index cc97fa9fa0c2..f73a7bc968b7 100644 --- a/packages/google-cloud-edgenetwork/CONTRIBUTING.md +++ b/packages/google-cloud-edgenetwork/CONTRIBUTING.md @@ -40,8 +40,8 @@ accept your pull requests. ### Before you begin 1. [Select or create a Cloud Platform project][projects]. -1. [Enable billing for your project][billing]. -1. [Enable the Distributed Cloud Edge Network API API][enable_api]. +1. [Enable billing for your project][billing]. +1. [Enable the Edgenetwork API][enable_api]. 1. [Set up authentication with a service account][auth] so you can access the API from your local workstation. diff --git a/packages/google-cloud-edgenetwork/README.md b/packages/google-cloud-edgenetwork/README.md index 5c8a053d6834..d8183a0fbcf4 100644 --- a/packages/google-cloud-edgenetwork/README.md +++ b/packages/google-cloud-edgenetwork/README.md @@ -1,24 +1,25 @@ [//]: # "This README.md file is auto-generated, all changes to this file will be lost." -[//]: # "To regenerate it, use `python -m synthtool`." +[//]: # "The comments you see below are used to generate those parts of the template in later states." Google Cloud Platform logo -# [Distributed Cloud Edge Network API: Node.js Client](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-edgenetwork) - -[![release level](https://img.shields.io/badge/release%20level-stable-brightgreen.svg?style=flat)](https://cloud.google.com/terms/launch-stages) -[![npm version](https://img.shields.io/npm/v/@google-cloud/edgenetwork.svg)](https://www.npmjs.org/package/@google-cloud/edgenetwork) - +# [Distributed Cloud Edge Network API: Nodejs Client][homepage] +This library is considered to be **stable**. The code surface will not change in backwards-incompatible ways +unless absolutely necessary (e.g. because of critical security issues) or with +an extensive deprecation period. Issues and requests against **stable** libraries +are addressed with the highest priority +[![npm version](https://img.shields.io/npm/v/@google-cloud/edgenetwork.svg)](https://www.npmjs.org/package/@google-cloud/edgenetwork) Distributed Cloud Edge Network API client for Node.js +[//]: # "partials.introduction" A comprehensive list of changes in each version may be found in -[the CHANGELOG](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-edgenetwork/CHANGELOG.md). +[the CHANGELOG][homepage_changelog]. -* [Distributed Cloud Edge Network API Node.js Client API Reference][client-docs] -* [Distributed Cloud Edge Network API Documentation][product-docs] -* [github.com/googleapis/google-cloud-node/packages/google-cloud-edgenetwork](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-edgenetwork) +* [Distributed Cloud Edge Network API Nodejs Client API Reference](https://cloud.google.com/nodejs/docs/reference/edgenetwork/latest) +* [Distributed Cloud Edge Network API Documentation](https://cloud.google.com/distributed-cloud/edge/latest/docs/overview) Read more about the client libraries for Cloud APIs, including the older Google APIs Client Libraries, in [Client Libraries Explained][explained]. @@ -27,18 +28,15 @@ Google APIs Client Libraries, in [Client Libraries Explained][explained]. **Table of contents:** - * [Quickstart](#quickstart) * [Before you begin](#before-you-begin) * [Installing the client library](#installing-the-client-library) - * [Using the client library](#using-the-client-library) -* [Samples](#samples) + * [Versioning](#versioning) * [Contributing](#contributing) * [License](#license) ## Quickstart - ### Before you begin 1. [Select or create a Cloud Platform project][projects]. @@ -46,91 +44,48 @@ Google APIs Client Libraries, in [Client Libraries Explained][explained]. 1. [Enable the Distributed Cloud Edge Network API API][enable_api]. 1. [Set up authentication][auth] so you can access the API from your local workstation. - ### Installing the client library ```bash npm install @google-cloud/edgenetwork ``` - -### Using the client library - -```javascript -/** - * This snippet has been automatically generated and should be regarded as a code template only. - * It will require modifications to work. - * It may require correct/in-range values for request initialization. - * TODO(developer): Uncomment these variables before running the sample. - */ -/** - * Required. Parent value for ListZonesRequest - */ -// const parent = 'projects/your-project/locations/your-location' - -// Imports the Edgenetwork library -const {EdgeNetworkClient} = require('@google-cloud/edgenetwork').v1; - -// Instantiates a client -const edgenetworkClient = new EdgeNetworkClient(); - -async function callListZones() { - // Construct request - const request = { - parent, - }; - - // Run request - const iterable = await edgenetworkClient.listZonesAsync(request); - for await (const response of iterable) { - console.log(response); - } -} - -callListZones(); - -``` - - +[//]: # "partials.body" ## Samples -Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-edgenetwork/samples) directory. Each sample's `README.md` has instructions for running its sample. - -| Sample | Source Code | Try it | -| --------------------------- | --------------------------------- | ------ | -| Edge_network.create_interconnect_attachment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.create_interconnect_attachment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.create_interconnect_attachment.js,packages/google-cloud-edgenetwork/samples/README.md) | -| Edge_network.create_network | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.create_network.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.create_network.js,packages/google-cloud-edgenetwork/samples/README.md) | -| Edge_network.create_router | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.create_router.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.create_router.js,packages/google-cloud-edgenetwork/samples/README.md) | -| Edge_network.create_subnet | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.create_subnet.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.create_subnet.js,packages/google-cloud-edgenetwork/samples/README.md) | -| Edge_network.delete_interconnect_attachment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.delete_interconnect_attachment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.delete_interconnect_attachment.js,packages/google-cloud-edgenetwork/samples/README.md) | -| Edge_network.delete_network | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.delete_network.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.delete_network.js,packages/google-cloud-edgenetwork/samples/README.md) | -| Edge_network.delete_router | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.delete_router.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.delete_router.js,packages/google-cloud-edgenetwork/samples/README.md) | -| Edge_network.delete_subnet | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.delete_subnet.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.delete_subnet.js,packages/google-cloud-edgenetwork/samples/README.md) | -| Edge_network.diagnose_interconnect | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.diagnose_interconnect.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.diagnose_interconnect.js,packages/google-cloud-edgenetwork/samples/README.md) | -| Edge_network.diagnose_network | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.diagnose_network.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.diagnose_network.js,packages/google-cloud-edgenetwork/samples/README.md) | -| Edge_network.diagnose_router | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.diagnose_router.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.diagnose_router.js,packages/google-cloud-edgenetwork/samples/README.md) | -| Edge_network.get_interconnect | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.get_interconnect.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.get_interconnect.js,packages/google-cloud-edgenetwork/samples/README.md) | -| Edge_network.get_interconnect_attachment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.get_interconnect_attachment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.get_interconnect_attachment.js,packages/google-cloud-edgenetwork/samples/README.md) | -| Edge_network.get_network | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.get_network.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.get_network.js,packages/google-cloud-edgenetwork/samples/README.md) | -| Edge_network.get_router | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.get_router.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.get_router.js,packages/google-cloud-edgenetwork/samples/README.md) | -| Edge_network.get_subnet | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.get_subnet.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.get_subnet.js,packages/google-cloud-edgenetwork/samples/README.md) | -| Edge_network.get_zone | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.get_zone.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.get_zone.js,packages/google-cloud-edgenetwork/samples/README.md) | -| Edge_network.initialize_zone | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.initialize_zone.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.initialize_zone.js,packages/google-cloud-edgenetwork/samples/README.md) | -| Edge_network.list_interconnect_attachments | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.list_interconnect_attachments.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.list_interconnect_attachments.js,packages/google-cloud-edgenetwork/samples/README.md) | -| Edge_network.list_interconnects | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.list_interconnects.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.list_interconnects.js,packages/google-cloud-edgenetwork/samples/README.md) | -| Edge_network.list_networks | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.list_networks.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.list_networks.js,packages/google-cloud-edgenetwork/samples/README.md) | -| Edge_network.list_routers | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.list_routers.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.list_routers.js,packages/google-cloud-edgenetwork/samples/README.md) | -| Edge_network.list_subnets | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.list_subnets.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.list_subnets.js,packages/google-cloud-edgenetwork/samples/README.md) | -| Edge_network.list_zones | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.list_zones.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.list_zones.js,packages/google-cloud-edgenetwork/samples/README.md) | -| Edge_network.update_router | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.update_router.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.update_router.js,packages/google-cloud-edgenetwork/samples/README.md) | -| Edge_network.update_subnet | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.update_subnet.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.update_subnet.js,packages/google-cloud-edgenetwork/samples/README.md) | -| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-edgenetwork/samples/quickstart.js,packages/google-cloud-edgenetwork/samples/README.md) | - - - -The [Distributed Cloud Edge Network API Node.js Client API Reference][client-docs] documentation -also contains samples. +Samples are in the [`samples/`][homepage_samples] directory. Each sample's `README.md` has instructions for running its sample. + +| Sample | Source Code | +| --------------------------- | --------------------------------- | +| create interconnect attachment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.create_interconnect_attachment.js) | +| create network | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.create_network.js) | +| create router | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.create_router.js) | +| create subnet | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.create_subnet.js) | +| delete interconnect attachment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.delete_interconnect_attachment.js) | +| delete network | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.delete_network.js) | +| delete router | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.delete_router.js) | +| delete subnet | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.delete_subnet.js) | +| diagnose interconnect | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.diagnose_interconnect.js) | +| diagnose network | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.diagnose_network.js) | +| diagnose router | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.diagnose_router.js) | +| get interconnect | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.get_interconnect.js) | +| get interconnect attachment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.get_interconnect_attachment.js) | +| get network | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.get_network.js) | +| get router | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.get_router.js) | +| get subnet | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.get_subnet.js) | +| get zone | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.get_zone.js) | +| initialize zone | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.initialize_zone.js) | +| list interconnect attachments | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.list_interconnect_attachments.js) | +| list interconnects | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.list_interconnects.js) | +| list networks | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.list_networks.js) | +| list routers | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.list_routers.js) | +| list subnets | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.list_subnets.js) | +| list zones | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.list_zones.js) | +| update router | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.update_router.js) | +| update subnet | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/edge_network.update_subnet.js) | +| cloud | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples/generated/v1/snippet_metadata_google.cloud.edgenetwork.v1.json) | + ## Supported Node.js Versions @@ -157,45 +112,29 @@ for versions compatible with Node.js 8. This library follows [Semantic Versioning](http://semver.org/). - - -This library is considered to be **stable**. The code surface will not change in backwards-incompatible ways -unless absolutely necessary (e.g. because of critical security issues) or with -an extensive deprecation period. Issues and requests against **stable** libraries -are addressed with the highest priority. - - - - - - More Information: [Google Cloud Platform Launch Stages][launch_stages] [launch_stages]: https://cloud.google.com/terms/launch-stages ## Contributing -Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/google-cloud-node/blob/main/CONTRIBUTING.md). +Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/CONTRIBUTING.md). -Please note that this `README.md`, the `samples/README.md`, +Please note that this `README.md` and a variety of configuration files in this repository (including `.nycrc` and `tsconfig.json`) -are generated from a central template. To edit one of these files, make an edit -to its templates in -[directory](https://github.com/googleapis/synthtool). +are generated from a central template. ## License Apache Version 2.0 -See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/LICENSE) +See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/LICENSE) -[client-docs]: https://cloud.google.com/nodejs/docs/reference/edgenetwork/latest -[product-docs]: https://cloud.google.com/distributed-cloud/edge/latest/docs/overview [shell_img]: https://gstatic.com/cloudssh/images/open-btn.png [projects]: https://console.cloud.google.com/project [billing]: https://support.google.com/cloud/answer/6293499#enable-billing [enable_api]: https://console.cloud.google.com/flows/enableapi?apiid=edgenetwork.googleapis.com [auth]: https://cloud.google.com/docs/authentication/external/set-up-adc-local - - -[//]: # "partials.introduction" \ No newline at end of file +[homepage_samples]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/samples +[homepage_changelog]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork/CHANGELOG.md +[homepage]: https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-edgenetwork diff --git a/packages/google-cloud-edgenetwork/protos/protos.d.ts b/packages/google-cloud-edgenetwork/protos/protos.d.ts index 532dc5de8fb3..0eab853f15a6 100644 --- a/packages/google-cloud-edgenetwork/protos/protos.d.ts +++ b/packages/google-cloud-edgenetwork/protos/protos.d.ts @@ -7795,9 +7795,6 @@ export namespace google { /** CommonLanguageSettings destinations */ destinations?: (google.api.ClientLibraryDestination[]|null); - - /** CommonLanguageSettings selectiveGapicGeneration */ - selectiveGapicGeneration?: (google.api.ISelectiveGapicGeneration|null); } /** Represents a CommonLanguageSettings. */ @@ -7815,9 +7812,6 @@ export namespace google { /** CommonLanguageSettings destinations. */ public destinations: google.api.ClientLibraryDestination[]; - /** CommonLanguageSettings selectiveGapicGeneration. */ - public selectiveGapicGeneration?: (google.api.ISelectiveGapicGeneration|null); - /** * Creates a new CommonLanguageSettings instance using the specified properties. * @param [properties] Properties to set @@ -8518,9 +8512,6 @@ export namespace google { /** PythonSettings common */ common?: (google.api.ICommonLanguageSettings|null); - - /** PythonSettings experimentalFeatures */ - experimentalFeatures?: (google.api.PythonSettings.IExperimentalFeatures|null); } /** Represents a PythonSettings. */ @@ -8535,9 +8526,6 @@ export namespace google { /** PythonSettings common. */ public common?: (google.api.ICommonLanguageSettings|null); - /** PythonSettings experimentalFeatures. */ - public experimentalFeatures?: (google.api.PythonSettings.IExperimentalFeatures|null); - /** * Creates a new PythonSettings instance using the specified properties. * @param [properties] Properties to set @@ -8616,118 +8604,6 @@ export namespace google { public static getTypeUrl(typeUrlPrefix?: string): string; } - namespace PythonSettings { - - /** Properties of an ExperimentalFeatures. */ - interface IExperimentalFeatures { - - /** ExperimentalFeatures restAsyncIoEnabled */ - restAsyncIoEnabled?: (boolean|null); - - /** ExperimentalFeatures protobufPythonicTypesEnabled */ - protobufPythonicTypesEnabled?: (boolean|null); - - /** ExperimentalFeatures unversionedPackageDisabled */ - unversionedPackageDisabled?: (boolean|null); - } - - /** Represents an ExperimentalFeatures. */ - class ExperimentalFeatures implements IExperimentalFeatures { - - /** - * Constructs a new ExperimentalFeatures. - * @param [properties] Properties to set - */ - constructor(properties?: google.api.PythonSettings.IExperimentalFeatures); - - /** ExperimentalFeatures restAsyncIoEnabled. */ - public restAsyncIoEnabled: boolean; - - /** ExperimentalFeatures protobufPythonicTypesEnabled. */ - public protobufPythonicTypesEnabled: boolean; - - /** ExperimentalFeatures unversionedPackageDisabled. */ - public unversionedPackageDisabled: boolean; - - /** - * Creates a new ExperimentalFeatures instance using the specified properties. - * @param [properties] Properties to set - * @returns ExperimentalFeatures instance - */ - public static create(properties?: google.api.PythonSettings.IExperimentalFeatures): google.api.PythonSettings.ExperimentalFeatures; - - /** - * Encodes the specified ExperimentalFeatures message. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @param message ExperimentalFeatures message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.api.PythonSettings.IExperimentalFeatures, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified ExperimentalFeatures message, length delimited. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @param message ExperimentalFeatures message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.api.PythonSettings.IExperimentalFeatures, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.PythonSettings.ExperimentalFeatures; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.PythonSettings.ExperimentalFeatures; - - /** - * Verifies an ExperimentalFeatures message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates an ExperimentalFeatures message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ExperimentalFeatures - */ - public static fromObject(object: { [k: string]: any }): google.api.PythonSettings.ExperimentalFeatures; - - /** - * Creates a plain object from an ExperimentalFeatures message. Also converts values to other types if specified. - * @param message ExperimentalFeatures - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.api.PythonSettings.ExperimentalFeatures, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this ExperimentalFeatures to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for ExperimentalFeatures - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - } - /** Properties of a NodeSettings. */ interface INodeSettings { @@ -9054,9 +8930,6 @@ export namespace google { /** GoSettings common */ common?: (google.api.ICommonLanguageSettings|null); - - /** GoSettings renamedServices */ - renamedServices?: ({ [k: string]: string }|null); } /** Represents a GoSettings. */ @@ -9071,9 +8944,6 @@ export namespace google { /** GoSettings common. */ public common?: (google.api.ICommonLanguageSettings|null); - /** GoSettings renamedServices. */ - public renamedServices: { [k: string]: string }; - /** * Creates a new GoSettings instance using the specified properties. * @param [properties] Properties to set @@ -9398,109 +9268,6 @@ export namespace google { PACKAGE_MANAGER = 20 } - /** Properties of a SelectiveGapicGeneration. */ - interface ISelectiveGapicGeneration { - - /** SelectiveGapicGeneration methods */ - methods?: (string[]|null); - - /** SelectiveGapicGeneration generateOmittedAsInternal */ - generateOmittedAsInternal?: (boolean|null); - } - - /** Represents a SelectiveGapicGeneration. */ - class SelectiveGapicGeneration implements ISelectiveGapicGeneration { - - /** - * Constructs a new SelectiveGapicGeneration. - * @param [properties] Properties to set - */ - constructor(properties?: google.api.ISelectiveGapicGeneration); - - /** SelectiveGapicGeneration methods. */ - public methods: string[]; - - /** SelectiveGapicGeneration generateOmittedAsInternal. */ - public generateOmittedAsInternal: boolean; - - /** - * Creates a new SelectiveGapicGeneration instance using the specified properties. - * @param [properties] Properties to set - * @returns SelectiveGapicGeneration instance - */ - public static create(properties?: google.api.ISelectiveGapicGeneration): google.api.SelectiveGapicGeneration; - - /** - * Encodes the specified SelectiveGapicGeneration message. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @param message SelectiveGapicGeneration message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.api.ISelectiveGapicGeneration, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified SelectiveGapicGeneration message, length delimited. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @param message SelectiveGapicGeneration message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.api.ISelectiveGapicGeneration, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.SelectiveGapicGeneration; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.SelectiveGapicGeneration; - - /** - * Verifies a SelectiveGapicGeneration message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a SelectiveGapicGeneration message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns SelectiveGapicGeneration - */ - public static fromObject(object: { [k: string]: any }): google.api.SelectiveGapicGeneration; - - /** - * Creates a plain object from a SelectiveGapicGeneration message. Also converts values to other types if specified. - * @param message SelectiveGapicGeneration - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.api.SelectiveGapicGeneration, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this SelectiveGapicGeneration to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for SelectiveGapicGeneration - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - /** LaunchStage enum. */ enum LaunchStage { LAUNCH_STAGE_UNSPECIFIED = 0, @@ -9617,7 +9384,6 @@ export namespace google { /** Edition enum. */ enum Edition { EDITION_UNKNOWN = 0, - EDITION_LEGACY = 900, EDITION_PROTO2 = 998, EDITION_PROTO3 = 999, EDITION_2023 = 1000, @@ -9648,9 +9414,6 @@ export namespace google { /** FileDescriptorProto weakDependency */ weakDependency?: (number[]|null); - /** FileDescriptorProto optionDependency */ - optionDependency?: (string[]|null); - /** FileDescriptorProto messageType */ messageType?: (google.protobuf.IDescriptorProto[]|null); @@ -9700,9 +9463,6 @@ export namespace google { /** FileDescriptorProto weakDependency. */ public weakDependency: number[]; - /** FileDescriptorProto optionDependency. */ - public optionDependency: string[]; - /** FileDescriptorProto messageType. */ public messageType: google.protobuf.IDescriptorProto[]; @@ -9837,9 +9597,6 @@ export namespace google { /** DescriptorProto reservedName */ reservedName?: (string[]|null); - - /** DescriptorProto visibility */ - visibility?: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility|null); } /** Represents a DescriptorProto. */ @@ -9881,9 +9638,6 @@ export namespace google { /** DescriptorProto reservedName. */ public reservedName: string[]; - /** DescriptorProto visibility. */ - public visibility: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility); - /** * Creates a new DescriptorProto instance using the specified properties. * @param [properties] Properties to set @@ -10731,9 +10485,6 @@ export namespace google { /** EnumDescriptorProto reservedName */ reservedName?: (string[]|null); - - /** EnumDescriptorProto visibility */ - visibility?: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility|null); } /** Represents an EnumDescriptorProto. */ @@ -10760,9 +10511,6 @@ export namespace google { /** EnumDescriptorProto reservedName. */ public reservedName: string[]; - /** EnumDescriptorProto visibility. */ - public visibility: (google.protobuf.SymbolVisibility|keyof typeof google.protobuf.SymbolVisibility); - /** * Creates a new EnumDescriptorProto instance using the specified properties. * @param [properties] Properties to set @@ -11697,9 +11445,6 @@ export namespace google { /** FieldOptions features */ features?: (google.protobuf.IFeatureSet|null); - /** FieldOptions featureSupport */ - featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** FieldOptions uninterpretedOption */ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); @@ -11755,9 +11500,6 @@ export namespace google { /** FieldOptions features. */ public features?: (google.protobuf.IFeatureSet|null); - /** FieldOptions featureSupport. */ - public featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** FieldOptions uninterpretedOption. */ public uninterpretedOption: google.protobuf.IUninterpretedOption[]; @@ -11978,121 +11720,6 @@ export namespace google { */ public static getTypeUrl(typeUrlPrefix?: string): string; } - - /** Properties of a FeatureSupport. */ - interface IFeatureSupport { - - /** FeatureSupport editionIntroduced */ - editionIntroduced?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - - /** FeatureSupport editionDeprecated */ - editionDeprecated?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - - /** FeatureSupport deprecationWarning */ - deprecationWarning?: (string|null); - - /** FeatureSupport editionRemoved */ - editionRemoved?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - } - - /** Represents a FeatureSupport. */ - class FeatureSupport implements IFeatureSupport { - - /** - * Constructs a new FeatureSupport. - * @param [properties] Properties to set - */ - constructor(properties?: google.protobuf.FieldOptions.IFeatureSupport); - - /** FeatureSupport editionIntroduced. */ - public editionIntroduced: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - - /** FeatureSupport editionDeprecated. */ - public editionDeprecated: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - - /** FeatureSupport deprecationWarning. */ - public deprecationWarning: string; - - /** FeatureSupport editionRemoved. */ - public editionRemoved: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - - /** - * Creates a new FeatureSupport instance using the specified properties. - * @param [properties] Properties to set - * @returns FeatureSupport instance - */ - public static create(properties?: google.protobuf.FieldOptions.IFeatureSupport): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Encodes the specified FeatureSupport message. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. - * @param message FeatureSupport message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.protobuf.FieldOptions.IFeatureSupport, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified FeatureSupport message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. - * @param message FeatureSupport message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.protobuf.FieldOptions.IFeatureSupport, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a FeatureSupport message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns FeatureSupport - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Decodes a FeatureSupport message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns FeatureSupport - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Verifies a FeatureSupport message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a FeatureSupport message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns FeatureSupport - */ - public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions.FeatureSupport; - - /** - * Creates a plain object from a FeatureSupport message. Also converts values to other types if specified. - * @param message FeatureSupport - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.protobuf.FieldOptions.FeatureSupport, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this FeatureSupport to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for FeatureSupport - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } } /** Properties of an OneofOptions. */ @@ -12331,9 +11958,6 @@ export namespace google { /** EnumValueOptions debugRedact */ debugRedact?: (boolean|null); - /** EnumValueOptions featureSupport */ - featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** EnumValueOptions uninterpretedOption */ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); } @@ -12356,9 +11980,6 @@ export namespace google { /** EnumValueOptions debugRedact. */ public debugRedact: boolean; - /** EnumValueOptions featureSupport. */ - public featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null); - /** EnumValueOptions uninterpretedOption. */ public uninterpretedOption: google.protobuf.IUninterpretedOption[]; @@ -12951,12 +12572,6 @@ export namespace google { /** FeatureSet jsonFormat */ jsonFormat?: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat|null); - - /** FeatureSet enforceNamingStyle */ - enforceNamingStyle?: (google.protobuf.FeatureSet.EnforceNamingStyle|keyof typeof google.protobuf.FeatureSet.EnforceNamingStyle|null); - - /** FeatureSet defaultSymbolVisibility */ - defaultSymbolVisibility?: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|keyof typeof google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|null); } /** Represents a FeatureSet. */ @@ -12986,12 +12601,6 @@ export namespace google { /** FeatureSet jsonFormat. */ public jsonFormat: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat); - /** FeatureSet enforceNamingStyle. */ - public enforceNamingStyle: (google.protobuf.FeatureSet.EnforceNamingStyle|keyof typeof google.protobuf.FeatureSet.EnforceNamingStyle); - - /** FeatureSet defaultSymbolVisibility. */ - public defaultSymbolVisibility: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|keyof typeof google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility); - /** * Creates a new FeatureSet instance using the specified properties. * @param [properties] Properties to set @@ -13114,116 +12723,6 @@ export namespace google { ALLOW = 1, LEGACY_BEST_EFFORT = 2 } - - /** EnforceNamingStyle enum. */ - enum EnforceNamingStyle { - ENFORCE_NAMING_STYLE_UNKNOWN = 0, - STYLE2024 = 1, - STYLE_LEGACY = 2 - } - - /** Properties of a VisibilityFeature. */ - interface IVisibilityFeature { - } - - /** Represents a VisibilityFeature. */ - class VisibilityFeature implements IVisibilityFeature { - - /** - * Constructs a new VisibilityFeature. - * @param [properties] Properties to set - */ - constructor(properties?: google.protobuf.FeatureSet.IVisibilityFeature); - - /** - * Creates a new VisibilityFeature instance using the specified properties. - * @param [properties] Properties to set - * @returns VisibilityFeature instance - */ - public static create(properties?: google.protobuf.FeatureSet.IVisibilityFeature): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Encodes the specified VisibilityFeature message. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @param message VisibilityFeature message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.protobuf.FeatureSet.IVisibilityFeature, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Encodes the specified VisibilityFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @param message VisibilityFeature message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.protobuf.FeatureSet.IVisibilityFeature, writer?: $protobuf.Writer): $protobuf.Writer; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Verifies a VisibilityFeature message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); - - /** - * Creates a VisibilityFeature message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns VisibilityFeature - */ - public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSet.VisibilityFeature; - - /** - * Creates a plain object from a VisibilityFeature message. Also converts values to other types if specified. - * @param message VisibilityFeature - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.protobuf.FeatureSet.VisibilityFeature, options?: $protobuf.IConversionOptions): { [k: string]: any }; - - /** - * Converts this VisibilityFeature to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; - - /** - * Gets the default type url for VisibilityFeature - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } - - namespace VisibilityFeature { - - /** DefaultSymbolVisibility enum. */ - enum DefaultSymbolVisibility { - DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0, - EXPORT_ALL = 1, - EXPORT_TOP_LEVEL = 2, - LOCAL_ALL = 3, - STRICT = 4 - } - } } /** Properties of a FeatureSetDefaults. */ @@ -13343,11 +12842,8 @@ export namespace google { /** FeatureSetEditionDefault edition */ edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null); - /** FeatureSetEditionDefault overridableFeatures */ - overridableFeatures?: (google.protobuf.IFeatureSet|null); - - /** FeatureSetEditionDefault fixedFeatures */ - fixedFeatures?: (google.protobuf.IFeatureSet|null); + /** FeatureSetEditionDefault features */ + features?: (google.protobuf.IFeatureSet|null); } /** Represents a FeatureSetEditionDefault. */ @@ -13362,11 +12858,8 @@ export namespace google { /** FeatureSetEditionDefault edition. */ public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition); - /** FeatureSetEditionDefault overridableFeatures. */ - public overridableFeatures?: (google.protobuf.IFeatureSet|null); - - /** FeatureSetEditionDefault fixedFeatures. */ - public fixedFeatures?: (google.protobuf.IFeatureSet|null); + /** FeatureSetEditionDefault features. */ + public features?: (google.protobuf.IFeatureSet|null); /** * Creates a new FeatureSetEditionDefault instance using the specified properties. @@ -13899,13 +13392,6 @@ export namespace google { } } - /** SymbolVisibility enum. */ - enum SymbolVisibility { - VISIBILITY_UNSET = 0, - VISIBILITY_LOCAL = 1, - VISIBILITY_EXPORT = 2 - } - /** Properties of a Timestamp. */ interface ITimestamp { diff --git a/packages/google-cloud-edgenetwork/protos/protos.js b/packages/google-cloud-edgenetwork/protos/protos.js index 1b9da7b9eb40..6a65707c2ca2 100644 --- a/packages/google-cloud-edgenetwork/protos/protos.js +++ b/packages/google-cloud-edgenetwork/protos/protos.js @@ -19451,7 +19451,6 @@ * @interface ICommonLanguageSettings * @property {string|null} [referenceDocsUri] CommonLanguageSettings referenceDocsUri * @property {Array.|null} [destinations] CommonLanguageSettings destinations - * @property {google.api.ISelectiveGapicGeneration|null} [selectiveGapicGeneration] CommonLanguageSettings selectiveGapicGeneration */ /** @@ -19486,14 +19485,6 @@ */ CommonLanguageSettings.prototype.destinations = $util.emptyArray; - /** - * CommonLanguageSettings selectiveGapicGeneration. - * @member {google.api.ISelectiveGapicGeneration|null|undefined} selectiveGapicGeneration - * @memberof google.api.CommonLanguageSettings - * @instance - */ - CommonLanguageSettings.prototype.selectiveGapicGeneration = null; - /** * Creates a new CommonLanguageSettings instance using the specified properties. * @function create @@ -19526,8 +19517,6 @@ writer.int32(message.destinations[i]); writer.ldelim(); } - if (message.selectiveGapicGeneration != null && Object.hasOwnProperty.call(message, "selectiveGapicGeneration")) - $root.google.api.SelectiveGapicGeneration.encode(message.selectiveGapicGeneration, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; @@ -19579,10 +19568,6 @@ message.destinations.push(reader.int32()); break; } - case 3: { - message.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.decode(reader, reader.uint32()); - break; - } default: reader.skipType(tag & 7); break; @@ -19634,11 +19619,6 @@ break; } } - if (message.selectiveGapicGeneration != null && message.hasOwnProperty("selectiveGapicGeneration")) { - var error = $root.google.api.SelectiveGapicGeneration.verify(message.selectiveGapicGeneration); - if (error) - return "selectiveGapicGeneration." + error; - } return null; }; @@ -19681,11 +19661,6 @@ break; } } - if (object.selectiveGapicGeneration != null) { - if (typeof object.selectiveGapicGeneration !== "object") - throw TypeError(".google.api.CommonLanguageSettings.selectiveGapicGeneration: object expected"); - message.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.fromObject(object.selectiveGapicGeneration); - } return message; }; @@ -19704,10 +19679,8 @@ var object = {}; if (options.arrays || options.defaults) object.destinations = []; - if (options.defaults) { + if (options.defaults) object.referenceDocsUri = ""; - object.selectiveGapicGeneration = null; - } if (message.referenceDocsUri != null && message.hasOwnProperty("referenceDocsUri")) object.referenceDocsUri = message.referenceDocsUri; if (message.destinations && message.destinations.length) { @@ -19715,8 +19688,6 @@ for (var j = 0; j < message.destinations.length; ++j) object.destinations[j] = options.enums === String ? $root.google.api.ClientLibraryDestination[message.destinations[j]] === undefined ? message.destinations[j] : $root.google.api.ClientLibraryDestination[message.destinations[j]] : message.destinations[j]; } - if (message.selectiveGapicGeneration != null && message.hasOwnProperty("selectiveGapicGeneration")) - object.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.toObject(message.selectiveGapicGeneration, options); return object; }; @@ -21539,7 +21510,6 @@ * @memberof google.api * @interface IPythonSettings * @property {google.api.ICommonLanguageSettings|null} [common] PythonSettings common - * @property {google.api.PythonSettings.IExperimentalFeatures|null} [experimentalFeatures] PythonSettings experimentalFeatures */ /** @@ -21565,14 +21535,6 @@ */ PythonSettings.prototype.common = null; - /** - * PythonSettings experimentalFeatures. - * @member {google.api.PythonSettings.IExperimentalFeatures|null|undefined} experimentalFeatures - * @memberof google.api.PythonSettings - * @instance - */ - PythonSettings.prototype.experimentalFeatures = null; - /** * Creates a new PythonSettings instance using the specified properties. * @function create @@ -21599,8 +21561,6 @@ writer = $Writer.create(); if (message.common != null && Object.hasOwnProperty.call(message, "common")) $root.google.api.CommonLanguageSettings.encode(message.common, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.experimentalFeatures != null && Object.hasOwnProperty.call(message, "experimentalFeatures")) - $root.google.api.PythonSettings.ExperimentalFeatures.encode(message.experimentalFeatures, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; @@ -21641,10 +21601,6 @@ message.common = $root.google.api.CommonLanguageSettings.decode(reader, reader.uint32()); break; } - case 2: { - message.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.decode(reader, reader.uint32()); - break; - } default: reader.skipType(tag & 7); break; @@ -21685,11 +21641,6 @@ if (error) return "common." + error; } - if (message.experimentalFeatures != null && message.hasOwnProperty("experimentalFeatures")) { - var error = $root.google.api.PythonSettings.ExperimentalFeatures.verify(message.experimentalFeatures); - if (error) - return "experimentalFeatures." + error; - } return null; }; @@ -21710,11 +21661,6 @@ throw TypeError(".google.api.PythonSettings.common: object expected"); message.common = $root.google.api.CommonLanguageSettings.fromObject(object.common); } - if (object.experimentalFeatures != null) { - if (typeof object.experimentalFeatures !== "object") - throw TypeError(".google.api.PythonSettings.experimentalFeatures: object expected"); - message.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.fromObject(object.experimentalFeatures); - } return message; }; @@ -21731,14 +21677,10 @@ if (!options) options = {}; var object = {}; - if (options.defaults) { + if (options.defaults) object.common = null; - object.experimentalFeatures = null; - } if (message.common != null && message.hasOwnProperty("common")) object.common = $root.google.api.CommonLanguageSettings.toObject(message.common, options); - if (message.experimentalFeatures != null && message.hasOwnProperty("experimentalFeatures")) - object.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.toObject(message.experimentalFeatures, options); return object; }; @@ -21768,258 +21710,6 @@ return typeUrlPrefix + "/google.api.PythonSettings"; }; - PythonSettings.ExperimentalFeatures = (function() { - - /** - * Properties of an ExperimentalFeatures. - * @memberof google.api.PythonSettings - * @interface IExperimentalFeatures - * @property {boolean|null} [restAsyncIoEnabled] ExperimentalFeatures restAsyncIoEnabled - * @property {boolean|null} [protobufPythonicTypesEnabled] ExperimentalFeatures protobufPythonicTypesEnabled - * @property {boolean|null} [unversionedPackageDisabled] ExperimentalFeatures unversionedPackageDisabled - */ - - /** - * Constructs a new ExperimentalFeatures. - * @memberof google.api.PythonSettings - * @classdesc Represents an ExperimentalFeatures. - * @implements IExperimentalFeatures - * @constructor - * @param {google.api.PythonSettings.IExperimentalFeatures=} [properties] Properties to set - */ - function ExperimentalFeatures(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * ExperimentalFeatures restAsyncIoEnabled. - * @member {boolean} restAsyncIoEnabled - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - */ - ExperimentalFeatures.prototype.restAsyncIoEnabled = false; - - /** - * ExperimentalFeatures protobufPythonicTypesEnabled. - * @member {boolean} protobufPythonicTypesEnabled - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - */ - ExperimentalFeatures.prototype.protobufPythonicTypesEnabled = false; - - /** - * ExperimentalFeatures unversionedPackageDisabled. - * @member {boolean} unversionedPackageDisabled - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - */ - ExperimentalFeatures.prototype.unversionedPackageDisabled = false; - - /** - * Creates a new ExperimentalFeatures instance using the specified properties. - * @function create - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.IExperimentalFeatures=} [properties] Properties to set - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures instance - */ - ExperimentalFeatures.create = function create(properties) { - return new ExperimentalFeatures(properties); - }; - - /** - * Encodes the specified ExperimentalFeatures message. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @function encode - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.IExperimentalFeatures} message ExperimentalFeatures message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ExperimentalFeatures.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.restAsyncIoEnabled != null && Object.hasOwnProperty.call(message, "restAsyncIoEnabled")) - writer.uint32(/* id 1, wireType 0 =*/8).bool(message.restAsyncIoEnabled); - if (message.protobufPythonicTypesEnabled != null && Object.hasOwnProperty.call(message, "protobufPythonicTypesEnabled")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.protobufPythonicTypesEnabled); - if (message.unversionedPackageDisabled != null && Object.hasOwnProperty.call(message, "unversionedPackageDisabled")) - writer.uint32(/* id 3, wireType 0 =*/24).bool(message.unversionedPackageDisabled); - return writer; - }; - - /** - * Encodes the specified ExperimentalFeatures message, length delimited. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages. - * @function encodeDelimited - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.IExperimentalFeatures} message ExperimentalFeatures message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - ExperimentalFeatures.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer. - * @function decode - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ExperimentalFeatures.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.PythonSettings.ExperimentalFeatures(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.restAsyncIoEnabled = reader.bool(); - break; - } - case 2: { - message.protobufPythonicTypesEnabled = reader.bool(); - break; - } - case 3: { - message.unversionedPackageDisabled = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an ExperimentalFeatures message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - ExperimentalFeatures.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an ExperimentalFeatures message. - * @function verify - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - ExperimentalFeatures.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.restAsyncIoEnabled != null && message.hasOwnProperty("restAsyncIoEnabled")) - if (typeof message.restAsyncIoEnabled !== "boolean") - return "restAsyncIoEnabled: boolean expected"; - if (message.protobufPythonicTypesEnabled != null && message.hasOwnProperty("protobufPythonicTypesEnabled")) - if (typeof message.protobufPythonicTypesEnabled !== "boolean") - return "protobufPythonicTypesEnabled: boolean expected"; - if (message.unversionedPackageDisabled != null && message.hasOwnProperty("unversionedPackageDisabled")) - if (typeof message.unversionedPackageDisabled !== "boolean") - return "unversionedPackageDisabled: boolean expected"; - return null; - }; - - /** - * Creates an ExperimentalFeatures message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {Object.} object Plain object - * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures - */ - ExperimentalFeatures.fromObject = function fromObject(object) { - if (object instanceof $root.google.api.PythonSettings.ExperimentalFeatures) - return object; - var message = new $root.google.api.PythonSettings.ExperimentalFeatures(); - if (object.restAsyncIoEnabled != null) - message.restAsyncIoEnabled = Boolean(object.restAsyncIoEnabled); - if (object.protobufPythonicTypesEnabled != null) - message.protobufPythonicTypesEnabled = Boolean(object.protobufPythonicTypesEnabled); - if (object.unversionedPackageDisabled != null) - message.unversionedPackageDisabled = Boolean(object.unversionedPackageDisabled); - return message; - }; - - /** - * Creates a plain object from an ExperimentalFeatures message. Also converts values to other types if specified. - * @function toObject - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {google.api.PythonSettings.ExperimentalFeatures} message ExperimentalFeatures - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - ExperimentalFeatures.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.restAsyncIoEnabled = false; - object.protobufPythonicTypesEnabled = false; - object.unversionedPackageDisabled = false; - } - if (message.restAsyncIoEnabled != null && message.hasOwnProperty("restAsyncIoEnabled")) - object.restAsyncIoEnabled = message.restAsyncIoEnabled; - if (message.protobufPythonicTypesEnabled != null && message.hasOwnProperty("protobufPythonicTypesEnabled")) - object.protobufPythonicTypesEnabled = message.protobufPythonicTypesEnabled; - if (message.unversionedPackageDisabled != null && message.hasOwnProperty("unversionedPackageDisabled")) - object.unversionedPackageDisabled = message.unversionedPackageDisabled; - return object; - }; - - /** - * Converts this ExperimentalFeatures to JSON. - * @function toJSON - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @instance - * @returns {Object.} JSON object - */ - ExperimentalFeatures.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for ExperimentalFeatures - * @function getTypeUrl - * @memberof google.api.PythonSettings.ExperimentalFeatures - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - ExperimentalFeatures.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.api.PythonSettings.ExperimentalFeatures"; - }; - - return ExperimentalFeatures; - })(); - return PythonSettings; })(); @@ -22896,7 +22586,6 @@ * @memberof google.api * @interface IGoSettings * @property {google.api.ICommonLanguageSettings|null} [common] GoSettings common - * @property {Object.|null} [renamedServices] GoSettings renamedServices */ /** @@ -22908,7 +22597,6 @@ * @param {google.api.IGoSettings=} [properties] Properties to set */ function GoSettings(properties) { - this.renamedServices = {}; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -22923,14 +22611,6 @@ */ GoSettings.prototype.common = null; - /** - * GoSettings renamedServices. - * @member {Object.} renamedServices - * @memberof google.api.GoSettings - * @instance - */ - GoSettings.prototype.renamedServices = $util.emptyObject; - /** * Creates a new GoSettings instance using the specified properties. * @function create @@ -22957,9 +22637,6 @@ writer = $Writer.create(); if (message.common != null && Object.hasOwnProperty.call(message, "common")) $root.google.api.CommonLanguageSettings.encode(message.common, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.renamedServices != null && Object.hasOwnProperty.call(message, "renamedServices")) - for (var keys = Object.keys(message.renamedServices), i = 0; i < keys.length; ++i) - writer.uint32(/* id 2, wireType 2 =*/18).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.renamedServices[keys[i]]).ldelim(); return writer; }; @@ -22990,7 +22667,7 @@ GoSettings.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.GoSettings(), key, value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.GoSettings(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) @@ -23000,29 +22677,6 @@ message.common = $root.google.api.CommonLanguageSettings.decode(reader, reader.uint32()); break; } - case 2: { - if (message.renamedServices === $util.emptyObject) - message.renamedServices = {}; - var end2 = reader.uint32() + reader.pos; - key = ""; - value = ""; - while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { - case 1: - key = reader.string(); - break; - case 2: - value = reader.string(); - break; - default: - reader.skipType(tag2 & 7); - break; - } - } - message.renamedServices[key] = value; - break; - } default: reader.skipType(tag & 7); break; @@ -23063,14 +22717,6 @@ if (error) return "common." + error; } - if (message.renamedServices != null && message.hasOwnProperty("renamedServices")) { - if (!$util.isObject(message.renamedServices)) - return "renamedServices: object expected"; - var key = Object.keys(message.renamedServices); - for (var i = 0; i < key.length; ++i) - if (!$util.isString(message.renamedServices[key[i]])) - return "renamedServices: string{k:string} expected"; - } return null; }; @@ -23091,13 +22737,6 @@ throw TypeError(".google.api.GoSettings.common: object expected"); message.common = $root.google.api.CommonLanguageSettings.fromObject(object.common); } - if (object.renamedServices) { - if (typeof object.renamedServices !== "object") - throw TypeError(".google.api.GoSettings.renamedServices: object expected"); - message.renamedServices = {}; - for (var keys = Object.keys(object.renamedServices), i = 0; i < keys.length; ++i) - message.renamedServices[keys[i]] = String(object.renamedServices[keys[i]]); - } return message; }; @@ -23114,18 +22753,10 @@ if (!options) options = {}; var object = {}; - if (options.objects || options.defaults) - object.renamedServices = {}; if (options.defaults) object.common = null; if (message.common != null && message.hasOwnProperty("common")) object.common = $root.google.api.CommonLanguageSettings.toObject(message.common, options); - var keys2; - if (message.renamedServices && (keys2 = Object.keys(message.renamedServices)).length) { - object.renamedServices = {}; - for (var j = 0; j < keys2.length; ++j) - object.renamedServices[keys2[j]] = message.renamedServices[keys2[j]]; - } return object; }; @@ -23764,251 +23395,6 @@ return values; })(); - api.SelectiveGapicGeneration = (function() { - - /** - * Properties of a SelectiveGapicGeneration. - * @memberof google.api - * @interface ISelectiveGapicGeneration - * @property {Array.|null} [methods] SelectiveGapicGeneration methods - * @property {boolean|null} [generateOmittedAsInternal] SelectiveGapicGeneration generateOmittedAsInternal - */ - - /** - * Constructs a new SelectiveGapicGeneration. - * @memberof google.api - * @classdesc Represents a SelectiveGapicGeneration. - * @implements ISelectiveGapicGeneration - * @constructor - * @param {google.api.ISelectiveGapicGeneration=} [properties] Properties to set - */ - function SelectiveGapicGeneration(properties) { - this.methods = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * SelectiveGapicGeneration methods. - * @member {Array.} methods - * @memberof google.api.SelectiveGapicGeneration - * @instance - */ - SelectiveGapicGeneration.prototype.methods = $util.emptyArray; - - /** - * SelectiveGapicGeneration generateOmittedAsInternal. - * @member {boolean} generateOmittedAsInternal - * @memberof google.api.SelectiveGapicGeneration - * @instance - */ - SelectiveGapicGeneration.prototype.generateOmittedAsInternal = false; - - /** - * Creates a new SelectiveGapicGeneration instance using the specified properties. - * @function create - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.ISelectiveGapicGeneration=} [properties] Properties to set - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration instance - */ - SelectiveGapicGeneration.create = function create(properties) { - return new SelectiveGapicGeneration(properties); - }; - - /** - * Encodes the specified SelectiveGapicGeneration message. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @function encode - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.ISelectiveGapicGeneration} message SelectiveGapicGeneration message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - SelectiveGapicGeneration.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.methods != null && message.methods.length) - for (var i = 0; i < message.methods.length; ++i) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.methods[i]); - if (message.generateOmittedAsInternal != null && Object.hasOwnProperty.call(message, "generateOmittedAsInternal")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.generateOmittedAsInternal); - return writer; - }; - - /** - * Encodes the specified SelectiveGapicGeneration message, length delimited. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages. - * @function encodeDelimited - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.ISelectiveGapicGeneration} message SelectiveGapicGeneration message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - SelectiveGapicGeneration.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer. - * @function decode - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - SelectiveGapicGeneration.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.SelectiveGapicGeneration(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - if (!(message.methods && message.methods.length)) - message.methods = []; - message.methods.push(reader.string()); - break; - } - case 2: { - message.generateOmittedAsInternal = reader.bool(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a SelectiveGapicGeneration message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - SelectiveGapicGeneration.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a SelectiveGapicGeneration message. - * @function verify - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - SelectiveGapicGeneration.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.methods != null && message.hasOwnProperty("methods")) { - if (!Array.isArray(message.methods)) - return "methods: array expected"; - for (var i = 0; i < message.methods.length; ++i) - if (!$util.isString(message.methods[i])) - return "methods: string[] expected"; - } - if (message.generateOmittedAsInternal != null && message.hasOwnProperty("generateOmittedAsInternal")) - if (typeof message.generateOmittedAsInternal !== "boolean") - return "generateOmittedAsInternal: boolean expected"; - return null; - }; - - /** - * Creates a SelectiveGapicGeneration message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {Object.} object Plain object - * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration - */ - SelectiveGapicGeneration.fromObject = function fromObject(object) { - if (object instanceof $root.google.api.SelectiveGapicGeneration) - return object; - var message = new $root.google.api.SelectiveGapicGeneration(); - if (object.methods) { - if (!Array.isArray(object.methods)) - throw TypeError(".google.api.SelectiveGapicGeneration.methods: array expected"); - message.methods = []; - for (var i = 0; i < object.methods.length; ++i) - message.methods[i] = String(object.methods[i]); - } - if (object.generateOmittedAsInternal != null) - message.generateOmittedAsInternal = Boolean(object.generateOmittedAsInternal); - return message; - }; - - /** - * Creates a plain object from a SelectiveGapicGeneration message. Also converts values to other types if specified. - * @function toObject - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {google.api.SelectiveGapicGeneration} message SelectiveGapicGeneration - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - SelectiveGapicGeneration.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.methods = []; - if (options.defaults) - object.generateOmittedAsInternal = false; - if (message.methods && message.methods.length) { - object.methods = []; - for (var j = 0; j < message.methods.length; ++j) - object.methods[j] = message.methods[j]; - } - if (message.generateOmittedAsInternal != null && message.hasOwnProperty("generateOmittedAsInternal")) - object.generateOmittedAsInternal = message.generateOmittedAsInternal; - return object; - }; - - /** - * Converts this SelectiveGapicGeneration to JSON. - * @function toJSON - * @memberof google.api.SelectiveGapicGeneration - * @instance - * @returns {Object.} JSON object - */ - SelectiveGapicGeneration.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for SelectiveGapicGeneration - * @function getTypeUrl - * @memberof google.api.SelectiveGapicGeneration - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - SelectiveGapicGeneration.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.api.SelectiveGapicGeneration"; - }; - - return SelectiveGapicGeneration; - })(); - /** * LaunchStage enum. * @name google.api.LaunchStage @@ -24278,7 +23664,6 @@ * @name google.protobuf.Edition * @enum {number} * @property {number} EDITION_UNKNOWN=0 EDITION_UNKNOWN value - * @property {number} EDITION_LEGACY=900 EDITION_LEGACY value * @property {number} EDITION_PROTO2=998 EDITION_PROTO2 value * @property {number} EDITION_PROTO3=999 EDITION_PROTO3 value * @property {number} EDITION_2023=1000 EDITION_2023 value @@ -24293,7 +23678,6 @@ protobuf.Edition = (function() { var valuesById = {}, values = Object.create(valuesById); values[valuesById[0] = "EDITION_UNKNOWN"] = 0; - values[valuesById[900] = "EDITION_LEGACY"] = 900; values[valuesById[998] = "EDITION_PROTO2"] = 998; values[valuesById[999] = "EDITION_PROTO3"] = 999; values[valuesById[1000] = "EDITION_2023"] = 1000; @@ -24318,7 +23702,6 @@ * @property {Array.|null} [dependency] FileDescriptorProto dependency * @property {Array.|null} [publicDependency] FileDescriptorProto publicDependency * @property {Array.|null} [weakDependency] FileDescriptorProto weakDependency - * @property {Array.|null} [optionDependency] FileDescriptorProto optionDependency * @property {Array.|null} [messageType] FileDescriptorProto messageType * @property {Array.|null} [enumType] FileDescriptorProto enumType * @property {Array.|null} [service] FileDescriptorProto service @@ -24341,7 +23724,6 @@ this.dependency = []; this.publicDependency = []; this.weakDependency = []; - this.optionDependency = []; this.messageType = []; this.enumType = []; this.service = []; @@ -24392,14 +23774,6 @@ */ FileDescriptorProto.prototype.weakDependency = $util.emptyArray; - /** - * FileDescriptorProto optionDependency. - * @member {Array.} optionDependency - * @memberof google.protobuf.FileDescriptorProto - * @instance - */ - FileDescriptorProto.prototype.optionDependency = $util.emptyArray; - /** * FileDescriptorProto messageType. * @member {Array.} messageType @@ -24521,9 +23895,6 @@ writer.uint32(/* id 12, wireType 2 =*/98).string(message.syntax); if (message.edition != null && Object.hasOwnProperty.call(message, "edition")) writer.uint32(/* id 14, wireType 0 =*/112).int32(message.edition); - if (message.optionDependency != null && message.optionDependency.length) - for (var i = 0; i < message.optionDependency.length; ++i) - writer.uint32(/* id 15, wireType 2 =*/122).string(message.optionDependency[i]); return writer; }; @@ -24596,12 +23967,6 @@ message.weakDependency.push(reader.int32()); break; } - case 15: { - if (!(message.optionDependency && message.optionDependency.length)) - message.optionDependency = []; - message.optionDependency.push(reader.string()); - break; - } case 4: { if (!(message.messageType && message.messageType.length)) message.messageType = []; @@ -24704,13 +24069,6 @@ if (!$util.isInteger(message.weakDependency[i])) return "weakDependency: integer[] expected"; } - if (message.optionDependency != null && message.hasOwnProperty("optionDependency")) { - if (!Array.isArray(message.optionDependency)) - return "optionDependency: array expected"; - for (var i = 0; i < message.optionDependency.length; ++i) - if (!$util.isString(message.optionDependency[i])) - return "optionDependency: string[] expected"; - } if (message.messageType != null && message.hasOwnProperty("messageType")) { if (!Array.isArray(message.messageType)) return "messageType: array expected"; @@ -24765,7 +24123,6 @@ default: return "edition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -24818,13 +24175,6 @@ for (var i = 0; i < object.weakDependency.length; ++i) message.weakDependency[i] = object.weakDependency[i] | 0; } - if (object.optionDependency) { - if (!Array.isArray(object.optionDependency)) - throw TypeError(".google.protobuf.FileDescriptorProto.optionDependency: array expected"); - message.optionDependency = []; - for (var i = 0; i < object.optionDependency.length; ++i) - message.optionDependency[i] = String(object.optionDependency[i]); - } if (object.messageType) { if (!Array.isArray(object.messageType)) throw TypeError(".google.protobuf.FileDescriptorProto.messageType: array expected"); @@ -24888,10 +24238,6 @@ case 0: message.edition = 0; break; - case "EDITION_LEGACY": - case 900: - message.edition = 900; - break; case "EDITION_PROTO2": case 998: message.edition = 998; @@ -24957,7 +24303,6 @@ object.extension = []; object.publicDependency = []; object.weakDependency = []; - object.optionDependency = []; } if (options.defaults) { object.name = ""; @@ -25014,11 +24359,6 @@ object.syntax = message.syntax; if (message.edition != null && message.hasOwnProperty("edition")) object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; - if (message.optionDependency && message.optionDependency.length) { - object.optionDependency = []; - for (var j = 0; j < message.optionDependency.length; ++j) - object.optionDependency[j] = message.optionDependency[j]; - } return object; }; @@ -25067,7 +24407,6 @@ * @property {google.protobuf.IMessageOptions|null} [options] DescriptorProto options * @property {Array.|null} [reservedRange] DescriptorProto reservedRange * @property {Array.|null} [reservedName] DescriptorProto reservedName - * @property {google.protobuf.SymbolVisibility|null} [visibility] DescriptorProto visibility */ /** @@ -25173,14 +24512,6 @@ */ DescriptorProto.prototype.reservedName = $util.emptyArray; - /** - * DescriptorProto visibility. - * @member {google.protobuf.SymbolVisibility} visibility - * @memberof google.protobuf.DescriptorProto - * @instance - */ - DescriptorProto.prototype.visibility = 0; - /** * Creates a new DescriptorProto instance using the specified properties. * @function create @@ -25233,8 +24564,6 @@ if (message.reservedName != null && message.reservedName.length) for (var i = 0; i < message.reservedName.length; ++i) writer.uint32(/* id 10, wireType 2 =*/82).string(message.reservedName[i]); - if (message.visibility != null && Object.hasOwnProperty.call(message, "visibility")) - writer.uint32(/* id 11, wireType 0 =*/88).int32(message.visibility); return writer; }; @@ -25327,10 +24656,6 @@ message.reservedName.push(reader.string()); break; } - case 11: { - message.visibility = reader.int32(); - break; - } default: reader.skipType(tag & 7); break; @@ -25444,15 +24769,6 @@ if (!$util.isString(message.reservedName[i])) return "reservedName: string[] expected"; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - switch (message.visibility) { - default: - return "visibility: enum value expected"; - case 0: - case 1: - case 2: - break; - } return null; }; @@ -25552,26 +24868,6 @@ for (var i = 0; i < object.reservedName.length; ++i) message.reservedName[i] = String(object.reservedName[i]); } - switch (object.visibility) { - default: - if (typeof object.visibility === "number") { - message.visibility = object.visibility; - break; - } - break; - case "VISIBILITY_UNSET": - case 0: - message.visibility = 0; - break; - case "VISIBILITY_LOCAL": - case 1: - message.visibility = 1; - break; - case "VISIBILITY_EXPORT": - case 2: - message.visibility = 2; - break; - } return message; }; @@ -25601,7 +24897,6 @@ if (options.defaults) { object.name = ""; object.options = null; - object.visibility = options.enums === String ? "VISIBILITY_UNSET" : 0; } if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; @@ -25647,8 +24942,6 @@ for (var j = 0; j < message.reservedName.length; ++j) object.reservedName[j] = message.reservedName[j]; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - object.visibility = options.enums === String ? $root.google.protobuf.SymbolVisibility[message.visibility] === undefined ? message.visibility : $root.google.protobuf.SymbolVisibility[message.visibility] : message.visibility; return object; }; @@ -27693,7 +26986,6 @@ * @property {google.protobuf.IEnumOptions|null} [options] EnumDescriptorProto options * @property {Array.|null} [reservedRange] EnumDescriptorProto reservedRange * @property {Array.|null} [reservedName] EnumDescriptorProto reservedName - * @property {google.protobuf.SymbolVisibility|null} [visibility] EnumDescriptorProto visibility */ /** @@ -27754,14 +27046,6 @@ */ EnumDescriptorProto.prototype.reservedName = $util.emptyArray; - /** - * EnumDescriptorProto visibility. - * @member {google.protobuf.SymbolVisibility} visibility - * @memberof google.protobuf.EnumDescriptorProto - * @instance - */ - EnumDescriptorProto.prototype.visibility = 0; - /** * Creates a new EnumDescriptorProto instance using the specified properties. * @function create @@ -27799,8 +27083,6 @@ if (message.reservedName != null && message.reservedName.length) for (var i = 0; i < message.reservedName.length; ++i) writer.uint32(/* id 5, wireType 2 =*/42).string(message.reservedName[i]); - if (message.visibility != null && Object.hasOwnProperty.call(message, "visibility")) - writer.uint32(/* id 6, wireType 0 =*/48).int32(message.visibility); return writer; }; @@ -27863,10 +27145,6 @@ message.reservedName.push(reader.string()); break; } - case 6: { - message.visibility = reader.int32(); - break; - } default: reader.skipType(tag & 7); break; @@ -27935,15 +27213,6 @@ if (!$util.isString(message.reservedName[i])) return "reservedName: string[] expected"; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - switch (message.visibility) { - default: - return "visibility: enum value expected"; - case 0: - case 1: - case 2: - break; - } return null; }; @@ -27993,26 +27262,6 @@ for (var i = 0; i < object.reservedName.length; ++i) message.reservedName[i] = String(object.reservedName[i]); } - switch (object.visibility) { - default: - if (typeof object.visibility === "number") { - message.visibility = object.visibility; - break; - } - break; - case "VISIBILITY_UNSET": - case 0: - message.visibility = 0; - break; - case "VISIBILITY_LOCAL": - case 1: - message.visibility = 1; - break; - case "VISIBILITY_EXPORT": - case 2: - message.visibility = 2; - break; - } return message; }; @@ -28037,7 +27286,6 @@ if (options.defaults) { object.name = ""; object.options = null; - object.visibility = options.enums === String ? "VISIBILITY_UNSET" : 0; } if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; @@ -28058,8 +27306,6 @@ for (var j = 0; j < message.reservedName.length; ++j) object.reservedName[j] = message.reservedName[j]; } - if (message.visibility != null && message.hasOwnProperty("visibility")) - object.visibility = options.enums === String ? $root.google.protobuf.SymbolVisibility[message.visibility] === undefined ? message.visibility : $root.google.protobuf.SymbolVisibility[message.visibility] : message.visibility; return object; }; @@ -30378,7 +29624,6 @@ * @property {Array.|null} [targets] FieldOptions targets * @property {Array.|null} [editionDefaults] FieldOptions editionDefaults * @property {google.protobuf.IFeatureSet|null} [features] FieldOptions features - * @property {google.protobuf.FieldOptions.IFeatureSupport|null} [featureSupport] FieldOptions featureSupport * @property {Array.|null} [uninterpretedOption] FieldOptions uninterpretedOption * @property {Array.|null} [".google.api.fieldBehavior"] FieldOptions .google.api.fieldBehavior * @property {google.api.IResourceReference|null} [".google.api.resourceReference"] FieldOptions .google.api.resourceReference @@ -30499,14 +29744,6 @@ */ FieldOptions.prototype.features = null; - /** - * FieldOptions featureSupport. - * @member {google.protobuf.FieldOptions.IFeatureSupport|null|undefined} featureSupport - * @memberof google.protobuf.FieldOptions - * @instance - */ - FieldOptions.prototype.featureSupport = null; - /** * FieldOptions uninterpretedOption. * @member {Array.} uninterpretedOption @@ -30581,8 +29818,6 @@ $root.google.protobuf.FieldOptions.EditionDefault.encode(message.editionDefaults[i], writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim(); if (message.features != null && Object.hasOwnProperty.call(message, "features")) $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim(); - if (message.featureSupport != null && Object.hasOwnProperty.call(message, "featureSupport")) - $root.google.protobuf.FieldOptions.FeatureSupport.encode(message.featureSupport, writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim(); if (message.uninterpretedOption != null && message.uninterpretedOption.length) for (var i = 0; i < message.uninterpretedOption.length; ++i) $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim(); @@ -30684,10 +29919,6 @@ message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); break; } - case 22: { - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.decode(reader, reader.uint32()); - break; - } case 999: { if (!(message.uninterpretedOption && message.uninterpretedOption.length)) message.uninterpretedOption = []; @@ -30823,11 +30054,6 @@ if (error) return "features." + error; } - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) { - var error = $root.google.protobuf.FieldOptions.FeatureSupport.verify(message.featureSupport); - if (error) - return "featureSupport." + error; - } if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) { if (!Array.isArray(message.uninterpretedOption)) return "uninterpretedOption: array expected"; @@ -31016,11 +30242,6 @@ throw TypeError(".google.protobuf.FieldOptions.features: object expected"); message.features = $root.google.protobuf.FeatureSet.fromObject(object.features); } - if (object.featureSupport != null) { - if (typeof object.featureSupport !== "object") - throw TypeError(".google.protobuf.FieldOptions.featureSupport: object expected"); - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.fromObject(object.featureSupport); - } if (object.uninterpretedOption) { if (!Array.isArray(object.uninterpretedOption)) throw TypeError(".google.protobuf.FieldOptions.uninterpretedOption: array expected"); @@ -31118,7 +30339,6 @@ object.debugRedact = false; object.retention = options.enums === String ? "RETENTION_UNKNOWN" : 0; object.features = null; - object.featureSupport = null; object[".google.api.resourceReference"] = null; } if (message.ctype != null && message.hasOwnProperty("ctype")) @@ -31151,8 +30371,6 @@ } if (message.features != null && message.hasOwnProperty("features")) object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options); - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) - object.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.toObject(message.featureSupport, options); if (message.uninterpretedOption && message.uninterpretedOption.length) { object.uninterpretedOption = []; for (var j = 0; j < message.uninterpretedOption.length; ++j) @@ -31425,7 +30643,6 @@ default: return "edition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -31467,589 +30684,103 @@ case 0: message.edition = 0; break; - case "EDITION_LEGACY": - case 900: - message.edition = 900; - break; case "EDITION_PROTO2": case 998: message.edition = 998; break; case "EDITION_PROTO3": case 999: - message.edition = 999; - break; - case "EDITION_2023": - case 1000: - message.edition = 1000; - break; - case "EDITION_2024": - case 1001: - message.edition = 1001; - break; - case "EDITION_1_TEST_ONLY": - case 1: - message.edition = 1; - break; - case "EDITION_2_TEST_ONLY": - case 2: - message.edition = 2; - break; - case "EDITION_99997_TEST_ONLY": - case 99997: - message.edition = 99997; - break; - case "EDITION_99998_TEST_ONLY": - case 99998: - message.edition = 99998; - break; - case "EDITION_99999_TEST_ONLY": - case 99999: - message.edition = 99999; - break; - case "EDITION_MAX": - case 2147483647: - message.edition = 2147483647; - break; - } - if (object.value != null) - message.value = String(object.value); - return message; - }; - - /** - * Creates a plain object from an EditionDefault message. Also converts values to other types if specified. - * @function toObject - * @memberof google.protobuf.FieldOptions.EditionDefault - * @static - * @param {google.protobuf.FieldOptions.EditionDefault} message EditionDefault - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - EditionDefault.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.value = ""; - object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0; - } - if (message.value != null && message.hasOwnProperty("value")) - object.value = message.value; - if (message.edition != null && message.hasOwnProperty("edition")) - object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; - return object; - }; - - /** - * Converts this EditionDefault to JSON. - * @function toJSON - * @memberof google.protobuf.FieldOptions.EditionDefault - * @instance - * @returns {Object.} JSON object - */ - EditionDefault.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for EditionDefault - * @function getTypeUrl - * @memberof google.protobuf.FieldOptions.EditionDefault - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - EditionDefault.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.FieldOptions.EditionDefault"; - }; - - return EditionDefault; - })(); - - FieldOptions.FeatureSupport = (function() { - - /** - * Properties of a FeatureSupport. - * @memberof google.protobuf.FieldOptions - * @interface IFeatureSupport - * @property {google.protobuf.Edition|null} [editionIntroduced] FeatureSupport editionIntroduced - * @property {google.protobuf.Edition|null} [editionDeprecated] FeatureSupport editionDeprecated - * @property {string|null} [deprecationWarning] FeatureSupport deprecationWarning - * @property {google.protobuf.Edition|null} [editionRemoved] FeatureSupport editionRemoved - */ - - /** - * Constructs a new FeatureSupport. - * @memberof google.protobuf.FieldOptions - * @classdesc Represents a FeatureSupport. - * @implements IFeatureSupport - * @constructor - * @param {google.protobuf.FieldOptions.IFeatureSupport=} [properties] Properties to set - */ - function FeatureSupport(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * FeatureSupport editionIntroduced. - * @member {google.protobuf.Edition} editionIntroduced - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @instance - */ - FeatureSupport.prototype.editionIntroduced = 0; - - /** - * FeatureSupport editionDeprecated. - * @member {google.protobuf.Edition} editionDeprecated - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @instance - */ - FeatureSupport.prototype.editionDeprecated = 0; - - /** - * FeatureSupport deprecationWarning. - * @member {string} deprecationWarning - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @instance - */ - FeatureSupport.prototype.deprecationWarning = ""; - - /** - * FeatureSupport editionRemoved. - * @member {google.protobuf.Edition} editionRemoved - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @instance - */ - FeatureSupport.prototype.editionRemoved = 0; - - /** - * Creates a new FeatureSupport instance using the specified properties. - * @function create - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {google.protobuf.FieldOptions.IFeatureSupport=} [properties] Properties to set - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport instance - */ - FeatureSupport.create = function create(properties) { - return new FeatureSupport(properties); - }; - - /** - * Encodes the specified FeatureSupport message. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. - * @function encode - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {google.protobuf.FieldOptions.IFeatureSupport} message FeatureSupport message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - FeatureSupport.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.editionIntroduced != null && Object.hasOwnProperty.call(message, "editionIntroduced")) - writer.uint32(/* id 1, wireType 0 =*/8).int32(message.editionIntroduced); - if (message.editionDeprecated != null && Object.hasOwnProperty.call(message, "editionDeprecated")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.editionDeprecated); - if (message.deprecationWarning != null && Object.hasOwnProperty.call(message, "deprecationWarning")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.deprecationWarning); - if (message.editionRemoved != null && Object.hasOwnProperty.call(message, "editionRemoved")) - writer.uint32(/* id 4, wireType 0 =*/32).int32(message.editionRemoved); - return writer; - }; - - /** - * Encodes the specified FeatureSupport message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. - * @function encodeDelimited - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {google.protobuf.FieldOptions.IFeatureSupport} message FeatureSupport message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - FeatureSupport.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a FeatureSupport message from the specified reader or buffer. - * @function decode - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - FeatureSupport.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FieldOptions.FeatureSupport(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.editionIntroduced = reader.int32(); - break; - } - case 2: { - message.editionDeprecated = reader.int32(); - break; - } - case 3: { - message.deprecationWarning = reader.string(); - break; - } - case 4: { - message.editionRemoved = reader.int32(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a FeatureSupport message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - FeatureSupport.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a FeatureSupport message. - * @function verify - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - FeatureSupport.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.editionIntroduced != null && message.hasOwnProperty("editionIntroduced")) - switch (message.editionIntroduced) { - default: - return "editionIntroduced: enum value expected"; - case 0: - case 900: - case 998: - case 999: - case 1000: - case 1001: - case 1: - case 2: - case 99997: - case 99998: - case 99999: - case 2147483647: - break; - } - if (message.editionDeprecated != null && message.hasOwnProperty("editionDeprecated")) - switch (message.editionDeprecated) { - default: - return "editionDeprecated: enum value expected"; - case 0: - case 900: - case 998: - case 999: - case 1000: - case 1001: - case 1: - case 2: - case 99997: - case 99998: - case 99999: - case 2147483647: - break; - } - if (message.deprecationWarning != null && message.hasOwnProperty("deprecationWarning")) - if (!$util.isString(message.deprecationWarning)) - return "deprecationWarning: string expected"; - if (message.editionRemoved != null && message.hasOwnProperty("editionRemoved")) - switch (message.editionRemoved) { - default: - return "editionRemoved: enum value expected"; - case 0: - case 900: - case 998: - case 999: - case 1000: - case 1001: - case 1: - case 2: - case 99997: - case 99998: - case 99999: - case 2147483647: - break; - } - return null; - }; - - /** - * Creates a FeatureSupport message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.protobuf.FieldOptions.FeatureSupport - * @static - * @param {Object.} object Plain object - * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport - */ - FeatureSupport.fromObject = function fromObject(object) { - if (object instanceof $root.google.protobuf.FieldOptions.FeatureSupport) - return object; - var message = new $root.google.protobuf.FieldOptions.FeatureSupport(); - switch (object.editionIntroduced) { - default: - if (typeof object.editionIntroduced === "number") { - message.editionIntroduced = object.editionIntroduced; - break; - } - break; - case "EDITION_UNKNOWN": - case 0: - message.editionIntroduced = 0; - break; - case "EDITION_LEGACY": - case 900: - message.editionIntroduced = 900; - break; - case "EDITION_PROTO2": - case 998: - message.editionIntroduced = 998; - break; - case "EDITION_PROTO3": - case 999: - message.editionIntroduced = 999; - break; - case "EDITION_2023": - case 1000: - message.editionIntroduced = 1000; - break; - case "EDITION_2024": - case 1001: - message.editionIntroduced = 1001; - break; - case "EDITION_1_TEST_ONLY": - case 1: - message.editionIntroduced = 1; - break; - case "EDITION_2_TEST_ONLY": - case 2: - message.editionIntroduced = 2; - break; - case "EDITION_99997_TEST_ONLY": - case 99997: - message.editionIntroduced = 99997; - break; - case "EDITION_99998_TEST_ONLY": - case 99998: - message.editionIntroduced = 99998; - break; - case "EDITION_99999_TEST_ONLY": - case 99999: - message.editionIntroduced = 99999; - break; - case "EDITION_MAX": - case 2147483647: - message.editionIntroduced = 2147483647; - break; - } - switch (object.editionDeprecated) { - default: - if (typeof object.editionDeprecated === "number") { - message.editionDeprecated = object.editionDeprecated; - break; - } - break; - case "EDITION_UNKNOWN": - case 0: - message.editionDeprecated = 0; - break; - case "EDITION_LEGACY": - case 900: - message.editionDeprecated = 900; - break; - case "EDITION_PROTO2": - case 998: - message.editionDeprecated = 998; - break; - case "EDITION_PROTO3": - case 999: - message.editionDeprecated = 999; - break; - case "EDITION_2023": - case 1000: - message.editionDeprecated = 1000; - break; - case "EDITION_2024": - case 1001: - message.editionDeprecated = 1001; - break; - case "EDITION_1_TEST_ONLY": - case 1: - message.editionDeprecated = 1; - break; - case "EDITION_2_TEST_ONLY": - case 2: - message.editionDeprecated = 2; - break; - case "EDITION_99997_TEST_ONLY": - case 99997: - message.editionDeprecated = 99997; - break; - case "EDITION_99998_TEST_ONLY": - case 99998: - message.editionDeprecated = 99998; - break; - case "EDITION_99999_TEST_ONLY": - case 99999: - message.editionDeprecated = 99999; - break; - case "EDITION_MAX": - case 2147483647: - message.editionDeprecated = 2147483647; - break; - } - if (object.deprecationWarning != null) - message.deprecationWarning = String(object.deprecationWarning); - switch (object.editionRemoved) { - default: - if (typeof object.editionRemoved === "number") { - message.editionRemoved = object.editionRemoved; - break; - } - break; - case "EDITION_UNKNOWN": - case 0: - message.editionRemoved = 0; - break; - case "EDITION_LEGACY": - case 900: - message.editionRemoved = 900; - break; - case "EDITION_PROTO2": - case 998: - message.editionRemoved = 998; - break; - case "EDITION_PROTO3": - case 999: - message.editionRemoved = 999; + message.edition = 999; break; case "EDITION_2023": case 1000: - message.editionRemoved = 1000; + message.edition = 1000; break; case "EDITION_2024": case 1001: - message.editionRemoved = 1001; + message.edition = 1001; break; case "EDITION_1_TEST_ONLY": case 1: - message.editionRemoved = 1; + message.edition = 1; break; case "EDITION_2_TEST_ONLY": case 2: - message.editionRemoved = 2; + message.edition = 2; break; case "EDITION_99997_TEST_ONLY": case 99997: - message.editionRemoved = 99997; + message.edition = 99997; break; case "EDITION_99998_TEST_ONLY": case 99998: - message.editionRemoved = 99998; + message.edition = 99998; break; case "EDITION_99999_TEST_ONLY": case 99999: - message.editionRemoved = 99999; + message.edition = 99999; break; case "EDITION_MAX": case 2147483647: - message.editionRemoved = 2147483647; + message.edition = 2147483647; break; } + if (object.value != null) + message.value = String(object.value); return message; }; /** - * Creates a plain object from a FeatureSupport message. Also converts values to other types if specified. + * Creates a plain object from an EditionDefault message. Also converts values to other types if specified. * @function toObject - * @memberof google.protobuf.FieldOptions.FeatureSupport + * @memberof google.protobuf.FieldOptions.EditionDefault * @static - * @param {google.protobuf.FieldOptions.FeatureSupport} message FeatureSupport + * @param {google.protobuf.FieldOptions.EditionDefault} message EditionDefault * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - FeatureSupport.toObject = function toObject(message, options) { + EditionDefault.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; if (options.defaults) { - object.editionIntroduced = options.enums === String ? "EDITION_UNKNOWN" : 0; - object.editionDeprecated = options.enums === String ? "EDITION_UNKNOWN" : 0; - object.deprecationWarning = ""; - object.editionRemoved = options.enums === String ? "EDITION_UNKNOWN" : 0; - } - if (message.editionIntroduced != null && message.hasOwnProperty("editionIntroduced")) - object.editionIntroduced = options.enums === String ? $root.google.protobuf.Edition[message.editionIntroduced] === undefined ? message.editionIntroduced : $root.google.protobuf.Edition[message.editionIntroduced] : message.editionIntroduced; - if (message.editionDeprecated != null && message.hasOwnProperty("editionDeprecated")) - object.editionDeprecated = options.enums === String ? $root.google.protobuf.Edition[message.editionDeprecated] === undefined ? message.editionDeprecated : $root.google.protobuf.Edition[message.editionDeprecated] : message.editionDeprecated; - if (message.deprecationWarning != null && message.hasOwnProperty("deprecationWarning")) - object.deprecationWarning = message.deprecationWarning; - if (message.editionRemoved != null && message.hasOwnProperty("editionRemoved")) - object.editionRemoved = options.enums === String ? $root.google.protobuf.Edition[message.editionRemoved] === undefined ? message.editionRemoved : $root.google.protobuf.Edition[message.editionRemoved] : message.editionRemoved; + object.value = ""; + object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0; + } + if (message.value != null && message.hasOwnProperty("value")) + object.value = message.value; + if (message.edition != null && message.hasOwnProperty("edition")) + object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; return object; }; /** - * Converts this FeatureSupport to JSON. + * Converts this EditionDefault to JSON. * @function toJSON - * @memberof google.protobuf.FieldOptions.FeatureSupport + * @memberof google.protobuf.FieldOptions.EditionDefault * @instance * @returns {Object.} JSON object */ - FeatureSupport.prototype.toJSON = function toJSON() { + EditionDefault.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for FeatureSupport + * Gets the default type url for EditionDefault * @function getTypeUrl - * @memberof google.protobuf.FieldOptions.FeatureSupport + * @memberof google.protobuf.FieldOptions.EditionDefault * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - FeatureSupport.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + EditionDefault.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.protobuf.FieldOptions.FeatureSupport"; + return typeUrlPrefix + "/google.protobuf.FieldOptions.EditionDefault"; }; - return FeatureSupport; + return EditionDefault; })(); return FieldOptions; @@ -32644,7 +31375,6 @@ * @property {boolean|null} [deprecated] EnumValueOptions deprecated * @property {google.protobuf.IFeatureSet|null} [features] EnumValueOptions features * @property {boolean|null} [debugRedact] EnumValueOptions debugRedact - * @property {google.protobuf.FieldOptions.IFeatureSupport|null} [featureSupport] EnumValueOptions featureSupport * @property {Array.|null} [uninterpretedOption] EnumValueOptions uninterpretedOption */ @@ -32688,14 +31418,6 @@ */ EnumValueOptions.prototype.debugRedact = false; - /** - * EnumValueOptions featureSupport. - * @member {google.protobuf.FieldOptions.IFeatureSupport|null|undefined} featureSupport - * @memberof google.protobuf.EnumValueOptions - * @instance - */ - EnumValueOptions.prototype.featureSupport = null; - /** * EnumValueOptions uninterpretedOption. * @member {Array.} uninterpretedOption @@ -32734,8 +31456,6 @@ $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); if (message.debugRedact != null && Object.hasOwnProperty.call(message, "debugRedact")) writer.uint32(/* id 3, wireType 0 =*/24).bool(message.debugRedact); - if (message.featureSupport != null && Object.hasOwnProperty.call(message, "featureSupport")) - $root.google.protobuf.FieldOptions.FeatureSupport.encode(message.featureSupport, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); if (message.uninterpretedOption != null && message.uninterpretedOption.length) for (var i = 0; i < message.uninterpretedOption.length; ++i) $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim(); @@ -32787,10 +31507,6 @@ message.debugRedact = reader.bool(); break; } - case 4: { - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.decode(reader, reader.uint32()); - break; - } case 999: { if (!(message.uninterpretedOption && message.uninterpretedOption.length)) message.uninterpretedOption = []; @@ -32843,11 +31559,6 @@ if (message.debugRedact != null && message.hasOwnProperty("debugRedact")) if (typeof message.debugRedact !== "boolean") return "debugRedact: boolean expected"; - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) { - var error = $root.google.protobuf.FieldOptions.FeatureSupport.verify(message.featureSupport); - if (error) - return "featureSupport." + error; - } if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) { if (!Array.isArray(message.uninterpretedOption)) return "uninterpretedOption: array expected"; @@ -32881,11 +31592,6 @@ } if (object.debugRedact != null) message.debugRedact = Boolean(object.debugRedact); - if (object.featureSupport != null) { - if (typeof object.featureSupport !== "object") - throw TypeError(".google.protobuf.EnumValueOptions.featureSupport: object expected"); - message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.fromObject(object.featureSupport); - } if (object.uninterpretedOption) { if (!Array.isArray(object.uninterpretedOption)) throw TypeError(".google.protobuf.EnumValueOptions.uninterpretedOption: array expected"); @@ -32918,7 +31624,6 @@ object.deprecated = false; object.features = null; object.debugRedact = false; - object.featureSupport = null; } if (message.deprecated != null && message.hasOwnProperty("deprecated")) object.deprecated = message.deprecated; @@ -32926,8 +31631,6 @@ object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options); if (message.debugRedact != null && message.hasOwnProperty("debugRedact")) object.debugRedact = message.debugRedact; - if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) - object.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.toObject(message.featureSupport, options); if (message.uninterpretedOption && message.uninterpretedOption.length) { object.uninterpretedOption = []; for (var j = 0; j < message.uninterpretedOption.length; ++j) @@ -34395,8 +33098,6 @@ * @property {google.protobuf.FeatureSet.Utf8Validation|null} [utf8Validation] FeatureSet utf8Validation * @property {google.protobuf.FeatureSet.MessageEncoding|null} [messageEncoding] FeatureSet messageEncoding * @property {google.protobuf.FeatureSet.JsonFormat|null} [jsonFormat] FeatureSet jsonFormat - * @property {google.protobuf.FeatureSet.EnforceNamingStyle|null} [enforceNamingStyle] FeatureSet enforceNamingStyle - * @property {google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|null} [defaultSymbolVisibility] FeatureSet defaultSymbolVisibility */ /** @@ -34462,22 +33163,6 @@ */ FeatureSet.prototype.jsonFormat = 0; - /** - * FeatureSet enforceNamingStyle. - * @member {google.protobuf.FeatureSet.EnforceNamingStyle} enforceNamingStyle - * @memberof google.protobuf.FeatureSet - * @instance - */ - FeatureSet.prototype.enforceNamingStyle = 0; - - /** - * FeatureSet defaultSymbolVisibility. - * @member {google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility} defaultSymbolVisibility - * @memberof google.protobuf.FeatureSet - * @instance - */ - FeatureSet.prototype.defaultSymbolVisibility = 0; - /** * Creates a new FeatureSet instance using the specified properties. * @function create @@ -34514,10 +33199,6 @@ writer.uint32(/* id 5, wireType 0 =*/40).int32(message.messageEncoding); if (message.jsonFormat != null && Object.hasOwnProperty.call(message, "jsonFormat")) writer.uint32(/* id 6, wireType 0 =*/48).int32(message.jsonFormat); - if (message.enforceNamingStyle != null && Object.hasOwnProperty.call(message, "enforceNamingStyle")) - writer.uint32(/* id 7, wireType 0 =*/56).int32(message.enforceNamingStyle); - if (message.defaultSymbolVisibility != null && Object.hasOwnProperty.call(message, "defaultSymbolVisibility")) - writer.uint32(/* id 8, wireType 0 =*/64).int32(message.defaultSymbolVisibility); return writer; }; @@ -34578,14 +33259,6 @@ message.jsonFormat = reader.int32(); break; } - case 7: { - message.enforceNamingStyle = reader.int32(); - break; - } - case 8: { - message.defaultSymbolVisibility = reader.int32(); - break; - } default: reader.skipType(tag & 7); break; @@ -34676,26 +33349,6 @@ case 2: break; } - if (message.enforceNamingStyle != null && message.hasOwnProperty("enforceNamingStyle")) - switch (message.enforceNamingStyle) { - default: - return "enforceNamingStyle: enum value expected"; - case 0: - case 1: - case 2: - break; - } - if (message.defaultSymbolVisibility != null && message.hasOwnProperty("defaultSymbolVisibility")) - switch (message.defaultSymbolVisibility) { - default: - return "defaultSymbolVisibility: enum value expected"; - case 0: - case 1: - case 2: - case 3: - case 4: - break; - } return null; }; @@ -34835,54 +33488,6 @@ message.jsonFormat = 2; break; } - switch (object.enforceNamingStyle) { - default: - if (typeof object.enforceNamingStyle === "number") { - message.enforceNamingStyle = object.enforceNamingStyle; - break; - } - break; - case "ENFORCE_NAMING_STYLE_UNKNOWN": - case 0: - message.enforceNamingStyle = 0; - break; - case "STYLE2024": - case 1: - message.enforceNamingStyle = 1; - break; - case "STYLE_LEGACY": - case 2: - message.enforceNamingStyle = 2; - break; - } - switch (object.defaultSymbolVisibility) { - default: - if (typeof object.defaultSymbolVisibility === "number") { - message.defaultSymbolVisibility = object.defaultSymbolVisibility; - break; - } - break; - case "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN": - case 0: - message.defaultSymbolVisibility = 0; - break; - case "EXPORT_ALL": - case 1: - message.defaultSymbolVisibility = 1; - break; - case "EXPORT_TOP_LEVEL": - case 2: - message.defaultSymbolVisibility = 2; - break; - case "LOCAL_ALL": - case 3: - message.defaultSymbolVisibility = 3; - break; - case "STRICT": - case 4: - message.defaultSymbolVisibility = 4; - break; - } return message; }; @@ -34906,8 +33511,6 @@ object.utf8Validation = options.enums === String ? "UTF8_VALIDATION_UNKNOWN" : 0; object.messageEncoding = options.enums === String ? "MESSAGE_ENCODING_UNKNOWN" : 0; object.jsonFormat = options.enums === String ? "JSON_FORMAT_UNKNOWN" : 0; - object.enforceNamingStyle = options.enums === String ? "ENFORCE_NAMING_STYLE_UNKNOWN" : 0; - object.defaultSymbolVisibility = options.enums === String ? "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN" : 0; } if (message.fieldPresence != null && message.hasOwnProperty("fieldPresence")) object.fieldPresence = options.enums === String ? $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] === undefined ? message.fieldPresence : $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] : message.fieldPresence; @@ -34921,10 +33524,6 @@ object.messageEncoding = options.enums === String ? $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] === undefined ? message.messageEncoding : $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] : message.messageEncoding; if (message.jsonFormat != null && message.hasOwnProperty("jsonFormat")) object.jsonFormat = options.enums === String ? $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] === undefined ? message.jsonFormat : $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] : message.jsonFormat; - if (message.enforceNamingStyle != null && message.hasOwnProperty("enforceNamingStyle")) - object.enforceNamingStyle = options.enums === String ? $root.google.protobuf.FeatureSet.EnforceNamingStyle[message.enforceNamingStyle] === undefined ? message.enforceNamingStyle : $root.google.protobuf.FeatureSet.EnforceNamingStyle[message.enforceNamingStyle] : message.enforceNamingStyle; - if (message.defaultSymbolVisibility != null && message.hasOwnProperty("defaultSymbolVisibility")) - object.defaultSymbolVisibility = options.enums === String ? $root.google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility[message.defaultSymbolVisibility] === undefined ? message.defaultSymbolVisibility : $root.google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility[message.defaultSymbolVisibility] : message.defaultSymbolVisibility; return object; }; @@ -35052,219 +33651,6 @@ return values; })(); - /** - * EnforceNamingStyle enum. - * @name google.protobuf.FeatureSet.EnforceNamingStyle - * @enum {number} - * @property {number} ENFORCE_NAMING_STYLE_UNKNOWN=0 ENFORCE_NAMING_STYLE_UNKNOWN value - * @property {number} STYLE2024=1 STYLE2024 value - * @property {number} STYLE_LEGACY=2 STYLE_LEGACY value - */ - FeatureSet.EnforceNamingStyle = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "ENFORCE_NAMING_STYLE_UNKNOWN"] = 0; - values[valuesById[1] = "STYLE2024"] = 1; - values[valuesById[2] = "STYLE_LEGACY"] = 2; - return values; - })(); - - FeatureSet.VisibilityFeature = (function() { - - /** - * Properties of a VisibilityFeature. - * @memberof google.protobuf.FeatureSet - * @interface IVisibilityFeature - */ - - /** - * Constructs a new VisibilityFeature. - * @memberof google.protobuf.FeatureSet - * @classdesc Represents a VisibilityFeature. - * @implements IVisibilityFeature - * @constructor - * @param {google.protobuf.FeatureSet.IVisibilityFeature=} [properties] Properties to set - */ - function VisibilityFeature(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * Creates a new VisibilityFeature instance using the specified properties. - * @function create - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.IVisibilityFeature=} [properties] Properties to set - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature instance - */ - VisibilityFeature.create = function create(properties) { - return new VisibilityFeature(properties); - }; - - /** - * Encodes the specified VisibilityFeature message. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @function encode - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.IVisibilityFeature} message VisibilityFeature message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - VisibilityFeature.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - return writer; - }; - - /** - * Encodes the specified VisibilityFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. - * @function encodeDelimited - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.IVisibilityFeature} message VisibilityFeature message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - VisibilityFeature.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer. - * @function decode - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - VisibilityFeature.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FeatureSet.VisibilityFeature(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a VisibilityFeature message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - VisibilityFeature.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a VisibilityFeature message. - * @function verify - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - VisibilityFeature.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - return null; - }; - - /** - * Creates a VisibilityFeature message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {Object.} object Plain object - * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature - */ - VisibilityFeature.fromObject = function fromObject(object) { - if (object instanceof $root.google.protobuf.FeatureSet.VisibilityFeature) - return object; - return new $root.google.protobuf.FeatureSet.VisibilityFeature(); - }; - - /** - * Creates a plain object from a VisibilityFeature message. Also converts values to other types if specified. - * @function toObject - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {google.protobuf.FeatureSet.VisibilityFeature} message VisibilityFeature - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - VisibilityFeature.toObject = function toObject() { - return {}; - }; - - /** - * Converts this VisibilityFeature to JSON. - * @function toJSON - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @instance - * @returns {Object.} JSON object - */ - VisibilityFeature.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for VisibilityFeature - * @function getTypeUrl - * @memberof google.protobuf.FeatureSet.VisibilityFeature - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - VisibilityFeature.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.FeatureSet.VisibilityFeature"; - }; - - /** - * DefaultSymbolVisibility enum. - * @name google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility - * @enum {number} - * @property {number} DEFAULT_SYMBOL_VISIBILITY_UNKNOWN=0 DEFAULT_SYMBOL_VISIBILITY_UNKNOWN value - * @property {number} EXPORT_ALL=1 EXPORT_ALL value - * @property {number} EXPORT_TOP_LEVEL=2 EXPORT_TOP_LEVEL value - * @property {number} LOCAL_ALL=3 LOCAL_ALL value - * @property {number} STRICT=4 STRICT value - */ - VisibilityFeature.DefaultSymbolVisibility = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN"] = 0; - values[valuesById[1] = "EXPORT_ALL"] = 1; - values[valuesById[2] = "EXPORT_TOP_LEVEL"] = 2; - values[valuesById[3] = "LOCAL_ALL"] = 3; - values[valuesById[4] = "STRICT"] = 4; - return values; - })(); - - return VisibilityFeature; - })(); - return FeatureSet; })(); @@ -35449,7 +33835,6 @@ default: return "minimumEdition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -35467,7 +33852,6 @@ default: return "maximumEdition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -35516,10 +33900,6 @@ case 0: message.minimumEdition = 0; break; - case "EDITION_LEGACY": - case 900: - message.minimumEdition = 900; - break; case "EDITION_PROTO2": case 998: message.minimumEdition = 998; @@ -35572,10 +33952,6 @@ case 0: message.maximumEdition = 0; break; - case "EDITION_LEGACY": - case 900: - message.maximumEdition = 900; - break; case "EDITION_PROTO2": case 998: message.maximumEdition = 998; @@ -35684,8 +34060,7 @@ * @memberof google.protobuf.FeatureSetDefaults * @interface IFeatureSetEditionDefault * @property {google.protobuf.Edition|null} [edition] FeatureSetEditionDefault edition - * @property {google.protobuf.IFeatureSet|null} [overridableFeatures] FeatureSetEditionDefault overridableFeatures - * @property {google.protobuf.IFeatureSet|null} [fixedFeatures] FeatureSetEditionDefault fixedFeatures + * @property {google.protobuf.IFeatureSet|null} [features] FeatureSetEditionDefault features */ /** @@ -35712,20 +34087,12 @@ FeatureSetEditionDefault.prototype.edition = 0; /** - * FeatureSetEditionDefault overridableFeatures. - * @member {google.protobuf.IFeatureSet|null|undefined} overridableFeatures - * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault - * @instance - */ - FeatureSetEditionDefault.prototype.overridableFeatures = null; - - /** - * FeatureSetEditionDefault fixedFeatures. - * @member {google.protobuf.IFeatureSet|null|undefined} fixedFeatures + * FeatureSetEditionDefault features. + * @member {google.protobuf.IFeatureSet|null|undefined} features * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault * @instance */ - FeatureSetEditionDefault.prototype.fixedFeatures = null; + FeatureSetEditionDefault.prototype.features = null; /** * Creates a new FeatureSetEditionDefault instance using the specified properties. @@ -35751,12 +34118,10 @@ FeatureSetEditionDefault.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); + if (message.features != null && Object.hasOwnProperty.call(message, "features")) + $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); if (message.edition != null && Object.hasOwnProperty.call(message, "edition")) writer.uint32(/* id 3, wireType 0 =*/24).int32(message.edition); - if (message.overridableFeatures != null && Object.hasOwnProperty.call(message, "overridableFeatures")) - $root.google.protobuf.FeatureSet.encode(message.overridableFeatures, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.fixedFeatures != null && Object.hasOwnProperty.call(message, "fixedFeatures")) - $root.google.protobuf.FeatureSet.encode(message.fixedFeatures, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); return writer; }; @@ -35797,12 +34162,8 @@ message.edition = reader.int32(); break; } - case 4: { - message.overridableFeatures = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); - break; - } - case 5: { - message.fixedFeatures = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); + case 2: { + message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32()); break; } default: @@ -35845,7 +34206,6 @@ default: return "edition: enum value expected"; case 0: - case 900: case 998: case 999: case 1000: @@ -35858,15 +34218,10 @@ case 2147483647: break; } - if (message.overridableFeatures != null && message.hasOwnProperty("overridableFeatures")) { - var error = $root.google.protobuf.FeatureSet.verify(message.overridableFeatures); - if (error) - return "overridableFeatures." + error; - } - if (message.fixedFeatures != null && message.hasOwnProperty("fixedFeatures")) { - var error = $root.google.protobuf.FeatureSet.verify(message.fixedFeatures); + if (message.features != null && message.hasOwnProperty("features")) { + var error = $root.google.protobuf.FeatureSet.verify(message.features); if (error) - return "fixedFeatures." + error; + return "features." + error; } return null; }; @@ -35894,10 +34249,6 @@ case 0: message.edition = 0; break; - case "EDITION_LEGACY": - case 900: - message.edition = 900; - break; case "EDITION_PROTO2": case 998: message.edition = 998; @@ -35939,15 +34290,10 @@ message.edition = 2147483647; break; } - if (object.overridableFeatures != null) { - if (typeof object.overridableFeatures !== "object") - throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.overridableFeatures: object expected"); - message.overridableFeatures = $root.google.protobuf.FeatureSet.fromObject(object.overridableFeatures); - } - if (object.fixedFeatures != null) { - if (typeof object.fixedFeatures !== "object") - throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.fixedFeatures: object expected"); - message.fixedFeatures = $root.google.protobuf.FeatureSet.fromObject(object.fixedFeatures); + if (object.features != null) { + if (typeof object.features !== "object") + throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.features: object expected"); + message.features = $root.google.protobuf.FeatureSet.fromObject(object.features); } return message; }; @@ -35966,16 +34312,13 @@ options = {}; var object = {}; if (options.defaults) { + object.features = null; object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0; - object.overridableFeatures = null; - object.fixedFeatures = null; } + if (message.features != null && message.hasOwnProperty("features")) + object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options); if (message.edition != null && message.hasOwnProperty("edition")) object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; - if (message.overridableFeatures != null && message.hasOwnProperty("overridableFeatures")) - object.overridableFeatures = $root.google.protobuf.FeatureSet.toObject(message.overridableFeatures, options); - if (message.fixedFeatures != null && message.hasOwnProperty("fixedFeatures")) - object.fixedFeatures = $root.google.protobuf.FeatureSet.toObject(message.fixedFeatures, options); return object; }; @@ -37190,22 +35533,6 @@ return GeneratedCodeInfo; })(); - /** - * SymbolVisibility enum. - * @name google.protobuf.SymbolVisibility - * @enum {number} - * @property {number} VISIBILITY_UNSET=0 VISIBILITY_UNSET value - * @property {number} VISIBILITY_LOCAL=1 VISIBILITY_LOCAL value - * @property {number} VISIBILITY_EXPORT=2 VISIBILITY_EXPORT value - */ - protobuf.SymbolVisibility = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "VISIBILITY_UNSET"] = 0; - values[valuesById[1] = "VISIBILITY_LOCAL"] = 1; - {"code":"deadline_exceeded","msg":"operation timed out"}