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
[](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."
-# [Data QnA: Node.js Client](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-dataqna)
-
-[](https://cloud.google.com/terms/launch-stages)
-[](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.
+[](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."
-# [Datastream: Node.js Client](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-datastream)
-
-[](https://cloud.google.com/terms/launch-stages)
-[](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
+[](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 Deploy: Node.js Client](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-deploy)
-
-[](https://cloud.google.com/terms/launch-stages)
-[](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
+[](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."
-# [Developer Connect API: Node.js Client](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-developerconnect)
-
-[](https://cloud.google.com/terms/launch-stages)
-[](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.
+[](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."
-# [Device Streaming API: Node.js Client](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-devicestreaming)
-
-[](https://cloud.google.com/terms/launch-stages)
-[](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.
+[](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."
-# [Dialogflow CX API: Node.js Client](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-dialogflow-cx)
-
-[](https://cloud.google.com/terms/launch-stages)
-[](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
+[](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.