diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index 3a48ae64c2a..edc69536e19 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -94,6 +94,7 @@
"packages/google-cloud-securitycenter": "7.0.0",
"packages/google-cloud-servicedirectory": "4.0.4",
"packages/google-cloud-shell": "2.0.4",
+ "packages/google-cloud-tasks": "3.0.5",
"packages/google-cloud-talent": "5.0.1",
"packages/google-cloud-texttospeech": "4.0.4",
"packages/google-cloud-tpu": "2.2.0",
diff --git a/packages/google-cloud-compute/.mocharc.js b/packages/google-cloud-compute/.mocharc.js
index 481c522b00f..cdb7b752160 100644
--- a/packages/google-cloud-compute/.mocharc.js
+++ b/packages/google-cloud-compute/.mocharc.js
@@ -4,22 +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
+// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
-//
-// ** 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
+ "timeout": 10000,
+ "recursive": true
}
if (process.env.MOCHA_THROW_DEPRECATION === 'false') {
delete config['throw-deprecation'];
diff --git a/packages/google-cloud-compute/.prettierrc.js b/packages/google-cloud-compute/.prettierrc.js
index d1b95106f4c..d546a4ad546 100644
--- a/packages/google-cloud-compute/.prettierrc.js
+++ b/packages/google-cloud-compute/.prettierrc.js
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/packages/google-cloud-compute/README.md b/packages/google-cloud-compute/README.md
index 38afb94844e..8c7b69a0628 100644
--- a/packages/google-cloud-compute/README.md
+++ b/packages/google-cloud-compute/README.md
@@ -2,7 +2,7 @@
[//]: # "To regenerate it, use `python -m synthtool`."
-# [Google Compute Engine: Node.js Client](https://github.com/googleapis/nodejs-compute)
+# [Google Compute Engine: Node.js Client](https://github.com/googleapis/google-cloud-node)
[](https://cloud.google.com/terms/launch-stages)
[](https://www.npmjs.org/package/@google-cloud/compute)
@@ -10,26 +10,15 @@
-> Node.js idiomatic client for [Compute Engine][product-docs].
-[Compute Engine](https://cloud.google.com/compute/docs) is a
-computing and hosting service that lets you create and run virtual
-machines on Google infrastructure. Compute Engine offers scale,
-performance, and value that lets you easily launch large compute
-clusters on Google's infrastructure. There are no upfront
-investments, and you can run thousands of virtual CPUs on a system
-that offers quick, consistent performance.
-
-This library is GA from version 3.1.0. It is
-backwards-incompatible with prior versions 0.x.y, 1.x.y, 2.x.y,
-and 3.0.y.
+Google Compute Engine Client Library for Node.js
A comprehensive list of changes in each version may be found in
-[the CHANGELOG](https://github.com/googleapis/nodejs-compute/blob/main/CHANGELOG.md).
+[the CHANGELOG](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-compute/CHANGELOG.md).
* [Google Compute Engine Node.js Client API Reference][client-docs]
* [Google Compute Engine Documentation][product-docs]
-* [github.com/googleapis/nodejs-compute](https://github.com/googleapis/nodejs-compute)
+* [github.com/googleapis/google-cloud-node/packages/google-cloud-compute](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-compute)
Read more about the client libraries for Cloud APIs, including the older
Google APIs Client Libraries, in [Client Libraries Explained][explained].
@@ -42,7 +31,7 @@ Google APIs Client Libraries, in [Client Libraries Explained][explained].
* [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)
@@ -65,33 +54,731 @@ npm install @google-cloud/compute
```
+### Using the client library
+
+```javascript
+/**
+ * TODO(developer): Uncomment and replace these variables before running the sample.
+ */
+// const projectId = 'YOUR_PROJECT_ID';
+
+const compute = require('@google-cloud/compute');
+
+// List all instances in the specified project.
+async function listAllInstances() {
+ const instancesClient = new compute.InstancesClient();
+
+ //Use the `maxResults` parameter to limit the number of results that the API returns per response page.
+ const aggListRequest = instancesClient.aggregatedListAsync({
+ project: projectId,
+ maxResults: 5,
+ });
+
+ console.log('Instances found:');
+
+ // Despite using the `maxResults` parameter, you don't need to handle the pagination
+ // yourself. The returned object handles pagination automatically,
+ // requesting next pages as you iterate over the results.
+ for await (const [zone, instancesObject] of aggListRequest) {
+ const instances = instancesObject.instances;
+
+ if (instances && instances.length > 0) {
+ console.log(` ${zone}`);
+ for (const instance of instances) {
+ console.log(` - ${instance.name} (${instance.machineType})`);
+ }
+ }
+ }
+}
+
+listAllInstances();
+
+```
+
## Samples
-Samples are in the [`samples/`](https://github.com/googleapis/nodejs-compute/tree/main/samples) directory. Each sample's `README.md` has instructions for running its sample.
+Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/tree/main/samples) directory. Each sample's `README.md` has instructions for running its sample.
| Sample | Source Code | Try it |
| --------------------------- | --------------------------------- | ------ |
-| Create Instance | [source code](https://github.com/googleapis/nodejs-compute/blob/main/samples/createInstance.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/createInstance.js,samples/README.md) |
-| Create Instance From Template | [source code](https://github.com/googleapis/nodejs-compute/blob/main/samples/createInstanceFromTemplate.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/createInstanceFromTemplate.js,samples/README.md) |
-| Create Instance From Template With Overrides | [source code](https://github.com/googleapis/nodejs-compute/blob/main/samples/createInstanceFromTemplateWithOverrides.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/createInstanceFromTemplateWithOverrides.js,samples/README.md) |
-| Delete Instance | [source code](https://github.com/googleapis/nodejs-compute/blob/main/samples/deleteInstance.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/deleteInstance.js,samples/README.md) |
-| Disable Usage Export | [source code](https://github.com/googleapis/nodejs-compute/blob/main/samples/disableUsageExport.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/disableUsageExport.js,samples/README.md) |
-| Get Instance | [source code](https://github.com/googleapis/nodejs-compute/blob/main/samples/getInstance.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/getInstance.js,samples/README.md) |
-| Get Usage Export Bucket | [source code](https://github.com/googleapis/nodejs-compute/blob/main/samples/getUsageExportBucket.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/getUsageExportBucket.js,samples/README.md) |
-| List All Instances | [source code](https://github.com/googleapis/nodejs-compute/blob/main/samples/listAllInstances.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/listAllInstances.js,samples/README.md) |
-| List Images | [source code](https://github.com/googleapis/nodejs-compute/blob/main/samples/listImages.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/listImages.js,samples/README.md) |
-| List Images By Page | [source code](https://github.com/googleapis/nodejs-compute/blob/main/samples/listImagesByPage.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/listImagesByPage.js,samples/README.md) |
-| List Instances | [source code](https://github.com/googleapis/nodejs-compute/blob/main/samples/listInstances.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/listInstances.js,samples/README.md) |
-| Mailjet | [source code](https://github.com/googleapis/nodejs-compute/blob/main/samples/mailjet.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/mailjet.js,samples/README.md) |
-| Reset Instance | [source code](https://github.com/googleapis/nodejs-compute/blob/main/samples/resetInstance.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/resetInstance.js,samples/README.md) |
-| Sendgrid | [source code](https://github.com/googleapis/nodejs-compute/blob/main/samples/sendgrid.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/sendgrid.js,samples/README.md) |
-| Set Usage Export Bucket | [source code](https://github.com/googleapis/nodejs-compute/blob/main/samples/setUsageExportBucket.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/setUsageExportBucket.js,samples/README.md) |
-| Start Instance | [source code](https://github.com/googleapis/nodejs-compute/blob/main/samples/startInstance.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/startInstance.js,samples/README.md) |
-| Start Instance With Enc Key | [source code](https://github.com/googleapis/nodejs-compute/blob/main/samples/startInstanceWithEncKey.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/startInstanceWithEncKey.js,samples/README.md) |
-| Stop Instance | [source code](https://github.com/googleapis/nodejs-compute/blob/main/samples/stopInstance.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/stopInstance.js,samples/README.md) |
-| Wait For Operation | [source code](https://github.com/googleapis/nodejs-compute/blob/main/samples/waitForOperation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/waitForOperation.js,samples/README.md) |
+| Accelerator_types.aggregated_list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/accelerator_types.aggregated_list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/accelerator_types.aggregated_list.js,samples/README.md) |
+| Accelerator_types.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/accelerator_types.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/accelerator_types.get.js,samples/README.md) |
+| Accelerator_types.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/accelerator_types.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/accelerator_types.list.js,samples/README.md) |
+| Addresses.aggregated_list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/addresses.aggregated_list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/addresses.aggregated_list.js,samples/README.md) |
+| Addresses.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/addresses.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/addresses.delete.js,samples/README.md) |
+| Addresses.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/addresses.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/addresses.get.js,samples/README.md) |
+| Addresses.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/addresses.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/addresses.insert.js,samples/README.md) |
+| Addresses.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/addresses.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/addresses.list.js,samples/README.md) |
+| Addresses.set_labels | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/addresses.set_labels.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/addresses.set_labels.js,samples/README.md) |
+| Autoscalers.aggregated_list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/autoscalers.aggregated_list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/autoscalers.aggregated_list.js,samples/README.md) |
+| Autoscalers.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/autoscalers.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/autoscalers.delete.js,samples/README.md) |
+| Autoscalers.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/autoscalers.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/autoscalers.get.js,samples/README.md) |
+| Autoscalers.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/autoscalers.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/autoscalers.insert.js,samples/README.md) |
+| Autoscalers.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/autoscalers.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/autoscalers.list.js,samples/README.md) |
+| Autoscalers.patch | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/autoscalers.patch.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/autoscalers.patch.js,samples/README.md) |
+| Autoscalers.update | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/autoscalers.update.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/autoscalers.update.js,samples/README.md) |
+| Backend_buckets.add_signed_url_key | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_buckets.add_signed_url_key.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/backend_buckets.add_signed_url_key.js,samples/README.md) |
+| Backend_buckets.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_buckets.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/backend_buckets.delete.js,samples/README.md) |
+| Backend_buckets.delete_signed_url_key | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_buckets.delete_signed_url_key.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/backend_buckets.delete_signed_url_key.js,samples/README.md) |
+| Backend_buckets.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_buckets.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/backend_buckets.get.js,samples/README.md) |
+| Backend_buckets.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_buckets.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/backend_buckets.insert.js,samples/README.md) |
+| Backend_buckets.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_buckets.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/backend_buckets.list.js,samples/README.md) |
+| Backend_buckets.patch | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_buckets.patch.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/backend_buckets.patch.js,samples/README.md) |
+| Backend_buckets.set_edge_security_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_buckets.set_edge_security_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-compute/samples/generated/v1/backend_buckets.set_edge_security_policy.js,samples/README.md) |
+| Backend_buckets.update | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_buckets.update.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/backend_buckets.update.js,samples/README.md) |
+| Backend_services.add_signed_url_key | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_services.add_signed_url_key.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/backend_services.add_signed_url_key.js,samples/README.md) |
+| Backend_services.aggregated_list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_services.aggregated_list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/backend_services.aggregated_list.js,samples/README.md) |
+| Backend_services.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_services.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/backend_services.delete.js,samples/README.md) |
+| Backend_services.delete_signed_url_key | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_services.delete_signed_url_key.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/backend_services.delete_signed_url_key.js,samples/README.md) |
+| Backend_services.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_services.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/backend_services.get.js,samples/README.md) |
+| Backend_services.get_health | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_services.get_health.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/backend_services.get_health.js,samples/README.md) |
+| Backend_services.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_services.get_iam_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-compute/samples/generated/v1/backend_services.get_iam_policy.js,samples/README.md) |
+| Backend_services.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_services.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/backend_services.insert.js,samples/README.md) |
+| Backend_services.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_services.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/backend_services.list.js,samples/README.md) |
+| Backend_services.patch | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_services.patch.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/backend_services.patch.js,samples/README.md) |
+| Backend_services.set_edge_security_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_services.set_edge_security_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-compute/samples/generated/v1/backend_services.set_edge_security_policy.js,samples/README.md) |
+| Backend_services.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_services.set_iam_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-compute/samples/generated/v1/backend_services.set_iam_policy.js,samples/README.md) |
+| Backend_services.set_security_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_services.set_security_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-compute/samples/generated/v1/backend_services.set_security_policy.js,samples/README.md) |
+| Backend_services.update | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_services.update.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/backend_services.update.js,samples/README.md) |
+| Disk_types.aggregated_list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/disk_types.aggregated_list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/disk_types.aggregated_list.js,samples/README.md) |
+| Disk_types.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/disk_types.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/disk_types.get.js,samples/README.md) |
+| Disk_types.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/disk_types.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/disk_types.list.js,samples/README.md) |
+| Disks.add_resource_policies | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/disks.add_resource_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-compute/samples/generated/v1/disks.add_resource_policies.js,samples/README.md) |
+| Disks.aggregated_list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/disks.aggregated_list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/disks.aggregated_list.js,samples/README.md) |
+| Disks.create_snapshot | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/disks.create_snapshot.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/disks.create_snapshot.js,samples/README.md) |
+| Disks.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/disks.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/disks.delete.js,samples/README.md) |
+| Disks.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/disks.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/disks.get.js,samples/README.md) |
+| Disks.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/disks.get_iam_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-compute/samples/generated/v1/disks.get_iam_policy.js,samples/README.md) |
+| Disks.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/disks.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/disks.insert.js,samples/README.md) |
+| Disks.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/disks.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/disks.list.js,samples/README.md) |
+| Disks.remove_resource_policies | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/disks.remove_resource_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-compute/samples/generated/v1/disks.remove_resource_policies.js,samples/README.md) |
+| Disks.resize | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/disks.resize.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/disks.resize.js,samples/README.md) |
+| Disks.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/disks.set_iam_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-compute/samples/generated/v1/disks.set_iam_policy.js,samples/README.md) |
+| Disks.set_labels | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/disks.set_labels.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/disks.set_labels.js,samples/README.md) |
+| Disks.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/disks.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/disks.test_iam_permissions.js,samples/README.md) |
+| External_vpn_gateways.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/external_vpn_gateways.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/external_vpn_gateways.delete.js,samples/README.md) |
+| External_vpn_gateways.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/external_vpn_gateways.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/external_vpn_gateways.get.js,samples/README.md) |
+| External_vpn_gateways.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/external_vpn_gateways.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/external_vpn_gateways.insert.js,samples/README.md) |
+| External_vpn_gateways.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/external_vpn_gateways.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/external_vpn_gateways.list.js,samples/README.md) |
+| External_vpn_gateways.set_labels | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/external_vpn_gateways.set_labels.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/external_vpn_gateways.set_labels.js,samples/README.md) |
+| External_vpn_gateways.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/external_vpn_gateways.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/external_vpn_gateways.test_iam_permissions.js,samples/README.md) |
+| Firewall_policies.add_association | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewall_policies.add_association.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewall_policies.add_association.js,samples/README.md) |
+| Firewall_policies.add_rule | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewall_policies.add_rule.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewall_policies.add_rule.js,samples/README.md) |
+| Firewall_policies.clone_rules | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewall_policies.clone_rules.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewall_policies.clone_rules.js,samples/README.md) |
+| Firewall_policies.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewall_policies.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewall_policies.delete.js,samples/README.md) |
+| Firewall_policies.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewall_policies.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewall_policies.get.js,samples/README.md) |
+| Firewall_policies.get_association | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewall_policies.get_association.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewall_policies.get_association.js,samples/README.md) |
+| Firewall_policies.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewall_policies.get_iam_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-compute/samples/generated/v1/firewall_policies.get_iam_policy.js,samples/README.md) |
+| Firewall_policies.get_rule | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewall_policies.get_rule.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewall_policies.get_rule.js,samples/README.md) |
+| Firewall_policies.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewall_policies.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewall_policies.insert.js,samples/README.md) |
+| Firewall_policies.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewall_policies.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewall_policies.list.js,samples/README.md) |
+| Firewall_policies.list_associations | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewall_policies.list_associations.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewall_policies.list_associations.js,samples/README.md) |
+| Firewall_policies.move | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewall_policies.move.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewall_policies.move.js,samples/README.md) |
+| Firewall_policies.patch | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewall_policies.patch.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewall_policies.patch.js,samples/README.md) |
+| Firewall_policies.patch_rule | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewall_policies.patch_rule.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewall_policies.patch_rule.js,samples/README.md) |
+| Firewall_policies.remove_association | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewall_policies.remove_association.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewall_policies.remove_association.js,samples/README.md) |
+| Firewall_policies.remove_rule | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewall_policies.remove_rule.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewall_policies.remove_rule.js,samples/README.md) |
+| Firewall_policies.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewall_policies.set_iam_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-compute/samples/generated/v1/firewall_policies.set_iam_policy.js,samples/README.md) |
+| Firewall_policies.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewall_policies.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewall_policies.test_iam_permissions.js,samples/README.md) |
+| Firewalls.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewalls.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewalls.delete.js,samples/README.md) |
+| Firewalls.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewalls.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewalls.get.js,samples/README.md) |
+| Firewalls.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewalls.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewalls.insert.js,samples/README.md) |
+| Firewalls.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewalls.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewalls.list.js,samples/README.md) |
+| Firewalls.patch | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewalls.patch.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewalls.patch.js,samples/README.md) |
+| Firewalls.update | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewalls.update.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewalls.update.js,samples/README.md) |
+| Forwarding_rules.aggregated_list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/forwarding_rules.aggregated_list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/forwarding_rules.aggregated_list.js,samples/README.md) |
+| Forwarding_rules.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/forwarding_rules.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/forwarding_rules.delete.js,samples/README.md) |
+| Forwarding_rules.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/forwarding_rules.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/forwarding_rules.get.js,samples/README.md) |
+| Forwarding_rules.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/forwarding_rules.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/forwarding_rules.insert.js,samples/README.md) |
+| Forwarding_rules.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/forwarding_rules.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/forwarding_rules.list.js,samples/README.md) |
+| Forwarding_rules.patch | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/forwarding_rules.patch.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/forwarding_rules.patch.js,samples/README.md) |
+| Forwarding_rules.set_labels | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/forwarding_rules.set_labels.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/forwarding_rules.set_labels.js,samples/README.md) |
+| Forwarding_rules.set_target | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/forwarding_rules.set_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-compute/samples/generated/v1/forwarding_rules.set_target.js,samples/README.md) |
+| Global_addresses.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_addresses.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_addresses.delete.js,samples/README.md) |
+| Global_addresses.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_addresses.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_addresses.get.js,samples/README.md) |
+| Global_addresses.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_addresses.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_addresses.insert.js,samples/README.md) |
+| Global_addresses.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_addresses.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_addresses.list.js,samples/README.md) |
+| Global_addresses.set_labels | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_addresses.set_labels.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_addresses.set_labels.js,samples/README.md) |
+| Global_forwarding_rules.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_forwarding_rules.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_forwarding_rules.delete.js,samples/README.md) |
+| Global_forwarding_rules.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_forwarding_rules.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_forwarding_rules.get.js,samples/README.md) |
+| Global_forwarding_rules.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_forwarding_rules.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_forwarding_rules.insert.js,samples/README.md) |
+| Global_forwarding_rules.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_forwarding_rules.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_forwarding_rules.list.js,samples/README.md) |
+| Global_forwarding_rules.patch | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_forwarding_rules.patch.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_forwarding_rules.patch.js,samples/README.md) |
+| Global_forwarding_rules.set_labels | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_forwarding_rules.set_labels.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_forwarding_rules.set_labels.js,samples/README.md) |
+| Global_forwarding_rules.set_target | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_forwarding_rules.set_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-compute/samples/generated/v1/global_forwarding_rules.set_target.js,samples/README.md) |
+| Global_network_endpoint_groups.attach_network_endpoints | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_network_endpoint_groups.attach_network_endpoints.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_network_endpoint_groups.attach_network_endpoints.js,samples/README.md) |
+| Global_network_endpoint_groups.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_network_endpoint_groups.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_network_endpoint_groups.delete.js,samples/README.md) |
+| Global_network_endpoint_groups.detach_network_endpoints | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_network_endpoint_groups.detach_network_endpoints.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_network_endpoint_groups.detach_network_endpoints.js,samples/README.md) |
+| Global_network_endpoint_groups.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_network_endpoint_groups.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_network_endpoint_groups.get.js,samples/README.md) |
+| Global_network_endpoint_groups.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_network_endpoint_groups.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_network_endpoint_groups.insert.js,samples/README.md) |
+| Global_network_endpoint_groups.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_network_endpoint_groups.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_network_endpoint_groups.list.js,samples/README.md) |
+| Global_network_endpoint_groups.list_network_endpoints | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_network_endpoint_groups.list_network_endpoints.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_network_endpoint_groups.list_network_endpoints.js,samples/README.md) |
+| Global_operations.aggregated_list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_operations.aggregated_list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_operations.aggregated_list.js,samples/README.md) |
+| Global_operations.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_operations.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_operations.delete.js,samples/README.md) |
+| Global_operations.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_operations.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_operations.get.js,samples/README.md) |
+| Global_operations.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_operations.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_operations.list.js,samples/README.md) |
+| Global_operations.wait | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_operations.wait.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_operations.wait.js,samples/README.md) |
+| Global_organization_operations.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_organization_operations.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_organization_operations.delete.js,samples/README.md) |
+| Global_organization_operations.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_organization_operations.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_organization_operations.get.js,samples/README.md) |
+| Global_organization_operations.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_organization_operations.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_organization_operations.list.js,samples/README.md) |
+| Global_public_delegated_prefixes.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_public_delegated_prefixes.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_public_delegated_prefixes.delete.js,samples/README.md) |
+| Global_public_delegated_prefixes.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_public_delegated_prefixes.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_public_delegated_prefixes.get.js,samples/README.md) |
+| Global_public_delegated_prefixes.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_public_delegated_prefixes.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_public_delegated_prefixes.insert.js,samples/README.md) |
+| Global_public_delegated_prefixes.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_public_delegated_prefixes.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_public_delegated_prefixes.list.js,samples/README.md) |
+| Global_public_delegated_prefixes.patch | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_public_delegated_prefixes.patch.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_public_delegated_prefixes.patch.js,samples/README.md) |
+| Health_checks.aggregated_list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/health_checks.aggregated_list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/health_checks.aggregated_list.js,samples/README.md) |
+| Health_checks.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/health_checks.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/health_checks.delete.js,samples/README.md) |
+| Health_checks.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/health_checks.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/health_checks.get.js,samples/README.md) |
+| Health_checks.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/health_checks.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/health_checks.insert.js,samples/README.md) |
+| Health_checks.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/health_checks.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/health_checks.list.js,samples/README.md) |
+| Health_checks.patch | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/health_checks.patch.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/health_checks.patch.js,samples/README.md) |
+| Health_checks.update | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/health_checks.update.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/health_checks.update.js,samples/README.md) |
+| Image_family_views.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/image_family_views.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/image_family_views.get.js,samples/README.md) |
+| Images.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/images.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/images.delete.js,samples/README.md) |
+| Images.deprecate | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/images.deprecate.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/images.deprecate.js,samples/README.md) |
+| Images.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/images.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/images.get.js,samples/README.md) |
+| Images.get_from_family | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/images.get_from_family.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/images.get_from_family.js,samples/README.md) |
+| Images.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/images.get_iam_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-compute/samples/generated/v1/images.get_iam_policy.js,samples/README.md) |
+| Images.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/images.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/images.insert.js,samples/README.md) |
+| Images.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/images.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/images.list.js,samples/README.md) |
+| Images.patch | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/images.patch.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/images.patch.js,samples/README.md) |
+| Images.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/images.set_iam_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-compute/samples/generated/v1/images.set_iam_policy.js,samples/README.md) |
+| Images.set_labels | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/images.set_labels.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/images.set_labels.js,samples/README.md) |
+| Images.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/images.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/images.test_iam_permissions.js,samples/README.md) |
+| Instance_group_managers.abandon_instances | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_group_managers.abandon_instances.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_group_managers.abandon_instances.js,samples/README.md) |
+| Instance_group_managers.aggregated_list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_group_managers.aggregated_list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_group_managers.aggregated_list.js,samples/README.md) |
+| Instance_group_managers.apply_updates_to_instances | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_group_managers.apply_updates_to_instances.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_group_managers.apply_updates_to_instances.js,samples/README.md) |
+| Instance_group_managers.create_instances | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_group_managers.create_instances.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_group_managers.create_instances.js,samples/README.md) |
+| Instance_group_managers.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_group_managers.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_group_managers.delete.js,samples/README.md) |
+| Instance_group_managers.delete_instances | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_group_managers.delete_instances.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_group_managers.delete_instances.js,samples/README.md) |
+| Instance_group_managers.delete_per_instance_configs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_group_managers.delete_per_instance_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-compute/samples/generated/v1/instance_group_managers.delete_per_instance_configs.js,samples/README.md) |
+| Instance_group_managers.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_group_managers.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_group_managers.get.js,samples/README.md) |
+| Instance_group_managers.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_group_managers.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_group_managers.insert.js,samples/README.md) |
+| Instance_group_managers.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_group_managers.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_group_managers.list.js,samples/README.md) |
+| Instance_group_managers.list_errors | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_group_managers.list_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-compute/samples/generated/v1/instance_group_managers.list_errors.js,samples/README.md) |
+| Instance_group_managers.list_managed_instances | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_group_managers.list_managed_instances.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_group_managers.list_managed_instances.js,samples/README.md) |
+| Instance_group_managers.list_per_instance_configs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_group_managers.list_per_instance_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-compute/samples/generated/v1/instance_group_managers.list_per_instance_configs.js,samples/README.md) |
+| Instance_group_managers.patch | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_group_managers.patch.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_group_managers.patch.js,samples/README.md) |
+| Instance_group_managers.patch_per_instance_configs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_group_managers.patch_per_instance_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-compute/samples/generated/v1/instance_group_managers.patch_per_instance_configs.js,samples/README.md) |
+| Instance_group_managers.recreate_instances | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_group_managers.recreate_instances.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_group_managers.recreate_instances.js,samples/README.md) |
+| Instance_group_managers.resize | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_group_managers.resize.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_group_managers.resize.js,samples/README.md) |
+| Instance_group_managers.set_instance_template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_group_managers.set_instance_template.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_group_managers.set_instance_template.js,samples/README.md) |
+| Instance_group_managers.set_target_pools | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_group_managers.set_target_pools.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_group_managers.set_target_pools.js,samples/README.md) |
+| Instance_group_managers.update_per_instance_configs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_group_managers.update_per_instance_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-compute/samples/generated/v1/instance_group_managers.update_per_instance_configs.js,samples/README.md) |
+| Instance_groups.add_instances | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_groups.add_instances.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_groups.add_instances.js,samples/README.md) |
+| Instance_groups.aggregated_list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_groups.aggregated_list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_groups.aggregated_list.js,samples/README.md) |
+| Instance_groups.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_groups.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_groups.delete.js,samples/README.md) |
+| Instance_groups.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_groups.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_groups.get.js,samples/README.md) |
+| Instance_groups.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_groups.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_groups.insert.js,samples/README.md) |
+| Instance_groups.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_groups.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_groups.list.js,samples/README.md) |
+| Instance_groups.list_instances | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_groups.list_instances.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_groups.list_instances.js,samples/README.md) |
+| Instance_groups.remove_instances | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_groups.remove_instances.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_groups.remove_instances.js,samples/README.md) |
+| Instance_groups.set_named_ports | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_groups.set_named_ports.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_groups.set_named_ports.js,samples/README.md) |
+| Instance_templates.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_templates.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_templates.delete.js,samples/README.md) |
+| Instance_templates.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_templates.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_templates.get.js,samples/README.md) |
+| Instance_templates.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_templates.get_iam_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-compute/samples/generated/v1/instance_templates.get_iam_policy.js,samples/README.md) |
+| Instance_templates.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_templates.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_templates.insert.js,samples/README.md) |
+| Instance_templates.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_templates.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_templates.list.js,samples/README.md) |
+| Instance_templates.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_templates.set_iam_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-compute/samples/generated/v1/instance_templates.set_iam_policy.js,samples/README.md) |
+| Instance_templates.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_templates.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_templates.test_iam_permissions.js,samples/README.md) |
+| Instances.add_access_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.add_access_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-compute/samples/generated/v1/instances.add_access_config.js,samples/README.md) |
+| Instances.add_resource_policies | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.add_resource_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-compute/samples/generated/v1/instances.add_resource_policies.js,samples/README.md) |
+| Instances.aggregated_list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.aggregated_list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.aggregated_list.js,samples/README.md) |
+| Instances.attach_disk | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.attach_disk.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.attach_disk.js,samples/README.md) |
+| Instances.bulk_insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.bulk_insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.bulk_insert.js,samples/README.md) |
+| Instances.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.delete.js,samples/README.md) |
+| Instances.delete_access_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.delete_access_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-compute/samples/generated/v1/instances.delete_access_config.js,samples/README.md) |
+| Instances.detach_disk | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.detach_disk.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.detach_disk.js,samples/README.md) |
+| Instances.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.get.js,samples/README.md) |
+| Instances.get_effective_firewalls | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.get_effective_firewalls.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.get_effective_firewalls.js,samples/README.md) |
+| Instances.get_guest_attributes | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.get_guest_attributes.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.get_guest_attributes.js,samples/README.md) |
+| Instances.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.get_iam_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-compute/samples/generated/v1/instances.get_iam_policy.js,samples/README.md) |
+| Instances.get_screenshot | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.get_screenshot.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.get_screenshot.js,samples/README.md) |
+| Instances.get_serial_port_output | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.get_serial_port_output.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.get_serial_port_output.js,samples/README.md) |
+| Instances.get_shielded_instance_identity | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.get_shielded_instance_identity.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.get_shielded_instance_identity.js,samples/README.md) |
+| Instances.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.insert.js,samples/README.md) |
+| Instances.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.list.js,samples/README.md) |
+| Instances.list_referrers | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.list_referrers.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.list_referrers.js,samples/README.md) |
+| Instances.remove_resource_policies | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.remove_resource_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-compute/samples/generated/v1/instances.remove_resource_policies.js,samples/README.md) |
+| Instances.reset | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.reset.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.reset.js,samples/README.md) |
+| Instances.resume | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.resume.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.resume.js,samples/README.md) |
+| Instances.send_diagnostic_interrupt | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.send_diagnostic_interrupt.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.send_diagnostic_interrupt.js,samples/README.md) |
+| Instances.set_deletion_protection | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.set_deletion_protection.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.set_deletion_protection.js,samples/README.md) |
+| Instances.set_disk_auto_delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.set_disk_auto_delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.set_disk_auto_delete.js,samples/README.md) |
+| Instances.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.set_iam_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-compute/samples/generated/v1/instances.set_iam_policy.js,samples/README.md) |
+| Instances.set_labels | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.set_labels.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.set_labels.js,samples/README.md) |
+| Instances.set_machine_resources | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.set_machine_resources.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.set_machine_resources.js,samples/README.md) |
+| Instances.set_machine_type | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.set_machine_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-compute/samples/generated/v1/instances.set_machine_type.js,samples/README.md) |
+| Instances.set_metadata | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.set_metadata.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.set_metadata.js,samples/README.md) |
+| Instances.set_min_cpu_platform | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.set_min_cpu_platform.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.set_min_cpu_platform.js,samples/README.md) |
+| Instances.set_scheduling | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.set_scheduling.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.set_scheduling.js,samples/README.md) |
+| Instances.set_service_account | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.set_service_account.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.set_service_account.js,samples/README.md) |
+| Instances.set_shielded_instance_integrity_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.set_shielded_instance_integrity_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-compute/samples/generated/v1/instances.set_shielded_instance_integrity_policy.js,samples/README.md) |
+| Instances.set_tags | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.set_tags.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.set_tags.js,samples/README.md) |
+| Instances.simulate_maintenance_event | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.simulate_maintenance_event.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.simulate_maintenance_event.js,samples/README.md) |
+| Instances.start | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.start.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.start.js,samples/README.md) |
+| Instances.start_with_encryption_key | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.start_with_encryption_key.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.start_with_encryption_key.js,samples/README.md) |
+| Instances.stop | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.stop.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.stop.js,samples/README.md) |
+| Instances.suspend | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.suspend.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.suspend.js,samples/README.md) |
+| Instances.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.test_iam_permissions.js,samples/README.md) |
+| Instances.update | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.update.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.update.js,samples/README.md) |
+| Instances.update_access_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.update_access_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-compute/samples/generated/v1/instances.update_access_config.js,samples/README.md) |
+| Instances.update_display_device | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.update_display_device.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.update_display_device.js,samples/README.md) |
+| Instances.update_network_interface | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.update_network_interface.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.update_network_interface.js,samples/README.md) |
+| Instances.update_shielded_instance_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.update_shielded_instance_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-compute/samples/generated/v1/instances.update_shielded_instance_config.js,samples/README.md) |
+| Interconnect_attachments.aggregated_list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/interconnect_attachments.aggregated_list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/interconnect_attachments.aggregated_list.js,samples/README.md) |
+| Interconnect_attachments.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/interconnect_attachments.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/interconnect_attachments.delete.js,samples/README.md) |
+| Interconnect_attachments.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/interconnect_attachments.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/interconnect_attachments.get.js,samples/README.md) |
+| Interconnect_attachments.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/interconnect_attachments.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/interconnect_attachments.insert.js,samples/README.md) |
+| Interconnect_attachments.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/interconnect_attachments.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/interconnect_attachments.list.js,samples/README.md) |
+| Interconnect_attachments.patch | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/interconnect_attachments.patch.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/interconnect_attachments.patch.js,samples/README.md) |
+| Interconnect_attachments.set_labels | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/interconnect_attachments.set_labels.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/interconnect_attachments.set_labels.js,samples/README.md) |
+| Interconnect_locations.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/interconnect_locations.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/interconnect_locations.get.js,samples/README.md) |
+| Interconnect_locations.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/interconnect_locations.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/interconnect_locations.list.js,samples/README.md) |
+| Interconnects.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/interconnects.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/interconnects.delete.js,samples/README.md) |
+| Interconnects.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/interconnects.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/interconnects.get.js,samples/README.md) |
+| Interconnects.get_diagnostics | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/interconnects.get_diagnostics.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/interconnects.get_diagnostics.js,samples/README.md) |
+| Interconnects.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/interconnects.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/interconnects.insert.js,samples/README.md) |
+| Interconnects.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/interconnects.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/interconnects.list.js,samples/README.md) |
+| Interconnects.patch | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/interconnects.patch.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/interconnects.patch.js,samples/README.md) |
+| Interconnects.set_labels | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/interconnects.set_labels.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/interconnects.set_labels.js,samples/README.md) |
+| License_codes.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/license_codes.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/license_codes.get.js,samples/README.md) |
+| License_codes.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/license_codes.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/license_codes.test_iam_permissions.js,samples/README.md) |
+| Licenses.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/licenses.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/licenses.delete.js,samples/README.md) |
+| Licenses.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/licenses.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/licenses.get.js,samples/README.md) |
+| Licenses.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/licenses.get_iam_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-compute/samples/generated/v1/licenses.get_iam_policy.js,samples/README.md) |
+| Licenses.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/licenses.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/licenses.insert.js,samples/README.md) |
+| Licenses.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/licenses.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/licenses.list.js,samples/README.md) |
+| Licenses.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/licenses.set_iam_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-compute/samples/generated/v1/licenses.set_iam_policy.js,samples/README.md) |
+| Licenses.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/licenses.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/licenses.test_iam_permissions.js,samples/README.md) |
+| Machine_images.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/machine_images.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/machine_images.delete.js,samples/README.md) |
+| Machine_images.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/machine_images.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/machine_images.get.js,samples/README.md) |
+| Machine_images.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/machine_images.get_iam_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-compute/samples/generated/v1/machine_images.get_iam_policy.js,samples/README.md) |
+| Machine_images.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/machine_images.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/machine_images.insert.js,samples/README.md) |
+| Machine_images.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/machine_images.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/machine_images.list.js,samples/README.md) |
+| Machine_images.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/machine_images.set_iam_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-compute/samples/generated/v1/machine_images.set_iam_policy.js,samples/README.md) |
+| Machine_images.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/machine_images.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/machine_images.test_iam_permissions.js,samples/README.md) |
+| Machine_types.aggregated_list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/machine_types.aggregated_list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/machine_types.aggregated_list.js,samples/README.md) |
+| Machine_types.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/machine_types.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/machine_types.get.js,samples/README.md) |
+| Machine_types.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/machine_types.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/machine_types.list.js,samples/README.md) |
+| Network_edge_security_services.aggregated_list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_edge_security_services.aggregated_list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_edge_security_services.aggregated_list.js,samples/README.md) |
+| Network_edge_security_services.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_edge_security_services.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_edge_security_services.delete.js,samples/README.md) |
+| Network_edge_security_services.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_edge_security_services.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_edge_security_services.get.js,samples/README.md) |
+| Network_edge_security_services.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_edge_security_services.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_edge_security_services.insert.js,samples/README.md) |
+| Network_edge_security_services.patch | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_edge_security_services.patch.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_edge_security_services.patch.js,samples/README.md) |
+| Network_endpoint_groups.aggregated_list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.aggregated_list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.aggregated_list.js,samples/README.md) |
+| Network_endpoint_groups.attach_network_endpoints | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.attach_network_endpoints.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.attach_network_endpoints.js,samples/README.md) |
+| Network_endpoint_groups.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.delete.js,samples/README.md) |
+| Network_endpoint_groups.detach_network_endpoints | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.detach_network_endpoints.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.detach_network_endpoints.js,samples/README.md) |
+| Network_endpoint_groups.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.get.js,samples/README.md) |
+| Network_endpoint_groups.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.insert.js,samples/README.md) |
+| Network_endpoint_groups.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.list.js,samples/README.md) |
+| Network_endpoint_groups.list_network_endpoints | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.list_network_endpoints.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.list_network_endpoints.js,samples/README.md) |
+| Network_endpoint_groups.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.test_iam_permissions.js,samples/README.md) |
+| Network_firewall_policies.add_association | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.add_association.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.add_association.js,samples/README.md) |
+| Network_firewall_policies.add_rule | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.add_rule.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.add_rule.js,samples/README.md) |
+| Network_firewall_policies.clone_rules | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.clone_rules.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.clone_rules.js,samples/README.md) |
+| Network_firewall_policies.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.delete.js,samples/README.md) |
+| Network_firewall_policies.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.get.js,samples/README.md) |
+| Network_firewall_policies.get_association | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.get_association.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.get_association.js,samples/README.md) |
+| Network_firewall_policies.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.get_iam_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-compute/samples/generated/v1/network_firewall_policies.get_iam_policy.js,samples/README.md) |
+| Network_firewall_policies.get_rule | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.get_rule.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.get_rule.js,samples/README.md) |
+| Network_firewall_policies.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.insert.js,samples/README.md) |
+| Network_firewall_policies.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.list.js,samples/README.md) |
+| Network_firewall_policies.patch | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.patch.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.patch.js,samples/README.md) |
+| Network_firewall_policies.patch_rule | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.patch_rule.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.patch_rule.js,samples/README.md) |
+| Network_firewall_policies.remove_association | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.remove_association.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.remove_association.js,samples/README.md) |
+| Network_firewall_policies.remove_rule | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.remove_rule.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.remove_rule.js,samples/README.md) |
+| Network_firewall_policies.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.set_iam_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-compute/samples/generated/v1/network_firewall_policies.set_iam_policy.js,samples/README.md) |
+| Network_firewall_policies.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.test_iam_permissions.js,samples/README.md) |
+| Networks.add_peering | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/networks.add_peering.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/networks.add_peering.js,samples/README.md) |
+| Networks.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/networks.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/networks.delete.js,samples/README.md) |
+| Networks.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/networks.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/networks.get.js,samples/README.md) |
+| Networks.get_effective_firewalls | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/networks.get_effective_firewalls.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/networks.get_effective_firewalls.js,samples/README.md) |
+| Networks.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/networks.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/networks.insert.js,samples/README.md) |
+| Networks.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/networks.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/networks.list.js,samples/README.md) |
+| Networks.list_peering_routes | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/networks.list_peering_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-compute/samples/generated/v1/networks.list_peering_routes.js,samples/README.md) |
+| Networks.patch | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/networks.patch.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/networks.patch.js,samples/README.md) |
+| Networks.remove_peering | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/networks.remove_peering.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/networks.remove_peering.js,samples/README.md) |
+| Networks.switch_to_custom_mode | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/networks.switch_to_custom_mode.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/networks.switch_to_custom_mode.js,samples/README.md) |
+| Networks.update_peering | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/networks.update_peering.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/networks.update_peering.js,samples/README.md) |
+| Node_groups.add_nodes | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_groups.add_nodes.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/node_groups.add_nodes.js,samples/README.md) |
+| Node_groups.aggregated_list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_groups.aggregated_list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/node_groups.aggregated_list.js,samples/README.md) |
+| Node_groups.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_groups.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/node_groups.delete.js,samples/README.md) |
+| Node_groups.delete_nodes | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_groups.delete_nodes.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/node_groups.delete_nodes.js,samples/README.md) |
+| Node_groups.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_groups.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/node_groups.get.js,samples/README.md) |
+| Node_groups.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_groups.get_iam_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-compute/samples/generated/v1/node_groups.get_iam_policy.js,samples/README.md) |
+| Node_groups.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_groups.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/node_groups.insert.js,samples/README.md) |
+| Node_groups.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_groups.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/node_groups.list.js,samples/README.md) |
+| Node_groups.list_nodes | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_groups.list_nodes.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/node_groups.list_nodes.js,samples/README.md) |
+| Node_groups.patch | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_groups.patch.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/node_groups.patch.js,samples/README.md) |
+| Node_groups.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_groups.set_iam_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-compute/samples/generated/v1/node_groups.set_iam_policy.js,samples/README.md) |
+| Node_groups.set_node_template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_groups.set_node_template.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/node_groups.set_node_template.js,samples/README.md) |
+| Node_groups.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_groups.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/node_groups.test_iam_permissions.js,samples/README.md) |
+| Node_templates.aggregated_list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_templates.aggregated_list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/node_templates.aggregated_list.js,samples/README.md) |
+| Node_templates.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_templates.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/node_templates.delete.js,samples/README.md) |
+| Node_templates.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_templates.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/node_templates.get.js,samples/README.md) |
+| Node_templates.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_templates.get_iam_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-compute/samples/generated/v1/node_templates.get_iam_policy.js,samples/README.md) |
+| Node_templates.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_templates.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/node_templates.insert.js,samples/README.md) |
+| Node_templates.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_templates.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/node_templates.list.js,samples/README.md) |
+| Node_templates.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_templates.set_iam_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-compute/samples/generated/v1/node_templates.set_iam_policy.js,samples/README.md) |
+| Node_templates.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_templates.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/node_templates.test_iam_permissions.js,samples/README.md) |
+| Node_types.aggregated_list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_types.aggregated_list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/node_types.aggregated_list.js,samples/README.md) |
+| Node_types.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_types.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/node_types.get.js,samples/README.md) |
+| Node_types.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_types.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/node_types.list.js,samples/README.md) |
+| Packet_mirrorings.aggregated_list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/packet_mirrorings.aggregated_list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/packet_mirrorings.aggregated_list.js,samples/README.md) |
+| Packet_mirrorings.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/packet_mirrorings.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/packet_mirrorings.delete.js,samples/README.md) |
+| Packet_mirrorings.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/packet_mirrorings.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/packet_mirrorings.get.js,samples/README.md) |
+| Packet_mirrorings.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/packet_mirrorings.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/packet_mirrorings.insert.js,samples/README.md) |
+| Packet_mirrorings.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/packet_mirrorings.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/packet_mirrorings.list.js,samples/README.md) |
+| Packet_mirrorings.patch | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/packet_mirrorings.patch.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/packet_mirrorings.patch.js,samples/README.md) |
+| Packet_mirrorings.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/packet_mirrorings.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/packet_mirrorings.test_iam_permissions.js,samples/README.md) |
+| Projects.disable_xpn_host | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/projects.disable_xpn_host.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/projects.disable_xpn_host.js,samples/README.md) |
+| Projects.disable_xpn_resource | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/projects.disable_xpn_resource.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/projects.disable_xpn_resource.js,samples/README.md) |
+| Projects.enable_xpn_host | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/projects.enable_xpn_host.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/projects.enable_xpn_host.js,samples/README.md) |
+| Projects.enable_xpn_resource | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/projects.enable_xpn_resource.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/projects.enable_xpn_resource.js,samples/README.md) |
+| Projects.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/projects.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/projects.get.js,samples/README.md) |
+| Projects.get_xpn_host | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/projects.get_xpn_host.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/projects.get_xpn_host.js,samples/README.md) |
+| Projects.get_xpn_resources | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/projects.get_xpn_resources.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/projects.get_xpn_resources.js,samples/README.md) |
+| Projects.list_xpn_hosts | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/projects.list_xpn_hosts.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/projects.list_xpn_hosts.js,samples/README.md) |
+| Projects.move_disk | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/projects.move_disk.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/projects.move_disk.js,samples/README.md) |
+| Projects.move_instance | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/projects.move_instance.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/projects.move_instance.js,samples/README.md) |
+| Projects.set_common_instance_metadata | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/projects.set_common_instance_metadata.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/projects.set_common_instance_metadata.js,samples/README.md) |
+| Projects.set_default_network_tier | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/projects.set_default_network_tier.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/projects.set_default_network_tier.js,samples/README.md) |
+| Projects.set_usage_export_bucket | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/projects.set_usage_export_bucket.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/projects.set_usage_export_bucket.js,samples/README.md) |
+| Public_advertised_prefixes.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/public_advertised_prefixes.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/public_advertised_prefixes.delete.js,samples/README.md) |
+| Public_advertised_prefixes.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/public_advertised_prefixes.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/public_advertised_prefixes.get.js,samples/README.md) |
+| Public_advertised_prefixes.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/public_advertised_prefixes.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/public_advertised_prefixes.insert.js,samples/README.md) |
+| Public_advertised_prefixes.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/public_advertised_prefixes.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/public_advertised_prefixes.list.js,samples/README.md) |
+| Public_advertised_prefixes.patch | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/public_advertised_prefixes.patch.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/public_advertised_prefixes.patch.js,samples/README.md) |
+| Public_delegated_prefixes.aggregated_list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/public_delegated_prefixes.aggregated_list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/public_delegated_prefixes.aggregated_list.js,samples/README.md) |
+| Public_delegated_prefixes.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/public_delegated_prefixes.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/public_delegated_prefixes.delete.js,samples/README.md) |
+| Public_delegated_prefixes.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/public_delegated_prefixes.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/public_delegated_prefixes.get.js,samples/README.md) |
+| Public_delegated_prefixes.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/public_delegated_prefixes.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/public_delegated_prefixes.insert.js,samples/README.md) |
+| Public_delegated_prefixes.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/public_delegated_prefixes.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/public_delegated_prefixes.list.js,samples/README.md) |
+| Public_delegated_prefixes.patch | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/public_delegated_prefixes.patch.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/public_delegated_prefixes.patch.js,samples/README.md) |
+| Region_autoscalers.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_autoscalers.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_autoscalers.delete.js,samples/README.md) |
+| Region_autoscalers.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_autoscalers.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_autoscalers.get.js,samples/README.md) |
+| Region_autoscalers.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_autoscalers.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_autoscalers.insert.js,samples/README.md) |
+| Region_autoscalers.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_autoscalers.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_autoscalers.list.js,samples/README.md) |
+| Region_autoscalers.patch | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_autoscalers.patch.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_autoscalers.patch.js,samples/README.md) |
+| Region_autoscalers.update | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_autoscalers.update.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_autoscalers.update.js,samples/README.md) |
+| Region_backend_services.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_backend_services.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_backend_services.delete.js,samples/README.md) |
+| Region_backend_services.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_backend_services.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_backend_services.get.js,samples/README.md) |
+| Region_backend_services.get_health | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_backend_services.get_health.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_backend_services.get_health.js,samples/README.md) |
+| Region_backend_services.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_backend_services.get_iam_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-compute/samples/generated/v1/region_backend_services.get_iam_policy.js,samples/README.md) |
+| Region_backend_services.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_backend_services.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_backend_services.insert.js,samples/README.md) |
+| Region_backend_services.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_backend_services.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_backend_services.list.js,samples/README.md) |
+| Region_backend_services.patch | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_backend_services.patch.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_backend_services.patch.js,samples/README.md) |
+| Region_backend_services.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_backend_services.set_iam_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-compute/samples/generated/v1/region_backend_services.set_iam_policy.js,samples/README.md) |
+| Region_backend_services.update | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_backend_services.update.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_backend_services.update.js,samples/README.md) |
+| Region_commitments.aggregated_list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_commitments.aggregated_list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_commitments.aggregated_list.js,samples/README.md) |
+| Region_commitments.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_commitments.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_commitments.get.js,samples/README.md) |
+| Region_commitments.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_commitments.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_commitments.insert.js,samples/README.md) |
+| Region_commitments.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_commitments.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_commitments.list.js,samples/README.md) |
+| Region_commitments.update | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_commitments.update.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_commitments.update.js,samples/README.md) |
+| Region_disk_types.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_disk_types.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_disk_types.get.js,samples/README.md) |
+| Region_disk_types.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_disk_types.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_disk_types.list.js,samples/README.md) |
+| Region_disks.add_resource_policies | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_disks.add_resource_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-compute/samples/generated/v1/region_disks.add_resource_policies.js,samples/README.md) |
+| Region_disks.create_snapshot | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_disks.create_snapshot.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_disks.create_snapshot.js,samples/README.md) |
+| Region_disks.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_disks.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_disks.delete.js,samples/README.md) |
+| Region_disks.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_disks.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_disks.get.js,samples/README.md) |
+| Region_disks.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_disks.get_iam_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-compute/samples/generated/v1/region_disks.get_iam_policy.js,samples/README.md) |
+| Region_disks.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_disks.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_disks.insert.js,samples/README.md) |
+| Region_disks.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_disks.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_disks.list.js,samples/README.md) |
+| Region_disks.remove_resource_policies | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_disks.remove_resource_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-compute/samples/generated/v1/region_disks.remove_resource_policies.js,samples/README.md) |
+| Region_disks.resize | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_disks.resize.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_disks.resize.js,samples/README.md) |
+| Region_disks.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_disks.set_iam_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-compute/samples/generated/v1/region_disks.set_iam_policy.js,samples/README.md) |
+| Region_disks.set_labels | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_disks.set_labels.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_disks.set_labels.js,samples/README.md) |
+| Region_disks.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_disks.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_disks.test_iam_permissions.js,samples/README.md) |
+| Region_health_check_services.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_health_check_services.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_health_check_services.delete.js,samples/README.md) |
+| Region_health_check_services.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_health_check_services.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_health_check_services.get.js,samples/README.md) |
+| Region_health_check_services.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_health_check_services.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_health_check_services.insert.js,samples/README.md) |
+| Region_health_check_services.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_health_check_services.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_health_check_services.list.js,samples/README.md) |
+| Region_health_check_services.patch | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_health_check_services.patch.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_health_check_services.patch.js,samples/README.md) |
+| Region_health_checks.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_health_checks.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_health_checks.delete.js,samples/README.md) |
+| Region_health_checks.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_health_checks.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_health_checks.get.js,samples/README.md) |
+| Region_health_checks.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_health_checks.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_health_checks.insert.js,samples/README.md) |
+| Region_health_checks.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_health_checks.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_health_checks.list.js,samples/README.md) |
+| Region_health_checks.patch | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_health_checks.patch.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_health_checks.patch.js,samples/README.md) |
+| Region_health_checks.update | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_health_checks.update.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_health_checks.update.js,samples/README.md) |
+| Region_instance_group_managers.abandon_instances | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.abandon_instances.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.abandon_instances.js,samples/README.md) |
+| Region_instance_group_managers.apply_updates_to_instances | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.apply_updates_to_instances.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.apply_updates_to_instances.js,samples/README.md) |
+| Region_instance_group_managers.create_instances | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.create_instances.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.create_instances.js,samples/README.md) |
+| Region_instance_group_managers.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.delete.js,samples/README.md) |
+| Region_instance_group_managers.delete_instances | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.delete_instances.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.delete_instances.js,samples/README.md) |
+| Region_instance_group_managers.delete_per_instance_configs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.delete_per_instance_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-compute/samples/generated/v1/region_instance_group_managers.delete_per_instance_configs.js,samples/README.md) |
+| Region_instance_group_managers.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.get.js,samples/README.md) |
+| Region_instance_group_managers.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.insert.js,samples/README.md) |
+| Region_instance_group_managers.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.list.js,samples/README.md) |
+| Region_instance_group_managers.list_errors | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.list_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-compute/samples/generated/v1/region_instance_group_managers.list_errors.js,samples/README.md) |
+| Region_instance_group_managers.list_managed_instances | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.list_managed_instances.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.list_managed_instances.js,samples/README.md) |
+| Region_instance_group_managers.list_per_instance_configs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.list_per_instance_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-compute/samples/generated/v1/region_instance_group_managers.list_per_instance_configs.js,samples/README.md) |
+| Region_instance_group_managers.patch | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.patch.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.patch.js,samples/README.md) |
+| Region_instance_group_managers.patch_per_instance_configs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.patch_per_instance_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-compute/samples/generated/v1/region_instance_group_managers.patch_per_instance_configs.js,samples/README.md) |
+| Region_instance_group_managers.recreate_instances | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.recreate_instances.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.recreate_instances.js,samples/README.md) |
+| Region_instance_group_managers.resize | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.resize.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.resize.js,samples/README.md) |
+| Region_instance_group_managers.set_instance_template | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.set_instance_template.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.set_instance_template.js,samples/README.md) |
+| Region_instance_group_managers.set_target_pools | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.set_target_pools.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.set_target_pools.js,samples/README.md) |
+| Region_instance_group_managers.update_per_instance_configs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.update_per_instance_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-compute/samples/generated/v1/region_instance_group_managers.update_per_instance_configs.js,samples/README.md) |
+| Region_instance_groups.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_groups.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_instance_groups.get.js,samples/README.md) |
+| Region_instance_groups.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_groups.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_instance_groups.list.js,samples/README.md) |
+| Region_instance_groups.list_instances | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_groups.list_instances.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_instance_groups.list_instances.js,samples/README.md) |
+| Region_instance_groups.set_named_ports | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_groups.set_named_ports.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_instance_groups.set_named_ports.js,samples/README.md) |
+| Region_instances.bulk_insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instances.bulk_insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_instances.bulk_insert.js,samples/README.md) |
+| Region_network_endpoint_groups.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_network_endpoint_groups.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_network_endpoint_groups.delete.js,samples/README.md) |
+| Region_network_endpoint_groups.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_network_endpoint_groups.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_network_endpoint_groups.get.js,samples/README.md) |
+| Region_network_endpoint_groups.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_network_endpoint_groups.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_network_endpoint_groups.insert.js,samples/README.md) |
+| Region_network_endpoint_groups.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_network_endpoint_groups.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_network_endpoint_groups.list.js,samples/README.md) |
+| Region_network_firewall_policies.add_association | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.add_association.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.add_association.js,samples/README.md) |
+| Region_network_firewall_policies.add_rule | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.add_rule.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.add_rule.js,samples/README.md) |
+| Region_network_firewall_policies.clone_rules | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.clone_rules.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.clone_rules.js,samples/README.md) |
+| Region_network_firewall_policies.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.delete.js,samples/README.md) |
+| Region_network_firewall_policies.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.get.js,samples/README.md) |
+| Region_network_firewall_policies.get_association | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.get_association.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.get_association.js,samples/README.md) |
+| Region_network_firewall_policies.get_effective_firewalls | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.get_effective_firewalls.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.get_effective_firewalls.js,samples/README.md) |
+| Region_network_firewall_policies.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.get_iam_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-compute/samples/generated/v1/region_network_firewall_policies.get_iam_policy.js,samples/README.md) |
+| Region_network_firewall_policies.get_rule | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.get_rule.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.get_rule.js,samples/README.md) |
+| Region_network_firewall_policies.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.insert.js,samples/README.md) |
+| Region_network_firewall_policies.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.list.js,samples/README.md) |
+| Region_network_firewall_policies.patch | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.patch.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.patch.js,samples/README.md) |
+| Region_network_firewall_policies.patch_rule | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.patch_rule.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.patch_rule.js,samples/README.md) |
+| Region_network_firewall_policies.remove_association | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.remove_association.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.remove_association.js,samples/README.md) |
+| Region_network_firewall_policies.remove_rule | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.remove_rule.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.remove_rule.js,samples/README.md) |
+| Region_network_firewall_policies.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.set_iam_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-compute/samples/generated/v1/region_network_firewall_policies.set_iam_policy.js,samples/README.md) |
+| Region_network_firewall_policies.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.test_iam_permissions.js,samples/README.md) |
+| Region_notification_endpoints.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_notification_endpoints.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_notification_endpoints.delete.js,samples/README.md) |
+| Region_notification_endpoints.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_notification_endpoints.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_notification_endpoints.get.js,samples/README.md) |
+| Region_notification_endpoints.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_notification_endpoints.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_notification_endpoints.insert.js,samples/README.md) |
+| Region_notification_endpoints.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_notification_endpoints.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_notification_endpoints.list.js,samples/README.md) |
+| Region_operations.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_operations.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_operations.delete.js,samples/README.md) |
+| Region_operations.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_operations.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_operations.get.js,samples/README.md) |
+| Region_operations.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_operations.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_operations.list.js,samples/README.md) |
+| Region_operations.wait | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_operations.wait.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_operations.wait.js,samples/README.md) |
+| Region_security_policies.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_security_policies.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_security_policies.delete.js,samples/README.md) |
+| Region_security_policies.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_security_policies.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_security_policies.get.js,samples/README.md) |
+| Region_security_policies.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_security_policies.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_security_policies.insert.js,samples/README.md) |
+| Region_security_policies.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_security_policies.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_security_policies.list.js,samples/README.md) |
+| Region_security_policies.patch | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_security_policies.patch.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_security_policies.patch.js,samples/README.md) |
+| Region_ssl_certificates.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_ssl_certificates.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_ssl_certificates.delete.js,samples/README.md) |
+| Region_ssl_certificates.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_ssl_certificates.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_ssl_certificates.get.js,samples/README.md) |
+| Region_ssl_certificates.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_ssl_certificates.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_ssl_certificates.insert.js,samples/README.md) |
+| Region_ssl_certificates.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_ssl_certificates.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_ssl_certificates.list.js,samples/README.md) |
+| Region_ssl_policies.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_ssl_policies.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_ssl_policies.delete.js,samples/README.md) |
+| Region_ssl_policies.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_ssl_policies.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_ssl_policies.get.js,samples/README.md) |
+| Region_ssl_policies.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_ssl_policies.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_ssl_policies.insert.js,samples/README.md) |
+| Region_ssl_policies.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_ssl_policies.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_ssl_policies.list.js,samples/README.md) |
+| Region_ssl_policies.list_available_features | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_ssl_policies.list_available_features.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_ssl_policies.list_available_features.js,samples/README.md) |
+| Region_ssl_policies.patch | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_ssl_policies.patch.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_ssl_policies.patch.js,samples/README.md) |
+| Region_target_http_proxies.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_target_http_proxies.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_target_http_proxies.delete.js,samples/README.md) |
+| Region_target_http_proxies.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_target_http_proxies.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_target_http_proxies.get.js,samples/README.md) |
+| Region_target_http_proxies.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_target_http_proxies.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_target_http_proxies.insert.js,samples/README.md) |
+| Region_target_http_proxies.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_target_http_proxies.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_target_http_proxies.list.js,samples/README.md) |
+| Region_target_http_proxies.set_url_map | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_target_http_proxies.set_url_map.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_target_http_proxies.set_url_map.js,samples/README.md) |
+| Region_target_https_proxies.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_target_https_proxies.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_target_https_proxies.delete.js,samples/README.md) |
+| Region_target_https_proxies.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_target_https_proxies.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_target_https_proxies.get.js,samples/README.md) |
+| Region_target_https_proxies.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_target_https_proxies.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_target_https_proxies.insert.js,samples/README.md) |
+| Region_target_https_proxies.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_target_https_proxies.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_target_https_proxies.list.js,samples/README.md) |
+| Region_target_https_proxies.patch | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_target_https_proxies.patch.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_target_https_proxies.patch.js,samples/README.md) |
+| Region_target_https_proxies.set_ssl_certificates | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_target_https_proxies.set_ssl_certificates.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_target_https_proxies.set_ssl_certificates.js,samples/README.md) |
+| Region_target_https_proxies.set_url_map | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_target_https_proxies.set_url_map.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_target_https_proxies.set_url_map.js,samples/README.md) |
+| Region_target_tcp_proxies.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_target_tcp_proxies.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_target_tcp_proxies.delete.js,samples/README.md) |
+| Region_target_tcp_proxies.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_target_tcp_proxies.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_target_tcp_proxies.get.js,samples/README.md) |
+| Region_target_tcp_proxies.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_target_tcp_proxies.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_target_tcp_proxies.insert.js,samples/README.md) |
+| Region_target_tcp_proxies.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_target_tcp_proxies.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_target_tcp_proxies.list.js,samples/README.md) |
+| Region_url_maps.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_url_maps.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_url_maps.delete.js,samples/README.md) |
+| Region_url_maps.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_url_maps.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_url_maps.get.js,samples/README.md) |
+| Region_url_maps.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_url_maps.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_url_maps.insert.js,samples/README.md) |
+| Region_url_maps.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_url_maps.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_url_maps.list.js,samples/README.md) |
+| Region_url_maps.patch | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_url_maps.patch.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_url_maps.patch.js,samples/README.md) |
+| Region_url_maps.update | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_url_maps.update.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_url_maps.update.js,samples/README.md) |
+| Region_url_maps.validate | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_url_maps.validate.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_url_maps.validate.js,samples/README.md) |
+| Regions.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/regions.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/regions.get.js,samples/README.md) |
+| Regions.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/regions.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/regions.list.js,samples/README.md) |
+| Reservations.aggregated_list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/reservations.aggregated_list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/reservations.aggregated_list.js,samples/README.md) |
+| Reservations.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/reservations.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/reservations.delete.js,samples/README.md) |
+| Reservations.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/reservations.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/reservations.get.js,samples/README.md) |
+| Reservations.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/reservations.get_iam_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-compute/samples/generated/v1/reservations.get_iam_policy.js,samples/README.md) |
+| Reservations.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/reservations.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/reservations.insert.js,samples/README.md) |
+| Reservations.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/reservations.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/reservations.list.js,samples/README.md) |
+| Reservations.resize | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/reservations.resize.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/reservations.resize.js,samples/README.md) |
+| Reservations.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/reservations.set_iam_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-compute/samples/generated/v1/reservations.set_iam_policy.js,samples/README.md) |
+| Reservations.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/reservations.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/reservations.test_iam_permissions.js,samples/README.md) |
+| Reservations.update | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/reservations.update.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/reservations.update.js,samples/README.md) |
+| Resource_policies.aggregated_list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/resource_policies.aggregated_list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/resource_policies.aggregated_list.js,samples/README.md) |
+| Resource_policies.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/resource_policies.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/resource_policies.delete.js,samples/README.md) |
+| Resource_policies.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/resource_policies.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/resource_policies.get.js,samples/README.md) |
+| Resource_policies.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/resource_policies.get_iam_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-compute/samples/generated/v1/resource_policies.get_iam_policy.js,samples/README.md) |
+| Resource_policies.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/resource_policies.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/resource_policies.insert.js,samples/README.md) |
+| Resource_policies.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/resource_policies.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/resource_policies.list.js,samples/README.md) |
+| Resource_policies.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/resource_policies.set_iam_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-compute/samples/generated/v1/resource_policies.set_iam_policy.js,samples/README.md) |
+| Resource_policies.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/resource_policies.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/resource_policies.test_iam_permissions.js,samples/README.md) |
+| Routers.aggregated_list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/routers.aggregated_list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/routers.aggregated_list.js,samples/README.md) |
+| Routers.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/routers.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/routers.delete.js,samples/README.md) |
+| Routers.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/routers.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/routers.get.js,samples/README.md) |
+| Routers.get_nat_mapping_info | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/routers.get_nat_mapping_info.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/routers.get_nat_mapping_info.js,samples/README.md) |
+| Routers.get_router_status | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/routers.get_router_status.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/routers.get_router_status.js,samples/README.md) |
+| Routers.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/routers.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/routers.insert.js,samples/README.md) |
+| Routers.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/routers.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/routers.list.js,samples/README.md) |
+| Routers.patch | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/routers.patch.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/routers.patch.js,samples/README.md) |
+| Routers.preview | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/routers.preview.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/routers.preview.js,samples/README.md) |
+| Routers.update | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/routers.update.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/routers.update.js,samples/README.md) |
+| Routes.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/routes.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/routes.delete.js,samples/README.md) |
+| Routes.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/routes.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/routes.get.js,samples/README.md) |
+| Routes.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/routes.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/routes.insert.js,samples/README.md) |
+| Routes.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/routes.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/routes.list.js,samples/README.md) |
+| Security_policies.add_rule | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/security_policies.add_rule.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/security_policies.add_rule.js,samples/README.md) |
+| Security_policies.aggregated_list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/security_policies.aggregated_list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/security_policies.aggregated_list.js,samples/README.md) |
+| Security_policies.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/security_policies.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/security_policies.delete.js,samples/README.md) |
+| Security_policies.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/security_policies.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/security_policies.get.js,samples/README.md) |
+| Security_policies.get_rule | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/security_policies.get_rule.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/security_policies.get_rule.js,samples/README.md) |
+| Security_policies.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/security_policies.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/security_policies.insert.js,samples/README.md) |
+| Security_policies.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/security_policies.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/security_policies.list.js,samples/README.md) |
+| Security_policies.list_preconfigured_expression_sets | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/security_policies.list_preconfigured_expression_sets.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/security_policies.list_preconfigured_expression_sets.js,samples/README.md) |
+| Security_policies.patch | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/security_policies.patch.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/security_policies.patch.js,samples/README.md) |
+| Security_policies.patch_rule | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/security_policies.patch_rule.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/security_policies.patch_rule.js,samples/README.md) |
+| Security_policies.remove_rule | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/security_policies.remove_rule.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/security_policies.remove_rule.js,samples/README.md) |
+| Security_policies.set_labels | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/security_policies.set_labels.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/security_policies.set_labels.js,samples/README.md) |
+| Service_attachments.aggregated_list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/service_attachments.aggregated_list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/service_attachments.aggregated_list.js,samples/README.md) |
+| Service_attachments.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/service_attachments.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/service_attachments.delete.js,samples/README.md) |
+| Service_attachments.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/service_attachments.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/service_attachments.get.js,samples/README.md) |
+| Service_attachments.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/service_attachments.get_iam_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-compute/samples/generated/v1/service_attachments.get_iam_policy.js,samples/README.md) |
+| Service_attachments.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/service_attachments.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/service_attachments.insert.js,samples/README.md) |
+| Service_attachments.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/service_attachments.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/service_attachments.list.js,samples/README.md) |
+| Service_attachments.patch | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/service_attachments.patch.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/service_attachments.patch.js,samples/README.md) |
+| Service_attachments.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/service_attachments.set_iam_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-compute/samples/generated/v1/service_attachments.set_iam_policy.js,samples/README.md) |
+| Service_attachments.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/service_attachments.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/service_attachments.test_iam_permissions.js,samples/README.md) |
+| Snapshots.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/snapshots.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/snapshots.delete.js,samples/README.md) |
+| Snapshots.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/snapshots.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/snapshots.get.js,samples/README.md) |
+| Snapshots.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/snapshots.get_iam_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-compute/samples/generated/v1/snapshots.get_iam_policy.js,samples/README.md) |
+| Snapshots.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/snapshots.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/snapshots.insert.js,samples/README.md) |
+| Snapshots.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/snapshots.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/snapshots.list.js,samples/README.md) |
+| Snapshots.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/snapshots.set_iam_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-compute/samples/generated/v1/snapshots.set_iam_policy.js,samples/README.md) |
+| Snapshots.set_labels | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/snapshots.set_labels.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/snapshots.set_labels.js,samples/README.md) |
+| Snapshots.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/snapshots.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/snapshots.test_iam_permissions.js,samples/README.md) |
+| Ssl_certificates.aggregated_list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/ssl_certificates.aggregated_list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/ssl_certificates.aggregated_list.js,samples/README.md) |
+| Ssl_certificates.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/ssl_certificates.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/ssl_certificates.delete.js,samples/README.md) |
+| Ssl_certificates.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/ssl_certificates.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/ssl_certificates.get.js,samples/README.md) |
+| Ssl_certificates.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/ssl_certificates.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/ssl_certificates.insert.js,samples/README.md) |
+| Ssl_certificates.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/ssl_certificates.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/ssl_certificates.list.js,samples/README.md) |
+| Ssl_policies.aggregated_list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/ssl_policies.aggregated_list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/ssl_policies.aggregated_list.js,samples/README.md) |
+| Ssl_policies.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/ssl_policies.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/ssl_policies.delete.js,samples/README.md) |
+| Ssl_policies.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/ssl_policies.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/ssl_policies.get.js,samples/README.md) |
+| Ssl_policies.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/ssl_policies.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/ssl_policies.insert.js,samples/README.md) |
+| Ssl_policies.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/ssl_policies.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/ssl_policies.list.js,samples/README.md) |
+| Ssl_policies.list_available_features | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/ssl_policies.list_available_features.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/ssl_policies.list_available_features.js,samples/README.md) |
+| Ssl_policies.patch | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/ssl_policies.patch.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/ssl_policies.patch.js,samples/README.md) |
+| Subnetworks.aggregated_list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/subnetworks.aggregated_list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/subnetworks.aggregated_list.js,samples/README.md) |
+| Subnetworks.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/subnetworks.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/subnetworks.delete.js,samples/README.md) |
+| Subnetworks.expand_ip_cidr_range | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/subnetworks.expand_ip_cidr_range.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/subnetworks.expand_ip_cidr_range.js,samples/README.md) |
+| Subnetworks.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/subnetworks.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/subnetworks.get.js,samples/README.md) |
+| Subnetworks.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/subnetworks.get_iam_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-compute/samples/generated/v1/subnetworks.get_iam_policy.js,samples/README.md) |
+| Subnetworks.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/subnetworks.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/subnetworks.insert.js,samples/README.md) |
+| Subnetworks.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/subnetworks.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/subnetworks.list.js,samples/README.md) |
+| Subnetworks.list_usable | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/subnetworks.list_usable.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/subnetworks.list_usable.js,samples/README.md) |
+| Subnetworks.patch | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/subnetworks.patch.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/subnetworks.patch.js,samples/README.md) |
+| Subnetworks.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/subnetworks.set_iam_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-compute/samples/generated/v1/subnetworks.set_iam_policy.js,samples/README.md) |
+| Subnetworks.set_private_ip_google_access | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/subnetworks.set_private_ip_google_access.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/subnetworks.set_private_ip_google_access.js,samples/README.md) |
+| Subnetworks.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/subnetworks.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/subnetworks.test_iam_permissions.js,samples/README.md) |
+| Target_grpc_proxies.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_grpc_proxies.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_grpc_proxies.delete.js,samples/README.md) |
+| Target_grpc_proxies.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_grpc_proxies.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_grpc_proxies.get.js,samples/README.md) |
+| Target_grpc_proxies.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_grpc_proxies.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_grpc_proxies.insert.js,samples/README.md) |
+| Target_grpc_proxies.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_grpc_proxies.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_grpc_proxies.list.js,samples/README.md) |
+| Target_grpc_proxies.patch | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_grpc_proxies.patch.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_grpc_proxies.patch.js,samples/README.md) |
+| Target_http_proxies.aggregated_list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_http_proxies.aggregated_list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_http_proxies.aggregated_list.js,samples/README.md) |
+| Target_http_proxies.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_http_proxies.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_http_proxies.delete.js,samples/README.md) |
+| Target_http_proxies.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_http_proxies.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_http_proxies.get.js,samples/README.md) |
+| Target_http_proxies.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_http_proxies.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_http_proxies.insert.js,samples/README.md) |
+| Target_http_proxies.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_http_proxies.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_http_proxies.list.js,samples/README.md) |
+| Target_http_proxies.patch | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_http_proxies.patch.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_http_proxies.patch.js,samples/README.md) |
+| Target_http_proxies.set_url_map | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_http_proxies.set_url_map.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_http_proxies.set_url_map.js,samples/README.md) |
+| Target_https_proxies.aggregated_list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_https_proxies.aggregated_list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_https_proxies.aggregated_list.js,samples/README.md) |
+| Target_https_proxies.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_https_proxies.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_https_proxies.delete.js,samples/README.md) |
+| Target_https_proxies.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_https_proxies.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_https_proxies.get.js,samples/README.md) |
+| Target_https_proxies.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_https_proxies.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_https_proxies.insert.js,samples/README.md) |
+| Target_https_proxies.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_https_proxies.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_https_proxies.list.js,samples/README.md) |
+| Target_https_proxies.patch | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_https_proxies.patch.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_https_proxies.patch.js,samples/README.md) |
+| Target_https_proxies.set_certificate_map | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_https_proxies.set_certificate_map.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_https_proxies.set_certificate_map.js,samples/README.md) |
+| Target_https_proxies.set_quic_override | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_https_proxies.set_quic_override.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_https_proxies.set_quic_override.js,samples/README.md) |
+| Target_https_proxies.set_ssl_certificates | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_https_proxies.set_ssl_certificates.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_https_proxies.set_ssl_certificates.js,samples/README.md) |
+| Target_https_proxies.set_ssl_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_https_proxies.set_ssl_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-compute/samples/generated/v1/target_https_proxies.set_ssl_policy.js,samples/README.md) |
+| Target_https_proxies.set_url_map | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_https_proxies.set_url_map.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_https_proxies.set_url_map.js,samples/README.md) |
+| Target_instances.aggregated_list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_instances.aggregated_list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_instances.aggregated_list.js,samples/README.md) |
+| Target_instances.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_instances.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_instances.delete.js,samples/README.md) |
+| Target_instances.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_instances.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_instances.get.js,samples/README.md) |
+| Target_instances.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_instances.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_instances.insert.js,samples/README.md) |
+| Target_instances.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_instances.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_instances.list.js,samples/README.md) |
+| Target_pools.add_health_check | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_pools.add_health_check.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_pools.add_health_check.js,samples/README.md) |
+| Target_pools.add_instance | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_pools.add_instance.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_pools.add_instance.js,samples/README.md) |
+| Target_pools.aggregated_list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_pools.aggregated_list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_pools.aggregated_list.js,samples/README.md) |
+| Target_pools.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_pools.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_pools.delete.js,samples/README.md) |
+| Target_pools.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_pools.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_pools.get.js,samples/README.md) |
+| Target_pools.get_health | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_pools.get_health.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_pools.get_health.js,samples/README.md) |
+| Target_pools.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_pools.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_pools.insert.js,samples/README.md) |
+| Target_pools.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_pools.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_pools.list.js,samples/README.md) |
+| Target_pools.remove_health_check | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_pools.remove_health_check.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_pools.remove_health_check.js,samples/README.md) |
+| Target_pools.remove_instance | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_pools.remove_instance.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_pools.remove_instance.js,samples/README.md) |
+| Target_pools.set_backup | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_pools.set_backup.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_pools.set_backup.js,samples/README.md) |
+| Target_ssl_proxies.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_ssl_proxies.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_ssl_proxies.delete.js,samples/README.md) |
+| Target_ssl_proxies.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_ssl_proxies.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_ssl_proxies.get.js,samples/README.md) |
+| Target_ssl_proxies.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_ssl_proxies.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_ssl_proxies.insert.js,samples/README.md) |
+| Target_ssl_proxies.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_ssl_proxies.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_ssl_proxies.list.js,samples/README.md) |
+| Target_ssl_proxies.set_backend_service | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_ssl_proxies.set_backend_service.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_ssl_proxies.set_backend_service.js,samples/README.md) |
+| Target_ssl_proxies.set_certificate_map | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_ssl_proxies.set_certificate_map.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_ssl_proxies.set_certificate_map.js,samples/README.md) |
+| Target_ssl_proxies.set_proxy_header | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_ssl_proxies.set_proxy_header.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_ssl_proxies.set_proxy_header.js,samples/README.md) |
+| Target_ssl_proxies.set_ssl_certificates | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_ssl_proxies.set_ssl_certificates.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_ssl_proxies.set_ssl_certificates.js,samples/README.md) |
+| Target_ssl_proxies.set_ssl_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_ssl_proxies.set_ssl_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-compute/samples/generated/v1/target_ssl_proxies.set_ssl_policy.js,samples/README.md) |
+| Target_tcp_proxies.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_tcp_proxies.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_tcp_proxies.delete.js,samples/README.md) |
+| Target_tcp_proxies.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_tcp_proxies.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_tcp_proxies.get.js,samples/README.md) |
+| Target_tcp_proxies.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_tcp_proxies.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_tcp_proxies.insert.js,samples/README.md) |
+| Target_tcp_proxies.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_tcp_proxies.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_tcp_proxies.list.js,samples/README.md) |
+| Target_tcp_proxies.set_backend_service | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_tcp_proxies.set_backend_service.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_tcp_proxies.set_backend_service.js,samples/README.md) |
+| Target_tcp_proxies.set_proxy_header | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_tcp_proxies.set_proxy_header.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_tcp_proxies.set_proxy_header.js,samples/README.md) |
+| Target_vpn_gateways.aggregated_list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_vpn_gateways.aggregated_list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_vpn_gateways.aggregated_list.js,samples/README.md) |
+| Target_vpn_gateways.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_vpn_gateways.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_vpn_gateways.delete.js,samples/README.md) |
+| Target_vpn_gateways.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_vpn_gateways.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_vpn_gateways.get.js,samples/README.md) |
+| Target_vpn_gateways.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_vpn_gateways.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_vpn_gateways.insert.js,samples/README.md) |
+| Target_vpn_gateways.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_vpn_gateways.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_vpn_gateways.list.js,samples/README.md) |
+| Target_vpn_gateways.set_labels | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_vpn_gateways.set_labels.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_vpn_gateways.set_labels.js,samples/README.md) |
+| Url_maps.aggregated_list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/url_maps.aggregated_list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/url_maps.aggregated_list.js,samples/README.md) |
+| Url_maps.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/url_maps.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/url_maps.delete.js,samples/README.md) |
+| Url_maps.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/url_maps.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/url_maps.get.js,samples/README.md) |
+| Url_maps.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/url_maps.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/url_maps.insert.js,samples/README.md) |
+| Url_maps.invalidate_cache | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/url_maps.invalidate_cache.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/url_maps.invalidate_cache.js,samples/README.md) |
+| Url_maps.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/url_maps.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/url_maps.list.js,samples/README.md) |
+| Url_maps.patch | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/url_maps.patch.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/url_maps.patch.js,samples/README.md) |
+| Url_maps.update | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/url_maps.update.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/url_maps.update.js,samples/README.md) |
+| Url_maps.validate | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/url_maps.validate.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/url_maps.validate.js,samples/README.md) |
+| Vpn_gateways.aggregated_list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/vpn_gateways.aggregated_list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/vpn_gateways.aggregated_list.js,samples/README.md) |
+| Vpn_gateways.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/vpn_gateways.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/vpn_gateways.delete.js,samples/README.md) |
+| Vpn_gateways.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/vpn_gateways.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/vpn_gateways.get.js,samples/README.md) |
+| Vpn_gateways.get_status | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/vpn_gateways.get_status.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/vpn_gateways.get_status.js,samples/README.md) |
+| Vpn_gateways.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/vpn_gateways.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/vpn_gateways.insert.js,samples/README.md) |
+| Vpn_gateways.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/vpn_gateways.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/vpn_gateways.list.js,samples/README.md) |
+| Vpn_gateways.set_labels | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/vpn_gateways.set_labels.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/vpn_gateways.set_labels.js,samples/README.md) |
+| Vpn_gateways.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/vpn_gateways.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/vpn_gateways.test_iam_permissions.js,samples/README.md) |
+| Vpn_tunnels.aggregated_list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/vpn_tunnels.aggregated_list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/vpn_tunnels.aggregated_list.js,samples/README.md) |
+| Vpn_tunnels.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/vpn_tunnels.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/vpn_tunnels.delete.js,samples/README.md) |
+| Vpn_tunnels.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/vpn_tunnels.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/vpn_tunnels.get.js,samples/README.md) |
+| Vpn_tunnels.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/vpn_tunnels.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/vpn_tunnels.insert.js,samples/README.md) |
+| Vpn_tunnels.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/vpn_tunnels.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/vpn_tunnels.list.js,samples/README.md) |
+| Vpn_tunnels.set_labels | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/vpn_tunnels.set_labels.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/vpn_tunnels.set_labels.js,samples/README.md) |
+| Zone_operations.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/zone_operations.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/zone_operations.delete.js,samples/README.md) |
+| Zone_operations.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/zone_operations.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/zone_operations.get.js,samples/README.md) |
+| Zone_operations.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/zone_operations.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/zone_operations.list.js,samples/README.md) |
+| Zone_operations.wait | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/zone_operations.wait.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/zone_operations.wait.js,samples/README.md) |
+| Zones.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/zones.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/zones.get.js,samples/README.md) |
+| Zones.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/zones.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/zones.list.js,samples/README.md) |
+| Addresses.aggregated_list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1small/addresses.aggregated_list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1small/addresses.aggregated_list.js,samples/README.md) |
+| Addresses.delete | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1small/addresses.delete.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1small/addresses.delete.js,samples/README.md) |
+| Addresses.insert | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1small/addresses.insert.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1small/addresses.insert.js,samples/README.md) |
+| Addresses.list | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1small/addresses.list.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1small/addresses.list.js,samples/README.md) |
+| Region_operations.get | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1small/region_operations.get.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1small/region_operations.get.js,samples/README.md) |
+| Region_operations.wait | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1small/region_operations.wait.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1small/region_operations.wait.js,samples/README.md) |
+| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/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-compute/samples/quickstart.js,samples/README.md) |
+| Quickstart.test | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/test/quickstart.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-compute/samples/test/quickstart.test.js,samples/README.md) |
@@ -141,7 +828,7 @@ More Information: [Google Cloud Platform Launch Stages][launch_stages]
## Contributing
-Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/nodejs-compute/blob/main/CONTRIBUTING.md).
+Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/google-cloud-node/blob/main/CONTRIBUTING.md).
Please note that this `README.md`, the `samples/README.md`,
and a variety of configuration files in this repository (including `.nycrc` and `tsconfig.json`)
@@ -153,7 +840,7 @@ to its templates in
Apache Version 2.0
-See [LICENSE](https://github.com/googleapis/nodejs-compute/blob/main/LICENSE)
+See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/LICENSE)
[client-docs]: https://cloud.google.com/nodejs/docs/reference/compute/latest
[product-docs]: https://cloud.google.com/compute
diff --git a/packages/google-cloud-compute/samples/README.md b/packages/google-cloud-compute/samples/README.md
index e2322a52938..26a97fe7ea1 100644
--- a/packages/google-cloud-compute/samples/README.md
+++ b/packages/google-cloud-compute/samples/README.md
@@ -2,51 +2,697 @@
[//]: # "To regenerate it, use `python -m synthtool`."
-# [Google Compute Engine: Node.js Samples](https://github.com/googleapis/nodejs-compute)
+# [Google Compute Engine: Node.js Samples](https://github.com/googleapis/google-cloud-node)
[![Open in Cloud Shell][shell_img]][shell_link]
-> Node.js idiomatic client for [Compute Engine][product-docs].
-[Compute Engine](https://cloud.google.com/compute/docs) is a
-computing and hosting service that lets you create and run virtual
-machines on Google infrastructure. Compute Engine offers scale,
-performance, and value that lets you easily launch large compute
-clusters on Google's infrastructure. There are no upfront
-investments, and you can run thousands of virtual CPUs on a system
-that offers quick, consistent performance.
-This library is GA from version 3.1.0. It is
-backwards-incompatible with prior versions 0.x.y, 1.x.y, 2.x.y,
-and 3.0.y.
## Table of Contents
* [Before you begin](#before-you-begin)
* [Samples](#samples)
- * [Create Instance](#create-instance)
- * [Create Instance From Template](#create-instance-from-template)
- * [Create Instance From Template With Overrides](#create-instance-from-template-with-overrides)
- * [Delete Instance](#delete-instance)
- * [Disable Usage Export](#disable-usage-export)
- * [Get Instance](#get-instance)
- * [Get Usage Export Bucket](#get-usage-export-bucket)
- * [List All Instances](#list-all-instances)
- * [List Images](#list-images)
- * [List Images By Page](#list-images-by-page)
- * [List Instances](#list-instances)
- * [Mailjet](#mailjet)
- * [Reset Instance](#reset-instance)
- * [Sendgrid](#sendgrid)
- * [Set Usage Export Bucket](#set-usage-export-bucket)
- * [Start Instance](#start-instance)
- * [Start Instance With Enc Key](#start-instance-with-enc-key)
- * [Stop Instance](#stop-instance)
- * [Wait For Operation](#wait-for-operation)
+ * [Accelerator_types.aggregated_list](#accelerator_types.aggregated_list)
+ * [Accelerator_types.get](#accelerator_types.get)
+ * [Accelerator_types.list](#accelerator_types.list)
+ * [Addresses.aggregated_list](#addresses.aggregated_list)
+ * [Addresses.delete](#addresses.delete)
+ * [Addresses.get](#addresses.get)
+ * [Addresses.insert](#addresses.insert)
+ * [Addresses.list](#addresses.list)
+ * [Addresses.set_labels](#addresses.set_labels)
+ * [Autoscalers.aggregated_list](#autoscalers.aggregated_list)
+ * [Autoscalers.delete](#autoscalers.delete)
+ * [Autoscalers.get](#autoscalers.get)
+ * [Autoscalers.insert](#autoscalers.insert)
+ * [Autoscalers.list](#autoscalers.list)
+ * [Autoscalers.patch](#autoscalers.patch)
+ * [Autoscalers.update](#autoscalers.update)
+ * [Backend_buckets.add_signed_url_key](#backend_buckets.add_signed_url_key)
+ * [Backend_buckets.delete](#backend_buckets.delete)
+ * [Backend_buckets.delete_signed_url_key](#backend_buckets.delete_signed_url_key)
+ * [Backend_buckets.get](#backend_buckets.get)
+ * [Backend_buckets.insert](#backend_buckets.insert)
+ * [Backend_buckets.list](#backend_buckets.list)
+ * [Backend_buckets.patch](#backend_buckets.patch)
+ * [Backend_buckets.set_edge_security_policy](#backend_buckets.set_edge_security_policy)
+ * [Backend_buckets.update](#backend_buckets.update)
+ * [Backend_services.add_signed_url_key](#backend_services.add_signed_url_key)
+ * [Backend_services.aggregated_list](#backend_services.aggregated_list)
+ * [Backend_services.delete](#backend_services.delete)
+ * [Backend_services.delete_signed_url_key](#backend_services.delete_signed_url_key)
+ * [Backend_services.get](#backend_services.get)
+ * [Backend_services.get_health](#backend_services.get_health)
+ * [Backend_services.get_iam_policy](#backend_services.get_iam_policy)
+ * [Backend_services.insert](#backend_services.insert)
+ * [Backend_services.list](#backend_services.list)
+ * [Backend_services.patch](#backend_services.patch)
+ * [Backend_services.set_edge_security_policy](#backend_services.set_edge_security_policy)
+ * [Backend_services.set_iam_policy](#backend_services.set_iam_policy)
+ * [Backend_services.set_security_policy](#backend_services.set_security_policy)
+ * [Backend_services.update](#backend_services.update)
+ * [Disk_types.aggregated_list](#disk_types.aggregated_list)
+ * [Disk_types.get](#disk_types.get)
+ * [Disk_types.list](#disk_types.list)
+ * [Disks.add_resource_policies](#disks.add_resource_policies)
+ * [Disks.aggregated_list](#disks.aggregated_list)
+ * [Disks.create_snapshot](#disks.create_snapshot)
+ * [Disks.delete](#disks.delete)
+ * [Disks.get](#disks.get)
+ * [Disks.get_iam_policy](#disks.get_iam_policy)
+ * [Disks.insert](#disks.insert)
+ * [Disks.list](#disks.list)
+ * [Disks.remove_resource_policies](#disks.remove_resource_policies)
+ * [Disks.resize](#disks.resize)
+ * [Disks.set_iam_policy](#disks.set_iam_policy)
+ * [Disks.set_labels](#disks.set_labels)
+ * [Disks.test_iam_permissions](#disks.test_iam_permissions)
+ * [External_vpn_gateways.delete](#external_vpn_gateways.delete)
+ * [External_vpn_gateways.get](#external_vpn_gateways.get)
+ * [External_vpn_gateways.insert](#external_vpn_gateways.insert)
+ * [External_vpn_gateways.list](#external_vpn_gateways.list)
+ * [External_vpn_gateways.set_labels](#external_vpn_gateways.set_labels)
+ * [External_vpn_gateways.test_iam_permissions](#external_vpn_gateways.test_iam_permissions)
+ * [Firewall_policies.add_association](#firewall_policies.add_association)
+ * [Firewall_policies.add_rule](#firewall_policies.add_rule)
+ * [Firewall_policies.clone_rules](#firewall_policies.clone_rules)
+ * [Firewall_policies.delete](#firewall_policies.delete)
+ * [Firewall_policies.get](#firewall_policies.get)
+ * [Firewall_policies.get_association](#firewall_policies.get_association)
+ * [Firewall_policies.get_iam_policy](#firewall_policies.get_iam_policy)
+ * [Firewall_policies.get_rule](#firewall_policies.get_rule)
+ * [Firewall_policies.insert](#firewall_policies.insert)
+ * [Firewall_policies.list](#firewall_policies.list)
+ * [Firewall_policies.list_associations](#firewall_policies.list_associations)
+ * [Firewall_policies.move](#firewall_policies.move)
+ * [Firewall_policies.patch](#firewall_policies.patch)
+ * [Firewall_policies.patch_rule](#firewall_policies.patch_rule)
+ * [Firewall_policies.remove_association](#firewall_policies.remove_association)
+ * [Firewall_policies.remove_rule](#firewall_policies.remove_rule)
+ * [Firewall_policies.set_iam_policy](#firewall_policies.set_iam_policy)
+ * [Firewall_policies.test_iam_permissions](#firewall_policies.test_iam_permissions)
+ * [Firewalls.delete](#firewalls.delete)
+ * [Firewalls.get](#firewalls.get)
+ * [Firewalls.insert](#firewalls.insert)
+ * [Firewalls.list](#firewalls.list)
+ * [Firewalls.patch](#firewalls.patch)
+ * [Firewalls.update](#firewalls.update)
+ * [Forwarding_rules.aggregated_list](#forwarding_rules.aggregated_list)
+ * [Forwarding_rules.delete](#forwarding_rules.delete)
+ * [Forwarding_rules.get](#forwarding_rules.get)
+ * [Forwarding_rules.insert](#forwarding_rules.insert)
+ * [Forwarding_rules.list](#forwarding_rules.list)
+ * [Forwarding_rules.patch](#forwarding_rules.patch)
+ * [Forwarding_rules.set_labels](#forwarding_rules.set_labels)
+ * [Forwarding_rules.set_target](#forwarding_rules.set_target)
+ * [Global_addresses.delete](#global_addresses.delete)
+ * [Global_addresses.get](#global_addresses.get)
+ * [Global_addresses.insert](#global_addresses.insert)
+ * [Global_addresses.list](#global_addresses.list)
+ * [Global_addresses.set_labels](#global_addresses.set_labels)
+ * [Global_forwarding_rules.delete](#global_forwarding_rules.delete)
+ * [Global_forwarding_rules.get](#global_forwarding_rules.get)
+ * [Global_forwarding_rules.insert](#global_forwarding_rules.insert)
+ * [Global_forwarding_rules.list](#global_forwarding_rules.list)
+ * [Global_forwarding_rules.patch](#global_forwarding_rules.patch)
+ * [Global_forwarding_rules.set_labels](#global_forwarding_rules.set_labels)
+ * [Global_forwarding_rules.set_target](#global_forwarding_rules.set_target)
+ * [Global_network_endpoint_groups.attach_network_endpoints](#global_network_endpoint_groups.attach_network_endpoints)
+ * [Global_network_endpoint_groups.delete](#global_network_endpoint_groups.delete)
+ * [Global_network_endpoint_groups.detach_network_endpoints](#global_network_endpoint_groups.detach_network_endpoints)
+ * [Global_network_endpoint_groups.get](#global_network_endpoint_groups.get)
+ * [Global_network_endpoint_groups.insert](#global_network_endpoint_groups.insert)
+ * [Global_network_endpoint_groups.list](#global_network_endpoint_groups.list)
+ * [Global_network_endpoint_groups.list_network_endpoints](#global_network_endpoint_groups.list_network_endpoints)
+ * [Global_operations.aggregated_list](#global_operations.aggregated_list)
+ * [Global_operations.delete](#global_operations.delete)
+ * [Global_operations.get](#global_operations.get)
+ * [Global_operations.list](#global_operations.list)
+ * [Global_operations.wait](#global_operations.wait)
+ * [Global_organization_operations.delete](#global_organization_operations.delete)
+ * [Global_organization_operations.get](#global_organization_operations.get)
+ * [Global_organization_operations.list](#global_organization_operations.list)
+ * [Global_public_delegated_prefixes.delete](#global_public_delegated_prefixes.delete)
+ * [Global_public_delegated_prefixes.get](#global_public_delegated_prefixes.get)
+ * [Global_public_delegated_prefixes.insert](#global_public_delegated_prefixes.insert)
+ * [Global_public_delegated_prefixes.list](#global_public_delegated_prefixes.list)
+ * [Global_public_delegated_prefixes.patch](#global_public_delegated_prefixes.patch)
+ * [Health_checks.aggregated_list](#health_checks.aggregated_list)
+ * [Health_checks.delete](#health_checks.delete)
+ * [Health_checks.get](#health_checks.get)
+ * [Health_checks.insert](#health_checks.insert)
+ * [Health_checks.list](#health_checks.list)
+ * [Health_checks.patch](#health_checks.patch)
+ * [Health_checks.update](#health_checks.update)
+ * [Image_family_views.get](#image_family_views.get)
+ * [Images.delete](#images.delete)
+ * [Images.deprecate](#images.deprecate)
+ * [Images.get](#images.get)
+ * [Images.get_from_family](#images.get_from_family)
+ * [Images.get_iam_policy](#images.get_iam_policy)
+ * [Images.insert](#images.insert)
+ * [Images.list](#images.list)
+ * [Images.patch](#images.patch)
+ * [Images.set_iam_policy](#images.set_iam_policy)
+ * [Images.set_labels](#images.set_labels)
+ * [Images.test_iam_permissions](#images.test_iam_permissions)
+ * [Instance_group_managers.abandon_instances](#instance_group_managers.abandon_instances)
+ * [Instance_group_managers.aggregated_list](#instance_group_managers.aggregated_list)
+ * [Instance_group_managers.apply_updates_to_instances](#instance_group_managers.apply_updates_to_instances)
+ * [Instance_group_managers.create_instances](#instance_group_managers.create_instances)
+ * [Instance_group_managers.delete](#instance_group_managers.delete)
+ * [Instance_group_managers.delete_instances](#instance_group_managers.delete_instances)
+ * [Instance_group_managers.delete_per_instance_configs](#instance_group_managers.delete_per_instance_configs)
+ * [Instance_group_managers.get](#instance_group_managers.get)
+ * [Instance_group_managers.insert](#instance_group_managers.insert)
+ * [Instance_group_managers.list](#instance_group_managers.list)
+ * [Instance_group_managers.list_errors](#instance_group_managers.list_errors)
+ * [Instance_group_managers.list_managed_instances](#instance_group_managers.list_managed_instances)
+ * [Instance_group_managers.list_per_instance_configs](#instance_group_managers.list_per_instance_configs)
+ * [Instance_group_managers.patch](#instance_group_managers.patch)
+ * [Instance_group_managers.patch_per_instance_configs](#instance_group_managers.patch_per_instance_configs)
+ * [Instance_group_managers.recreate_instances](#instance_group_managers.recreate_instances)
+ * [Instance_group_managers.resize](#instance_group_managers.resize)
+ * [Instance_group_managers.set_instance_template](#instance_group_managers.set_instance_template)
+ * [Instance_group_managers.set_target_pools](#instance_group_managers.set_target_pools)
+ * [Instance_group_managers.update_per_instance_configs](#instance_group_managers.update_per_instance_configs)
+ * [Instance_groups.add_instances](#instance_groups.add_instances)
+ * [Instance_groups.aggregated_list](#instance_groups.aggregated_list)
+ * [Instance_groups.delete](#instance_groups.delete)
+ * [Instance_groups.get](#instance_groups.get)
+ * [Instance_groups.insert](#instance_groups.insert)
+ * [Instance_groups.list](#instance_groups.list)
+ * [Instance_groups.list_instances](#instance_groups.list_instances)
+ * [Instance_groups.remove_instances](#instance_groups.remove_instances)
+ * [Instance_groups.set_named_ports](#instance_groups.set_named_ports)
+ * [Instance_templates.delete](#instance_templates.delete)
+ * [Instance_templates.get](#instance_templates.get)
+ * [Instance_templates.get_iam_policy](#instance_templates.get_iam_policy)
+ * [Instance_templates.insert](#instance_templates.insert)
+ * [Instance_templates.list](#instance_templates.list)
+ * [Instance_templates.set_iam_policy](#instance_templates.set_iam_policy)
+ * [Instance_templates.test_iam_permissions](#instance_templates.test_iam_permissions)
+ * [Instances.add_access_config](#instances.add_access_config)
+ * [Instances.add_resource_policies](#instances.add_resource_policies)
+ * [Instances.aggregated_list](#instances.aggregated_list)
+ * [Instances.attach_disk](#instances.attach_disk)
+ * [Instances.bulk_insert](#instances.bulk_insert)
+ * [Instances.delete](#instances.delete)
+ * [Instances.delete_access_config](#instances.delete_access_config)
+ * [Instances.detach_disk](#instances.detach_disk)
+ * [Instances.get](#instances.get)
+ * [Instances.get_effective_firewalls](#instances.get_effective_firewalls)
+ * [Instances.get_guest_attributes](#instances.get_guest_attributes)
+ * [Instances.get_iam_policy](#instances.get_iam_policy)
+ * [Instances.get_screenshot](#instances.get_screenshot)
+ * [Instances.get_serial_port_output](#instances.get_serial_port_output)
+ * [Instances.get_shielded_instance_identity](#instances.get_shielded_instance_identity)
+ * [Instances.insert](#instances.insert)
+ * [Instances.list](#instances.list)
+ * [Instances.list_referrers](#instances.list_referrers)
+ * [Instances.remove_resource_policies](#instances.remove_resource_policies)
+ * [Instances.reset](#instances.reset)
+ * [Instances.resume](#instances.resume)
+ * [Instances.send_diagnostic_interrupt](#instances.send_diagnostic_interrupt)
+ * [Instances.set_deletion_protection](#instances.set_deletion_protection)
+ * [Instances.set_disk_auto_delete](#instances.set_disk_auto_delete)
+ * [Instances.set_iam_policy](#instances.set_iam_policy)
+ * [Instances.set_labels](#instances.set_labels)
+ * [Instances.set_machine_resources](#instances.set_machine_resources)
+ * [Instances.set_machine_type](#instances.set_machine_type)
+ * [Instances.set_metadata](#instances.set_metadata)
+ * [Instances.set_min_cpu_platform](#instances.set_min_cpu_platform)
+ * [Instances.set_scheduling](#instances.set_scheduling)
+ * [Instances.set_service_account](#instances.set_service_account)
+ * [Instances.set_shielded_instance_integrity_policy](#instances.set_shielded_instance_integrity_policy)
+ * [Instances.set_tags](#instances.set_tags)
+ * [Instances.simulate_maintenance_event](#instances.simulate_maintenance_event)
+ * [Instances.start](#instances.start)
+ * [Instances.start_with_encryption_key](#instances.start_with_encryption_key)
+ * [Instances.stop](#instances.stop)
+ * [Instances.suspend](#instances.suspend)
+ * [Instances.test_iam_permissions](#instances.test_iam_permissions)
+ * [Instances.update](#instances.update)
+ * [Instances.update_access_config](#instances.update_access_config)
+ * [Instances.update_display_device](#instances.update_display_device)
+ * [Instances.update_network_interface](#instances.update_network_interface)
+ * [Instances.update_shielded_instance_config](#instances.update_shielded_instance_config)
+ * [Interconnect_attachments.aggregated_list](#interconnect_attachments.aggregated_list)
+ * [Interconnect_attachments.delete](#interconnect_attachments.delete)
+ * [Interconnect_attachments.get](#interconnect_attachments.get)
+ * [Interconnect_attachments.insert](#interconnect_attachments.insert)
+ * [Interconnect_attachments.list](#interconnect_attachments.list)
+ * [Interconnect_attachments.patch](#interconnect_attachments.patch)
+ * [Interconnect_attachments.set_labels](#interconnect_attachments.set_labels)
+ * [Interconnect_locations.get](#interconnect_locations.get)
+ * [Interconnect_locations.list](#interconnect_locations.list)
+ * [Interconnects.delete](#interconnects.delete)
+ * [Interconnects.get](#interconnects.get)
+ * [Interconnects.get_diagnostics](#interconnects.get_diagnostics)
+ * [Interconnects.insert](#interconnects.insert)
+ * [Interconnects.list](#interconnects.list)
+ * [Interconnects.patch](#interconnects.patch)
+ * [Interconnects.set_labels](#interconnects.set_labels)
+ * [License_codes.get](#license_codes.get)
+ * [License_codes.test_iam_permissions](#license_codes.test_iam_permissions)
+ * [Licenses.delete](#licenses.delete)
+ * [Licenses.get](#licenses.get)
+ * [Licenses.get_iam_policy](#licenses.get_iam_policy)
+ * [Licenses.insert](#licenses.insert)
+ * [Licenses.list](#licenses.list)
+ * [Licenses.set_iam_policy](#licenses.set_iam_policy)
+ * [Licenses.test_iam_permissions](#licenses.test_iam_permissions)
+ * [Machine_images.delete](#machine_images.delete)
+ * [Machine_images.get](#machine_images.get)
+ * [Machine_images.get_iam_policy](#machine_images.get_iam_policy)
+ * [Machine_images.insert](#machine_images.insert)
+ * [Machine_images.list](#machine_images.list)
+ * [Machine_images.set_iam_policy](#machine_images.set_iam_policy)
+ * [Machine_images.test_iam_permissions](#machine_images.test_iam_permissions)
+ * [Machine_types.aggregated_list](#machine_types.aggregated_list)
+ * [Machine_types.get](#machine_types.get)
+ * [Machine_types.list](#machine_types.list)
+ * [Network_edge_security_services.aggregated_list](#network_edge_security_services.aggregated_list)
+ * [Network_edge_security_services.delete](#network_edge_security_services.delete)
+ * [Network_edge_security_services.get](#network_edge_security_services.get)
+ * [Network_edge_security_services.insert](#network_edge_security_services.insert)
+ * [Network_edge_security_services.patch](#network_edge_security_services.patch)
+ * [Network_endpoint_groups.aggregated_list](#network_endpoint_groups.aggregated_list)
+ * [Network_endpoint_groups.attach_network_endpoints](#network_endpoint_groups.attach_network_endpoints)
+ * [Network_endpoint_groups.delete](#network_endpoint_groups.delete)
+ * [Network_endpoint_groups.detach_network_endpoints](#network_endpoint_groups.detach_network_endpoints)
+ * [Network_endpoint_groups.get](#network_endpoint_groups.get)
+ * [Network_endpoint_groups.insert](#network_endpoint_groups.insert)
+ * [Network_endpoint_groups.list](#network_endpoint_groups.list)
+ * [Network_endpoint_groups.list_network_endpoints](#network_endpoint_groups.list_network_endpoints)
+ * [Network_endpoint_groups.test_iam_permissions](#network_endpoint_groups.test_iam_permissions)
+ * [Network_firewall_policies.add_association](#network_firewall_policies.add_association)
+ * [Network_firewall_policies.add_rule](#network_firewall_policies.add_rule)
+ * [Network_firewall_policies.clone_rules](#network_firewall_policies.clone_rules)
+ * [Network_firewall_policies.delete](#network_firewall_policies.delete)
+ * [Network_firewall_policies.get](#network_firewall_policies.get)
+ * [Network_firewall_policies.get_association](#network_firewall_policies.get_association)
+ * [Network_firewall_policies.get_iam_policy](#network_firewall_policies.get_iam_policy)
+ * [Network_firewall_policies.get_rule](#network_firewall_policies.get_rule)
+ * [Network_firewall_policies.insert](#network_firewall_policies.insert)
+ * [Network_firewall_policies.list](#network_firewall_policies.list)
+ * [Network_firewall_policies.patch](#network_firewall_policies.patch)
+ * [Network_firewall_policies.patch_rule](#network_firewall_policies.patch_rule)
+ * [Network_firewall_policies.remove_association](#network_firewall_policies.remove_association)
+ * [Network_firewall_policies.remove_rule](#network_firewall_policies.remove_rule)
+ * [Network_firewall_policies.set_iam_policy](#network_firewall_policies.set_iam_policy)
+ * [Network_firewall_policies.test_iam_permissions](#network_firewall_policies.test_iam_permissions)
+ * [Networks.add_peering](#networks.add_peering)
+ * [Networks.delete](#networks.delete)
+ * [Networks.get](#networks.get)
+ * [Networks.get_effective_firewalls](#networks.get_effective_firewalls)
+ * [Networks.insert](#networks.insert)
+ * [Networks.list](#networks.list)
+ * [Networks.list_peering_routes](#networks.list_peering_routes)
+ * [Networks.patch](#networks.patch)
+ * [Networks.remove_peering](#networks.remove_peering)
+ * [Networks.switch_to_custom_mode](#networks.switch_to_custom_mode)
+ * [Networks.update_peering](#networks.update_peering)
+ * [Node_groups.add_nodes](#node_groups.add_nodes)
+ * [Node_groups.aggregated_list](#node_groups.aggregated_list)
+ * [Node_groups.delete](#node_groups.delete)
+ * [Node_groups.delete_nodes](#node_groups.delete_nodes)
+ * [Node_groups.get](#node_groups.get)
+ * [Node_groups.get_iam_policy](#node_groups.get_iam_policy)
+ * [Node_groups.insert](#node_groups.insert)
+ * [Node_groups.list](#node_groups.list)
+ * [Node_groups.list_nodes](#node_groups.list_nodes)
+ * [Node_groups.patch](#node_groups.patch)
+ * [Node_groups.set_iam_policy](#node_groups.set_iam_policy)
+ * [Node_groups.set_node_template](#node_groups.set_node_template)
+ * [Node_groups.test_iam_permissions](#node_groups.test_iam_permissions)
+ * [Node_templates.aggregated_list](#node_templates.aggregated_list)
+ * [Node_templates.delete](#node_templates.delete)
+ * [Node_templates.get](#node_templates.get)
+ * [Node_templates.get_iam_policy](#node_templates.get_iam_policy)
+ * [Node_templates.insert](#node_templates.insert)
+ * [Node_templates.list](#node_templates.list)
+ * [Node_templates.set_iam_policy](#node_templates.set_iam_policy)
+ * [Node_templates.test_iam_permissions](#node_templates.test_iam_permissions)
+ * [Node_types.aggregated_list](#node_types.aggregated_list)
+ * [Node_types.get](#node_types.get)
+ * [Node_types.list](#node_types.list)
+ * [Packet_mirrorings.aggregated_list](#packet_mirrorings.aggregated_list)
+ * [Packet_mirrorings.delete](#packet_mirrorings.delete)
+ * [Packet_mirrorings.get](#packet_mirrorings.get)
+ * [Packet_mirrorings.insert](#packet_mirrorings.insert)
+ * [Packet_mirrorings.list](#packet_mirrorings.list)
+ * [Packet_mirrorings.patch](#packet_mirrorings.patch)
+ * [Packet_mirrorings.test_iam_permissions](#packet_mirrorings.test_iam_permissions)
+ * [Projects.disable_xpn_host](#projects.disable_xpn_host)
+ * [Projects.disable_xpn_resource](#projects.disable_xpn_resource)
+ * [Projects.enable_xpn_host](#projects.enable_xpn_host)
+ * [Projects.enable_xpn_resource](#projects.enable_xpn_resource)
+ * [Projects.get](#projects.get)
+ * [Projects.get_xpn_host](#projects.get_xpn_host)
+ * [Projects.get_xpn_resources](#projects.get_xpn_resources)
+ * [Projects.list_xpn_hosts](#projects.list_xpn_hosts)
+ * [Projects.move_disk](#projects.move_disk)
+ * [Projects.move_instance](#projects.move_instance)
+ * [Projects.set_common_instance_metadata](#projects.set_common_instance_metadata)
+ * [Projects.set_default_network_tier](#projects.set_default_network_tier)
+ * [Projects.set_usage_export_bucket](#projects.set_usage_export_bucket)
+ * [Public_advertised_prefixes.delete](#public_advertised_prefixes.delete)
+ * [Public_advertised_prefixes.get](#public_advertised_prefixes.get)
+ * [Public_advertised_prefixes.insert](#public_advertised_prefixes.insert)
+ * [Public_advertised_prefixes.list](#public_advertised_prefixes.list)
+ * [Public_advertised_prefixes.patch](#public_advertised_prefixes.patch)
+ * [Public_delegated_prefixes.aggregated_list](#public_delegated_prefixes.aggregated_list)
+ * [Public_delegated_prefixes.delete](#public_delegated_prefixes.delete)
+ * [Public_delegated_prefixes.get](#public_delegated_prefixes.get)
+ * [Public_delegated_prefixes.insert](#public_delegated_prefixes.insert)
+ * [Public_delegated_prefixes.list](#public_delegated_prefixes.list)
+ * [Public_delegated_prefixes.patch](#public_delegated_prefixes.patch)
+ * [Region_autoscalers.delete](#region_autoscalers.delete)
+ * [Region_autoscalers.get](#region_autoscalers.get)
+ * [Region_autoscalers.insert](#region_autoscalers.insert)
+ * [Region_autoscalers.list](#region_autoscalers.list)
+ * [Region_autoscalers.patch](#region_autoscalers.patch)
+ * [Region_autoscalers.update](#region_autoscalers.update)
+ * [Region_backend_services.delete](#region_backend_services.delete)
+ * [Region_backend_services.get](#region_backend_services.get)
+ * [Region_backend_services.get_health](#region_backend_services.get_health)
+ * [Region_backend_services.get_iam_policy](#region_backend_services.get_iam_policy)
+ * [Region_backend_services.insert](#region_backend_services.insert)
+ * [Region_backend_services.list](#region_backend_services.list)
+ * [Region_backend_services.patch](#region_backend_services.patch)
+ * [Region_backend_services.set_iam_policy](#region_backend_services.set_iam_policy)
+ * [Region_backend_services.update](#region_backend_services.update)
+ * [Region_commitments.aggregated_list](#region_commitments.aggregated_list)
+ * [Region_commitments.get](#region_commitments.get)
+ * [Region_commitments.insert](#region_commitments.insert)
+ * [Region_commitments.list](#region_commitments.list)
+ * [Region_commitments.update](#region_commitments.update)
+ * [Region_disk_types.get](#region_disk_types.get)
+ * [Region_disk_types.list](#region_disk_types.list)
+ * [Region_disks.add_resource_policies](#region_disks.add_resource_policies)
+ * [Region_disks.create_snapshot](#region_disks.create_snapshot)
+ * [Region_disks.delete](#region_disks.delete)
+ * [Region_disks.get](#region_disks.get)
+ * [Region_disks.get_iam_policy](#region_disks.get_iam_policy)
+ * [Region_disks.insert](#region_disks.insert)
+ * [Region_disks.list](#region_disks.list)
+ * [Region_disks.remove_resource_policies](#region_disks.remove_resource_policies)
+ * [Region_disks.resize](#region_disks.resize)
+ * [Region_disks.set_iam_policy](#region_disks.set_iam_policy)
+ * [Region_disks.set_labels](#region_disks.set_labels)
+ * [Region_disks.test_iam_permissions](#region_disks.test_iam_permissions)
+ * [Region_health_check_services.delete](#region_health_check_services.delete)
+ * [Region_health_check_services.get](#region_health_check_services.get)
+ * [Region_health_check_services.insert](#region_health_check_services.insert)
+ * [Region_health_check_services.list](#region_health_check_services.list)
+ * [Region_health_check_services.patch](#region_health_check_services.patch)
+ * [Region_health_checks.delete](#region_health_checks.delete)
+ * [Region_health_checks.get](#region_health_checks.get)
+ * [Region_health_checks.insert](#region_health_checks.insert)
+ * [Region_health_checks.list](#region_health_checks.list)
+ * [Region_health_checks.patch](#region_health_checks.patch)
+ * [Region_health_checks.update](#region_health_checks.update)
+ * [Region_instance_group_managers.abandon_instances](#region_instance_group_managers.abandon_instances)
+ * [Region_instance_group_managers.apply_updates_to_instances](#region_instance_group_managers.apply_updates_to_instances)
+ * [Region_instance_group_managers.create_instances](#region_instance_group_managers.create_instances)
+ * [Region_instance_group_managers.delete](#region_instance_group_managers.delete)
+ * [Region_instance_group_managers.delete_instances](#region_instance_group_managers.delete_instances)
+ * [Region_instance_group_managers.delete_per_instance_configs](#region_instance_group_managers.delete_per_instance_configs)
+ * [Region_instance_group_managers.get](#region_instance_group_managers.get)
+ * [Region_instance_group_managers.insert](#region_instance_group_managers.insert)
+ * [Region_instance_group_managers.list](#region_instance_group_managers.list)
+ * [Region_instance_group_managers.list_errors](#region_instance_group_managers.list_errors)
+ * [Region_instance_group_managers.list_managed_instances](#region_instance_group_managers.list_managed_instances)
+ * [Region_instance_group_managers.list_per_instance_configs](#region_instance_group_managers.list_per_instance_configs)
+ * [Region_instance_group_managers.patch](#region_instance_group_managers.patch)
+ * [Region_instance_group_managers.patch_per_instance_configs](#region_instance_group_managers.patch_per_instance_configs)
+ * [Region_instance_group_managers.recreate_instances](#region_instance_group_managers.recreate_instances)
+ * [Region_instance_group_managers.resize](#region_instance_group_managers.resize)
+ * [Region_instance_group_managers.set_instance_template](#region_instance_group_managers.set_instance_template)
+ * [Region_instance_group_managers.set_target_pools](#region_instance_group_managers.set_target_pools)
+ * [Region_instance_group_managers.update_per_instance_configs](#region_instance_group_managers.update_per_instance_configs)
+ * [Region_instance_groups.get](#region_instance_groups.get)
+ * [Region_instance_groups.list](#region_instance_groups.list)
+ * [Region_instance_groups.list_instances](#region_instance_groups.list_instances)
+ * [Region_instance_groups.set_named_ports](#region_instance_groups.set_named_ports)
+ * [Region_instances.bulk_insert](#region_instances.bulk_insert)
+ * [Region_network_endpoint_groups.delete](#region_network_endpoint_groups.delete)
+ * [Region_network_endpoint_groups.get](#region_network_endpoint_groups.get)
+ * [Region_network_endpoint_groups.insert](#region_network_endpoint_groups.insert)
+ * [Region_network_endpoint_groups.list](#region_network_endpoint_groups.list)
+ * [Region_network_firewall_policies.add_association](#region_network_firewall_policies.add_association)
+ * [Region_network_firewall_policies.add_rule](#region_network_firewall_policies.add_rule)
+ * [Region_network_firewall_policies.clone_rules](#region_network_firewall_policies.clone_rules)
+ * [Region_network_firewall_policies.delete](#region_network_firewall_policies.delete)
+ * [Region_network_firewall_policies.get](#region_network_firewall_policies.get)
+ * [Region_network_firewall_policies.get_association](#region_network_firewall_policies.get_association)
+ * [Region_network_firewall_policies.get_effective_firewalls](#region_network_firewall_policies.get_effective_firewalls)
+ * [Region_network_firewall_policies.get_iam_policy](#region_network_firewall_policies.get_iam_policy)
+ * [Region_network_firewall_policies.get_rule](#region_network_firewall_policies.get_rule)
+ * [Region_network_firewall_policies.insert](#region_network_firewall_policies.insert)
+ * [Region_network_firewall_policies.list](#region_network_firewall_policies.list)
+ * [Region_network_firewall_policies.patch](#region_network_firewall_policies.patch)
+ * [Region_network_firewall_policies.patch_rule](#region_network_firewall_policies.patch_rule)
+ * [Region_network_firewall_policies.remove_association](#region_network_firewall_policies.remove_association)
+ * [Region_network_firewall_policies.remove_rule](#region_network_firewall_policies.remove_rule)
+ * [Region_network_firewall_policies.set_iam_policy](#region_network_firewall_policies.set_iam_policy)
+ * [Region_network_firewall_policies.test_iam_permissions](#region_network_firewall_policies.test_iam_permissions)
+ * [Region_notification_endpoints.delete](#region_notification_endpoints.delete)
+ * [Region_notification_endpoints.get](#region_notification_endpoints.get)
+ * [Region_notification_endpoints.insert](#region_notification_endpoints.insert)
+ * [Region_notification_endpoints.list](#region_notification_endpoints.list)
+ * [Region_operations.delete](#region_operations.delete)
+ * [Region_operations.get](#region_operations.get)
+ * [Region_operations.list](#region_operations.list)
+ * [Region_operations.wait](#region_operations.wait)
+ * [Region_security_policies.delete](#region_security_policies.delete)
+ * [Region_security_policies.get](#region_security_policies.get)
+ * [Region_security_policies.insert](#region_security_policies.insert)
+ * [Region_security_policies.list](#region_security_policies.list)
+ * [Region_security_policies.patch](#region_security_policies.patch)
+ * [Region_ssl_certificates.delete](#region_ssl_certificates.delete)
+ * [Region_ssl_certificates.get](#region_ssl_certificates.get)
+ * [Region_ssl_certificates.insert](#region_ssl_certificates.insert)
+ * [Region_ssl_certificates.list](#region_ssl_certificates.list)
+ * [Region_ssl_policies.delete](#region_ssl_policies.delete)
+ * [Region_ssl_policies.get](#region_ssl_policies.get)
+ * [Region_ssl_policies.insert](#region_ssl_policies.insert)
+ * [Region_ssl_policies.list](#region_ssl_policies.list)
+ * [Region_ssl_policies.list_available_features](#region_ssl_policies.list_available_features)
+ * [Region_ssl_policies.patch](#region_ssl_policies.patch)
+ * [Region_target_http_proxies.delete](#region_target_http_proxies.delete)
+ * [Region_target_http_proxies.get](#region_target_http_proxies.get)
+ * [Region_target_http_proxies.insert](#region_target_http_proxies.insert)
+ * [Region_target_http_proxies.list](#region_target_http_proxies.list)
+ * [Region_target_http_proxies.set_url_map](#region_target_http_proxies.set_url_map)
+ * [Region_target_https_proxies.delete](#region_target_https_proxies.delete)
+ * [Region_target_https_proxies.get](#region_target_https_proxies.get)
+ * [Region_target_https_proxies.insert](#region_target_https_proxies.insert)
+ * [Region_target_https_proxies.list](#region_target_https_proxies.list)
+ * [Region_target_https_proxies.patch](#region_target_https_proxies.patch)
+ * [Region_target_https_proxies.set_ssl_certificates](#region_target_https_proxies.set_ssl_certificates)
+ * [Region_target_https_proxies.set_url_map](#region_target_https_proxies.set_url_map)
+ * [Region_target_tcp_proxies.delete](#region_target_tcp_proxies.delete)
+ * [Region_target_tcp_proxies.get](#region_target_tcp_proxies.get)
+ * [Region_target_tcp_proxies.insert](#region_target_tcp_proxies.insert)
+ * [Region_target_tcp_proxies.list](#region_target_tcp_proxies.list)
+ * [Region_url_maps.delete](#region_url_maps.delete)
+ * [Region_url_maps.get](#region_url_maps.get)
+ * [Region_url_maps.insert](#region_url_maps.insert)
+ * [Region_url_maps.list](#region_url_maps.list)
+ * [Region_url_maps.patch](#region_url_maps.patch)
+ * [Region_url_maps.update](#region_url_maps.update)
+ * [Region_url_maps.validate](#region_url_maps.validate)
+ * [Regions.get](#regions.get)
+ * [Regions.list](#regions.list)
+ * [Reservations.aggregated_list](#reservations.aggregated_list)
+ * [Reservations.delete](#reservations.delete)
+ * [Reservations.get](#reservations.get)
+ * [Reservations.get_iam_policy](#reservations.get_iam_policy)
+ * [Reservations.insert](#reservations.insert)
+ * [Reservations.list](#reservations.list)
+ * [Reservations.resize](#reservations.resize)
+ * [Reservations.set_iam_policy](#reservations.set_iam_policy)
+ * [Reservations.test_iam_permissions](#reservations.test_iam_permissions)
+ * [Reservations.update](#reservations.update)
+ * [Resource_policies.aggregated_list](#resource_policies.aggregated_list)
+ * [Resource_policies.delete](#resource_policies.delete)
+ * [Resource_policies.get](#resource_policies.get)
+ * [Resource_policies.get_iam_policy](#resource_policies.get_iam_policy)
+ * [Resource_policies.insert](#resource_policies.insert)
+ * [Resource_policies.list](#resource_policies.list)
+ * [Resource_policies.set_iam_policy](#resource_policies.set_iam_policy)
+ * [Resource_policies.test_iam_permissions](#resource_policies.test_iam_permissions)
+ * [Routers.aggregated_list](#routers.aggregated_list)
+ * [Routers.delete](#routers.delete)
+ * [Routers.get](#routers.get)
+ * [Routers.get_nat_mapping_info](#routers.get_nat_mapping_info)
+ * [Routers.get_router_status](#routers.get_router_status)
+ * [Routers.insert](#routers.insert)
+ * [Routers.list](#routers.list)
+ * [Routers.patch](#routers.patch)
+ * [Routers.preview](#routers.preview)
+ * [Routers.update](#routers.update)
+ * [Routes.delete](#routes.delete)
+ * [Routes.get](#routes.get)
+ * [Routes.insert](#routes.insert)
+ * [Routes.list](#routes.list)
+ * [Security_policies.add_rule](#security_policies.add_rule)
+ * [Security_policies.aggregated_list](#security_policies.aggregated_list)
+ * [Security_policies.delete](#security_policies.delete)
+ * [Security_policies.get](#security_policies.get)
+ * [Security_policies.get_rule](#security_policies.get_rule)
+ * [Security_policies.insert](#security_policies.insert)
+ * [Security_policies.list](#security_policies.list)
+ * [Security_policies.list_preconfigured_expression_sets](#security_policies.list_preconfigured_expression_sets)
+ * [Security_policies.patch](#security_policies.patch)
+ * [Security_policies.patch_rule](#security_policies.patch_rule)
+ * [Security_policies.remove_rule](#security_policies.remove_rule)
+ * [Security_policies.set_labels](#security_policies.set_labels)
+ * [Service_attachments.aggregated_list](#service_attachments.aggregated_list)
+ * [Service_attachments.delete](#service_attachments.delete)
+ * [Service_attachments.get](#service_attachments.get)
+ * [Service_attachments.get_iam_policy](#service_attachments.get_iam_policy)
+ * [Service_attachments.insert](#service_attachments.insert)
+ * [Service_attachments.list](#service_attachments.list)
+ * [Service_attachments.patch](#service_attachments.patch)
+ * [Service_attachments.set_iam_policy](#service_attachments.set_iam_policy)
+ * [Service_attachments.test_iam_permissions](#service_attachments.test_iam_permissions)
+ * [Snapshots.delete](#snapshots.delete)
+ * [Snapshots.get](#snapshots.get)
+ * [Snapshots.get_iam_policy](#snapshots.get_iam_policy)
+ * [Snapshots.insert](#snapshots.insert)
+ * [Snapshots.list](#snapshots.list)
+ * [Snapshots.set_iam_policy](#snapshots.set_iam_policy)
+ * [Snapshots.set_labels](#snapshots.set_labels)
+ * [Snapshots.test_iam_permissions](#snapshots.test_iam_permissions)
+ * [Ssl_certificates.aggregated_list](#ssl_certificates.aggregated_list)
+ * [Ssl_certificates.delete](#ssl_certificates.delete)
+ * [Ssl_certificates.get](#ssl_certificates.get)
+ * [Ssl_certificates.insert](#ssl_certificates.insert)
+ * [Ssl_certificates.list](#ssl_certificates.list)
+ * [Ssl_policies.aggregated_list](#ssl_policies.aggregated_list)
+ * [Ssl_policies.delete](#ssl_policies.delete)
+ * [Ssl_policies.get](#ssl_policies.get)
+ * [Ssl_policies.insert](#ssl_policies.insert)
+ * [Ssl_policies.list](#ssl_policies.list)
+ * [Ssl_policies.list_available_features](#ssl_policies.list_available_features)
+ * [Ssl_policies.patch](#ssl_policies.patch)
+ * [Subnetworks.aggregated_list](#subnetworks.aggregated_list)
+ * [Subnetworks.delete](#subnetworks.delete)
+ * [Subnetworks.expand_ip_cidr_range](#subnetworks.expand_ip_cidr_range)
+ * [Subnetworks.get](#subnetworks.get)
+ * [Subnetworks.get_iam_policy](#subnetworks.get_iam_policy)
+ * [Subnetworks.insert](#subnetworks.insert)
+ * [Subnetworks.list](#subnetworks.list)
+ * [Subnetworks.list_usable](#subnetworks.list_usable)
+ * [Subnetworks.patch](#subnetworks.patch)
+ * [Subnetworks.set_iam_policy](#subnetworks.set_iam_policy)
+ * [Subnetworks.set_private_ip_google_access](#subnetworks.set_private_ip_google_access)
+ * [Subnetworks.test_iam_permissions](#subnetworks.test_iam_permissions)
+ * [Target_grpc_proxies.delete](#target_grpc_proxies.delete)
+ * [Target_grpc_proxies.get](#target_grpc_proxies.get)
+ * [Target_grpc_proxies.insert](#target_grpc_proxies.insert)
+ * [Target_grpc_proxies.list](#target_grpc_proxies.list)
+ * [Target_grpc_proxies.patch](#target_grpc_proxies.patch)
+ * [Target_http_proxies.aggregated_list](#target_http_proxies.aggregated_list)
+ * [Target_http_proxies.delete](#target_http_proxies.delete)
+ * [Target_http_proxies.get](#target_http_proxies.get)
+ * [Target_http_proxies.insert](#target_http_proxies.insert)
+ * [Target_http_proxies.list](#target_http_proxies.list)
+ * [Target_http_proxies.patch](#target_http_proxies.patch)
+ * [Target_http_proxies.set_url_map](#target_http_proxies.set_url_map)
+ * [Target_https_proxies.aggregated_list](#target_https_proxies.aggregated_list)
+ * [Target_https_proxies.delete](#target_https_proxies.delete)
+ * [Target_https_proxies.get](#target_https_proxies.get)
+ * [Target_https_proxies.insert](#target_https_proxies.insert)
+ * [Target_https_proxies.list](#target_https_proxies.list)
+ * [Target_https_proxies.patch](#target_https_proxies.patch)
+ * [Target_https_proxies.set_certificate_map](#target_https_proxies.set_certificate_map)
+ * [Target_https_proxies.set_quic_override](#target_https_proxies.set_quic_override)
+ * [Target_https_proxies.set_ssl_certificates](#target_https_proxies.set_ssl_certificates)
+ * [Target_https_proxies.set_ssl_policy](#target_https_proxies.set_ssl_policy)
+ * [Target_https_proxies.set_url_map](#target_https_proxies.set_url_map)
+ * [Target_instances.aggregated_list](#target_instances.aggregated_list)
+ * [Target_instances.delete](#target_instances.delete)
+ * [Target_instances.get](#target_instances.get)
+ * [Target_instances.insert](#target_instances.insert)
+ * [Target_instances.list](#target_instances.list)
+ * [Target_pools.add_health_check](#target_pools.add_health_check)
+ * [Target_pools.add_instance](#target_pools.add_instance)
+ * [Target_pools.aggregated_list](#target_pools.aggregated_list)
+ * [Target_pools.delete](#target_pools.delete)
+ * [Target_pools.get](#target_pools.get)
+ * [Target_pools.get_health](#target_pools.get_health)
+ * [Target_pools.insert](#target_pools.insert)
+ * [Target_pools.list](#target_pools.list)
+ * [Target_pools.remove_health_check](#target_pools.remove_health_check)
+ * [Target_pools.remove_instance](#target_pools.remove_instance)
+ * [Target_pools.set_backup](#target_pools.set_backup)
+ * [Target_ssl_proxies.delete](#target_ssl_proxies.delete)
+ * [Target_ssl_proxies.get](#target_ssl_proxies.get)
+ * [Target_ssl_proxies.insert](#target_ssl_proxies.insert)
+ * [Target_ssl_proxies.list](#target_ssl_proxies.list)
+ * [Target_ssl_proxies.set_backend_service](#target_ssl_proxies.set_backend_service)
+ * [Target_ssl_proxies.set_certificate_map](#target_ssl_proxies.set_certificate_map)
+ * [Target_ssl_proxies.set_proxy_header](#target_ssl_proxies.set_proxy_header)
+ * [Target_ssl_proxies.set_ssl_certificates](#target_ssl_proxies.set_ssl_certificates)
+ * [Target_ssl_proxies.set_ssl_policy](#target_ssl_proxies.set_ssl_policy)
+ * [Target_tcp_proxies.delete](#target_tcp_proxies.delete)
+ * [Target_tcp_proxies.get](#target_tcp_proxies.get)
+ * [Target_tcp_proxies.insert](#target_tcp_proxies.insert)
+ * [Target_tcp_proxies.list](#target_tcp_proxies.list)
+ * [Target_tcp_proxies.set_backend_service](#target_tcp_proxies.set_backend_service)
+ * [Target_tcp_proxies.set_proxy_header](#target_tcp_proxies.set_proxy_header)
+ * [Target_vpn_gateways.aggregated_list](#target_vpn_gateways.aggregated_list)
+ * [Target_vpn_gateways.delete](#target_vpn_gateways.delete)
+ * [Target_vpn_gateways.get](#target_vpn_gateways.get)
+ * [Target_vpn_gateways.insert](#target_vpn_gateways.insert)
+ * [Target_vpn_gateways.list](#target_vpn_gateways.list)
+ * [Target_vpn_gateways.set_labels](#target_vpn_gateways.set_labels)
+ * [Url_maps.aggregated_list](#url_maps.aggregated_list)
+ * [Url_maps.delete](#url_maps.delete)
+ * [Url_maps.get](#url_maps.get)
+ * [Url_maps.insert](#url_maps.insert)
+ * [Url_maps.invalidate_cache](#url_maps.invalidate_cache)
+ * [Url_maps.list](#url_maps.list)
+ * [Url_maps.patch](#url_maps.patch)
+ * [Url_maps.update](#url_maps.update)
+ * [Url_maps.validate](#url_maps.validate)
+ * [Vpn_gateways.aggregated_list](#vpn_gateways.aggregated_list)
+ * [Vpn_gateways.delete](#vpn_gateways.delete)
+ * [Vpn_gateways.get](#vpn_gateways.get)
+ * [Vpn_gateways.get_status](#vpn_gateways.get_status)
+ * [Vpn_gateways.insert](#vpn_gateways.insert)
+ * [Vpn_gateways.list](#vpn_gateways.list)
+ * [Vpn_gateways.set_labels](#vpn_gateways.set_labels)
+ * [Vpn_gateways.test_iam_permissions](#vpn_gateways.test_iam_permissions)
+ * [Vpn_tunnels.aggregated_list](#vpn_tunnels.aggregated_list)
+ * [Vpn_tunnels.delete](#vpn_tunnels.delete)
+ * [Vpn_tunnels.get](#vpn_tunnels.get)
+ * [Vpn_tunnels.insert](#vpn_tunnels.insert)
+ * [Vpn_tunnels.list](#vpn_tunnels.list)
+ * [Vpn_tunnels.set_labels](#vpn_tunnels.set_labels)
+ * [Zone_operations.delete](#zone_operations.delete)
+ * [Zone_operations.get](#zone_operations.get)
+ * [Zone_operations.list](#zone_operations.list)
+ * [Zone_operations.wait](#zone_operations.wait)
+ * [Zones.get](#zones.get)
+ * [Zones.list](#zones.list)
+ * [Addresses.aggregated_list](#addresses.aggregated_list)
+ * [Addresses.delete](#addresses.delete)
+ * [Addresses.insert](#addresses.insert)
+ * [Addresses.list](#addresses.list)
+ * [Region_operations.get](#region_operations.get)
+ * [Region_operations.wait](#region_operations.wait)
+ * [Quickstart](#quickstart)
+ * [Quickstart.test](#quickstart.test)
## Before you begin
Before running the samples, make sure you've followed the steps outlined in
-[Using the client library](https://github.com/googleapis/nodejs-compute#using-the-client-library).
+[Using the client library](https://github.com/googleapis/google-cloud-node#using-the-client-library).
`cd samples`
@@ -58,16 +704,16 @@ Before running the samples, make sure you've followed the steps outlined in
-### Create Instance
+### Accelerator_types.aggregated_list
-View the [source code](https://github.com/googleapis/nodejs-compute/blob/main/samples/createInstance.js).
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/accelerator_types.aggregated_list.js).
-[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/createInstance.js,samples/README.md)
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/accelerator_types.aggregated_list.js,samples/README.md)
__Usage:__
-`node samples/createInstance.js`
+`node packages/google-cloud-compute/samples/generated/v1/accelerator_types.aggregated_list.js`
-----
@@ -75,16 +721,16 @@ __Usage:__
-### Create Instance From Template
+### Accelerator_types.get
-View the [source code](https://github.com/googleapis/nodejs-compute/blob/main/samples/createInstanceFromTemplate.js).
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/accelerator_types.get.js).
-[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/createInstanceFromTemplate.js,samples/README.md)
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/accelerator_types.get.js,samples/README.md)
__Usage:__
-`node samples/createInstanceFromTemplate.js`
+`node packages/google-cloud-compute/samples/generated/v1/accelerator_types.get.js`
-----
@@ -92,16 +738,16 @@ __Usage:__
-### Create Instance From Template With Overrides
+### Accelerator_types.list
-View the [source code](https://github.com/googleapis/nodejs-compute/blob/main/samples/createInstanceFromTemplateWithOverrides.js).
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/accelerator_types.list.js).
-[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/createInstanceFromTemplateWithOverrides.js,samples/README.md)
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/accelerator_types.list.js,samples/README.md)
__Usage:__
-`node samples/createInstanceFromTemplateWithOverrides.js`
+`node packages/google-cloud-compute/samples/generated/v1/accelerator_types.list.js`
-----
@@ -109,16 +755,16 @@ __Usage:__
-### Delete Instance
+### Addresses.aggregated_list
-View the [source code](https://github.com/googleapis/nodejs-compute/blob/main/samples/deleteInstance.js).
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/addresses.aggregated_list.js).
-[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/deleteInstance.js,samples/README.md)
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/addresses.aggregated_list.js,samples/README.md)
__Usage:__
-`node samples/deleteInstance.js`
+`node packages/google-cloud-compute/samples/generated/v1/addresses.aggregated_list.js`
-----
@@ -126,16 +772,16 @@ __Usage:__
-### Disable Usage Export
+### Addresses.delete
-View the [source code](https://github.com/googleapis/nodejs-compute/blob/main/samples/disableUsageExport.js).
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/addresses.delete.js).
-[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/disableUsageExport.js,samples/README.md)
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/addresses.delete.js,samples/README.md)
__Usage:__
-`node samples/disableUsageExport.js`
+`node packages/google-cloud-compute/samples/generated/v1/addresses.delete.js`
-----
@@ -143,16 +789,16 @@ __Usage:__
-### Get Instance
+### Addresses.get
-View the [source code](https://github.com/googleapis/nodejs-compute/blob/main/samples/getInstance.js).
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/addresses.get.js).
-[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/getInstance.js,samples/README.md)
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/addresses.get.js,samples/README.md)
__Usage:__
-`node samples/getInstance.js`
+`node packages/google-cloud-compute/samples/generated/v1/addresses.get.js`
-----
@@ -160,16 +806,16 @@ __Usage:__
-### Get Usage Export Bucket
+### Addresses.insert
-View the [source code](https://github.com/googleapis/nodejs-compute/blob/main/samples/getUsageExportBucket.js).
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/addresses.insert.js).
-[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/getUsageExportBucket.js,samples/README.md)
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/addresses.insert.js,samples/README.md)
__Usage:__
-`node samples/getUsageExportBucket.js`
+`node packages/google-cloud-compute/samples/generated/v1/addresses.insert.js`
-----
@@ -177,16 +823,16 @@ __Usage:__
-### List All Instances
+### Addresses.list
-View the [source code](https://github.com/googleapis/nodejs-compute/blob/main/samples/listAllInstances.js).
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/addresses.list.js).
-[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/listAllInstances.js,samples/README.md)
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/addresses.list.js,samples/README.md)
__Usage:__
-`node samples/listAllInstances.js`
+`node packages/google-cloud-compute/samples/generated/v1/addresses.list.js`
-----
@@ -194,16 +840,16 @@ __Usage:__
-### List Images
+### Addresses.set_labels
-View the [source code](https://github.com/googleapis/nodejs-compute/blob/main/samples/listImages.js).
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/addresses.set_labels.js).
-[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/listImages.js,samples/README.md)
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/addresses.set_labels.js,samples/README.md)
__Usage:__
-`node samples/listImages.js`
+`node packages/google-cloud-compute/samples/generated/v1/addresses.set_labels.js`
-----
@@ -211,16 +857,16 @@ __Usage:__
-### List Images By Page
+### Autoscalers.aggregated_list
-View the [source code](https://github.com/googleapis/nodejs-compute/blob/main/samples/listImagesByPage.js).
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/autoscalers.aggregated_list.js).
-[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/listImagesByPage.js,samples/README.md)
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/autoscalers.aggregated_list.js,samples/README.md)
__Usage:__
-`node samples/listImagesByPage.js`
+`node packages/google-cloud-compute/samples/generated/v1/autoscalers.aggregated_list.js`
-----
@@ -228,16 +874,16 @@ __Usage:__
-### List Instances
+### Autoscalers.delete
-View the [source code](https://github.com/googleapis/nodejs-compute/blob/main/samples/listInstances.js).
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/autoscalers.delete.js).
-[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/listInstances.js,samples/README.md)
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/autoscalers.delete.js,samples/README.md)
__Usage:__
-`node samples/listInstances.js`
+`node packages/google-cloud-compute/samples/generated/v1/autoscalers.delete.js`
-----
@@ -245,16 +891,16 @@ __Usage:__
-### Mailjet
+### Autoscalers.get
-View the [source code](https://github.com/googleapis/nodejs-compute/blob/main/samples/mailjet.js).
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/autoscalers.get.js).
-[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/mailjet.js,samples/README.md)
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/autoscalers.get.js,samples/README.md)
__Usage:__
-`node mailjet`
+`node packages/google-cloud-compute/samples/generated/v1/autoscalers.get.js`
-----
@@ -262,16 +908,16 @@ __Usage:__
-### Reset Instance
+### Autoscalers.insert
-View the [source code](https://github.com/googleapis/nodejs-compute/blob/main/samples/resetInstance.js).
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/autoscalers.insert.js).
-[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/resetInstance.js,samples/README.md)
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/autoscalers.insert.js,samples/README.md)
__Usage:__
-`node samples/resetInstance.js`
+`node packages/google-cloud-compute/samples/generated/v1/autoscalers.insert.js`
-----
@@ -279,16 +925,16 @@ __Usage:__
-### Sendgrid
+### Autoscalers.list
-View the [source code](https://github.com/googleapis/nodejs-compute/blob/main/samples/sendgrid.js).
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/autoscalers.list.js).
-[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/sendgrid.js,samples/README.md)
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/autoscalers.list.js,samples/README.md)
__Usage:__
-`node samples/sendgrid.js`
+`node packages/google-cloud-compute/samples/generated/v1/autoscalers.list.js`
-----
@@ -296,16 +942,16 @@ __Usage:__
-### Set Usage Export Bucket
+### Autoscalers.patch
-View the [source code](https://github.com/googleapis/nodejs-compute/blob/main/samples/setUsageExportBucket.js).
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/autoscalers.patch.js).
-[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/setUsageExportBucket.js,samples/README.md)
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/autoscalers.patch.js,samples/README.md)
__Usage:__
-`node samples/setUsageExportBucket.js`
+`node packages/google-cloud-compute/samples/generated/v1/autoscalers.patch.js`
-----
@@ -313,16 +959,16 @@ __Usage:__
-### Start Instance
+### Autoscalers.update
-View the [source code](https://github.com/googleapis/nodejs-compute/blob/main/samples/startInstance.js).
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/autoscalers.update.js).
-[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/startInstance.js,samples/README.md)
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/autoscalers.update.js,samples/README.md)
__Usage:__
-`node samples/startInstance.js`
+`node packages/google-cloud-compute/samples/generated/v1/autoscalers.update.js`
-----
@@ -330,16 +976,16 @@ __Usage:__
-### Start Instance With Enc Key
+### Backend_buckets.add_signed_url_key
-View the [source code](https://github.com/googleapis/nodejs-compute/blob/main/samples/startInstanceWithEncKey.js).
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_buckets.add_signed_url_key.js).
-[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/startInstanceWithEncKey.js,samples/README.md)
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/backend_buckets.add_signed_url_key.js,samples/README.md)
__Usage:__
-`node samples/startInstanceWithEncKey.js`
+`node packages/google-cloud-compute/samples/generated/v1/backend_buckets.add_signed_url_key.js`
-----
@@ -347,16 +993,16 @@ __Usage:__
-### Stop Instance
+### Backend_buckets.delete
-View the [source code](https://github.com/googleapis/nodejs-compute/blob/main/samples/stopInstance.js).
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_buckets.delete.js).
-[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/stopInstance.js,samples/README.md)
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/backend_buckets.delete.js,samples/README.md)
__Usage:__
-`node samples/stopInstance.js`
+`node packages/google-cloud-compute/samples/generated/v1/backend_buckets.delete.js`
-----
@@ -364,16 +1010,11185 @@ __Usage:__
-### Wait For Operation
+### Backend_buckets.delete_signed_url_key
-View the [source code](https://github.com/googleapis/nodejs-compute/blob/main/samples/waitForOperation.js).
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_buckets.delete_signed_url_key.js).
-[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/waitForOperation.js,samples/README.md)
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/backend_buckets.delete_signed_url_key.js,samples/README.md)
__Usage:__
-`node samples/waitForOperation.js`
+`node packages/google-cloud-compute/samples/generated/v1/backend_buckets.delete_signed_url_key.js`
+
+
+-----
+
+
+
+
+### Backend_buckets.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_buckets.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/backend_buckets.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/backend_buckets.get.js`
+
+
+-----
+
+
+
+
+### Backend_buckets.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_buckets.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/backend_buckets.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/backend_buckets.insert.js`
+
+
+-----
+
+
+
+
+### Backend_buckets.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_buckets.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/backend_buckets.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/backend_buckets.list.js`
+
+
+-----
+
+
+
+
+### Backend_buckets.patch
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_buckets.patch.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/backend_buckets.patch.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/backend_buckets.patch.js`
+
+
+-----
+
+
+
+
+### Backend_buckets.set_edge_security_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_buckets.set_edge_security_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-compute/samples/generated/v1/backend_buckets.set_edge_security_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/backend_buckets.set_edge_security_policy.js`
+
+
+-----
+
+
+
+
+### Backend_buckets.update
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_buckets.update.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/backend_buckets.update.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/backend_buckets.update.js`
+
+
+-----
+
+
+
+
+### Backend_services.add_signed_url_key
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_services.add_signed_url_key.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/backend_services.add_signed_url_key.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/backend_services.add_signed_url_key.js`
+
+
+-----
+
+
+
+
+### Backend_services.aggregated_list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_services.aggregated_list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/backend_services.aggregated_list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/backend_services.aggregated_list.js`
+
+
+-----
+
+
+
+
+### Backend_services.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_services.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/backend_services.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/backend_services.delete.js`
+
+
+-----
+
+
+
+
+### Backend_services.delete_signed_url_key
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_services.delete_signed_url_key.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/backend_services.delete_signed_url_key.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/backend_services.delete_signed_url_key.js`
+
+
+-----
+
+
+
+
+### Backend_services.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_services.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/backend_services.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/backend_services.get.js`
+
+
+-----
+
+
+
+
+### Backend_services.get_health
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_services.get_health.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/backend_services.get_health.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/backend_services.get_health.js`
+
+
+-----
+
+
+
+
+### Backend_services.get_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_services.get_iam_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-compute/samples/generated/v1/backend_services.get_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/backend_services.get_iam_policy.js`
+
+
+-----
+
+
+
+
+### Backend_services.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_services.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/backend_services.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/backend_services.insert.js`
+
+
+-----
+
+
+
+
+### Backend_services.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_services.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/backend_services.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/backend_services.list.js`
+
+
+-----
+
+
+
+
+### Backend_services.patch
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_services.patch.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/backend_services.patch.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/backend_services.patch.js`
+
+
+-----
+
+
+
+
+### Backend_services.set_edge_security_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_services.set_edge_security_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-compute/samples/generated/v1/backend_services.set_edge_security_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/backend_services.set_edge_security_policy.js`
+
+
+-----
+
+
+
+
+### Backend_services.set_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_services.set_iam_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-compute/samples/generated/v1/backend_services.set_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/backend_services.set_iam_policy.js`
+
+
+-----
+
+
+
+
+### Backend_services.set_security_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_services.set_security_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-compute/samples/generated/v1/backend_services.set_security_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/backend_services.set_security_policy.js`
+
+
+-----
+
+
+
+
+### Backend_services.update
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/backend_services.update.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/backend_services.update.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/backend_services.update.js`
+
+
+-----
+
+
+
+
+### Disk_types.aggregated_list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/disk_types.aggregated_list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/disk_types.aggregated_list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/disk_types.aggregated_list.js`
+
+
+-----
+
+
+
+
+### Disk_types.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/disk_types.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/disk_types.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/disk_types.get.js`
+
+
+-----
+
+
+
+
+### Disk_types.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/disk_types.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/disk_types.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/disk_types.list.js`
+
+
+-----
+
+
+
+
+### Disks.add_resource_policies
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/disks.add_resource_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-compute/samples/generated/v1/disks.add_resource_policies.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/disks.add_resource_policies.js`
+
+
+-----
+
+
+
+
+### Disks.aggregated_list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/disks.aggregated_list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/disks.aggregated_list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/disks.aggregated_list.js`
+
+
+-----
+
+
+
+
+### Disks.create_snapshot
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/disks.create_snapshot.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/disks.create_snapshot.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/disks.create_snapshot.js`
+
+
+-----
+
+
+
+
+### Disks.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/disks.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/disks.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/disks.delete.js`
+
+
+-----
+
+
+
+
+### Disks.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/disks.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/disks.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/disks.get.js`
+
+
+-----
+
+
+
+
+### Disks.get_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/disks.get_iam_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-compute/samples/generated/v1/disks.get_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/disks.get_iam_policy.js`
+
+
+-----
+
+
+
+
+### Disks.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/disks.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/disks.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/disks.insert.js`
+
+
+-----
+
+
+
+
+### Disks.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/disks.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/disks.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/disks.list.js`
+
+
+-----
+
+
+
+
+### Disks.remove_resource_policies
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/disks.remove_resource_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-compute/samples/generated/v1/disks.remove_resource_policies.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/disks.remove_resource_policies.js`
+
+
+-----
+
+
+
+
+### Disks.resize
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/disks.resize.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/disks.resize.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/disks.resize.js`
+
+
+-----
+
+
+
+
+### Disks.set_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/disks.set_iam_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-compute/samples/generated/v1/disks.set_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/disks.set_iam_policy.js`
+
+
+-----
+
+
+
+
+### Disks.set_labels
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/disks.set_labels.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/disks.set_labels.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/disks.set_labels.js`
+
+
+-----
+
+
+
+
+### Disks.test_iam_permissions
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/disks.test_iam_permissions.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/disks.test_iam_permissions.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/disks.test_iam_permissions.js`
+
+
+-----
+
+
+
+
+### External_vpn_gateways.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/external_vpn_gateways.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/external_vpn_gateways.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/external_vpn_gateways.delete.js`
+
+
+-----
+
+
+
+
+### External_vpn_gateways.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/external_vpn_gateways.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/external_vpn_gateways.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/external_vpn_gateways.get.js`
+
+
+-----
+
+
+
+
+### External_vpn_gateways.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/external_vpn_gateways.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/external_vpn_gateways.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/external_vpn_gateways.insert.js`
+
+
+-----
+
+
+
+
+### External_vpn_gateways.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/external_vpn_gateways.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/external_vpn_gateways.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/external_vpn_gateways.list.js`
+
+
+-----
+
+
+
+
+### External_vpn_gateways.set_labels
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/external_vpn_gateways.set_labels.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/external_vpn_gateways.set_labels.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/external_vpn_gateways.set_labels.js`
+
+
+-----
+
+
+
+
+### External_vpn_gateways.test_iam_permissions
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/external_vpn_gateways.test_iam_permissions.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/external_vpn_gateways.test_iam_permissions.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/external_vpn_gateways.test_iam_permissions.js`
+
+
+-----
+
+
+
+
+### Firewall_policies.add_association
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewall_policies.add_association.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewall_policies.add_association.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/firewall_policies.add_association.js`
+
+
+-----
+
+
+
+
+### Firewall_policies.add_rule
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewall_policies.add_rule.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewall_policies.add_rule.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/firewall_policies.add_rule.js`
+
+
+-----
+
+
+
+
+### Firewall_policies.clone_rules
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewall_policies.clone_rules.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewall_policies.clone_rules.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/firewall_policies.clone_rules.js`
+
+
+-----
+
+
+
+
+### Firewall_policies.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewall_policies.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewall_policies.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/firewall_policies.delete.js`
+
+
+-----
+
+
+
+
+### Firewall_policies.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewall_policies.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewall_policies.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/firewall_policies.get.js`
+
+
+-----
+
+
+
+
+### Firewall_policies.get_association
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewall_policies.get_association.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewall_policies.get_association.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/firewall_policies.get_association.js`
+
+
+-----
+
+
+
+
+### Firewall_policies.get_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewall_policies.get_iam_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-compute/samples/generated/v1/firewall_policies.get_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/firewall_policies.get_iam_policy.js`
+
+
+-----
+
+
+
+
+### Firewall_policies.get_rule
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewall_policies.get_rule.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewall_policies.get_rule.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/firewall_policies.get_rule.js`
+
+
+-----
+
+
+
+
+### Firewall_policies.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewall_policies.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewall_policies.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/firewall_policies.insert.js`
+
+
+-----
+
+
+
+
+### Firewall_policies.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewall_policies.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewall_policies.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/firewall_policies.list.js`
+
+
+-----
+
+
+
+
+### Firewall_policies.list_associations
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewall_policies.list_associations.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewall_policies.list_associations.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/firewall_policies.list_associations.js`
+
+
+-----
+
+
+
+
+### Firewall_policies.move
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewall_policies.move.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewall_policies.move.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/firewall_policies.move.js`
+
+
+-----
+
+
+
+
+### Firewall_policies.patch
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewall_policies.patch.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewall_policies.patch.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/firewall_policies.patch.js`
+
+
+-----
+
+
+
+
+### Firewall_policies.patch_rule
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewall_policies.patch_rule.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewall_policies.patch_rule.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/firewall_policies.patch_rule.js`
+
+
+-----
+
+
+
+
+### Firewall_policies.remove_association
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewall_policies.remove_association.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewall_policies.remove_association.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/firewall_policies.remove_association.js`
+
+
+-----
+
+
+
+
+### Firewall_policies.remove_rule
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewall_policies.remove_rule.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewall_policies.remove_rule.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/firewall_policies.remove_rule.js`
+
+
+-----
+
+
+
+
+### Firewall_policies.set_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewall_policies.set_iam_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-compute/samples/generated/v1/firewall_policies.set_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/firewall_policies.set_iam_policy.js`
+
+
+-----
+
+
+
+
+### Firewall_policies.test_iam_permissions
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewall_policies.test_iam_permissions.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewall_policies.test_iam_permissions.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/firewall_policies.test_iam_permissions.js`
+
+
+-----
+
+
+
+
+### Firewalls.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewalls.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewalls.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/firewalls.delete.js`
+
+
+-----
+
+
+
+
+### Firewalls.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewalls.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewalls.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/firewalls.get.js`
+
+
+-----
+
+
+
+
+### Firewalls.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewalls.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewalls.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/firewalls.insert.js`
+
+
+-----
+
+
+
+
+### Firewalls.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewalls.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewalls.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/firewalls.list.js`
+
+
+-----
+
+
+
+
+### Firewalls.patch
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewalls.patch.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewalls.patch.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/firewalls.patch.js`
+
+
+-----
+
+
+
+
+### Firewalls.update
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/firewalls.update.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/firewalls.update.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/firewalls.update.js`
+
+
+-----
+
+
+
+
+### Forwarding_rules.aggregated_list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/forwarding_rules.aggregated_list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/forwarding_rules.aggregated_list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/forwarding_rules.aggregated_list.js`
+
+
+-----
+
+
+
+
+### Forwarding_rules.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/forwarding_rules.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/forwarding_rules.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/forwarding_rules.delete.js`
+
+
+-----
+
+
+
+
+### Forwarding_rules.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/forwarding_rules.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/forwarding_rules.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/forwarding_rules.get.js`
+
+
+-----
+
+
+
+
+### Forwarding_rules.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/forwarding_rules.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/forwarding_rules.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/forwarding_rules.insert.js`
+
+
+-----
+
+
+
+
+### Forwarding_rules.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/forwarding_rules.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/forwarding_rules.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/forwarding_rules.list.js`
+
+
+-----
+
+
+
+
+### Forwarding_rules.patch
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/forwarding_rules.patch.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/forwarding_rules.patch.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/forwarding_rules.patch.js`
+
+
+-----
+
+
+
+
+### Forwarding_rules.set_labels
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/forwarding_rules.set_labels.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/forwarding_rules.set_labels.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/forwarding_rules.set_labels.js`
+
+
+-----
+
+
+
+
+### Forwarding_rules.set_target
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/forwarding_rules.set_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-compute/samples/generated/v1/forwarding_rules.set_target.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/forwarding_rules.set_target.js`
+
+
+-----
+
+
+
+
+### Global_addresses.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_addresses.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_addresses.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/global_addresses.delete.js`
+
+
+-----
+
+
+
+
+### Global_addresses.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_addresses.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_addresses.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/global_addresses.get.js`
+
+
+-----
+
+
+
+
+### Global_addresses.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_addresses.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_addresses.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/global_addresses.insert.js`
+
+
+-----
+
+
+
+
+### Global_addresses.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_addresses.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_addresses.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/global_addresses.list.js`
+
+
+-----
+
+
+
+
+### Global_addresses.set_labels
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_addresses.set_labels.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_addresses.set_labels.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/global_addresses.set_labels.js`
+
+
+-----
+
+
+
+
+### Global_forwarding_rules.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_forwarding_rules.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_forwarding_rules.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/global_forwarding_rules.delete.js`
+
+
+-----
+
+
+
+
+### Global_forwarding_rules.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_forwarding_rules.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_forwarding_rules.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/global_forwarding_rules.get.js`
+
+
+-----
+
+
+
+
+### Global_forwarding_rules.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_forwarding_rules.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_forwarding_rules.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/global_forwarding_rules.insert.js`
+
+
+-----
+
+
+
+
+### Global_forwarding_rules.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_forwarding_rules.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_forwarding_rules.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/global_forwarding_rules.list.js`
+
+
+-----
+
+
+
+
+### Global_forwarding_rules.patch
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_forwarding_rules.patch.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_forwarding_rules.patch.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/global_forwarding_rules.patch.js`
+
+
+-----
+
+
+
+
+### Global_forwarding_rules.set_labels
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_forwarding_rules.set_labels.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_forwarding_rules.set_labels.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/global_forwarding_rules.set_labels.js`
+
+
+-----
+
+
+
+
+### Global_forwarding_rules.set_target
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_forwarding_rules.set_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-compute/samples/generated/v1/global_forwarding_rules.set_target.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/global_forwarding_rules.set_target.js`
+
+
+-----
+
+
+
+
+### Global_network_endpoint_groups.attach_network_endpoints
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_network_endpoint_groups.attach_network_endpoints.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_network_endpoint_groups.attach_network_endpoints.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/global_network_endpoint_groups.attach_network_endpoints.js`
+
+
+-----
+
+
+
+
+### Global_network_endpoint_groups.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_network_endpoint_groups.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_network_endpoint_groups.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/global_network_endpoint_groups.delete.js`
+
+
+-----
+
+
+
+
+### Global_network_endpoint_groups.detach_network_endpoints
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_network_endpoint_groups.detach_network_endpoints.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_network_endpoint_groups.detach_network_endpoints.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/global_network_endpoint_groups.detach_network_endpoints.js`
+
+
+-----
+
+
+
+
+### Global_network_endpoint_groups.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_network_endpoint_groups.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_network_endpoint_groups.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/global_network_endpoint_groups.get.js`
+
+
+-----
+
+
+
+
+### Global_network_endpoint_groups.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_network_endpoint_groups.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_network_endpoint_groups.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/global_network_endpoint_groups.insert.js`
+
+
+-----
+
+
+
+
+### Global_network_endpoint_groups.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_network_endpoint_groups.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_network_endpoint_groups.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/global_network_endpoint_groups.list.js`
+
+
+-----
+
+
+
+
+### Global_network_endpoint_groups.list_network_endpoints
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_network_endpoint_groups.list_network_endpoints.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_network_endpoint_groups.list_network_endpoints.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/global_network_endpoint_groups.list_network_endpoints.js`
+
+
+-----
+
+
+
+
+### Global_operations.aggregated_list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_operations.aggregated_list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_operations.aggregated_list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/global_operations.aggregated_list.js`
+
+
+-----
+
+
+
+
+### Global_operations.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_operations.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_operations.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/global_operations.delete.js`
+
+
+-----
+
+
+
+
+### Global_operations.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_operations.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_operations.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/global_operations.get.js`
+
+
+-----
+
+
+
+
+### Global_operations.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_operations.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_operations.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/global_operations.list.js`
+
+
+-----
+
+
+
+
+### Global_operations.wait
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_operations.wait.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_operations.wait.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/global_operations.wait.js`
+
+
+-----
+
+
+
+
+### Global_organization_operations.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_organization_operations.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_organization_operations.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/global_organization_operations.delete.js`
+
+
+-----
+
+
+
+
+### Global_organization_operations.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_organization_operations.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_organization_operations.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/global_organization_operations.get.js`
+
+
+-----
+
+
+
+
+### Global_organization_operations.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_organization_operations.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_organization_operations.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/global_organization_operations.list.js`
+
+
+-----
+
+
+
+
+### Global_public_delegated_prefixes.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_public_delegated_prefixes.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_public_delegated_prefixes.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/global_public_delegated_prefixes.delete.js`
+
+
+-----
+
+
+
+
+### Global_public_delegated_prefixes.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_public_delegated_prefixes.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_public_delegated_prefixes.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/global_public_delegated_prefixes.get.js`
+
+
+-----
+
+
+
+
+### Global_public_delegated_prefixes.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_public_delegated_prefixes.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_public_delegated_prefixes.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/global_public_delegated_prefixes.insert.js`
+
+
+-----
+
+
+
+
+### Global_public_delegated_prefixes.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_public_delegated_prefixes.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_public_delegated_prefixes.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/global_public_delegated_prefixes.list.js`
+
+
+-----
+
+
+
+
+### Global_public_delegated_prefixes.patch
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/global_public_delegated_prefixes.patch.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/global_public_delegated_prefixes.patch.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/global_public_delegated_prefixes.patch.js`
+
+
+-----
+
+
+
+
+### Health_checks.aggregated_list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/health_checks.aggregated_list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/health_checks.aggregated_list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/health_checks.aggregated_list.js`
+
+
+-----
+
+
+
+
+### Health_checks.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/health_checks.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/health_checks.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/health_checks.delete.js`
+
+
+-----
+
+
+
+
+### Health_checks.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/health_checks.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/health_checks.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/health_checks.get.js`
+
+
+-----
+
+
+
+
+### Health_checks.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/health_checks.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/health_checks.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/health_checks.insert.js`
+
+
+-----
+
+
+
+
+### Health_checks.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/health_checks.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/health_checks.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/health_checks.list.js`
+
+
+-----
+
+
+
+
+### Health_checks.patch
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/health_checks.patch.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/health_checks.patch.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/health_checks.patch.js`
+
+
+-----
+
+
+
+
+### Health_checks.update
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/health_checks.update.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/health_checks.update.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/health_checks.update.js`
+
+
+-----
+
+
+
+
+### Image_family_views.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/image_family_views.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/image_family_views.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/image_family_views.get.js`
+
+
+-----
+
+
+
+
+### Images.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/images.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/images.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/images.delete.js`
+
+
+-----
+
+
+
+
+### Images.deprecate
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/images.deprecate.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/images.deprecate.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/images.deprecate.js`
+
+
+-----
+
+
+
+
+### Images.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/images.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/images.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/images.get.js`
+
+
+-----
+
+
+
+
+### Images.get_from_family
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/images.get_from_family.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/images.get_from_family.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/images.get_from_family.js`
+
+
+-----
+
+
+
+
+### Images.get_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/images.get_iam_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-compute/samples/generated/v1/images.get_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/images.get_iam_policy.js`
+
+
+-----
+
+
+
+
+### Images.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/images.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/images.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/images.insert.js`
+
+
+-----
+
+
+
+
+### Images.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/images.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/images.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/images.list.js`
+
+
+-----
+
+
+
+
+### Images.patch
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/images.patch.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/images.patch.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/images.patch.js`
+
+
+-----
+
+
+
+
+### Images.set_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/images.set_iam_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-compute/samples/generated/v1/images.set_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/images.set_iam_policy.js`
+
+
+-----
+
+
+
+
+### Images.set_labels
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/images.set_labels.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/images.set_labels.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/images.set_labels.js`
+
+
+-----
+
+
+
+
+### Images.test_iam_permissions
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/images.test_iam_permissions.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/images.test_iam_permissions.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/images.test_iam_permissions.js`
+
+
+-----
+
+
+
+
+### Instance_group_managers.abandon_instances
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_group_managers.abandon_instances.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_group_managers.abandon_instances.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instance_group_managers.abandon_instances.js`
+
+
+-----
+
+
+
+
+### Instance_group_managers.aggregated_list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_group_managers.aggregated_list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_group_managers.aggregated_list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instance_group_managers.aggregated_list.js`
+
+
+-----
+
+
+
+
+### Instance_group_managers.apply_updates_to_instances
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_group_managers.apply_updates_to_instances.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_group_managers.apply_updates_to_instances.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instance_group_managers.apply_updates_to_instances.js`
+
+
+-----
+
+
+
+
+### Instance_group_managers.create_instances
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_group_managers.create_instances.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_group_managers.create_instances.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instance_group_managers.create_instances.js`
+
+
+-----
+
+
+
+
+### Instance_group_managers.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_group_managers.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_group_managers.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instance_group_managers.delete.js`
+
+
+-----
+
+
+
+
+### Instance_group_managers.delete_instances
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_group_managers.delete_instances.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_group_managers.delete_instances.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instance_group_managers.delete_instances.js`
+
+
+-----
+
+
+
+
+### Instance_group_managers.delete_per_instance_configs
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_group_managers.delete_per_instance_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-compute/samples/generated/v1/instance_group_managers.delete_per_instance_configs.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instance_group_managers.delete_per_instance_configs.js`
+
+
+-----
+
+
+
+
+### Instance_group_managers.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_group_managers.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_group_managers.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instance_group_managers.get.js`
+
+
+-----
+
+
+
+
+### Instance_group_managers.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_group_managers.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_group_managers.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instance_group_managers.insert.js`
+
+
+-----
+
+
+
+
+### Instance_group_managers.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_group_managers.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_group_managers.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instance_group_managers.list.js`
+
+
+-----
+
+
+
+
+### Instance_group_managers.list_errors
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_group_managers.list_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-compute/samples/generated/v1/instance_group_managers.list_errors.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instance_group_managers.list_errors.js`
+
+
+-----
+
+
+
+
+### Instance_group_managers.list_managed_instances
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_group_managers.list_managed_instances.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_group_managers.list_managed_instances.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instance_group_managers.list_managed_instances.js`
+
+
+-----
+
+
+
+
+### Instance_group_managers.list_per_instance_configs
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_group_managers.list_per_instance_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-compute/samples/generated/v1/instance_group_managers.list_per_instance_configs.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instance_group_managers.list_per_instance_configs.js`
+
+
+-----
+
+
+
+
+### Instance_group_managers.patch
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_group_managers.patch.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_group_managers.patch.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instance_group_managers.patch.js`
+
+
+-----
+
+
+
+
+### Instance_group_managers.patch_per_instance_configs
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_group_managers.patch_per_instance_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-compute/samples/generated/v1/instance_group_managers.patch_per_instance_configs.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instance_group_managers.patch_per_instance_configs.js`
+
+
+-----
+
+
+
+
+### Instance_group_managers.recreate_instances
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_group_managers.recreate_instances.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_group_managers.recreate_instances.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instance_group_managers.recreate_instances.js`
+
+
+-----
+
+
+
+
+### Instance_group_managers.resize
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_group_managers.resize.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_group_managers.resize.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instance_group_managers.resize.js`
+
+
+-----
+
+
+
+
+### Instance_group_managers.set_instance_template
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_group_managers.set_instance_template.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_group_managers.set_instance_template.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instance_group_managers.set_instance_template.js`
+
+
+-----
+
+
+
+
+### Instance_group_managers.set_target_pools
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_group_managers.set_target_pools.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_group_managers.set_target_pools.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instance_group_managers.set_target_pools.js`
+
+
+-----
+
+
+
+
+### Instance_group_managers.update_per_instance_configs
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_group_managers.update_per_instance_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-compute/samples/generated/v1/instance_group_managers.update_per_instance_configs.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instance_group_managers.update_per_instance_configs.js`
+
+
+-----
+
+
+
+
+### Instance_groups.add_instances
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_groups.add_instances.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_groups.add_instances.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instance_groups.add_instances.js`
+
+
+-----
+
+
+
+
+### Instance_groups.aggregated_list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_groups.aggregated_list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_groups.aggregated_list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instance_groups.aggregated_list.js`
+
+
+-----
+
+
+
+
+### Instance_groups.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_groups.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_groups.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instance_groups.delete.js`
+
+
+-----
+
+
+
+
+### Instance_groups.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_groups.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_groups.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instance_groups.get.js`
+
+
+-----
+
+
+
+
+### Instance_groups.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_groups.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_groups.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instance_groups.insert.js`
+
+
+-----
+
+
+
+
+### Instance_groups.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_groups.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_groups.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instance_groups.list.js`
+
+
+-----
+
+
+
+
+### Instance_groups.list_instances
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_groups.list_instances.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_groups.list_instances.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instance_groups.list_instances.js`
+
+
+-----
+
+
+
+
+### Instance_groups.remove_instances
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_groups.remove_instances.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_groups.remove_instances.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instance_groups.remove_instances.js`
+
+
+-----
+
+
+
+
+### Instance_groups.set_named_ports
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_groups.set_named_ports.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_groups.set_named_ports.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instance_groups.set_named_ports.js`
+
+
+-----
+
+
+
+
+### Instance_templates.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_templates.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_templates.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instance_templates.delete.js`
+
+
+-----
+
+
+
+
+### Instance_templates.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_templates.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_templates.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instance_templates.get.js`
+
+
+-----
+
+
+
+
+### Instance_templates.get_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_templates.get_iam_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-compute/samples/generated/v1/instance_templates.get_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instance_templates.get_iam_policy.js`
+
+
+-----
+
+
+
+
+### Instance_templates.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_templates.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_templates.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instance_templates.insert.js`
+
+
+-----
+
+
+
+
+### Instance_templates.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_templates.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_templates.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instance_templates.list.js`
+
+
+-----
+
+
+
+
+### Instance_templates.set_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_templates.set_iam_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-compute/samples/generated/v1/instance_templates.set_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instance_templates.set_iam_policy.js`
+
+
+-----
+
+
+
+
+### Instance_templates.test_iam_permissions
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instance_templates.test_iam_permissions.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instance_templates.test_iam_permissions.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instance_templates.test_iam_permissions.js`
+
+
+-----
+
+
+
+
+### Instances.add_access_config
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.add_access_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-compute/samples/generated/v1/instances.add_access_config.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.add_access_config.js`
+
+
+-----
+
+
+
+
+### Instances.add_resource_policies
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.add_resource_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-compute/samples/generated/v1/instances.add_resource_policies.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.add_resource_policies.js`
+
+
+-----
+
+
+
+
+### Instances.aggregated_list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.aggregated_list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.aggregated_list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.aggregated_list.js`
+
+
+-----
+
+
+
+
+### Instances.attach_disk
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.attach_disk.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.attach_disk.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.attach_disk.js`
+
+
+-----
+
+
+
+
+### Instances.bulk_insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.bulk_insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.bulk_insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.bulk_insert.js`
+
+
+-----
+
+
+
+
+### Instances.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.delete.js`
+
+
+-----
+
+
+
+
+### Instances.delete_access_config
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.delete_access_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-compute/samples/generated/v1/instances.delete_access_config.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.delete_access_config.js`
+
+
+-----
+
+
+
+
+### Instances.detach_disk
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.detach_disk.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.detach_disk.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.detach_disk.js`
+
+
+-----
+
+
+
+
+### Instances.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.get.js`
+
+
+-----
+
+
+
+
+### Instances.get_effective_firewalls
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.get_effective_firewalls.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.get_effective_firewalls.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.get_effective_firewalls.js`
+
+
+-----
+
+
+
+
+### Instances.get_guest_attributes
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.get_guest_attributes.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.get_guest_attributes.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.get_guest_attributes.js`
+
+
+-----
+
+
+
+
+### Instances.get_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.get_iam_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-compute/samples/generated/v1/instances.get_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.get_iam_policy.js`
+
+
+-----
+
+
+
+
+### Instances.get_screenshot
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.get_screenshot.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.get_screenshot.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.get_screenshot.js`
+
+
+-----
+
+
+
+
+### Instances.get_serial_port_output
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.get_serial_port_output.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.get_serial_port_output.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.get_serial_port_output.js`
+
+
+-----
+
+
+
+
+### Instances.get_shielded_instance_identity
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.get_shielded_instance_identity.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.get_shielded_instance_identity.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.get_shielded_instance_identity.js`
+
+
+-----
+
+
+
+
+### Instances.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.insert.js`
+
+
+-----
+
+
+
+
+### Instances.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.list.js`
+
+
+-----
+
+
+
+
+### Instances.list_referrers
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.list_referrers.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.list_referrers.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.list_referrers.js`
+
+
+-----
+
+
+
+
+### Instances.remove_resource_policies
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.remove_resource_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-compute/samples/generated/v1/instances.remove_resource_policies.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.remove_resource_policies.js`
+
+
+-----
+
+
+
+
+### Instances.reset
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.reset.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.reset.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.reset.js`
+
+
+-----
+
+
+
+
+### Instances.resume
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.resume.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.resume.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.resume.js`
+
+
+-----
+
+
+
+
+### Instances.send_diagnostic_interrupt
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.send_diagnostic_interrupt.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.send_diagnostic_interrupt.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.send_diagnostic_interrupt.js`
+
+
+-----
+
+
+
+
+### Instances.set_deletion_protection
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.set_deletion_protection.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.set_deletion_protection.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.set_deletion_protection.js`
+
+
+-----
+
+
+
+
+### Instances.set_disk_auto_delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.set_disk_auto_delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.set_disk_auto_delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.set_disk_auto_delete.js`
+
+
+-----
+
+
+
+
+### Instances.set_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.set_iam_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-compute/samples/generated/v1/instances.set_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.set_iam_policy.js`
+
+
+-----
+
+
+
+
+### Instances.set_labels
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.set_labels.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.set_labels.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.set_labels.js`
+
+
+-----
+
+
+
+
+### Instances.set_machine_resources
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.set_machine_resources.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.set_machine_resources.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.set_machine_resources.js`
+
+
+-----
+
+
+
+
+### Instances.set_machine_type
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.set_machine_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-compute/samples/generated/v1/instances.set_machine_type.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.set_machine_type.js`
+
+
+-----
+
+
+
+
+### Instances.set_metadata
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.set_metadata.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.set_metadata.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.set_metadata.js`
+
+
+-----
+
+
+
+
+### Instances.set_min_cpu_platform
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.set_min_cpu_platform.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.set_min_cpu_platform.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.set_min_cpu_platform.js`
+
+
+-----
+
+
+
+
+### Instances.set_scheduling
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.set_scheduling.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.set_scheduling.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.set_scheduling.js`
+
+
+-----
+
+
+
+
+### Instances.set_service_account
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.set_service_account.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.set_service_account.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.set_service_account.js`
+
+
+-----
+
+
+
+
+### Instances.set_shielded_instance_integrity_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.set_shielded_instance_integrity_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-compute/samples/generated/v1/instances.set_shielded_instance_integrity_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.set_shielded_instance_integrity_policy.js`
+
+
+-----
+
+
+
+
+### Instances.set_tags
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.set_tags.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.set_tags.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.set_tags.js`
+
+
+-----
+
+
+
+
+### Instances.simulate_maintenance_event
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.simulate_maintenance_event.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.simulate_maintenance_event.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.simulate_maintenance_event.js`
+
+
+-----
+
+
+
+
+### Instances.start
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.start.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.start.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.start.js`
+
+
+-----
+
+
+
+
+### Instances.start_with_encryption_key
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.start_with_encryption_key.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.start_with_encryption_key.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.start_with_encryption_key.js`
+
+
+-----
+
+
+
+
+### Instances.stop
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.stop.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.stop.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.stop.js`
+
+
+-----
+
+
+
+
+### Instances.suspend
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.suspend.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.suspend.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.suspend.js`
+
+
+-----
+
+
+
+
+### Instances.test_iam_permissions
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.test_iam_permissions.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.test_iam_permissions.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.test_iam_permissions.js`
+
+
+-----
+
+
+
+
+### Instances.update
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.update.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.update.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.update.js`
+
+
+-----
+
+
+
+
+### Instances.update_access_config
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.update_access_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-compute/samples/generated/v1/instances.update_access_config.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.update_access_config.js`
+
+
+-----
+
+
+
+
+### Instances.update_display_device
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.update_display_device.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.update_display_device.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.update_display_device.js`
+
+
+-----
+
+
+
+
+### Instances.update_network_interface
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.update_network_interface.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/instances.update_network_interface.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.update_network_interface.js`
+
+
+-----
+
+
+
+
+### Instances.update_shielded_instance_config
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/instances.update_shielded_instance_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-compute/samples/generated/v1/instances.update_shielded_instance_config.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/instances.update_shielded_instance_config.js`
+
+
+-----
+
+
+
+
+### Interconnect_attachments.aggregated_list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/interconnect_attachments.aggregated_list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/interconnect_attachments.aggregated_list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/interconnect_attachments.aggregated_list.js`
+
+
+-----
+
+
+
+
+### Interconnect_attachments.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/interconnect_attachments.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/interconnect_attachments.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/interconnect_attachments.delete.js`
+
+
+-----
+
+
+
+
+### Interconnect_attachments.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/interconnect_attachments.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/interconnect_attachments.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/interconnect_attachments.get.js`
+
+
+-----
+
+
+
+
+### Interconnect_attachments.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/interconnect_attachments.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/interconnect_attachments.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/interconnect_attachments.insert.js`
+
+
+-----
+
+
+
+
+### Interconnect_attachments.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/interconnect_attachments.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/interconnect_attachments.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/interconnect_attachments.list.js`
+
+
+-----
+
+
+
+
+### Interconnect_attachments.patch
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/interconnect_attachments.patch.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/interconnect_attachments.patch.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/interconnect_attachments.patch.js`
+
+
+-----
+
+
+
+
+### Interconnect_attachments.set_labels
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/interconnect_attachments.set_labels.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/interconnect_attachments.set_labels.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/interconnect_attachments.set_labels.js`
+
+
+-----
+
+
+
+
+### Interconnect_locations.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/interconnect_locations.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/interconnect_locations.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/interconnect_locations.get.js`
+
+
+-----
+
+
+
+
+### Interconnect_locations.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/interconnect_locations.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/interconnect_locations.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/interconnect_locations.list.js`
+
+
+-----
+
+
+
+
+### Interconnects.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/interconnects.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/interconnects.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/interconnects.delete.js`
+
+
+-----
+
+
+
+
+### Interconnects.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/interconnects.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/interconnects.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/interconnects.get.js`
+
+
+-----
+
+
+
+
+### Interconnects.get_diagnostics
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/interconnects.get_diagnostics.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/interconnects.get_diagnostics.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/interconnects.get_diagnostics.js`
+
+
+-----
+
+
+
+
+### Interconnects.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/interconnects.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/interconnects.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/interconnects.insert.js`
+
+
+-----
+
+
+
+
+### Interconnects.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/interconnects.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/interconnects.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/interconnects.list.js`
+
+
+-----
+
+
+
+
+### Interconnects.patch
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/interconnects.patch.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/interconnects.patch.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/interconnects.patch.js`
+
+
+-----
+
+
+
+
+### Interconnects.set_labels
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/interconnects.set_labels.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/interconnects.set_labels.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/interconnects.set_labels.js`
+
+
+-----
+
+
+
+
+### License_codes.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/license_codes.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/license_codes.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/license_codes.get.js`
+
+
+-----
+
+
+
+
+### License_codes.test_iam_permissions
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/license_codes.test_iam_permissions.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/license_codes.test_iam_permissions.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/license_codes.test_iam_permissions.js`
+
+
+-----
+
+
+
+
+### Licenses.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/licenses.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/licenses.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/licenses.delete.js`
+
+
+-----
+
+
+
+
+### Licenses.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/licenses.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/licenses.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/licenses.get.js`
+
+
+-----
+
+
+
+
+### Licenses.get_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/licenses.get_iam_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-compute/samples/generated/v1/licenses.get_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/licenses.get_iam_policy.js`
+
+
+-----
+
+
+
+
+### Licenses.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/licenses.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/licenses.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/licenses.insert.js`
+
+
+-----
+
+
+
+
+### Licenses.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/licenses.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/licenses.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/licenses.list.js`
+
+
+-----
+
+
+
+
+### Licenses.set_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/licenses.set_iam_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-compute/samples/generated/v1/licenses.set_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/licenses.set_iam_policy.js`
+
+
+-----
+
+
+
+
+### Licenses.test_iam_permissions
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/licenses.test_iam_permissions.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/licenses.test_iam_permissions.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/licenses.test_iam_permissions.js`
+
+
+-----
+
+
+
+
+### Machine_images.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/machine_images.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/machine_images.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/machine_images.delete.js`
+
+
+-----
+
+
+
+
+### Machine_images.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/machine_images.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/machine_images.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/machine_images.get.js`
+
+
+-----
+
+
+
+
+### Machine_images.get_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/machine_images.get_iam_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-compute/samples/generated/v1/machine_images.get_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/machine_images.get_iam_policy.js`
+
+
+-----
+
+
+
+
+### Machine_images.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/machine_images.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/machine_images.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/machine_images.insert.js`
+
+
+-----
+
+
+
+
+### Machine_images.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/machine_images.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/machine_images.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/machine_images.list.js`
+
+
+-----
+
+
+
+
+### Machine_images.set_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/machine_images.set_iam_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-compute/samples/generated/v1/machine_images.set_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/machine_images.set_iam_policy.js`
+
+
+-----
+
+
+
+
+### Machine_images.test_iam_permissions
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/machine_images.test_iam_permissions.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/machine_images.test_iam_permissions.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/machine_images.test_iam_permissions.js`
+
+
+-----
+
+
+
+
+### Machine_types.aggregated_list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/machine_types.aggregated_list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/machine_types.aggregated_list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/machine_types.aggregated_list.js`
+
+
+-----
+
+
+
+
+### Machine_types.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/machine_types.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/machine_types.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/machine_types.get.js`
+
+
+-----
+
+
+
+
+### Machine_types.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/machine_types.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/machine_types.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/machine_types.list.js`
+
+
+-----
+
+
+
+
+### Network_edge_security_services.aggregated_list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_edge_security_services.aggregated_list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_edge_security_services.aggregated_list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/network_edge_security_services.aggregated_list.js`
+
+
+-----
+
+
+
+
+### Network_edge_security_services.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_edge_security_services.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_edge_security_services.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/network_edge_security_services.delete.js`
+
+
+-----
+
+
+
+
+### Network_edge_security_services.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_edge_security_services.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_edge_security_services.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/network_edge_security_services.get.js`
+
+
+-----
+
+
+
+
+### Network_edge_security_services.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_edge_security_services.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_edge_security_services.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/network_edge_security_services.insert.js`
+
+
+-----
+
+
+
+
+### Network_edge_security_services.patch
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_edge_security_services.patch.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_edge_security_services.patch.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/network_edge_security_services.patch.js`
+
+
+-----
+
+
+
+
+### Network_endpoint_groups.aggregated_list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.aggregated_list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.aggregated_list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.aggregated_list.js`
+
+
+-----
+
+
+
+
+### Network_endpoint_groups.attach_network_endpoints
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.attach_network_endpoints.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.attach_network_endpoints.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.attach_network_endpoints.js`
+
+
+-----
+
+
+
+
+### Network_endpoint_groups.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.delete.js`
+
+
+-----
+
+
+
+
+### Network_endpoint_groups.detach_network_endpoints
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.detach_network_endpoints.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.detach_network_endpoints.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.detach_network_endpoints.js`
+
+
+-----
+
+
+
+
+### Network_endpoint_groups.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.get.js`
+
+
+-----
+
+
+
+
+### Network_endpoint_groups.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.insert.js`
+
+
+-----
+
+
+
+
+### Network_endpoint_groups.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.list.js`
+
+
+-----
+
+
+
+
+### Network_endpoint_groups.list_network_endpoints
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.list_network_endpoints.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.list_network_endpoints.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.list_network_endpoints.js`
+
+
+-----
+
+
+
+
+### Network_endpoint_groups.test_iam_permissions
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.test_iam_permissions.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.test_iam_permissions.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/network_endpoint_groups.test_iam_permissions.js`
+
+
+-----
+
+
+
+
+### Network_firewall_policies.add_association
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.add_association.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.add_association.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.add_association.js`
+
+
+-----
+
+
+
+
+### Network_firewall_policies.add_rule
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.add_rule.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.add_rule.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.add_rule.js`
+
+
+-----
+
+
+
+
+### Network_firewall_policies.clone_rules
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.clone_rules.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.clone_rules.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.clone_rules.js`
+
+
+-----
+
+
+
+
+### Network_firewall_policies.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.delete.js`
+
+
+-----
+
+
+
+
+### Network_firewall_policies.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.get.js`
+
+
+-----
+
+
+
+
+### Network_firewall_policies.get_association
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.get_association.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.get_association.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.get_association.js`
+
+
+-----
+
+
+
+
+### Network_firewall_policies.get_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.get_iam_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-compute/samples/generated/v1/network_firewall_policies.get_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.get_iam_policy.js`
+
+
+-----
+
+
+
+
+### Network_firewall_policies.get_rule
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.get_rule.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.get_rule.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.get_rule.js`
+
+
+-----
+
+
+
+
+### Network_firewall_policies.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.insert.js`
+
+
+-----
+
+
+
+
+### Network_firewall_policies.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.list.js`
+
+
+-----
+
+
+
+
+### Network_firewall_policies.patch
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.patch.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.patch.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.patch.js`
+
+
+-----
+
+
+
+
+### Network_firewall_policies.patch_rule
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.patch_rule.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.patch_rule.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.patch_rule.js`
+
+
+-----
+
+
+
+
+### Network_firewall_policies.remove_association
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.remove_association.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.remove_association.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.remove_association.js`
+
+
+-----
+
+
+
+
+### Network_firewall_policies.remove_rule
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.remove_rule.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.remove_rule.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.remove_rule.js`
+
+
+-----
+
+
+
+
+### Network_firewall_policies.set_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.set_iam_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-compute/samples/generated/v1/network_firewall_policies.set_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.set_iam_policy.js`
+
+
+-----
+
+
+
+
+### Network_firewall_policies.test_iam_permissions
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.test_iam_permissions.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.test_iam_permissions.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/network_firewall_policies.test_iam_permissions.js`
+
+
+-----
+
+
+
+
+### Networks.add_peering
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/networks.add_peering.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/networks.add_peering.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/networks.add_peering.js`
+
+
+-----
+
+
+
+
+### Networks.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/networks.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/networks.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/networks.delete.js`
+
+
+-----
+
+
+
+
+### Networks.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/networks.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/networks.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/networks.get.js`
+
+
+-----
+
+
+
+
+### Networks.get_effective_firewalls
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/networks.get_effective_firewalls.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/networks.get_effective_firewalls.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/networks.get_effective_firewalls.js`
+
+
+-----
+
+
+
+
+### Networks.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/networks.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/networks.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/networks.insert.js`
+
+
+-----
+
+
+
+
+### Networks.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/networks.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/networks.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/networks.list.js`
+
+
+-----
+
+
+
+
+### Networks.list_peering_routes
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/networks.list_peering_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-compute/samples/generated/v1/networks.list_peering_routes.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/networks.list_peering_routes.js`
+
+
+-----
+
+
+
+
+### Networks.patch
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/networks.patch.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/networks.patch.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/networks.patch.js`
+
+
+-----
+
+
+
+
+### Networks.remove_peering
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/networks.remove_peering.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/networks.remove_peering.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/networks.remove_peering.js`
+
+
+-----
+
+
+
+
+### Networks.switch_to_custom_mode
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/networks.switch_to_custom_mode.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/networks.switch_to_custom_mode.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/networks.switch_to_custom_mode.js`
+
+
+-----
+
+
+
+
+### Networks.update_peering
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/networks.update_peering.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/networks.update_peering.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/networks.update_peering.js`
+
+
+-----
+
+
+
+
+### Node_groups.add_nodes
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_groups.add_nodes.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/node_groups.add_nodes.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/node_groups.add_nodes.js`
+
+
+-----
+
+
+
+
+### Node_groups.aggregated_list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_groups.aggregated_list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/node_groups.aggregated_list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/node_groups.aggregated_list.js`
+
+
+-----
+
+
+
+
+### Node_groups.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_groups.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/node_groups.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/node_groups.delete.js`
+
+
+-----
+
+
+
+
+### Node_groups.delete_nodes
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_groups.delete_nodes.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/node_groups.delete_nodes.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/node_groups.delete_nodes.js`
+
+
+-----
+
+
+
+
+### Node_groups.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_groups.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/node_groups.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/node_groups.get.js`
+
+
+-----
+
+
+
+
+### Node_groups.get_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_groups.get_iam_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-compute/samples/generated/v1/node_groups.get_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/node_groups.get_iam_policy.js`
+
+
+-----
+
+
+
+
+### Node_groups.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_groups.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/node_groups.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/node_groups.insert.js`
+
+
+-----
+
+
+
+
+### Node_groups.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_groups.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/node_groups.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/node_groups.list.js`
+
+
+-----
+
+
+
+
+### Node_groups.list_nodes
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_groups.list_nodes.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/node_groups.list_nodes.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/node_groups.list_nodes.js`
+
+
+-----
+
+
+
+
+### Node_groups.patch
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_groups.patch.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/node_groups.patch.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/node_groups.patch.js`
+
+
+-----
+
+
+
+
+### Node_groups.set_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_groups.set_iam_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-compute/samples/generated/v1/node_groups.set_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/node_groups.set_iam_policy.js`
+
+
+-----
+
+
+
+
+### Node_groups.set_node_template
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_groups.set_node_template.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/node_groups.set_node_template.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/node_groups.set_node_template.js`
+
+
+-----
+
+
+
+
+### Node_groups.test_iam_permissions
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_groups.test_iam_permissions.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/node_groups.test_iam_permissions.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/node_groups.test_iam_permissions.js`
+
+
+-----
+
+
+
+
+### Node_templates.aggregated_list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_templates.aggregated_list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/node_templates.aggregated_list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/node_templates.aggregated_list.js`
+
+
+-----
+
+
+
+
+### Node_templates.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_templates.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/node_templates.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/node_templates.delete.js`
+
+
+-----
+
+
+
+
+### Node_templates.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_templates.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/node_templates.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/node_templates.get.js`
+
+
+-----
+
+
+
+
+### Node_templates.get_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_templates.get_iam_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-compute/samples/generated/v1/node_templates.get_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/node_templates.get_iam_policy.js`
+
+
+-----
+
+
+
+
+### Node_templates.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_templates.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/node_templates.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/node_templates.insert.js`
+
+
+-----
+
+
+
+
+### Node_templates.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_templates.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/node_templates.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/node_templates.list.js`
+
+
+-----
+
+
+
+
+### Node_templates.set_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_templates.set_iam_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-compute/samples/generated/v1/node_templates.set_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/node_templates.set_iam_policy.js`
+
+
+-----
+
+
+
+
+### Node_templates.test_iam_permissions
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_templates.test_iam_permissions.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/node_templates.test_iam_permissions.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/node_templates.test_iam_permissions.js`
+
+
+-----
+
+
+
+
+### Node_types.aggregated_list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_types.aggregated_list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/node_types.aggregated_list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/node_types.aggregated_list.js`
+
+
+-----
+
+
+
+
+### Node_types.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_types.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/node_types.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/node_types.get.js`
+
+
+-----
+
+
+
+
+### Node_types.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/node_types.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/node_types.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/node_types.list.js`
+
+
+-----
+
+
+
+
+### Packet_mirrorings.aggregated_list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/packet_mirrorings.aggregated_list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/packet_mirrorings.aggregated_list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/packet_mirrorings.aggregated_list.js`
+
+
+-----
+
+
+
+
+### Packet_mirrorings.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/packet_mirrorings.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/packet_mirrorings.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/packet_mirrorings.delete.js`
+
+
+-----
+
+
+
+
+### Packet_mirrorings.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/packet_mirrorings.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/packet_mirrorings.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/packet_mirrorings.get.js`
+
+
+-----
+
+
+
+
+### Packet_mirrorings.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/packet_mirrorings.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/packet_mirrorings.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/packet_mirrorings.insert.js`
+
+
+-----
+
+
+
+
+### Packet_mirrorings.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/packet_mirrorings.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/packet_mirrorings.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/packet_mirrorings.list.js`
+
+
+-----
+
+
+
+
+### Packet_mirrorings.patch
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/packet_mirrorings.patch.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/packet_mirrorings.patch.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/packet_mirrorings.patch.js`
+
+
+-----
+
+
+
+
+### Packet_mirrorings.test_iam_permissions
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/packet_mirrorings.test_iam_permissions.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/packet_mirrorings.test_iam_permissions.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/packet_mirrorings.test_iam_permissions.js`
+
+
+-----
+
+
+
+
+### Projects.disable_xpn_host
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/projects.disable_xpn_host.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/projects.disable_xpn_host.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/projects.disable_xpn_host.js`
+
+
+-----
+
+
+
+
+### Projects.disable_xpn_resource
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/projects.disable_xpn_resource.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/projects.disable_xpn_resource.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/projects.disable_xpn_resource.js`
+
+
+-----
+
+
+
+
+### Projects.enable_xpn_host
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/projects.enable_xpn_host.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/projects.enable_xpn_host.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/projects.enable_xpn_host.js`
+
+
+-----
+
+
+
+
+### Projects.enable_xpn_resource
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/projects.enable_xpn_resource.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/projects.enable_xpn_resource.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/projects.enable_xpn_resource.js`
+
+
+-----
+
+
+
+
+### Projects.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/projects.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/projects.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/projects.get.js`
+
+
+-----
+
+
+
+
+### Projects.get_xpn_host
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/projects.get_xpn_host.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/projects.get_xpn_host.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/projects.get_xpn_host.js`
+
+
+-----
+
+
+
+
+### Projects.get_xpn_resources
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/projects.get_xpn_resources.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/projects.get_xpn_resources.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/projects.get_xpn_resources.js`
+
+
+-----
+
+
+
+
+### Projects.list_xpn_hosts
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/projects.list_xpn_hosts.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/projects.list_xpn_hosts.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/projects.list_xpn_hosts.js`
+
+
+-----
+
+
+
+
+### Projects.move_disk
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/projects.move_disk.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/projects.move_disk.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/projects.move_disk.js`
+
+
+-----
+
+
+
+
+### Projects.move_instance
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/projects.move_instance.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/projects.move_instance.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/projects.move_instance.js`
+
+
+-----
+
+
+
+
+### Projects.set_common_instance_metadata
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/projects.set_common_instance_metadata.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/projects.set_common_instance_metadata.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/projects.set_common_instance_metadata.js`
+
+
+-----
+
+
+
+
+### Projects.set_default_network_tier
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/projects.set_default_network_tier.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/projects.set_default_network_tier.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/projects.set_default_network_tier.js`
+
+
+-----
+
+
+
+
+### Projects.set_usage_export_bucket
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/projects.set_usage_export_bucket.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/projects.set_usage_export_bucket.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/projects.set_usage_export_bucket.js`
+
+
+-----
+
+
+
+
+### Public_advertised_prefixes.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/public_advertised_prefixes.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/public_advertised_prefixes.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/public_advertised_prefixes.delete.js`
+
+
+-----
+
+
+
+
+### Public_advertised_prefixes.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/public_advertised_prefixes.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/public_advertised_prefixes.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/public_advertised_prefixes.get.js`
+
+
+-----
+
+
+
+
+### Public_advertised_prefixes.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/public_advertised_prefixes.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/public_advertised_prefixes.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/public_advertised_prefixes.insert.js`
+
+
+-----
+
+
+
+
+### Public_advertised_prefixes.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/public_advertised_prefixes.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/public_advertised_prefixes.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/public_advertised_prefixes.list.js`
+
+
+-----
+
+
+
+
+### Public_advertised_prefixes.patch
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/public_advertised_prefixes.patch.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/public_advertised_prefixes.patch.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/public_advertised_prefixes.patch.js`
+
+
+-----
+
+
+
+
+### Public_delegated_prefixes.aggregated_list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/public_delegated_prefixes.aggregated_list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/public_delegated_prefixes.aggregated_list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/public_delegated_prefixes.aggregated_list.js`
+
+
+-----
+
+
+
+
+### Public_delegated_prefixes.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/public_delegated_prefixes.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/public_delegated_prefixes.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/public_delegated_prefixes.delete.js`
+
+
+-----
+
+
+
+
+### Public_delegated_prefixes.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/public_delegated_prefixes.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/public_delegated_prefixes.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/public_delegated_prefixes.get.js`
+
+
+-----
+
+
+
+
+### Public_delegated_prefixes.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/public_delegated_prefixes.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/public_delegated_prefixes.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/public_delegated_prefixes.insert.js`
+
+
+-----
+
+
+
+
+### Public_delegated_prefixes.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/public_delegated_prefixes.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/public_delegated_prefixes.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/public_delegated_prefixes.list.js`
+
+
+-----
+
+
+
+
+### Public_delegated_prefixes.patch
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/public_delegated_prefixes.patch.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/public_delegated_prefixes.patch.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/public_delegated_prefixes.patch.js`
+
+
+-----
+
+
+
+
+### Region_autoscalers.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_autoscalers.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_autoscalers.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_autoscalers.delete.js`
+
+
+-----
+
+
+
+
+### Region_autoscalers.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_autoscalers.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_autoscalers.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_autoscalers.get.js`
+
+
+-----
+
+
+
+
+### Region_autoscalers.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_autoscalers.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_autoscalers.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_autoscalers.insert.js`
+
+
+-----
+
+
+
+
+### Region_autoscalers.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_autoscalers.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_autoscalers.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_autoscalers.list.js`
+
+
+-----
+
+
+
+
+### Region_autoscalers.patch
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_autoscalers.patch.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_autoscalers.patch.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_autoscalers.patch.js`
+
+
+-----
+
+
+
+
+### Region_autoscalers.update
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_autoscalers.update.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_autoscalers.update.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_autoscalers.update.js`
+
+
+-----
+
+
+
+
+### Region_backend_services.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_backend_services.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_backend_services.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_backend_services.delete.js`
+
+
+-----
+
+
+
+
+### Region_backend_services.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_backend_services.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_backend_services.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_backend_services.get.js`
+
+
+-----
+
+
+
+
+### Region_backend_services.get_health
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_backend_services.get_health.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_backend_services.get_health.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_backend_services.get_health.js`
+
+
+-----
+
+
+
+
+### Region_backend_services.get_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_backend_services.get_iam_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-compute/samples/generated/v1/region_backend_services.get_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_backend_services.get_iam_policy.js`
+
+
+-----
+
+
+
+
+### Region_backend_services.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_backend_services.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_backend_services.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_backend_services.insert.js`
+
+
+-----
+
+
+
+
+### Region_backend_services.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_backend_services.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_backend_services.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_backend_services.list.js`
+
+
+-----
+
+
+
+
+### Region_backend_services.patch
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_backend_services.patch.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_backend_services.patch.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_backend_services.patch.js`
+
+
+-----
+
+
+
+
+### Region_backend_services.set_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_backend_services.set_iam_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-compute/samples/generated/v1/region_backend_services.set_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_backend_services.set_iam_policy.js`
+
+
+-----
+
+
+
+
+### Region_backend_services.update
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_backend_services.update.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_backend_services.update.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_backend_services.update.js`
+
+
+-----
+
+
+
+
+### Region_commitments.aggregated_list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_commitments.aggregated_list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_commitments.aggregated_list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_commitments.aggregated_list.js`
+
+
+-----
+
+
+
+
+### Region_commitments.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_commitments.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_commitments.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_commitments.get.js`
+
+
+-----
+
+
+
+
+### Region_commitments.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_commitments.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_commitments.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_commitments.insert.js`
+
+
+-----
+
+
+
+
+### Region_commitments.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_commitments.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_commitments.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_commitments.list.js`
+
+
+-----
+
+
+
+
+### Region_commitments.update
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_commitments.update.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_commitments.update.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_commitments.update.js`
+
+
+-----
+
+
+
+
+### Region_disk_types.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_disk_types.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_disk_types.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_disk_types.get.js`
+
+
+-----
+
+
+
+
+### Region_disk_types.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_disk_types.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_disk_types.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_disk_types.list.js`
+
+
+-----
+
+
+
+
+### Region_disks.add_resource_policies
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_disks.add_resource_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-compute/samples/generated/v1/region_disks.add_resource_policies.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_disks.add_resource_policies.js`
+
+
+-----
+
+
+
+
+### Region_disks.create_snapshot
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_disks.create_snapshot.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_disks.create_snapshot.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_disks.create_snapshot.js`
+
+
+-----
+
+
+
+
+### Region_disks.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_disks.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_disks.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_disks.delete.js`
+
+
+-----
+
+
+
+
+### Region_disks.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_disks.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_disks.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_disks.get.js`
+
+
+-----
+
+
+
+
+### Region_disks.get_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_disks.get_iam_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-compute/samples/generated/v1/region_disks.get_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_disks.get_iam_policy.js`
+
+
+-----
+
+
+
+
+### Region_disks.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_disks.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_disks.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_disks.insert.js`
+
+
+-----
+
+
+
+
+### Region_disks.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_disks.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_disks.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_disks.list.js`
+
+
+-----
+
+
+
+
+### Region_disks.remove_resource_policies
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_disks.remove_resource_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-compute/samples/generated/v1/region_disks.remove_resource_policies.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_disks.remove_resource_policies.js`
+
+
+-----
+
+
+
+
+### Region_disks.resize
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_disks.resize.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_disks.resize.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_disks.resize.js`
+
+
+-----
+
+
+
+
+### Region_disks.set_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_disks.set_iam_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-compute/samples/generated/v1/region_disks.set_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_disks.set_iam_policy.js`
+
+
+-----
+
+
+
+
+### Region_disks.set_labels
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_disks.set_labels.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_disks.set_labels.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_disks.set_labels.js`
+
+
+-----
+
+
+
+
+### Region_disks.test_iam_permissions
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_disks.test_iam_permissions.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_disks.test_iam_permissions.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_disks.test_iam_permissions.js`
+
+
+-----
+
+
+
+
+### Region_health_check_services.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_health_check_services.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_health_check_services.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_health_check_services.delete.js`
+
+
+-----
+
+
+
+
+### Region_health_check_services.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_health_check_services.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_health_check_services.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_health_check_services.get.js`
+
+
+-----
+
+
+
+
+### Region_health_check_services.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_health_check_services.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_health_check_services.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_health_check_services.insert.js`
+
+
+-----
+
+
+
+
+### Region_health_check_services.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_health_check_services.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_health_check_services.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_health_check_services.list.js`
+
+
+-----
+
+
+
+
+### Region_health_check_services.patch
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_health_check_services.patch.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_health_check_services.patch.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_health_check_services.patch.js`
+
+
+-----
+
+
+
+
+### Region_health_checks.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_health_checks.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_health_checks.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_health_checks.delete.js`
+
+
+-----
+
+
+
+
+### Region_health_checks.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_health_checks.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_health_checks.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_health_checks.get.js`
+
+
+-----
+
+
+
+
+### Region_health_checks.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_health_checks.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_health_checks.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_health_checks.insert.js`
+
+
+-----
+
+
+
+
+### Region_health_checks.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_health_checks.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_health_checks.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_health_checks.list.js`
+
+
+-----
+
+
+
+
+### Region_health_checks.patch
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_health_checks.patch.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_health_checks.patch.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_health_checks.patch.js`
+
+
+-----
+
+
+
+
+### Region_health_checks.update
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_health_checks.update.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_health_checks.update.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_health_checks.update.js`
+
+
+-----
+
+
+
+
+### Region_instance_group_managers.abandon_instances
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.abandon_instances.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.abandon_instances.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.abandon_instances.js`
+
+
+-----
+
+
+
+
+### Region_instance_group_managers.apply_updates_to_instances
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.apply_updates_to_instances.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.apply_updates_to_instances.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.apply_updates_to_instances.js`
+
+
+-----
+
+
+
+
+### Region_instance_group_managers.create_instances
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.create_instances.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.create_instances.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.create_instances.js`
+
+
+-----
+
+
+
+
+### Region_instance_group_managers.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.delete.js`
+
+
+-----
+
+
+
+
+### Region_instance_group_managers.delete_instances
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.delete_instances.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.delete_instances.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.delete_instances.js`
+
+
+-----
+
+
+
+
+### Region_instance_group_managers.delete_per_instance_configs
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.delete_per_instance_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-compute/samples/generated/v1/region_instance_group_managers.delete_per_instance_configs.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.delete_per_instance_configs.js`
+
+
+-----
+
+
+
+
+### Region_instance_group_managers.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.get.js`
+
+
+-----
+
+
+
+
+### Region_instance_group_managers.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.insert.js`
+
+
+-----
+
+
+
+
+### Region_instance_group_managers.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.list.js`
+
+
+-----
+
+
+
+
+### Region_instance_group_managers.list_errors
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.list_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-compute/samples/generated/v1/region_instance_group_managers.list_errors.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.list_errors.js`
+
+
+-----
+
+
+
+
+### Region_instance_group_managers.list_managed_instances
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.list_managed_instances.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.list_managed_instances.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.list_managed_instances.js`
+
+
+-----
+
+
+
+
+### Region_instance_group_managers.list_per_instance_configs
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.list_per_instance_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-compute/samples/generated/v1/region_instance_group_managers.list_per_instance_configs.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.list_per_instance_configs.js`
+
+
+-----
+
+
+
+
+### Region_instance_group_managers.patch
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.patch.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.patch.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.patch.js`
+
+
+-----
+
+
+
+
+### Region_instance_group_managers.patch_per_instance_configs
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.patch_per_instance_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-compute/samples/generated/v1/region_instance_group_managers.patch_per_instance_configs.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.patch_per_instance_configs.js`
+
+
+-----
+
+
+
+
+### Region_instance_group_managers.recreate_instances
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.recreate_instances.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.recreate_instances.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.recreate_instances.js`
+
+
+-----
+
+
+
+
+### Region_instance_group_managers.resize
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.resize.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.resize.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.resize.js`
+
+
+-----
+
+
+
+
+### Region_instance_group_managers.set_instance_template
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.set_instance_template.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.set_instance_template.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.set_instance_template.js`
+
+
+-----
+
+
+
+
+### Region_instance_group_managers.set_target_pools
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.set_target_pools.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.set_target_pools.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.set_target_pools.js`
+
+
+-----
+
+
+
+
+### Region_instance_group_managers.update_per_instance_configs
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.update_per_instance_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-compute/samples/generated/v1/region_instance_group_managers.update_per_instance_configs.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_instance_group_managers.update_per_instance_configs.js`
+
+
+-----
+
+
+
+
+### Region_instance_groups.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_groups.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_instance_groups.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_instance_groups.get.js`
+
+
+-----
+
+
+
+
+### Region_instance_groups.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_groups.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_instance_groups.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_instance_groups.list.js`
+
+
+-----
+
+
+
+
+### Region_instance_groups.list_instances
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_groups.list_instances.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_instance_groups.list_instances.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_instance_groups.list_instances.js`
+
+
+-----
+
+
+
+
+### Region_instance_groups.set_named_ports
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instance_groups.set_named_ports.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_instance_groups.set_named_ports.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_instance_groups.set_named_ports.js`
+
+
+-----
+
+
+
+
+### Region_instances.bulk_insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_instances.bulk_insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_instances.bulk_insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_instances.bulk_insert.js`
+
+
+-----
+
+
+
+
+### Region_network_endpoint_groups.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_network_endpoint_groups.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_network_endpoint_groups.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_network_endpoint_groups.delete.js`
+
+
+-----
+
+
+
+
+### Region_network_endpoint_groups.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_network_endpoint_groups.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_network_endpoint_groups.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_network_endpoint_groups.get.js`
+
+
+-----
+
+
+
+
+### Region_network_endpoint_groups.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_network_endpoint_groups.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_network_endpoint_groups.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_network_endpoint_groups.insert.js`
+
+
+-----
+
+
+
+
+### Region_network_endpoint_groups.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_network_endpoint_groups.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_network_endpoint_groups.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_network_endpoint_groups.list.js`
+
+
+-----
+
+
+
+
+### Region_network_firewall_policies.add_association
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.add_association.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.add_association.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.add_association.js`
+
+
+-----
+
+
+
+
+### Region_network_firewall_policies.add_rule
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.add_rule.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.add_rule.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.add_rule.js`
+
+
+-----
+
+
+
+
+### Region_network_firewall_policies.clone_rules
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.clone_rules.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.clone_rules.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.clone_rules.js`
+
+
+-----
+
+
+
+
+### Region_network_firewall_policies.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.delete.js`
+
+
+-----
+
+
+
+
+### Region_network_firewall_policies.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.get.js`
+
+
+-----
+
+
+
+
+### Region_network_firewall_policies.get_association
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.get_association.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.get_association.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.get_association.js`
+
+
+-----
+
+
+
+
+### Region_network_firewall_policies.get_effective_firewalls
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.get_effective_firewalls.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.get_effective_firewalls.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.get_effective_firewalls.js`
+
+
+-----
+
+
+
+
+### Region_network_firewall_policies.get_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.get_iam_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-compute/samples/generated/v1/region_network_firewall_policies.get_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.get_iam_policy.js`
+
+
+-----
+
+
+
+
+### Region_network_firewall_policies.get_rule
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.get_rule.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.get_rule.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.get_rule.js`
+
+
+-----
+
+
+
+
+### Region_network_firewall_policies.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.insert.js`
+
+
+-----
+
+
+
+
+### Region_network_firewall_policies.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.list.js`
+
+
+-----
+
+
+
+
+### Region_network_firewall_policies.patch
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.patch.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.patch.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.patch.js`
+
+
+-----
+
+
+
+
+### Region_network_firewall_policies.patch_rule
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.patch_rule.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.patch_rule.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.patch_rule.js`
+
+
+-----
+
+
+
+
+### Region_network_firewall_policies.remove_association
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.remove_association.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.remove_association.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.remove_association.js`
+
+
+-----
+
+
+
+
+### Region_network_firewall_policies.remove_rule
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.remove_rule.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.remove_rule.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.remove_rule.js`
+
+
+-----
+
+
+
+
+### Region_network_firewall_policies.set_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.set_iam_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-compute/samples/generated/v1/region_network_firewall_policies.set_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.set_iam_policy.js`
+
+
+-----
+
+
+
+
+### Region_network_firewall_policies.test_iam_permissions
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.test_iam_permissions.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.test_iam_permissions.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_network_firewall_policies.test_iam_permissions.js`
+
+
+-----
+
+
+
+
+### Region_notification_endpoints.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_notification_endpoints.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_notification_endpoints.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_notification_endpoints.delete.js`
+
+
+-----
+
+
+
+
+### Region_notification_endpoints.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_notification_endpoints.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_notification_endpoints.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_notification_endpoints.get.js`
+
+
+-----
+
+
+
+
+### Region_notification_endpoints.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_notification_endpoints.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_notification_endpoints.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_notification_endpoints.insert.js`
+
+
+-----
+
+
+
+
+### Region_notification_endpoints.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_notification_endpoints.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_notification_endpoints.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_notification_endpoints.list.js`
+
+
+-----
+
+
+
+
+### Region_operations.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_operations.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_operations.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_operations.delete.js`
+
+
+-----
+
+
+
+
+### Region_operations.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_operations.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_operations.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_operations.get.js`
+
+
+-----
+
+
+
+
+### Region_operations.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_operations.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_operations.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_operations.list.js`
+
+
+-----
+
+
+
+
+### Region_operations.wait
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_operations.wait.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_operations.wait.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_operations.wait.js`
+
+
+-----
+
+
+
+
+### Region_security_policies.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_security_policies.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_security_policies.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_security_policies.delete.js`
+
+
+-----
+
+
+
+
+### Region_security_policies.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_security_policies.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_security_policies.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_security_policies.get.js`
+
+
+-----
+
+
+
+
+### Region_security_policies.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_security_policies.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_security_policies.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_security_policies.insert.js`
+
+
+-----
+
+
+
+
+### Region_security_policies.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_security_policies.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_security_policies.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_security_policies.list.js`
+
+
+-----
+
+
+
+
+### Region_security_policies.patch
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_security_policies.patch.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_security_policies.patch.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_security_policies.patch.js`
+
+
+-----
+
+
+
+
+### Region_ssl_certificates.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_ssl_certificates.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_ssl_certificates.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_ssl_certificates.delete.js`
+
+
+-----
+
+
+
+
+### Region_ssl_certificates.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_ssl_certificates.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_ssl_certificates.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_ssl_certificates.get.js`
+
+
+-----
+
+
+
+
+### Region_ssl_certificates.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_ssl_certificates.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_ssl_certificates.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_ssl_certificates.insert.js`
+
+
+-----
+
+
+
+
+### Region_ssl_certificates.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_ssl_certificates.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_ssl_certificates.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_ssl_certificates.list.js`
+
+
+-----
+
+
+
+
+### Region_ssl_policies.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_ssl_policies.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_ssl_policies.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_ssl_policies.delete.js`
+
+
+-----
+
+
+
+
+### Region_ssl_policies.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_ssl_policies.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_ssl_policies.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_ssl_policies.get.js`
+
+
+-----
+
+
+
+
+### Region_ssl_policies.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_ssl_policies.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_ssl_policies.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_ssl_policies.insert.js`
+
+
+-----
+
+
+
+
+### Region_ssl_policies.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_ssl_policies.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_ssl_policies.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_ssl_policies.list.js`
+
+
+-----
+
+
+
+
+### Region_ssl_policies.list_available_features
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_ssl_policies.list_available_features.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_ssl_policies.list_available_features.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_ssl_policies.list_available_features.js`
+
+
+-----
+
+
+
+
+### Region_ssl_policies.patch
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_ssl_policies.patch.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_ssl_policies.patch.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_ssl_policies.patch.js`
+
+
+-----
+
+
+
+
+### Region_target_http_proxies.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_target_http_proxies.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_target_http_proxies.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_target_http_proxies.delete.js`
+
+
+-----
+
+
+
+
+### Region_target_http_proxies.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_target_http_proxies.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_target_http_proxies.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_target_http_proxies.get.js`
+
+
+-----
+
+
+
+
+### Region_target_http_proxies.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_target_http_proxies.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_target_http_proxies.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_target_http_proxies.insert.js`
+
+
+-----
+
+
+
+
+### Region_target_http_proxies.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_target_http_proxies.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_target_http_proxies.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_target_http_proxies.list.js`
+
+
+-----
+
+
+
+
+### Region_target_http_proxies.set_url_map
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_target_http_proxies.set_url_map.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_target_http_proxies.set_url_map.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_target_http_proxies.set_url_map.js`
+
+
+-----
+
+
+
+
+### Region_target_https_proxies.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_target_https_proxies.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_target_https_proxies.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_target_https_proxies.delete.js`
+
+
+-----
+
+
+
+
+### Region_target_https_proxies.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_target_https_proxies.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_target_https_proxies.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_target_https_proxies.get.js`
+
+
+-----
+
+
+
+
+### Region_target_https_proxies.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_target_https_proxies.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_target_https_proxies.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_target_https_proxies.insert.js`
+
+
+-----
+
+
+
+
+### Region_target_https_proxies.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_target_https_proxies.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_target_https_proxies.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_target_https_proxies.list.js`
+
+
+-----
+
+
+
+
+### Region_target_https_proxies.patch
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_target_https_proxies.patch.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_target_https_proxies.patch.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_target_https_proxies.patch.js`
+
+
+-----
+
+
+
+
+### Region_target_https_proxies.set_ssl_certificates
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_target_https_proxies.set_ssl_certificates.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_target_https_proxies.set_ssl_certificates.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_target_https_proxies.set_ssl_certificates.js`
+
+
+-----
+
+
+
+
+### Region_target_https_proxies.set_url_map
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_target_https_proxies.set_url_map.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_target_https_proxies.set_url_map.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_target_https_proxies.set_url_map.js`
+
+
+-----
+
+
+
+
+### Region_target_tcp_proxies.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_target_tcp_proxies.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_target_tcp_proxies.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_target_tcp_proxies.delete.js`
+
+
+-----
+
+
+
+
+### Region_target_tcp_proxies.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_target_tcp_proxies.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_target_tcp_proxies.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_target_tcp_proxies.get.js`
+
+
+-----
+
+
+
+
+### Region_target_tcp_proxies.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_target_tcp_proxies.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_target_tcp_proxies.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_target_tcp_proxies.insert.js`
+
+
+-----
+
+
+
+
+### Region_target_tcp_proxies.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_target_tcp_proxies.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_target_tcp_proxies.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_target_tcp_proxies.list.js`
+
+
+-----
+
+
+
+
+### Region_url_maps.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_url_maps.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_url_maps.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_url_maps.delete.js`
+
+
+-----
+
+
+
+
+### Region_url_maps.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_url_maps.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_url_maps.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_url_maps.get.js`
+
+
+-----
+
+
+
+
+### Region_url_maps.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_url_maps.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_url_maps.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_url_maps.insert.js`
+
+
+-----
+
+
+
+
+### Region_url_maps.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_url_maps.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_url_maps.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_url_maps.list.js`
+
+
+-----
+
+
+
+
+### Region_url_maps.patch
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_url_maps.patch.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_url_maps.patch.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_url_maps.patch.js`
+
+
+-----
+
+
+
+
+### Region_url_maps.update
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_url_maps.update.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_url_maps.update.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_url_maps.update.js`
+
+
+-----
+
+
+
+
+### Region_url_maps.validate
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/region_url_maps.validate.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/region_url_maps.validate.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/region_url_maps.validate.js`
+
+
+-----
+
+
+
+
+### Regions.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/regions.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/regions.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/regions.get.js`
+
+
+-----
+
+
+
+
+### Regions.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/regions.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/regions.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/regions.list.js`
+
+
+-----
+
+
+
+
+### Reservations.aggregated_list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/reservations.aggregated_list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/reservations.aggregated_list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/reservations.aggregated_list.js`
+
+
+-----
+
+
+
+
+### Reservations.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/reservations.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/reservations.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/reservations.delete.js`
+
+
+-----
+
+
+
+
+### Reservations.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/reservations.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/reservations.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/reservations.get.js`
+
+
+-----
+
+
+
+
+### Reservations.get_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/reservations.get_iam_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-compute/samples/generated/v1/reservations.get_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/reservations.get_iam_policy.js`
+
+
+-----
+
+
+
+
+### Reservations.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/reservations.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/reservations.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/reservations.insert.js`
+
+
+-----
+
+
+
+
+### Reservations.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/reservations.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/reservations.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/reservations.list.js`
+
+
+-----
+
+
+
+
+### Reservations.resize
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/reservations.resize.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/reservations.resize.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/reservations.resize.js`
+
+
+-----
+
+
+
+
+### Reservations.set_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/reservations.set_iam_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-compute/samples/generated/v1/reservations.set_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/reservations.set_iam_policy.js`
+
+
+-----
+
+
+
+
+### Reservations.test_iam_permissions
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/reservations.test_iam_permissions.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/reservations.test_iam_permissions.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/reservations.test_iam_permissions.js`
+
+
+-----
+
+
+
+
+### Reservations.update
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/reservations.update.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/reservations.update.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/reservations.update.js`
+
+
+-----
+
+
+
+
+### Resource_policies.aggregated_list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/resource_policies.aggregated_list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/resource_policies.aggregated_list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/resource_policies.aggregated_list.js`
+
+
+-----
+
+
+
+
+### Resource_policies.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/resource_policies.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/resource_policies.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/resource_policies.delete.js`
+
+
+-----
+
+
+
+
+### Resource_policies.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/resource_policies.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/resource_policies.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/resource_policies.get.js`
+
+
+-----
+
+
+
+
+### Resource_policies.get_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/resource_policies.get_iam_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-compute/samples/generated/v1/resource_policies.get_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/resource_policies.get_iam_policy.js`
+
+
+-----
+
+
+
+
+### Resource_policies.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/resource_policies.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/resource_policies.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/resource_policies.insert.js`
+
+
+-----
+
+
+
+
+### Resource_policies.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/resource_policies.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/resource_policies.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/resource_policies.list.js`
+
+
+-----
+
+
+
+
+### Resource_policies.set_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/resource_policies.set_iam_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-compute/samples/generated/v1/resource_policies.set_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/resource_policies.set_iam_policy.js`
+
+
+-----
+
+
+
+
+### Resource_policies.test_iam_permissions
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/resource_policies.test_iam_permissions.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/resource_policies.test_iam_permissions.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/resource_policies.test_iam_permissions.js`
+
+
+-----
+
+
+
+
+### Routers.aggregated_list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/routers.aggregated_list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/routers.aggregated_list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/routers.aggregated_list.js`
+
+
+-----
+
+
+
+
+### Routers.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/routers.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/routers.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/routers.delete.js`
+
+
+-----
+
+
+
+
+### Routers.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/routers.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/routers.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/routers.get.js`
+
+
+-----
+
+
+
+
+### Routers.get_nat_mapping_info
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/routers.get_nat_mapping_info.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/routers.get_nat_mapping_info.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/routers.get_nat_mapping_info.js`
+
+
+-----
+
+
+
+
+### Routers.get_router_status
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/routers.get_router_status.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/routers.get_router_status.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/routers.get_router_status.js`
+
+
+-----
+
+
+
+
+### Routers.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/routers.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/routers.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/routers.insert.js`
+
+
+-----
+
+
+
+
+### Routers.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/routers.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/routers.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/routers.list.js`
+
+
+-----
+
+
+
+
+### Routers.patch
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/routers.patch.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/routers.patch.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/routers.patch.js`
+
+
+-----
+
+
+
+
+### Routers.preview
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/routers.preview.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/routers.preview.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/routers.preview.js`
+
+
+-----
+
+
+
+
+### Routers.update
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/routers.update.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/routers.update.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/routers.update.js`
+
+
+-----
+
+
+
+
+### Routes.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/routes.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/routes.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/routes.delete.js`
+
+
+-----
+
+
+
+
+### Routes.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/routes.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/routes.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/routes.get.js`
+
+
+-----
+
+
+
+
+### Routes.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/routes.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/routes.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/routes.insert.js`
+
+
+-----
+
+
+
+
+### Routes.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/routes.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/routes.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/routes.list.js`
+
+
+-----
+
+
+
+
+### Security_policies.add_rule
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/security_policies.add_rule.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/security_policies.add_rule.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/security_policies.add_rule.js`
+
+
+-----
+
+
+
+
+### Security_policies.aggregated_list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/security_policies.aggregated_list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/security_policies.aggregated_list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/security_policies.aggregated_list.js`
+
+
+-----
+
+
+
+
+### Security_policies.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/security_policies.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/security_policies.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/security_policies.delete.js`
+
+
+-----
+
+
+
+
+### Security_policies.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/security_policies.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/security_policies.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/security_policies.get.js`
+
+
+-----
+
+
+
+
+### Security_policies.get_rule
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/security_policies.get_rule.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/security_policies.get_rule.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/security_policies.get_rule.js`
+
+
+-----
+
+
+
+
+### Security_policies.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/security_policies.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/security_policies.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/security_policies.insert.js`
+
+
+-----
+
+
+
+
+### Security_policies.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/security_policies.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/security_policies.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/security_policies.list.js`
+
+
+-----
+
+
+
+
+### Security_policies.list_preconfigured_expression_sets
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/security_policies.list_preconfigured_expression_sets.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/security_policies.list_preconfigured_expression_sets.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/security_policies.list_preconfigured_expression_sets.js`
+
+
+-----
+
+
+
+
+### Security_policies.patch
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/security_policies.patch.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/security_policies.patch.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/security_policies.patch.js`
+
+
+-----
+
+
+
+
+### Security_policies.patch_rule
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/security_policies.patch_rule.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/security_policies.patch_rule.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/security_policies.patch_rule.js`
+
+
+-----
+
+
+
+
+### Security_policies.remove_rule
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/security_policies.remove_rule.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/security_policies.remove_rule.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/security_policies.remove_rule.js`
+
+
+-----
+
+
+
+
+### Security_policies.set_labels
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/security_policies.set_labels.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/security_policies.set_labels.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/security_policies.set_labels.js`
+
+
+-----
+
+
+
+
+### Service_attachments.aggregated_list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/service_attachments.aggregated_list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/service_attachments.aggregated_list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/service_attachments.aggregated_list.js`
+
+
+-----
+
+
+
+
+### Service_attachments.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/service_attachments.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/service_attachments.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/service_attachments.delete.js`
+
+
+-----
+
+
+
+
+### Service_attachments.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/service_attachments.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/service_attachments.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/service_attachments.get.js`
+
+
+-----
+
+
+
+
+### Service_attachments.get_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/service_attachments.get_iam_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-compute/samples/generated/v1/service_attachments.get_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/service_attachments.get_iam_policy.js`
+
+
+-----
+
+
+
+
+### Service_attachments.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/service_attachments.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/service_attachments.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/service_attachments.insert.js`
+
+
+-----
+
+
+
+
+### Service_attachments.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/service_attachments.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/service_attachments.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/service_attachments.list.js`
+
+
+-----
+
+
+
+
+### Service_attachments.patch
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/service_attachments.patch.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/service_attachments.patch.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/service_attachments.patch.js`
+
+
+-----
+
+
+
+
+### Service_attachments.set_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/service_attachments.set_iam_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-compute/samples/generated/v1/service_attachments.set_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/service_attachments.set_iam_policy.js`
+
+
+-----
+
+
+
+
+### Service_attachments.test_iam_permissions
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/service_attachments.test_iam_permissions.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/service_attachments.test_iam_permissions.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/service_attachments.test_iam_permissions.js`
+
+
+-----
+
+
+
+
+### Snapshots.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/snapshots.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/snapshots.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/snapshots.delete.js`
+
+
+-----
+
+
+
+
+### Snapshots.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/snapshots.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/snapshots.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/snapshots.get.js`
+
+
+-----
+
+
+
+
+### Snapshots.get_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/snapshots.get_iam_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-compute/samples/generated/v1/snapshots.get_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/snapshots.get_iam_policy.js`
+
+
+-----
+
+
+
+
+### Snapshots.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/snapshots.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/snapshots.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/snapshots.insert.js`
+
+
+-----
+
+
+
+
+### Snapshots.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/snapshots.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/snapshots.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/snapshots.list.js`
+
+
+-----
+
+
+
+
+### Snapshots.set_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/snapshots.set_iam_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-compute/samples/generated/v1/snapshots.set_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/snapshots.set_iam_policy.js`
+
+
+-----
+
+
+
+
+### Snapshots.set_labels
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/snapshots.set_labels.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/snapshots.set_labels.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/snapshots.set_labels.js`
+
+
+-----
+
+
+
+
+### Snapshots.test_iam_permissions
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/snapshots.test_iam_permissions.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/snapshots.test_iam_permissions.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/snapshots.test_iam_permissions.js`
+
+
+-----
+
+
+
+
+### Ssl_certificates.aggregated_list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/ssl_certificates.aggregated_list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/ssl_certificates.aggregated_list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/ssl_certificates.aggregated_list.js`
+
+
+-----
+
+
+
+
+### Ssl_certificates.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/ssl_certificates.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/ssl_certificates.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/ssl_certificates.delete.js`
+
+
+-----
+
+
+
+
+### Ssl_certificates.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/ssl_certificates.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/ssl_certificates.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/ssl_certificates.get.js`
+
+
+-----
+
+
+
+
+### Ssl_certificates.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/ssl_certificates.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/ssl_certificates.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/ssl_certificates.insert.js`
+
+
+-----
+
+
+
+
+### Ssl_certificates.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/ssl_certificates.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/ssl_certificates.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/ssl_certificates.list.js`
+
+
+-----
+
+
+
+
+### Ssl_policies.aggregated_list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/ssl_policies.aggregated_list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/ssl_policies.aggregated_list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/ssl_policies.aggregated_list.js`
+
+
+-----
+
+
+
+
+### Ssl_policies.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/ssl_policies.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/ssl_policies.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/ssl_policies.delete.js`
+
+
+-----
+
+
+
+
+### Ssl_policies.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/ssl_policies.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/ssl_policies.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/ssl_policies.get.js`
+
+
+-----
+
+
+
+
+### Ssl_policies.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/ssl_policies.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/ssl_policies.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/ssl_policies.insert.js`
+
+
+-----
+
+
+
+
+### Ssl_policies.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/ssl_policies.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/ssl_policies.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/ssl_policies.list.js`
+
+
+-----
+
+
+
+
+### Ssl_policies.list_available_features
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/ssl_policies.list_available_features.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/ssl_policies.list_available_features.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/ssl_policies.list_available_features.js`
+
+
+-----
+
+
+
+
+### Ssl_policies.patch
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/ssl_policies.patch.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/ssl_policies.patch.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/ssl_policies.patch.js`
+
+
+-----
+
+
+
+
+### Subnetworks.aggregated_list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/subnetworks.aggregated_list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/subnetworks.aggregated_list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/subnetworks.aggregated_list.js`
+
+
+-----
+
+
+
+
+### Subnetworks.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/subnetworks.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/subnetworks.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/subnetworks.delete.js`
+
+
+-----
+
+
+
+
+### Subnetworks.expand_ip_cidr_range
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/subnetworks.expand_ip_cidr_range.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/subnetworks.expand_ip_cidr_range.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/subnetworks.expand_ip_cidr_range.js`
+
+
+-----
+
+
+
+
+### Subnetworks.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/subnetworks.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/subnetworks.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/subnetworks.get.js`
+
+
+-----
+
+
+
+
+### Subnetworks.get_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/subnetworks.get_iam_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-compute/samples/generated/v1/subnetworks.get_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/subnetworks.get_iam_policy.js`
+
+
+-----
+
+
+
+
+### Subnetworks.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/subnetworks.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/subnetworks.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/subnetworks.insert.js`
+
+
+-----
+
+
+
+
+### Subnetworks.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/subnetworks.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/subnetworks.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/subnetworks.list.js`
+
+
+-----
+
+
+
+
+### Subnetworks.list_usable
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/subnetworks.list_usable.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/subnetworks.list_usable.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/subnetworks.list_usable.js`
+
+
+-----
+
+
+
+
+### Subnetworks.patch
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/subnetworks.patch.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/subnetworks.patch.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/subnetworks.patch.js`
+
+
+-----
+
+
+
+
+### Subnetworks.set_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/subnetworks.set_iam_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-compute/samples/generated/v1/subnetworks.set_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/subnetworks.set_iam_policy.js`
+
+
+-----
+
+
+
+
+### Subnetworks.set_private_ip_google_access
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/subnetworks.set_private_ip_google_access.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/subnetworks.set_private_ip_google_access.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/subnetworks.set_private_ip_google_access.js`
+
+
+-----
+
+
+
+
+### Subnetworks.test_iam_permissions
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/subnetworks.test_iam_permissions.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/subnetworks.test_iam_permissions.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/subnetworks.test_iam_permissions.js`
+
+
+-----
+
+
+
+
+### Target_grpc_proxies.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_grpc_proxies.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_grpc_proxies.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_grpc_proxies.delete.js`
+
+
+-----
+
+
+
+
+### Target_grpc_proxies.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_grpc_proxies.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_grpc_proxies.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_grpc_proxies.get.js`
+
+
+-----
+
+
+
+
+### Target_grpc_proxies.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_grpc_proxies.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_grpc_proxies.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_grpc_proxies.insert.js`
+
+
+-----
+
+
+
+
+### Target_grpc_proxies.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_grpc_proxies.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_grpc_proxies.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_grpc_proxies.list.js`
+
+
+-----
+
+
+
+
+### Target_grpc_proxies.patch
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_grpc_proxies.patch.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_grpc_proxies.patch.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_grpc_proxies.patch.js`
+
+
+-----
+
+
+
+
+### Target_http_proxies.aggregated_list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_http_proxies.aggregated_list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_http_proxies.aggregated_list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_http_proxies.aggregated_list.js`
+
+
+-----
+
+
+
+
+### Target_http_proxies.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_http_proxies.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_http_proxies.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_http_proxies.delete.js`
+
+
+-----
+
+
+
+
+### Target_http_proxies.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_http_proxies.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_http_proxies.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_http_proxies.get.js`
+
+
+-----
+
+
+
+
+### Target_http_proxies.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_http_proxies.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_http_proxies.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_http_proxies.insert.js`
+
+
+-----
+
+
+
+
+### Target_http_proxies.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_http_proxies.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_http_proxies.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_http_proxies.list.js`
+
+
+-----
+
+
+
+
+### Target_http_proxies.patch
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_http_proxies.patch.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_http_proxies.patch.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_http_proxies.patch.js`
+
+
+-----
+
+
+
+
+### Target_http_proxies.set_url_map
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_http_proxies.set_url_map.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_http_proxies.set_url_map.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_http_proxies.set_url_map.js`
+
+
+-----
+
+
+
+
+### Target_https_proxies.aggregated_list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_https_proxies.aggregated_list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_https_proxies.aggregated_list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_https_proxies.aggregated_list.js`
+
+
+-----
+
+
+
+
+### Target_https_proxies.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_https_proxies.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_https_proxies.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_https_proxies.delete.js`
+
+
+-----
+
+
+
+
+### Target_https_proxies.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_https_proxies.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_https_proxies.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_https_proxies.get.js`
+
+
+-----
+
+
+
+
+### Target_https_proxies.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_https_proxies.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_https_proxies.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_https_proxies.insert.js`
+
+
+-----
+
+
+
+
+### Target_https_proxies.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_https_proxies.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_https_proxies.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_https_proxies.list.js`
+
+
+-----
+
+
+
+
+### Target_https_proxies.patch
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_https_proxies.patch.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_https_proxies.patch.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_https_proxies.patch.js`
+
+
+-----
+
+
+
+
+### Target_https_proxies.set_certificate_map
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_https_proxies.set_certificate_map.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_https_proxies.set_certificate_map.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_https_proxies.set_certificate_map.js`
+
+
+-----
+
+
+
+
+### Target_https_proxies.set_quic_override
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_https_proxies.set_quic_override.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_https_proxies.set_quic_override.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_https_proxies.set_quic_override.js`
+
+
+-----
+
+
+
+
+### Target_https_proxies.set_ssl_certificates
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_https_proxies.set_ssl_certificates.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_https_proxies.set_ssl_certificates.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_https_proxies.set_ssl_certificates.js`
+
+
+-----
+
+
+
+
+### Target_https_proxies.set_ssl_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_https_proxies.set_ssl_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-compute/samples/generated/v1/target_https_proxies.set_ssl_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_https_proxies.set_ssl_policy.js`
+
+
+-----
+
+
+
+
+### Target_https_proxies.set_url_map
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_https_proxies.set_url_map.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_https_proxies.set_url_map.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_https_proxies.set_url_map.js`
+
+
+-----
+
+
+
+
+### Target_instances.aggregated_list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_instances.aggregated_list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_instances.aggregated_list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_instances.aggregated_list.js`
+
+
+-----
+
+
+
+
+### Target_instances.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_instances.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_instances.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_instances.delete.js`
+
+
+-----
+
+
+
+
+### Target_instances.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_instances.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_instances.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_instances.get.js`
+
+
+-----
+
+
+
+
+### Target_instances.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_instances.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_instances.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_instances.insert.js`
+
+
+-----
+
+
+
+
+### Target_instances.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_instances.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_instances.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_instances.list.js`
+
+
+-----
+
+
+
+
+### Target_pools.add_health_check
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_pools.add_health_check.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_pools.add_health_check.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_pools.add_health_check.js`
+
+
+-----
+
+
+
+
+### Target_pools.add_instance
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_pools.add_instance.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_pools.add_instance.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_pools.add_instance.js`
+
+
+-----
+
+
+
+
+### Target_pools.aggregated_list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_pools.aggregated_list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_pools.aggregated_list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_pools.aggregated_list.js`
+
+
+-----
+
+
+
+
+### Target_pools.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_pools.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_pools.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_pools.delete.js`
+
+
+-----
+
+
+
+
+### Target_pools.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_pools.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_pools.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_pools.get.js`
+
+
+-----
+
+
+
+
+### Target_pools.get_health
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_pools.get_health.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_pools.get_health.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_pools.get_health.js`
+
+
+-----
+
+
+
+
+### Target_pools.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_pools.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_pools.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_pools.insert.js`
+
+
+-----
+
+
+
+
+### Target_pools.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_pools.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_pools.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_pools.list.js`
+
+
+-----
+
+
+
+
+### Target_pools.remove_health_check
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_pools.remove_health_check.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_pools.remove_health_check.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_pools.remove_health_check.js`
+
+
+-----
+
+
+
+
+### Target_pools.remove_instance
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_pools.remove_instance.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_pools.remove_instance.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_pools.remove_instance.js`
+
+
+-----
+
+
+
+
+### Target_pools.set_backup
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_pools.set_backup.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_pools.set_backup.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_pools.set_backup.js`
+
+
+-----
+
+
+
+
+### Target_ssl_proxies.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_ssl_proxies.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_ssl_proxies.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_ssl_proxies.delete.js`
+
+
+-----
+
+
+
+
+### Target_ssl_proxies.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_ssl_proxies.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_ssl_proxies.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_ssl_proxies.get.js`
+
+
+-----
+
+
+
+
+### Target_ssl_proxies.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_ssl_proxies.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_ssl_proxies.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_ssl_proxies.insert.js`
+
+
+-----
+
+
+
+
+### Target_ssl_proxies.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_ssl_proxies.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_ssl_proxies.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_ssl_proxies.list.js`
+
+
+-----
+
+
+
+
+### Target_ssl_proxies.set_backend_service
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_ssl_proxies.set_backend_service.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_ssl_proxies.set_backend_service.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_ssl_proxies.set_backend_service.js`
+
+
+-----
+
+
+
+
+### Target_ssl_proxies.set_certificate_map
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_ssl_proxies.set_certificate_map.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_ssl_proxies.set_certificate_map.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_ssl_proxies.set_certificate_map.js`
+
+
+-----
+
+
+
+
+### Target_ssl_proxies.set_proxy_header
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_ssl_proxies.set_proxy_header.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_ssl_proxies.set_proxy_header.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_ssl_proxies.set_proxy_header.js`
+
+
+-----
+
+
+
+
+### Target_ssl_proxies.set_ssl_certificates
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_ssl_proxies.set_ssl_certificates.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_ssl_proxies.set_ssl_certificates.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_ssl_proxies.set_ssl_certificates.js`
+
+
+-----
+
+
+
+
+### Target_ssl_proxies.set_ssl_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_ssl_proxies.set_ssl_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-compute/samples/generated/v1/target_ssl_proxies.set_ssl_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_ssl_proxies.set_ssl_policy.js`
+
+
+-----
+
+
+
+
+### Target_tcp_proxies.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_tcp_proxies.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_tcp_proxies.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_tcp_proxies.delete.js`
+
+
+-----
+
+
+
+
+### Target_tcp_proxies.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_tcp_proxies.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_tcp_proxies.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_tcp_proxies.get.js`
+
+
+-----
+
+
+
+
+### Target_tcp_proxies.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_tcp_proxies.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_tcp_proxies.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_tcp_proxies.insert.js`
+
+
+-----
+
+
+
+
+### Target_tcp_proxies.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_tcp_proxies.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_tcp_proxies.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_tcp_proxies.list.js`
+
+
+-----
+
+
+
+
+### Target_tcp_proxies.set_backend_service
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_tcp_proxies.set_backend_service.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_tcp_proxies.set_backend_service.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_tcp_proxies.set_backend_service.js`
+
+
+-----
+
+
+
+
+### Target_tcp_proxies.set_proxy_header
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_tcp_proxies.set_proxy_header.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_tcp_proxies.set_proxy_header.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_tcp_proxies.set_proxy_header.js`
+
+
+-----
+
+
+
+
+### Target_vpn_gateways.aggregated_list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_vpn_gateways.aggregated_list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_vpn_gateways.aggregated_list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_vpn_gateways.aggregated_list.js`
+
+
+-----
+
+
+
+
+### Target_vpn_gateways.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_vpn_gateways.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_vpn_gateways.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_vpn_gateways.delete.js`
+
+
+-----
+
+
+
+
+### Target_vpn_gateways.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_vpn_gateways.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_vpn_gateways.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_vpn_gateways.get.js`
+
+
+-----
+
+
+
+
+### Target_vpn_gateways.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_vpn_gateways.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_vpn_gateways.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_vpn_gateways.insert.js`
+
+
+-----
+
+
+
+
+### Target_vpn_gateways.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_vpn_gateways.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_vpn_gateways.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_vpn_gateways.list.js`
+
+
+-----
+
+
+
+
+### Target_vpn_gateways.set_labels
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/target_vpn_gateways.set_labels.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/target_vpn_gateways.set_labels.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/target_vpn_gateways.set_labels.js`
+
+
+-----
+
+
+
+
+### Url_maps.aggregated_list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/url_maps.aggregated_list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/url_maps.aggregated_list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/url_maps.aggregated_list.js`
+
+
+-----
+
+
+
+
+### Url_maps.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/url_maps.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/url_maps.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/url_maps.delete.js`
+
+
+-----
+
+
+
+
+### Url_maps.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/url_maps.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/url_maps.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/url_maps.get.js`
+
+
+-----
+
+
+
+
+### Url_maps.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/url_maps.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/url_maps.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/url_maps.insert.js`
+
+
+-----
+
+
+
+
+### Url_maps.invalidate_cache
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/url_maps.invalidate_cache.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/url_maps.invalidate_cache.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/url_maps.invalidate_cache.js`
+
+
+-----
+
+
+
+
+### Url_maps.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/url_maps.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/url_maps.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/url_maps.list.js`
+
+
+-----
+
+
+
+
+### Url_maps.patch
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/url_maps.patch.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/url_maps.patch.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/url_maps.patch.js`
+
+
+-----
+
+
+
+
+### Url_maps.update
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/url_maps.update.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/url_maps.update.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/url_maps.update.js`
+
+
+-----
+
+
+
+
+### Url_maps.validate
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/url_maps.validate.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/url_maps.validate.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/url_maps.validate.js`
+
+
+-----
+
+
+
+
+### Vpn_gateways.aggregated_list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/vpn_gateways.aggregated_list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/vpn_gateways.aggregated_list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/vpn_gateways.aggregated_list.js`
+
+
+-----
+
+
+
+
+### Vpn_gateways.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/vpn_gateways.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/vpn_gateways.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/vpn_gateways.delete.js`
+
+
+-----
+
+
+
+
+### Vpn_gateways.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/vpn_gateways.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/vpn_gateways.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/vpn_gateways.get.js`
+
+
+-----
+
+
+
+
+### Vpn_gateways.get_status
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/vpn_gateways.get_status.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/vpn_gateways.get_status.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/vpn_gateways.get_status.js`
+
+
+-----
+
+
+
+
+### Vpn_gateways.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/vpn_gateways.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/vpn_gateways.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/vpn_gateways.insert.js`
+
+
+-----
+
+
+
+
+### Vpn_gateways.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/vpn_gateways.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/vpn_gateways.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/vpn_gateways.list.js`
+
+
+-----
+
+
+
+
+### Vpn_gateways.set_labels
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/vpn_gateways.set_labels.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/vpn_gateways.set_labels.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/vpn_gateways.set_labels.js`
+
+
+-----
+
+
+
+
+### Vpn_gateways.test_iam_permissions
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/vpn_gateways.test_iam_permissions.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/vpn_gateways.test_iam_permissions.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/vpn_gateways.test_iam_permissions.js`
+
+
+-----
+
+
+
+
+### Vpn_tunnels.aggregated_list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/vpn_tunnels.aggregated_list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/vpn_tunnels.aggregated_list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/vpn_tunnels.aggregated_list.js`
+
+
+-----
+
+
+
+
+### Vpn_tunnels.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/vpn_tunnels.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/vpn_tunnels.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/vpn_tunnels.delete.js`
+
+
+-----
+
+
+
+
+### Vpn_tunnels.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/vpn_tunnels.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/vpn_tunnels.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/vpn_tunnels.get.js`
+
+
+-----
+
+
+
+
+### Vpn_tunnels.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/vpn_tunnels.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/vpn_tunnels.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/vpn_tunnels.insert.js`
+
+
+-----
+
+
+
+
+### Vpn_tunnels.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/vpn_tunnels.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/vpn_tunnels.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/vpn_tunnels.list.js`
+
+
+-----
+
+
+
+
+### Vpn_tunnels.set_labels
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/vpn_tunnels.set_labels.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/vpn_tunnels.set_labels.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/vpn_tunnels.set_labels.js`
+
+
+-----
+
+
+
+
+### Zone_operations.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/zone_operations.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/zone_operations.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/zone_operations.delete.js`
+
+
+-----
+
+
+
+
+### Zone_operations.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/zone_operations.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/zone_operations.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/zone_operations.get.js`
+
+
+-----
+
+
+
+
+### Zone_operations.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/zone_operations.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/zone_operations.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/zone_operations.list.js`
+
+
+-----
+
+
+
+
+### Zone_operations.wait
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/zone_operations.wait.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/zone_operations.wait.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/zone_operations.wait.js`
+
+
+-----
+
+
+
+
+### Zones.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/zones.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/zones.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/zones.get.js`
+
+
+-----
+
+
+
+
+### Zones.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1/zones.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1/zones.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1/zones.list.js`
+
+
+-----
+
+
+
+
+### Addresses.aggregated_list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1small/addresses.aggregated_list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1small/addresses.aggregated_list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1small/addresses.aggregated_list.js`
+
+
+-----
+
+
+
+
+### Addresses.delete
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1small/addresses.delete.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1small/addresses.delete.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1small/addresses.delete.js`
+
+
+-----
+
+
+
+
+### Addresses.insert
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1small/addresses.insert.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1small/addresses.insert.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1small/addresses.insert.js`
+
+
+-----
+
+
+
+
+### Addresses.list
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1small/addresses.list.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1small/addresses.list.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1small/addresses.list.js`
+
+
+-----
+
+
+
+
+### Region_operations.get
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1small/region_operations.get.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1small/region_operations.get.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1small/region_operations.get.js`
+
+
+-----
+
+
+
+
+### Region_operations.wait
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/generated/v1small/region_operations.wait.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-compute/samples/generated/v1small/region_operations.wait.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/generated/v1small/region_operations.wait.js`
+
+
+-----
+
+
+
+
+### Quickstart
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/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-compute/samples/quickstart.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/quickstart.js`
+
+
+-----
+
+
+
+
+### Quickstart.test
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-compute/samples/test/quickstart.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-compute/samples/test/quickstart.test.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-compute/samples/test/quickstart.test.js`
@@ -381,5 +12196,5 @@ __Usage:__
[shell_img]: https://gstatic.com/cloudssh/images/open-btn.png
-[shell_link]: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-compute&page=editor&open_in_editor=samples/README.md
+[shell_link]: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=samples/README.md
[product-docs]: https://cloud.google.com/compute
diff --git a/packages/google-cloud-compute/src/index.ts b/packages/google-cloud-compute/src/index.ts
index f16ff9e7a6e..88c5134f8bd 100644
--- a/packages/google-cloud-compute/src/index.ts
+++ b/packages/google-cloud-compute/src/index.ts
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/packages/google-cloud-securitycenter/.mocharc.js b/packages/google-cloud-securitycenter/.mocharc.js
index 0b600509bed..cdb7b752160 100644
--- a/packages/google-cloud-securitycenter/.mocharc.js
+++ b/packages/google-cloud-securitycenter/.mocharc.js
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/packages/google-cloud-securitycenter/.prettierrc.js b/packages/google-cloud-securitycenter/.prettierrc.js
index d1b95106f4c..d546a4ad546 100644
--- a/packages/google-cloud-securitycenter/.prettierrc.js
+++ b/packages/google-cloud-securitycenter/.prettierrc.js
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/packages/google-cloud-securitycenter/README.md b/packages/google-cloud-securitycenter/README.md
index f524eceeebf..85a1d4bc2b9 100644
--- a/packages/google-cloud-securitycenter/README.md
+++ b/packages/google-cloud-securitycenter/README.md
@@ -2,7 +2,7 @@
[//]: # "To regenerate it, use `python -m synthtool`."
-# [Google Cloud Security Command Center: Node.js Client](https://github.com/googleapis/nodejs-security-center)
+# [Google Cloud Security Command Center: Node.js Client](https://github.com/googleapis/google-cloud-node)
[](https://cloud.google.com/terms/launch-stages)
[](https://www.npmjs.org/package/@google-cloud/security-center)
@@ -10,23 +10,15 @@
-> Node.js idiomatic client for [Cloud Security Command Center][product-docs].
-
-[Cloud Security Command Center](https://cloud.google.com/security-command-center/docs/) helps
-security teams gather data, identify threats, and act on them before they result in business
-damage or loss. It offers deep insight into application and data risk so that you can quickly
-mitigate threats to your cloud resources and evaluate overall health. With Cloud Security
-Command Center, you can view and monitor an inventory of your cloud assets, scan storage
-systems for sensitive data, detect common web vulnerabilities, and review access rights
-to your critical resources, all from a single, centralized dashboard.
+Cloud Security Command Center API client for Node.js
A comprehensive list of changes in each version may be found in
-[the CHANGELOG](https://github.com/googleapis/nodejs-security-center/blob/main/CHANGELOG.md).
+[the CHANGELOG](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-securitycenter/CHANGELOG.md).
* [Google Cloud Security Command Center Node.js Client API Reference][client-docs]
* [Google Cloud Security Command Center Documentation][product-docs]
-* [github.com/googleapis/nodejs-security-center](https://github.com/googleapis/nodejs-security-center)
+* [github.com/googleapis/google-cloud-node/packages/google-cloud-securitycenter](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-securitycenter)
Read more about the client libraries for Cloud APIs, including the older
Google APIs Client Libraries, in [Client Libraries Explained][explained].
@@ -89,11 +81,89 @@ quickstart();
## Samples
-Samples are in the [`samples/`](https://github.com/googleapis/nodejs-security-center/tree/main/samples) directory. Each sample's `README.md` has instructions for running its sample.
+Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/tree/main/samples) directory. Each sample's `README.md` has instructions for running its sample.
| Sample | Source Code | Try it |
| --------------------------- | --------------------------------- | ------ |
-| Quickstart | [source code](https://github.com/googleapis/nodejs-security-center/blob/main/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-security-center&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) |
+| Security_center.bulk_mute_findings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.bulk_mute_findings.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.bulk_mute_findings.js,samples/README.md) |
+| Security_center.create_big_query_export | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.create_big_query_export.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.create_big_query_export.js,samples/README.md) |
+| Security_center.create_finding | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.create_finding.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.create_finding.js,samples/README.md) |
+| Security_center.create_mute_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.create_mute_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-securitycenter/samples/generated/v1/security_center.create_mute_config.js,samples/README.md) |
+| Security_center.create_notification_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.create_notification_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-securitycenter/samples/generated/v1/security_center.create_notification_config.js,samples/README.md) |
+| Security_center.create_source | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.create_source.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.create_source.js,samples/README.md) |
+| Security_center.delete_big_query_export | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.delete_big_query_export.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.delete_big_query_export.js,samples/README.md) |
+| Security_center.delete_mute_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.delete_mute_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-securitycenter/samples/generated/v1/security_center.delete_mute_config.js,samples/README.md) |
+| Security_center.delete_notification_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.delete_notification_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-securitycenter/samples/generated/v1/security_center.delete_notification_config.js,samples/README.md) |
+| Security_center.get_big_query_export | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.get_big_query_export.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.get_big_query_export.js,samples/README.md) |
+| Security_center.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.get_iam_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-securitycenter/samples/generated/v1/security_center.get_iam_policy.js,samples/README.md) |
+| Security_center.get_mute_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.get_mute_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-securitycenter/samples/generated/v1/security_center.get_mute_config.js,samples/README.md) |
+| Security_center.get_notification_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.get_notification_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-securitycenter/samples/generated/v1/security_center.get_notification_config.js,samples/README.md) |
+| Security_center.get_organization_settings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.get_organization_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-securitycenter/samples/generated/v1/security_center.get_organization_settings.js,samples/README.md) |
+| Security_center.get_source | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.get_source.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.get_source.js,samples/README.md) |
+| Security_center.group_assets | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.group_assets.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.group_assets.js,samples/README.md) |
+| Security_center.group_findings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.group_findings.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.group_findings.js,samples/README.md) |
+| Security_center.list_assets | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.list_assets.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.list_assets.js,samples/README.md) |
+| Security_center.list_big_query_exports | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.list_big_query_exports.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.list_big_query_exports.js,samples/README.md) |
+| Security_center.list_findings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.list_findings.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.list_findings.js,samples/README.md) |
+| Security_center.list_mute_configs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.list_mute_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-securitycenter/samples/generated/v1/security_center.list_mute_configs.js,samples/README.md) |
+| Security_center.list_notification_configs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.list_notification_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-securitycenter/samples/generated/v1/security_center.list_notification_configs.js,samples/README.md) |
+| Security_center.list_sources | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.list_sources.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.list_sources.js,samples/README.md) |
+| Security_center.run_asset_discovery | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.run_asset_discovery.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.run_asset_discovery.js,samples/README.md) |
+| Security_center.set_finding_state | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.set_finding_state.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.set_finding_state.js,samples/README.md) |
+| Security_center.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.set_iam_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-securitycenter/samples/generated/v1/security_center.set_iam_policy.js,samples/README.md) |
+| Security_center.set_mute | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.set_mute.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.set_mute.js,samples/README.md) |
+| Security_center.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.test_iam_permissions.js,samples/README.md) |
+| Security_center.update_big_query_export | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.update_big_query_export.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.update_big_query_export.js,samples/README.md) |
+| Security_center.update_external_system | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.update_external_system.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.update_external_system.js,samples/README.md) |
+| Security_center.update_finding | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.update_finding.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.update_finding.js,samples/README.md) |
+| Security_center.update_mute_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.update_mute_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-securitycenter/samples/generated/v1/security_center.update_mute_config.js,samples/README.md) |
+| Security_center.update_notification_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.update_notification_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-securitycenter/samples/generated/v1/security_center.update_notification_config.js,samples/README.md) |
+| Security_center.update_organization_settings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.update_organization_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-securitycenter/samples/generated/v1/security_center.update_organization_settings.js,samples/README.md) |
+| Security_center.update_security_marks | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.update_security_marks.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.update_security_marks.js,samples/README.md) |
+| Security_center.update_source | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.update_source.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.update_source.js,samples/README.md) |
+| Security_center.create_finding | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.create_finding.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.create_finding.js,samples/README.md) |
+| Security_center.create_source | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.create_source.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.create_source.js,samples/README.md) |
+| Security_center.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.get_iam_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-securitycenter/samples/generated/v1beta1/security_center.get_iam_policy.js,samples/README.md) |
+| Security_center.get_organization_settings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.get_organization_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-securitycenter/samples/generated/v1beta1/security_center.get_organization_settings.js,samples/README.md) |
+| Security_center.get_source | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.get_source.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.get_source.js,samples/README.md) |
+| Security_center.group_assets | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.group_assets.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.group_assets.js,samples/README.md) |
+| Security_center.group_findings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.group_findings.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.group_findings.js,samples/README.md) |
+| Security_center.list_assets | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.list_assets.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.list_assets.js,samples/README.md) |
+| Security_center.list_findings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.list_findings.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.list_findings.js,samples/README.md) |
+| Security_center.list_sources | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.list_sources.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.list_sources.js,samples/README.md) |
+| Security_center.run_asset_discovery | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.run_asset_discovery.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.run_asset_discovery.js,samples/README.md) |
+| Security_center.set_finding_state | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.set_finding_state.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.set_finding_state.js,samples/README.md) |
+| Security_center.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.set_iam_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-securitycenter/samples/generated/v1beta1/security_center.set_iam_policy.js,samples/README.md) |
+| Security_center.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.test_iam_permissions.js,samples/README.md) |
+| Security_center.update_finding | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.update_finding.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.update_finding.js,samples/README.md) |
+| Security_center.update_organization_settings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.update_organization_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-securitycenter/samples/generated/v1beta1/security_center.update_organization_settings.js,samples/README.md) |
+| Security_center.update_security_marks | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.update_security_marks.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.update_security_marks.js,samples/README.md) |
+| Security_center.update_source | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.update_source.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.update_source.js,samples/README.md) |
+| Security_center.create_finding | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.create_finding.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.create_finding.js,samples/README.md) |
+| Security_center.create_notification_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.create_notification_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-securitycenter/samples/generated/v1p1beta1/security_center.create_notification_config.js,samples/README.md) |
+| Security_center.create_source | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.create_source.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.create_source.js,samples/README.md) |
+| Security_center.delete_notification_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.delete_notification_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-securitycenter/samples/generated/v1p1beta1/security_center.delete_notification_config.js,samples/README.md) |
+| Security_center.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.get_iam_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-securitycenter/samples/generated/v1p1beta1/security_center.get_iam_policy.js,samples/README.md) |
+| Security_center.get_notification_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.get_notification_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-securitycenter/samples/generated/v1p1beta1/security_center.get_notification_config.js,samples/README.md) |
+| Security_center.get_organization_settings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.get_organization_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-securitycenter/samples/generated/v1p1beta1/security_center.get_organization_settings.js,samples/README.md) |
+| Security_center.get_source | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.get_source.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.get_source.js,samples/README.md) |
+| Security_center.group_assets | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.group_assets.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.group_assets.js,samples/README.md) |
+| Security_center.group_findings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.group_findings.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.group_findings.js,samples/README.md) |
+| Security_center.list_assets | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.list_assets.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.list_assets.js,samples/README.md) |
+| Security_center.list_findings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.list_findings.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.list_findings.js,samples/README.md) |
+| Security_center.list_notification_configs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.list_notification_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-securitycenter/samples/generated/v1p1beta1/security_center.list_notification_configs.js,samples/README.md) |
+| Security_center.list_sources | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.list_sources.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.list_sources.js,samples/README.md) |
+| Security_center.run_asset_discovery | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.run_asset_discovery.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.run_asset_discovery.js,samples/README.md) |
+| Security_center.set_finding_state | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.set_finding_state.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.set_finding_state.js,samples/README.md) |
+| Security_center.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.set_iam_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-securitycenter/samples/generated/v1p1beta1/security_center.set_iam_policy.js,samples/README.md) |
+| Security_center.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.test_iam_permissions.js,samples/README.md) |
+| Security_center.update_finding | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.update_finding.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.update_finding.js,samples/README.md) |
+| Security_center.update_notification_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.update_notification_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-securitycenter/samples/generated/v1p1beta1/security_center.update_notification_config.js,samples/README.md) |
+| Security_center.update_organization_settings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.update_organization_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-securitycenter/samples/generated/v1p1beta1/security_center.update_organization_settings.js,samples/README.md) |
+| Security_center.update_security_marks | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.update_security_marks.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.update_security_marks.js,samples/README.md) |
+| Security_center.update_source | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.update_source.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.update_source.js,samples/README.md) |
+| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/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-securitycenter/samples/quickstart.js,samples/README.md) |
+| Quickstart.test | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/test/quickstart.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-securitycenter/samples/test/quickstart.test.js,samples/README.md) |
@@ -143,7 +213,7 @@ More Information: [Google Cloud Platform Launch Stages][launch_stages]
## Contributing
-Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/nodejs-security-center/blob/main/CONTRIBUTING.md).
+Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/google-cloud-node/blob/main/CONTRIBUTING.md).
Please note that this `README.md`, the `samples/README.md`,
and a variety of configuration files in this repository (including `.nycrc` and `tsconfig.json`)
@@ -155,7 +225,7 @@ to its templates in
Apache Version 2.0
-See [LICENSE](https://github.com/googleapis/nodejs-security-center/blob/main/LICENSE)
+See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/LICENSE)
[client-docs]: https://cloud.google.com/nodejs/docs/reference/security-center/latest
[product-docs]: https://cloud.google.com/security-command-center
diff --git a/packages/google-cloud-securitycenter/samples/README.md b/packages/google-cloud-securitycenter/samples/README.md
index b62afb4b600..e320bc1a58b 100644
--- a/packages/google-cloud-securitycenter/samples/README.md
+++ b/packages/google-cloud-securitycenter/samples/README.md
@@ -2,30 +2,100 @@
[//]: # "To regenerate it, use `python -m synthtool`."
-# [Google Cloud Security Command Center: Node.js Samples](https://github.com/googleapis/nodejs-security-center)
+# [Google Cloud Security Command Center: Node.js Samples](https://github.com/googleapis/google-cloud-node)
[![Open in Cloud Shell][shell_img]][shell_link]
-> Node.js idiomatic client for [Cloud Security Command Center][product-docs].
-[Cloud Security Command Center](https://cloud.google.com/security-command-center/docs/) helps
-security teams gather data, identify threats, and act on them before they result in business
-damage or loss. It offers deep insight into application and data risk so that you can quickly
-mitigate threats to your cloud resources and evaluate overall health. With Cloud Security
-Command Center, you can view and monitor an inventory of your cloud assets, scan storage
-systems for sensitive data, detect common web vulnerabilities, and review access rights
-to your critical resources, all from a single, centralized dashboard.
## Table of Contents
* [Before you begin](#before-you-begin)
* [Samples](#samples)
+ * [Security_center.bulk_mute_findings](#security_center.bulk_mute_findings)
+ * [Security_center.create_big_query_export](#security_center.create_big_query_export)
+ * [Security_center.create_finding](#security_center.create_finding)
+ * [Security_center.create_mute_config](#security_center.create_mute_config)
+ * [Security_center.create_notification_config](#security_center.create_notification_config)
+ * [Security_center.create_source](#security_center.create_source)
+ * [Security_center.delete_big_query_export](#security_center.delete_big_query_export)
+ * [Security_center.delete_mute_config](#security_center.delete_mute_config)
+ * [Security_center.delete_notification_config](#security_center.delete_notification_config)
+ * [Security_center.get_big_query_export](#security_center.get_big_query_export)
+ * [Security_center.get_iam_policy](#security_center.get_iam_policy)
+ * [Security_center.get_mute_config](#security_center.get_mute_config)
+ * [Security_center.get_notification_config](#security_center.get_notification_config)
+ * [Security_center.get_organization_settings](#security_center.get_organization_settings)
+ * [Security_center.get_source](#security_center.get_source)
+ * [Security_center.group_assets](#security_center.group_assets)
+ * [Security_center.group_findings](#security_center.group_findings)
+ * [Security_center.list_assets](#security_center.list_assets)
+ * [Security_center.list_big_query_exports](#security_center.list_big_query_exports)
+ * [Security_center.list_findings](#security_center.list_findings)
+ * [Security_center.list_mute_configs](#security_center.list_mute_configs)
+ * [Security_center.list_notification_configs](#security_center.list_notification_configs)
+ * [Security_center.list_sources](#security_center.list_sources)
+ * [Security_center.run_asset_discovery](#security_center.run_asset_discovery)
+ * [Security_center.set_finding_state](#security_center.set_finding_state)
+ * [Security_center.set_iam_policy](#security_center.set_iam_policy)
+ * [Security_center.set_mute](#security_center.set_mute)
+ * [Security_center.test_iam_permissions](#security_center.test_iam_permissions)
+ * [Security_center.update_big_query_export](#security_center.update_big_query_export)
+ * [Security_center.update_external_system](#security_center.update_external_system)
+ * [Security_center.update_finding](#security_center.update_finding)
+ * [Security_center.update_mute_config](#security_center.update_mute_config)
+ * [Security_center.update_notification_config](#security_center.update_notification_config)
+ * [Security_center.update_organization_settings](#security_center.update_organization_settings)
+ * [Security_center.update_security_marks](#security_center.update_security_marks)
+ * [Security_center.update_source](#security_center.update_source)
+ * [Security_center.create_finding](#security_center.create_finding)
+ * [Security_center.create_source](#security_center.create_source)
+ * [Security_center.get_iam_policy](#security_center.get_iam_policy)
+ * [Security_center.get_organization_settings](#security_center.get_organization_settings)
+ * [Security_center.get_source](#security_center.get_source)
+ * [Security_center.group_assets](#security_center.group_assets)
+ * [Security_center.group_findings](#security_center.group_findings)
+ * [Security_center.list_assets](#security_center.list_assets)
+ * [Security_center.list_findings](#security_center.list_findings)
+ * [Security_center.list_sources](#security_center.list_sources)
+ * [Security_center.run_asset_discovery](#security_center.run_asset_discovery)
+ * [Security_center.set_finding_state](#security_center.set_finding_state)
+ * [Security_center.set_iam_policy](#security_center.set_iam_policy)
+ * [Security_center.test_iam_permissions](#security_center.test_iam_permissions)
+ * [Security_center.update_finding](#security_center.update_finding)
+ * [Security_center.update_organization_settings](#security_center.update_organization_settings)
+ * [Security_center.update_security_marks](#security_center.update_security_marks)
+ * [Security_center.update_source](#security_center.update_source)
+ * [Security_center.create_finding](#security_center.create_finding)
+ * [Security_center.create_notification_config](#security_center.create_notification_config)
+ * [Security_center.create_source](#security_center.create_source)
+ * [Security_center.delete_notification_config](#security_center.delete_notification_config)
+ * [Security_center.get_iam_policy](#security_center.get_iam_policy)
+ * [Security_center.get_notification_config](#security_center.get_notification_config)
+ * [Security_center.get_organization_settings](#security_center.get_organization_settings)
+ * [Security_center.get_source](#security_center.get_source)
+ * [Security_center.group_assets](#security_center.group_assets)
+ * [Security_center.group_findings](#security_center.group_findings)
+ * [Security_center.list_assets](#security_center.list_assets)
+ * [Security_center.list_findings](#security_center.list_findings)
+ * [Security_center.list_notification_configs](#security_center.list_notification_configs)
+ * [Security_center.list_sources](#security_center.list_sources)
+ * [Security_center.run_asset_discovery](#security_center.run_asset_discovery)
+ * [Security_center.set_finding_state](#security_center.set_finding_state)
+ * [Security_center.set_iam_policy](#security_center.set_iam_policy)
+ * [Security_center.test_iam_permissions](#security_center.test_iam_permissions)
+ * [Security_center.update_finding](#security_center.update_finding)
+ * [Security_center.update_notification_config](#security_center.update_notification_config)
+ * [Security_center.update_organization_settings](#security_center.update_organization_settings)
+ * [Security_center.update_security_marks](#security_center.update_security_marks)
+ * [Security_center.update_source](#security_center.update_source)
* [Quickstart](#quickstart)
+ * [Quickstart.test](#quickstart.test)
## Before you begin
Before running the samples, make sure you've followed the steps outlined in
-[Using the client library](https://github.com/googleapis/nodejs-security-center#using-the-client-library).
+[Using the client library](https://github.com/googleapis/google-cloud-node#using-the-client-library).
`cd samples`
@@ -37,11 +107,1320 @@ Before running the samples, make sure you've followed the steps outlined in
+### Security_center.bulk_mute_findings
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.bulk_mute_findings.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.bulk_mute_findings.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1/security_center.bulk_mute_findings.js`
+
+
+-----
+
+
+
+
+### Security_center.create_big_query_export
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.create_big_query_export.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.create_big_query_export.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1/security_center.create_big_query_export.js`
+
+
+-----
+
+
+
+
+### Security_center.create_finding
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.create_finding.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.create_finding.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1/security_center.create_finding.js`
+
+
+-----
+
+
+
+
+### Security_center.create_mute_config
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.create_mute_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-securitycenter/samples/generated/v1/security_center.create_mute_config.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1/security_center.create_mute_config.js`
+
+
+-----
+
+
+
+
+### Security_center.create_notification_config
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.create_notification_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-securitycenter/samples/generated/v1/security_center.create_notification_config.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1/security_center.create_notification_config.js`
+
+
+-----
+
+
+
+
+### Security_center.create_source
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.create_source.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.create_source.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1/security_center.create_source.js`
+
+
+-----
+
+
+
+
+### Security_center.delete_big_query_export
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.delete_big_query_export.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.delete_big_query_export.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1/security_center.delete_big_query_export.js`
+
+
+-----
+
+
+
+
+### Security_center.delete_mute_config
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.delete_mute_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-securitycenter/samples/generated/v1/security_center.delete_mute_config.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1/security_center.delete_mute_config.js`
+
+
+-----
+
+
+
+
+### Security_center.delete_notification_config
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.delete_notification_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-securitycenter/samples/generated/v1/security_center.delete_notification_config.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1/security_center.delete_notification_config.js`
+
+
+-----
+
+
+
+
+### Security_center.get_big_query_export
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.get_big_query_export.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.get_big_query_export.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1/security_center.get_big_query_export.js`
+
+
+-----
+
+
+
+
+### Security_center.get_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.get_iam_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-securitycenter/samples/generated/v1/security_center.get_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1/security_center.get_iam_policy.js`
+
+
+-----
+
+
+
+
+### Security_center.get_mute_config
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.get_mute_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-securitycenter/samples/generated/v1/security_center.get_mute_config.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1/security_center.get_mute_config.js`
+
+
+-----
+
+
+
+
+### Security_center.get_notification_config
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.get_notification_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-securitycenter/samples/generated/v1/security_center.get_notification_config.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1/security_center.get_notification_config.js`
+
+
+-----
+
+
+
+
+### Security_center.get_organization_settings
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.get_organization_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-securitycenter/samples/generated/v1/security_center.get_organization_settings.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1/security_center.get_organization_settings.js`
+
+
+-----
+
+
+
+
+### Security_center.get_source
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.get_source.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.get_source.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1/security_center.get_source.js`
+
+
+-----
+
+
+
+
+### Security_center.group_assets
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.group_assets.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.group_assets.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1/security_center.group_assets.js`
+
+
+-----
+
+
+
+
+### Security_center.group_findings
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.group_findings.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.group_findings.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1/security_center.group_findings.js`
+
+
+-----
+
+
+
+
+### Security_center.list_assets
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.list_assets.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.list_assets.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1/security_center.list_assets.js`
+
+
+-----
+
+
+
+
+### Security_center.list_big_query_exports
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.list_big_query_exports.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.list_big_query_exports.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1/security_center.list_big_query_exports.js`
+
+
+-----
+
+
+
+
+### Security_center.list_findings
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.list_findings.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.list_findings.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1/security_center.list_findings.js`
+
+
+-----
+
+
+
+
+### Security_center.list_mute_configs
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.list_mute_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-securitycenter/samples/generated/v1/security_center.list_mute_configs.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1/security_center.list_mute_configs.js`
+
+
+-----
+
+
+
+
+### Security_center.list_notification_configs
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.list_notification_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-securitycenter/samples/generated/v1/security_center.list_notification_configs.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1/security_center.list_notification_configs.js`
+
+
+-----
+
+
+
+
+### Security_center.list_sources
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.list_sources.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.list_sources.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1/security_center.list_sources.js`
+
+
+-----
+
+
+
+
+### Security_center.run_asset_discovery
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.run_asset_discovery.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.run_asset_discovery.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1/security_center.run_asset_discovery.js`
+
+
+-----
+
+
+
+
+### Security_center.set_finding_state
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.set_finding_state.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.set_finding_state.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1/security_center.set_finding_state.js`
+
+
+-----
+
+
+
+
+### Security_center.set_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.set_iam_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-securitycenter/samples/generated/v1/security_center.set_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1/security_center.set_iam_policy.js`
+
+
+-----
+
+
+
+
+### Security_center.set_mute
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.set_mute.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.set_mute.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1/security_center.set_mute.js`
+
+
+-----
+
+
+
+
+### Security_center.test_iam_permissions
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.test_iam_permissions.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.test_iam_permissions.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1/security_center.test_iam_permissions.js`
+
+
+-----
+
+
+
+
+### Security_center.update_big_query_export
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.update_big_query_export.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.update_big_query_export.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1/security_center.update_big_query_export.js`
+
+
+-----
+
+
+
+
+### Security_center.update_external_system
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.update_external_system.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.update_external_system.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1/security_center.update_external_system.js`
+
+
+-----
+
+
+
+
+### Security_center.update_finding
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.update_finding.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.update_finding.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1/security_center.update_finding.js`
+
+
+-----
+
+
+
+
+### Security_center.update_mute_config
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.update_mute_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-securitycenter/samples/generated/v1/security_center.update_mute_config.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1/security_center.update_mute_config.js`
+
+
+-----
+
+
+
+
+### Security_center.update_notification_config
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.update_notification_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-securitycenter/samples/generated/v1/security_center.update_notification_config.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1/security_center.update_notification_config.js`
+
+
+-----
+
+
+
+
+### Security_center.update_organization_settings
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.update_organization_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-securitycenter/samples/generated/v1/security_center.update_organization_settings.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1/security_center.update_organization_settings.js`
+
+
+-----
+
+
+
+
+### Security_center.update_security_marks
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.update_security_marks.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.update_security_marks.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1/security_center.update_security_marks.js`
+
+
+-----
+
+
+
+
+### Security_center.update_source
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1/security_center.update_source.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1/security_center.update_source.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1/security_center.update_source.js`
+
+
+-----
+
+
+
+
+### Security_center.create_finding
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.create_finding.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.create_finding.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.create_finding.js`
+
+
+-----
+
+
+
+
+### Security_center.create_source
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.create_source.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.create_source.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.create_source.js`
+
+
+-----
+
+
+
+
+### Security_center.get_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.get_iam_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-securitycenter/samples/generated/v1beta1/security_center.get_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.get_iam_policy.js`
+
+
+-----
+
+
+
+
+### Security_center.get_organization_settings
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.get_organization_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-securitycenter/samples/generated/v1beta1/security_center.get_organization_settings.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.get_organization_settings.js`
+
+
+-----
+
+
+
+
+### Security_center.get_source
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.get_source.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.get_source.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.get_source.js`
+
+
+-----
+
+
+
+
+### Security_center.group_assets
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.group_assets.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.group_assets.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.group_assets.js`
+
+
+-----
+
+
+
+
+### Security_center.group_findings
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.group_findings.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.group_findings.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.group_findings.js`
+
+
+-----
+
+
+
+
+### Security_center.list_assets
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.list_assets.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.list_assets.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.list_assets.js`
+
+
+-----
+
+
+
+
+### Security_center.list_findings
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.list_findings.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.list_findings.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.list_findings.js`
+
+
+-----
+
+
+
+
+### Security_center.list_sources
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.list_sources.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.list_sources.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.list_sources.js`
+
+
+-----
+
+
+
+
+### Security_center.run_asset_discovery
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.run_asset_discovery.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.run_asset_discovery.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.run_asset_discovery.js`
+
+
+-----
+
+
+
+
+### Security_center.set_finding_state
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.set_finding_state.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.set_finding_state.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.set_finding_state.js`
+
+
+-----
+
+
+
+
+### Security_center.set_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.set_iam_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-securitycenter/samples/generated/v1beta1/security_center.set_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.set_iam_policy.js`
+
+
+-----
+
+
+
+
+### Security_center.test_iam_permissions
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.test_iam_permissions.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.test_iam_permissions.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.test_iam_permissions.js`
+
+
+-----
+
+
+
+
+### Security_center.update_finding
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.update_finding.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.update_finding.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.update_finding.js`
+
+
+-----
+
+
+
+
+### Security_center.update_organization_settings
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.update_organization_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-securitycenter/samples/generated/v1beta1/security_center.update_organization_settings.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.update_organization_settings.js`
+
+
+-----
+
+
+
+
+### Security_center.update_security_marks
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.update_security_marks.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.update_security_marks.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.update_security_marks.js`
+
+
+-----
+
+
+
+
+### Security_center.update_source
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.update_source.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.update_source.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1beta1/security_center.update_source.js`
+
+
+-----
+
+
+
+
+### Security_center.create_finding
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.create_finding.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.create_finding.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.create_finding.js`
+
+
+-----
+
+
+
+
+### Security_center.create_notification_config
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.create_notification_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-securitycenter/samples/generated/v1p1beta1/security_center.create_notification_config.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.create_notification_config.js`
+
+
+-----
+
+
+
+
+### Security_center.create_source
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.create_source.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.create_source.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.create_source.js`
+
+
+-----
+
+
+
+
+### Security_center.delete_notification_config
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.delete_notification_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-securitycenter/samples/generated/v1p1beta1/security_center.delete_notification_config.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.delete_notification_config.js`
+
+
+-----
+
+
+
+
+### Security_center.get_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.get_iam_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-securitycenter/samples/generated/v1p1beta1/security_center.get_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.get_iam_policy.js`
+
+
+-----
+
+
+
+
+### Security_center.get_notification_config
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.get_notification_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-securitycenter/samples/generated/v1p1beta1/security_center.get_notification_config.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.get_notification_config.js`
+
+
+-----
+
+
+
+
+### Security_center.get_organization_settings
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.get_organization_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-securitycenter/samples/generated/v1p1beta1/security_center.get_organization_settings.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.get_organization_settings.js`
+
+
+-----
+
+
+
+
+### Security_center.get_source
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.get_source.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.get_source.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.get_source.js`
+
+
+-----
+
+
+
+
+### Security_center.group_assets
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.group_assets.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.group_assets.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.group_assets.js`
+
+
+-----
+
+
+
+
+### Security_center.group_findings
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.group_findings.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.group_findings.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.group_findings.js`
+
+
+-----
+
+
+
+
+### Security_center.list_assets
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.list_assets.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.list_assets.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.list_assets.js`
+
+
+-----
+
+
+
+
+### Security_center.list_findings
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.list_findings.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.list_findings.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.list_findings.js`
+
+
+-----
+
+
+
+
+### Security_center.list_notification_configs
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.list_notification_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-securitycenter/samples/generated/v1p1beta1/security_center.list_notification_configs.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.list_notification_configs.js`
+
+
+-----
+
+
+
+
+### Security_center.list_sources
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.list_sources.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.list_sources.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.list_sources.js`
+
+
+-----
+
+
+
+
+### Security_center.run_asset_discovery
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.run_asset_discovery.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.run_asset_discovery.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.run_asset_discovery.js`
+
+
+-----
+
+
+
+
+### Security_center.set_finding_state
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.set_finding_state.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.set_finding_state.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.set_finding_state.js`
+
+
+-----
+
+
+
+
+### Security_center.set_iam_policy
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.set_iam_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-securitycenter/samples/generated/v1p1beta1/security_center.set_iam_policy.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.set_iam_policy.js`
+
+
+-----
+
+
+
+
+### Security_center.test_iam_permissions
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.test_iam_permissions.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.test_iam_permissions.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.test_iam_permissions.js`
+
+
+-----
+
+
+
+
+### Security_center.update_finding
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.update_finding.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.update_finding.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.update_finding.js`
+
+
+-----
+
+
+
+
+### Security_center.update_notification_config
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.update_notification_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-securitycenter/samples/generated/v1p1beta1/security_center.update_notification_config.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.update_notification_config.js`
+
+
+-----
+
+
+
+
+### Security_center.update_organization_settings
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.update_organization_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-securitycenter/samples/generated/v1p1beta1/security_center.update_organization_settings.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.update_organization_settings.js`
+
+
+-----
+
+
+
+
+### Security_center.update_security_marks
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.update_security_marks.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.update_security_marks.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.update_security_marks.js`
+
+
+-----
+
+
+
+
+### Security_center.update_source
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.update_source.js).
+
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.update_source.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/generated/v1p1beta1/security_center.update_source.js`
+
+
+-----
+
+
+
+
### Quickstart
-View the [source code](https://github.com/googleapis/nodejs-security-center/blob/main/samples/quickstart.js).
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/quickstart.js).
-[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-security-center&page=editor&open_in_editor=samples/quickstart.js,samples/README.md)
+[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-securitycenter/samples/quickstart.js,samples/README.md)
__Usage:__
@@ -49,10 +1428,27 @@ __Usage:__
`node quickstart.js [organization]`
+-----
+
+
+
+
+### Quickstart.test
+
+View the [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-securitycenter/samples/test/quickstart.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-securitycenter/samples/test/quickstart.test.js,samples/README.md)
+
+__Usage:__
+
+
+`node packages/google-cloud-securitycenter/samples/test/quickstart.test.js`
+
+
[shell_img]: https://gstatic.com/cloudssh/images/open-btn.png
-[shell_link]: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-security-center&page=editor&open_in_editor=samples/README.md
+[shell_link]: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=samples/README.md
[product-docs]: https://cloud.google.com/security-command-center
diff --git a/packages/google-cloud-securitycenter/src/index.ts b/packages/google-cloud-securitycenter/src/index.ts
index 2f1843814ee..536aae1c3e8 100644
--- a/packages/google-cloud-securitycenter/src/index.ts
+++ b/packages/google-cloud-securitycenter/src/index.ts
@@ -1,4 +1,4 @@
-// Copyright 2020 Google LLC
+// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
diff --git a/packages/google-cloud-tasks/.OwlBot.yaml b/packages/google-cloud-tasks/.OwlBot.yaml
new file mode 100644
index 00000000000..b76aaef7fe1
--- /dev/null
+++ b/packages/google-cloud-tasks/.OwlBot.yaml
@@ -0,0 +1,24 @@
+# Copyright 2021 Google LLC
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
+deep-remove-regex:
+ - /owl-bot-staging
+
+deep-copy-regex:
+ - source: /google/cloud/tasks/(v.*)/.*-nodejs
+ dest: /owl-bot-staging/google-cloud-tasks/$1
+
+begin-after-commit-hash: fb91803ccef5d7c695139b22788b309e2197856b
+
diff --git a/packages/google-cloud-tasks/.eslintignore b/packages/google-cloud-tasks/.eslintignore
new file mode 100644
index 00000000000..ea5b04aebe6
--- /dev/null
+++ b/packages/google-cloud-tasks/.eslintignore
@@ -0,0 +1,7 @@
+**/node_modules
+**/coverage
+test/fixtures
+build/
+docs/
+protos/
+samples/generated/
diff --git a/packages/google-cloud-tasks/.eslintrc.json b/packages/google-cloud-tasks/.eslintrc.json
new file mode 100644
index 00000000000..78215349546
--- /dev/null
+++ b/packages/google-cloud-tasks/.eslintrc.json
@@ -0,0 +1,3 @@
+{
+ "extends": "./node_modules/gts"
+}
diff --git a/packages/google-cloud-tasks/.gitattributes b/packages/google-cloud-tasks/.gitattributes
new file mode 100644
index 00000000000..33739cb74e4
--- /dev/null
+++ b/packages/google-cloud-tasks/.gitattributes
@@ -0,0 +1,4 @@
+*.ts text eol=lf
+*.js text eol=lf
+protos/* linguist-generated
+**/api-extractor.json linguist-language=JSON-with-Comments
diff --git a/packages/google-cloud-tasks/.gitignore b/packages/google-cloud-tasks/.gitignore
new file mode 100644
index 00000000000..5d32b23782f
--- /dev/null
+++ b/packages/google-cloud-tasks/.gitignore
@@ -0,0 +1,14 @@
+**/*.log
+**/node_modules
+.coverage
+coverage
+.nyc_output
+docs/
+out/
+build/
+system-test/secrets.js
+system-test/*key.json
+*.lock
+.DS_Store
+package-lock.json
+__pycache__
diff --git a/packages/google-cloud-tasks/.jsdoc.js b/packages/google-cloud-tasks/.jsdoc.js
new file mode 100644
index 00000000000..83a03c21334
--- /dev/null
+++ b/packages/google-cloud-tasks/.jsdoc.js
@@ -0,0 +1,55 @@
+// Copyright 2022 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
+//
+// 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. **
+
+'use strict';
+
+module.exports = {
+ opts: {
+ readme: './README.md',
+ package: './package.json',
+ template: './node_modules/jsdoc-fresh',
+ recurse: true,
+ verbose: true,
+ destination: './docs/'
+ },
+ plugins: [
+ 'plugins/markdown',
+ 'jsdoc-region-tag'
+ ],
+ source: {
+ excludePattern: '(^|\\/|\\\\)[._]',
+ include: [
+ 'build/src',
+ 'protos'
+ ],
+ includePattern: '\\.js$'
+ },
+ templates: {
+ copyright: 'Copyright 2022 Google LLC',
+ includeDate: false,
+ sourceFiles: false,
+ systemName: '@google-cloud/tasks',
+ theme: 'lumen',
+ default: {
+ outputSourceFiles: false
+ }
+ },
+ markdown: {
+ idInHeadings: true
+ }
+};
diff --git a/packages/google-cloud-tasks/.mocharc.js b/packages/google-cloud-tasks/.mocharc.js
new file mode 100644
index 00000000000..cdb7b752160
--- /dev/null
+++ b/packages/google-cloud-tasks/.mocharc.js
@@ -0,0 +1,29 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+const config = {
+ "enable-source-maps": true,
+ "throw-deprecation": true,
+ "timeout": 10000,
+ "recursive": true
+}
+if (process.env.MOCHA_THROW_DEPRECATION === 'false') {
+ delete config['throw-deprecation'];
+}
+if (process.env.MOCHA_REPORTER) {
+ config.reporter = process.env.MOCHA_REPORTER;
+}
+if (process.env.MOCHA_REPORTER_OUTPUT) {
+ config['reporter-option'] = `output=${process.env.MOCHA_REPORTER_OUTPUT}`;
+}
+module.exports = config
diff --git a/packages/google-cloud-tasks/.nycrc b/packages/google-cloud-tasks/.nycrc
new file mode 100644
index 00000000000..b18d5472b62
--- /dev/null
+++ b/packages/google-cloud-tasks/.nycrc
@@ -0,0 +1,24 @@
+{
+ "report-dir": "./.coverage",
+ "reporter": ["text", "lcov"],
+ "exclude": [
+ "**/*-test",
+ "**/.coverage",
+ "**/apis",
+ "**/benchmark",
+ "**/conformance",
+ "**/docs",
+ "**/samples",
+ "**/scripts",
+ "**/protos",
+ "**/test",
+ "**/*.d.ts",
+ ".jsdoc.js",
+ "**/.jsdoc.js",
+ "karma.conf.js",
+ "webpack-tests.config.js",
+ "webpack.config.js"
+ ],
+ "exclude-after-remap": false,
+ "all": true
+}
diff --git a/packages/google-cloud-tasks/.prettierignore b/packages/google-cloud-tasks/.prettierignore
new file mode 100644
index 00000000000..9340ad9b86d
--- /dev/null
+++ b/packages/google-cloud-tasks/.prettierignore
@@ -0,0 +1,6 @@
+**/node_modules
+**/coverage
+test/fixtures
+build/
+docs/
+protos/
diff --git a/packages/google-cloud-tasks/.prettierrc.js b/packages/google-cloud-tasks/.prettierrc.js
new file mode 100644
index 00000000000..d546a4ad546
--- /dev/null
+++ b/packages/google-cloud-tasks/.prettierrc.js
@@ -0,0 +1,17 @@
+// Copyright 2022 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
+//
+// 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.
+
+module.exports = {
+ ...require('gts/.prettierrc.json')
+}
diff --git a/packages/google-cloud-tasks/.repo-metadata.json b/packages/google-cloud-tasks/.repo-metadata.json
new file mode 100644
index 00000000000..31b46937113
--- /dev/null
+++ b/packages/google-cloud-tasks/.repo-metadata.json
@@ -0,0 +1,17 @@
+{
+ "distribution_name": "@google-cloud/tasks",
+ "release_level": "stable",
+ "product_documentation": "https://cloud.google.com/tasks/docs/",
+ "repo": "googleapis/google-cloud-node",
+ "default_version": "v2",
+ "language": "nodejs",
+ "requires_billing": true,
+ "issue_tracker": "https://issuetracker.google.com/savedsearches/5433985",
+ "client_documentation": "https://cloud.google.com/nodejs/docs/reference/tasks/latest",
+ "name": "tasks",
+ "name_pretty": "Cloud Tasks",
+ "api_id": "tasks.googleapis.com",
+ "codeowner_team": "@googleapis/aap-dpes",
+ "api_shortname": "cloudtasks",
+ "library_type": "GAPIC_AUTO"
+}
diff --git a/packages/google-cloud-tasks/CHANGELOG.md b/packages/google-cloud-tasks/CHANGELOG.md
new file mode 100644
index 00000000000..3d990839caf
--- /dev/null
+++ b/packages/google-cloud-tasks/CHANGELOG.md
@@ -0,0 +1,568 @@
+# Changelog
+
+[npm history][1]
+
+[1]: https://www.npmjs.com/package/nodejs-tasks?activeTab=versions
+
+## [3.0.5](https://github.com/googleapis/nodejs-tasks/compare/v3.0.4...v3.0.5) (2022-11-10)
+
+
+### Bug Fixes
+
+* **deps:** Use google-gax v3.5.2 ([#673](https://github.com/googleapis/nodejs-tasks/issues/673)) ([f3cc910](https://github.com/googleapis/nodejs-tasks/commit/f3cc9105e053e44e5503ae004c2151bd24125845))
+* update proto definitions ([42e0ebb](https://github.com/googleapis/nodejs-tasks/commit/42e0ebb5ce3cc0abdbfe95d2ee9ec2b5a0242cee))
+* Update proto definitions([#677](https://github.com/googleapis/nodejs-tasks/issues/677)) ([42e0ebb](https://github.com/googleapis/nodejs-tasks/commit/42e0ebb5ce3cc0abdbfe95d2ee9ec2b5a0242cee))
+
+## [3.0.4](https://github.com/googleapis/nodejs-tasks/compare/v3.0.3...v3.0.4) (2022-09-22)
+
+
+### Bug Fixes
+
+* **issue-640:** Adding headers in task request samples ([#642](https://github.com/googleapis/nodejs-tasks/issues/642)) ([d334d0d](https://github.com/googleapis/nodejs-tasks/commit/d334d0d6248088bd8695240c603d2f6dc8855c71))
+* Preserve default values in x-goog-request-params header ([#657](https://github.com/googleapis/nodejs-tasks/issues/657)) ([feb5188](https://github.com/googleapis/nodejs-tasks/commit/feb518818beed283b7bfaef5288921d482233a95))
+* Wrapping param inSeconds with parseInt to ensure correct addition ([#655](https://github.com/googleapis/nodejs-tasks/issues/655)) ([efdb0b8](https://github.com/googleapis/nodejs-tasks/commit/efdb0b8b1ad98207340bb5b2314315cd06c95bd7))
+
+## [3.0.3](https://github.com/googleapis/nodejs-tasks/compare/v3.0.2...v3.0.3) (2022-09-01)
+
+
+### Bug Fixes
+
+* Allow passing gax instance to client constructor ([#650](https://github.com/googleapis/nodejs-tasks/issues/650)) ([f26f795](https://github.com/googleapis/nodejs-tasks/commit/f26f795d0cc5d191b9f67904861d5fa9235244f8))
+* Do not import the whole google-gax from proto JS ([#1553](https://github.com/googleapis/nodejs-tasks/issues/1553)) ([#649](https://github.com/googleapis/nodejs-tasks/issues/649)) ([6802824](https://github.com/googleapis/nodejs-tasks/commit/68028244ec60f38d800adbc79517304ae7ac1031))
+
+## [3.0.2](https://github.com/googleapis/nodejs-tasks/compare/v3.0.1...v3.0.2) (2022-08-23)
+
+
+### Bug Fixes
+
+* better support for fallback mode ([#644](https://github.com/googleapis/nodejs-tasks/issues/644)) ([e3dc832](https://github.com/googleapis/nodejs-tasks/commit/e3dc83293c398631e9bdb26903a2d3be3d826af9))
+* change import long to require ([#645](https://github.com/googleapis/nodejs-tasks/issues/645)) ([5d2238b](https://github.com/googleapis/nodejs-tasks/commit/5d2238b0126314bc1b8f78715e85a97ad6a61e80))
+* remove pip install statements ([#1546](https://github.com/googleapis/nodejs-tasks/issues/1546)) ([#648](https://github.com/googleapis/nodejs-tasks/issues/648)) ([e67689e](https://github.com/googleapis/nodejs-tasks/commit/e67689e0933252ab88fc2dfadc5e3cb75a0fb145))
+
+## [3.0.1](https://github.com/googleapis/nodejs-tasks/compare/v3.0.0...v3.0.1) (2022-06-30)
+
+
+### Bug Fixes
+
+* **docs:** describe fallback rest option ([#631](https://github.com/googleapis/nodejs-tasks/issues/631)) ([df558e9](https://github.com/googleapis/nodejs-tasks/commit/df558e95c7d1a92ba1133ba046e6bc33e840669b))
+
+## [3.0.0](https://github.com/googleapis/nodejs-tasks/compare/v2.6.0...v3.0.0) (2022-06-07)
+
+
+### âš BREAKING CHANGES
+
+* update library to use Node 12 (#625)
+
+### Build System
+
+* update library to use Node 12 ([#625](https://github.com/googleapis/nodejs-tasks/issues/625)) ([411f5ab](https://github.com/googleapis/nodejs-tasks/commit/411f5ab3960cbc6768f7046102b88d22c203eb24))
+
+## [2.6.0](https://github.com/googleapis/nodejs-tasks/compare/v2.5.0...v2.6.0) (2022-05-06)
+
+
+### Features
+
+* AuditConfig for IAM v1 ([#611](https://github.com/googleapis/nodejs-tasks/issues/611)) ([176dcee](https://github.com/googleapis/nodejs-tasks/commit/176dcee213353a0a76b26a657172bea7a15f2ce5))
+
+## [2.5.0](https://www.github.com/googleapis/nodejs-tasks/compare/v2.4.2...v2.5.0) (2021-12-09)
+
+
+### Features
+
+* add eslintignore for sameple generated code ([#1302](https://www.github.com/googleapis/nodejs-tasks/issues/1302)) ([#582](https://www.github.com/googleapis/nodejs-tasks/issues/582)) ([bf99e4e](https://www.github.com/googleapis/nodejs-tasks/commit/bf99e4ecc1c46cfd84893ef0ab097d27f26f9139))
+
+### [2.4.2](https://www.github.com/googleapis/nodejs-tasks/compare/v2.4.1...v2.4.2) (2021-09-10)
+
+
+### Bug Fixes
+
+* **build:** set default branch to main ([#565](https://www.github.com/googleapis/nodejs-tasks/issues/565)) ([e486ef8](https://www.github.com/googleapis/nodejs-tasks/commit/e486ef834a07e246b5bc2a6d6854a99ea803b4b8))
+
+### [2.4.1](https://www.github.com/googleapis/nodejs-tasks/compare/v2.4.0...v2.4.1) (2021-09-07)
+
+
+### Bug Fixes
+
+* **deps:** require google-gax v2.24.1 ([#559](https://www.github.com/googleapis/nodejs-tasks/issues/559)) ([1b2b162](https://www.github.com/googleapis/nodejs-tasks/commit/1b2b162e6ad653f39c620bedcd32ca66818e7807))
+
+## [2.4.0](https://www.github.com/googleapis/nodejs-tasks/compare/v2.3.6...v2.4.0) (2021-09-07)
+
+
+### Features
+
+* turns on self-signed JWT feature flag ([#561](https://www.github.com/googleapis/nodejs-tasks/issues/561)) ([9fde4fe](https://www.github.com/googleapis/nodejs-tasks/commit/9fde4fe9a7274493ce0b4bb1a2d25bd85a3e9af2))
+
+### [2.3.6](https://www.github.com/googleapis/nodejs-tasks/compare/v2.3.5...v2.3.6) (2021-07-16)
+
+
+### Bug Fixes
+
+* Updating WORKSPACE files to use the newest version of the Typescript generator. ([#549](https://www.github.com/googleapis/nodejs-tasks/issues/549)) ([96c505e](https://www.github.com/googleapis/nodejs-tasks/commit/96c505e04209689c7f1351a71eac270c9f68ca86))
+
+### [2.3.5](https://www.github.com/googleapis/nodejs-tasks/compare/v2.3.4...v2.3.5) (2021-07-12)
+
+
+### Bug Fixes
+
+* **deps:** google-gax v2.17.1 ([#546](https://www.github.com/googleapis/nodejs-tasks/issues/546)) ([dafe1b6](https://www.github.com/googleapis/nodejs-tasks/commit/dafe1b6cbf94fddc3fc4f5ac47eecf59e8173317))
+
+### [2.3.4](https://www.github.com/googleapis/nodejs-tasks/compare/v2.3.3...v2.3.4) (2021-06-30)
+
+
+### Bug Fixes
+
+* **deps:** google-gax v2.17.0 with mTLS ([#543](https://www.github.com/googleapis/nodejs-tasks/issues/543)) ([d1a715d](https://www.github.com/googleapis/nodejs-tasks/commit/d1a715d92e0136b1840798c2e122e165201715cd))
+
+### [2.3.3](https://www.github.com/googleapis/nodejs-tasks/compare/v2.3.2...v2.3.3) (2021-06-30)
+
+
+### Bug Fixes
+
+* make request optional in all cases ([#539](https://www.github.com/googleapis/nodejs-tasks/issues/539)) ([7c50042](https://www.github.com/googleapis/nodejs-tasks/commit/7c50042bca636dddc0e4407ef1d33ac01f1413da))
+
+### [2.3.2](https://www.github.com/googleapis/nodejs-tasks/compare/v2.3.1...v2.3.2) (2021-05-25)
+
+
+### Bug Fixes
+
+* GoogleAdsError missing using generator version after 1.3.0 ([#529](https://www.github.com/googleapis/nodejs-tasks/issues/529)) ([760c204](https://www.github.com/googleapis/nodejs-tasks/commit/760c2043f9bccb0d2787e83dd08ace942e6b10fd))
+
+### [2.3.1](https://www.github.com/googleapis/nodejs-tasks/compare/v2.3.0...v2.3.1) (2021-05-12)
+
+
+### Bug Fixes
+
+* **deps:** require google-gax v2.12.0 ([#519](https://www.github.com/googleapis/nodejs-tasks/issues/519)) ([8cee43a](https://www.github.com/googleapis/nodejs-tasks/commit/8cee43a5ffa7df38d809fac087454b1c6d848d53))
+* use require() to load JSON protos ([#522](https://www.github.com/googleapis/nodejs-tasks/issues/522)) ([3c367be](https://www.github.com/googleapis/nodejs-tasks/commit/3c367bed5218655dfa50adfed3eb655d2d632d31))
+
+## [2.3.0](https://www.github.com/googleapis/nodejs-tasks/compare/v2.2.0...v2.3.0) (2021-01-22)
+
+
+### Features
+
+* introducing fields: ListQueuesRequest.read_mask, GetQueueRequest .read_mask, Queue.task_ttl, Queue.tombstone_ttl, Queue.stats and introducing messages: QueueStats ([#499](https://www.github.com/googleapis/nodejs-tasks/issues/499)) ([d04ef73](https://www.github.com/googleapis/nodejs-tasks/commit/d04ef7311ac26ea17f44cfbc1acb980cb78fb149))
+
+## [2.2.0](https://www.github.com/googleapis/nodejs-tasks/compare/v2.1.3...v2.2.0) (2021-01-09)
+
+
+### Features
+
+* introduces style enumeration ([#496](https://www.github.com/googleapis/nodejs-tasks/issues/496)) ([680f1dc](https://www.github.com/googleapis/nodejs-tasks/commit/680f1dcd269d25247a54157108c524f8946dc624))
+
+
+### Bug Fixes
+
+* **samples:** remove unused variables ([#492](https://www.github.com/googleapis/nodejs-tasks/issues/492)) ([81c4b4e](https://www.github.com/googleapis/nodejs-tasks/commit/81c4b4ece21eb99cec582d3256192de6c402d771))
+
+### [2.1.3](https://www.github.com/googleapis/nodejs-tasks/compare/v2.1.2...v2.1.3) (2020-11-25)
+
+
+### Bug Fixes
+
+* **browser:** check for fetch on window ([6abe685](https://www.github.com/googleapis/nodejs-tasks/commit/6abe6853909b5c897b80854eaa5a7f8b1da26e0b))
+* do not modify options object, use defaultScopes ([#484](https://www.github.com/googleapis/nodejs-tasks/issues/484)) ([039becb](https://www.github.com/googleapis/nodejs-tasks/commit/039becb02c12ee0911d536edcfb796664c4b6525))
+
+### [2.1.2](https://www.github.com/googleapis/nodejs-tasks/compare/v2.1.1...v2.1.2) (2020-10-27)
+
+
+### Bug Fixes
+
+* **samples:** region tag collided with tasks-api ([#476](https://www.github.com/googleapis/nodejs-tasks/issues/476)) ([fd73aa4](https://www.github.com/googleapis/nodejs-tasks/commit/fd73aa473e60dc9624b7615242099a2bd056f61b))
+
+### [2.1.1](https://www.github.com/googleapis/nodejs-tasks/compare/v2.1.0...v2.1.1) (2020-09-12)
+
+
+### Bug Fixes
+
+* **deps:** update dependency yargs to v16 ([#460](https://www.github.com/googleapis/nodejs-tasks/issues/460)) ([7d24cda](https://www.github.com/googleapis/nodejs-tasks/commit/7d24cda00f73717b693a907c8bb09cbec864e024))
+
+## [2.1.0](https://www.github.com/googleapis/nodejs-tasks/compare/v2.0.1...v2.1.0) (2020-07-06)
+
+
+### Features
+
+* introducing field Queue.type docs: fixing typos and minor updates ([#426](https://www.github.com/googleapis/nodejs-tasks/issues/426)) ([d0c538c](https://www.github.com/googleapis/nodejs-tasks/commit/d0c538cca9e110d9af0b4a9116e230ac983869a6))
+
+
+### Bug Fixes
+
+* update node issue template ([#427](https://www.github.com/googleapis/nodejs-tasks/issues/427)) ([43a97a5](https://www.github.com/googleapis/nodejs-tasks/commit/43a97a56320b4c5486e5dc349d13b4dd709678e3))
+
+### [2.0.1](https://www.github.com/googleapis/nodejs-tasks/compare/v2.0.0...v2.0.1) (2020-06-12)
+
+
+### Bug Fixes
+
+* handle fallback option properly ([#425](https://www.github.com/googleapis/nodejs-tasks/issues/425)) ([0d4e8c9](https://www.github.com/googleapis/nodejs-tasks/commit/0d4e8c90f265d1275b6844eb91251eefc8e991be))
+* regen protos and tests, formatting ([#413](https://www.github.com/googleapis/nodejs-tasks/issues/413)) ([b05145e](https://www.github.com/googleapis/nodejs-tasks/commit/b05145eacbee28c7ca7f801f1c250269a3ab91b2))
+* remove eslint, update gax, fix generated protos, run the generator ([#400](https://www.github.com/googleapis/nodejs-tasks/issues/400)) ([45a3425](https://www.github.com/googleapis/nodejs-tasks/commit/45a3425f008286bc81fc577a1eb7ba8e625c62c0))
+* remove unused files from package ([#404](https://www.github.com/googleapis/nodejs-tasks/issues/404)) ([803bc49](https://www.github.com/googleapis/nodejs-tasks/commit/803bc499ca3b36955bbba009b072ee59660ef3de))
+* synth.py clean up for multiple version ([#415](https://www.github.com/googleapis/nodejs-tasks/issues/415)) ([b860452](https://www.github.com/googleapis/nodejs-tasks/commit/b860452e4e8c164bc118273c4e615f3ad91845b5))
+
+## [2.0.0](https://www.github.com/googleapis/nodejs-tasks/compare/v1.9.0...v2.0.0) (2020-04-07)
+
+
+### âš BREAKING CHANGES
+
+* The library now supports Node.js v10+. The last version to support Node.js v8 is tagged legacy-8 on NPM.
+
+New feature: methods with pagination now support async iteration.
+
+### Features
+
+* drop node8 support, support for async iterators ([#388](https://www.github.com/googleapis/nodejs-tasks/issues/388)) ([2b759e1](https://www.github.com/googleapis/nodejs-tasks/commit/2b759e17adf636464fa67fbd99fe87a65cac317f))
+
+
+### Bug Fixes
+
+* export explicit version in protos.js ([#393](https://www.github.com/googleapis/nodejs-tasks/issues/393)) ([5b8c80d](https://www.github.com/googleapis/nodejs-tasks/commit/5b8c80d32f7c081887da203b833a2ee38ae69c38))
+
+## [1.9.0](https://www.github.com/googleapis/nodejs-tasks/compare/v1.8.0...v1.9.0) (2020-03-06)
+
+
+### Features
+
+* deferred client initialization ([#370](https://www.github.com/googleapis/nodejs-tasks/issues/370)) ([05fdd69](https://www.github.com/googleapis/nodejs-tasks/commit/05fdd6987c916da04c62193fe0f1081c23b85cbe))
+
+## [1.8.0](https://www.github.com/googleapis/nodejs-tasks/compare/v1.7.3...v1.8.0) (2020-02-29)
+
+
+### Features
+
+* add StackdriverLoggingConfig field to Cloud Tasks v2 API ([db2397a](https://www.github.com/googleapis/nodejs-tasks/commit/db2397a5efc59002a96a80a787ee2d405b1f4ce5))
+* export protos in src/index.ts ([a27e213](https://www.github.com/googleapis/nodejs-tasks/commit/a27e2135a359519ca7d17fae3f28718c42b5acf2))
+
+### [1.7.3](https://www.github.com/googleapis/nodejs-tasks/compare/v1.7.2...v1.7.3) (2020-02-07)
+
+
+### Bug Fixes
+
+* pass x-goog-request-params header for streaming calls ([ba267cc](https://www.github.com/googleapis/nodejs-tasks/commit/ba267ccc5c71cea747ec1fbdb9396a880fa2d902))
+
+### [1.7.2](https://www.github.com/googleapis/nodejs-tasks/compare/v1.7.1...v1.7.2) (2020-01-28)
+
+
+### Bug Fixes
+
+* enum, bytes, and Long types now accept strings ([58aa504](https://www.github.com/googleapis/nodejs-tasks/commit/58aa504d6d2076a0dc8c08d4c6b2b397f09cb3de))
+
+### [1.7.1](https://www.github.com/googleapis/nodejs-tasks/compare/v1.7.0...v1.7.1) (2020-01-09)
+
+
+### Bug Fixes
+
+* proper routing headers ([8a63747](https://www.github.com/googleapis/nodejs-tasks/commit/8a63747837341b10c3df4e5459387e4a8e7b02b5))
+
+## [1.7.0](https://www.github.com/googleapis/nodejs-tasks/compare/v1.6.1...v1.7.0) (2020-01-05)
+
+
+### Features
+
+* move library to typescript code generation ([#317](https://www.github.com/googleapis/nodejs-tasks/issues/317)) ([7dda287](https://www.github.com/googleapis/nodejs-tasks/commit/7dda2873c93295ccf19c6dc66daf4625cbe115bb))
+
+
+### Bug Fixes
+
+* **deps:** pin TypeScript below 3.7.0 ([124594b](https://www.github.com/googleapis/nodejs-tasks/commit/124594b3f00287c3a6f33c158aa4117dd03c52ca))
+
+### [1.6.1](https://www.github.com/googleapis/nodejs-tasks/compare/v1.6.0...v1.6.1) (2019-11-18)
+
+
+### Bug Fixes
+
+* **deps:** update dependency yargs to v15 ([#308](https://www.github.com/googleapis/nodejs-tasks/issues/308)) ([90d3a71](https://www.github.com/googleapis/nodejs-tasks/commit/90d3a71ab67648fed4aeec90178e2aceba45194d))
+
+## [1.6.0](https://www.github.com/googleapis/nodejs-tasks/compare/v1.5.1...v1.6.0) (2019-11-13)
+
+
+### Features
+
+* introduces HTTP targets to default v2 API ([#300](https://www.github.com/googleapis/nodejs-tasks/issues/300)) ([6dad421](https://www.github.com/googleapis/nodejs-tasks/commit/6dad4213f0b72e6ac1c708f98085037a48abe171))
+
+
+### Bug Fixes
+
+* **docs:** snippets are now replaced in jsdoc comments ([#304](https://www.github.com/googleapis/nodejs-tasks/issues/304)) ([741e8ab](https://www.github.com/googleapis/nodejs-tasks/commit/741e8ab46cb68d63c7fca0de526354432092d415))
+* import long into proto ts declaration file ([#305](https://www.github.com/googleapis/nodejs-tasks/issues/305)) ([dd1fcd1](https://www.github.com/googleapis/nodejs-tasks/commit/dd1fcd114c9ecd4d425c405b16036cf935be4e50))
+
+### [1.5.1](https://www.github.com/googleapis/nodejs-tasks/compare/v1.5.0...v1.5.1) (2019-10-22)
+
+
+### Bug Fixes
+
+* **deps:** bump google-gax to 1.7.5 ([#297](https://www.github.com/googleapis/nodejs-tasks/issues/297)) ([5f4fd9f](https://www.github.com/googleapis/nodejs-tasks/commit/5f4fd9f1de8c4e20836a099d8552b6c2139cc815))
+
+## [1.5.0](https://www.github.com/googleapis/nodejs-tasks/compare/v1.4.0...v1.5.0) (2019-10-03)
+
+
+### Bug Fixes
+
+* update paths in resource reference options ([#284](https://www.github.com/googleapis/nodejs-tasks/issues/284)) ([13b5db0](https://www.github.com/googleapis/nodejs-tasks/commit/13b5db0))
+* use compatible version of google-gax ([d6cae4e](https://www.github.com/googleapis/nodejs-tasks/commit/d6cae4e))
+* **docs:** use long names when class names collide ([#290](https://www.github.com/googleapis/nodejs-tasks/issues/290)) ([0215af8](https://www.github.com/googleapis/nodejs-tasks/commit/0215af8))
+
+
+### Features
+
+* .d.ts for protos ([#282](https://www.github.com/googleapis/nodejs-tasks/issues/282)) ([b15ba7d](https://www.github.com/googleapis/nodejs-tasks/commit/b15ba7d))
+* simplify Node sample ([#278](https://www.github.com/googleapis/nodejs-tasks/issues/278)) ([c6fa96d](https://www.github.com/googleapis/nodejs-tasks/commit/c6fa96d))
+
+## [1.4.0](https://www.github.com/googleapis/nodejs-tasks/compare/v1.3.0...v1.4.0) (2019-09-16)
+
+
+### Features
+
+* load protos from JSON, grpc-fallback support ([1c735c3](https://www.github.com/googleapis/nodejs-tasks/commit/1c735c3))
+
+## [1.3.0](https://www.github.com/googleapis/nodejs-tasks/compare/v1.2.1...v1.3.0) (2019-08-28)
+
+
+### Bug Fixes
+
+* **deps:** update dependency yargs to v14 ([d959ff7](https://www.github.com/googleapis/nodejs-tasks/commit/d959ff7))
+* **docs:** stop linking reference documents to anchor ([06f8c26](https://www.github.com/googleapis/nodejs-tasks/commit/06f8c26))
+
+
+### Features
+
+* switch to cloudtasks.googleapis.com default host ([#268](https://www.github.com/googleapis/nodejs-tasks/issues/268)) ([4f4c66b](https://www.github.com/googleapis/nodejs-tasks/commit/4f4c66b))
+
+### [1.2.1](https://www.github.com/googleapis/nodejs-tasks/compare/v1.2.0...v1.2.1) (2019-08-05)
+
+
+### Bug Fixes
+
+* allow calls with no request, add JSON proto ([01198ea](https://www.github.com/googleapis/nodejs-tasks/commit/01198ea))
+
+## [1.2.0](https://www.github.com/googleapis/nodejs-tasks/compare/v1.1.2...v1.2.0) (2019-07-02)
+
+
+### Features
+
+* add support for IAM policy options ([#255](https://www.github.com/googleapis/nodejs-tasks/issues/255)) ([7c7b0be](https://www.github.com/googleapis/nodejs-tasks/commit/7c7b0be))
+
+### [1.1.2](https://www.github.com/googleapis/nodejs-tasks/compare/v1.1.1...v1.1.2) (2019-06-26)
+
+
+### Bug Fixes
+
+* **docs:** link to reference docs section on googleapis.dev ([#250](https://www.github.com/googleapis/nodejs-tasks/issues/250)) ([a35d76c](https://www.github.com/googleapis/nodejs-tasks/commit/a35d76c))
+
+### [1.1.1](https://www.github.com/googleapis/nodejs-tasks/compare/v1.1.0...v1.1.1) (2019-06-14)
+
+
+### Bug Fixes
+
+* **docs:** move to new client docs URL ([#244](https://www.github.com/googleapis/nodejs-tasks/issues/244)) ([da8ddbc](https://www.github.com/googleapis/nodejs-tasks/commit/da8ddbc))
+
+## [1.1.0](https://www.github.com/googleapis/nodejs-tasks/compare/v1.0.0...v1.1.0) (2019-06-05)
+
+
+### Features
+
+* support apiEndpoint override in client constructor ([#239](https://www.github.com/googleapis/nodejs-tasks/issues/239)) ([5bb4eff](https://www.github.com/googleapis/nodejs-tasks/commit/5bb4eff))
+
+## [1.0.0](https://www.github.com/googleapis/nodejs-tasks/compare/v0.5.0...v1.0.0) (2019-05-13)
+
+
+### Bug Fixes
+
+* DEADLINE_EXCEEDED retry code is idempotent ([#219](https://www.github.com/googleapis/nodejs-tasks/issues/219)) ([59cfd36](https://www.github.com/googleapis/nodejs-tasks/commit/59cfd36))
+* **deps:** update dependency google-gax to v1 ([#218](https://www.github.com/googleapis/nodejs-tasks/issues/218)) ([25d0317](https://www.github.com/googleapis/nodejs-tasks/commit/25d0317))
+* DEADLINE_EXCEEDED no longer treated as idempotent and retried ([739a515](https://www.github.com/googleapis/nodejs-tasks/commit/739a515))
+* **deps:** update dependency google-gax to ^0.26.0 ([#207](https://www.github.com/googleapis/nodejs-tasks/issues/207)) ([7492ae3](https://www.github.com/googleapis/nodejs-tasks/commit/7492ae3))
+
+
+### Build System
+
+* upgrade engines field to >=8.10.0 ([#209](https://www.github.com/googleapis/nodejs-tasks/issues/209)) ([c2f4869](https://www.github.com/googleapis/nodejs-tasks/commit/c2f4869))
+
+
+### BREAKING CHANGES
+
+* upgrade engines field to >=8.10.0 (#209)
+
+## v0.5.0
+
+03-21-2019 22:39 PDT
+
+**This release has breaking changes**. The default version of the API has changed from `v2beta3` to `v2`. Potential breaking changes may apply.
+
+### New Features
+- feat: add v2 of the tasks API ([#192](https://github.com/googleapis/nodejs-tasks/pull/192))
+
+### Internal / Testing Changes
+- chore: publish to npm using wombat ([#189](https://github.com/googleapis/nodejs-tasks/pull/189))
+- build: use per-repo publish token ([#188](https://github.com/googleapis/nodejs-tasks/pull/188))
+- refactor: update json import paths ([#186](https://github.com/googleapis/nodejs-tasks/pull/186))
+- build: Add docuploader credentials to node publish jobs ([#184](https://github.com/googleapis/nodejs-tasks/pull/184))
+
+## v0.4.0
+
+03-06-2019 13:30 PST
+
+### New Features
+- feat: add alpha support for HTTP triggers ([#177](https://github.com/googleapis/nodejs-tasks/pull/177))
+
+### Bug fixes
+- fix: throw on invalid credentials
+
+### Documentation
+- docs: update contributing path in README ([#168](https://github.com/googleapis/nodejs-tasks/pull/168))
+- docs: move CONTRIBUTING.md to root ([#167](https://github.com/googleapis/nodejs-tasks/pull/167))
+- docs: add lint/fix example to contributing guide ([#165](https://github.com/googleapis/nodejs-tasks/pull/165))
+- docs: fix example comments ([#164](https://github.com/googleapis/nodejs-tasks/pull/164))
+- docs: update comments on protos ([#180](https://github.com/googleapis/nodejs-tasks/pull/180))
+- docs: sync latest proto docs
+- docs: update README to include samples ([#178](https://github.com/googleapis/nodejs-tasks/pull/178))
+- docs: update links in contrib guide ([#174](https://github.com/googleapis/nodejs-tasks/pull/174))
+
+### Internal / Testing Changes
+- build: update release configuration
+- chore(deps): update dependency mocha to v6 ([#176](https://github.com/googleapis/nodejs-tasks/pull/176))
+- build: use linkinator for docs test ([#173](https://github.com/googleapis/nodejs-tasks/pull/173))
+- fix(deps): update dependency yargs to v13 ([#171](https://github.com/googleapis/nodejs-tasks/pull/171))
+- build: create docs test npm scripts ([#170](https://github.com/googleapis/nodejs-tasks/pull/170))
+- build: test using @grpc/grpc-js in CI ([#169](https://github.com/googleapis/nodejs-tasks/pull/169))
+- refactor: improve generated code style. ([#163](https://github.com/googleapis/nodejs-tasks/pull/163))
+
+## v0.3.0
+
+01-31-2019 23:06 PST
+
+### Implementation Changes
+- chore: adjust grpc timeout settings
+
+### New Features
+- feat: support the .dispatch_deadline property. ([#160](https://github.com/googleapis/nodejs-tasks/pull/160))
+
+### Dependencies
+- fix(deps): update dependency google-gax to ^0.25.0 ([#161](https://github.com/googleapis/nodejs-tasks/pull/161))
+- fix(deps): update dependency google-gax to ^0.24.0 ([#158](https://github.com/googleapis/nodejs-tasks/pull/158))
+- fix(deps): update dependency google-gax to ^0.23.0 ([#154](https://github.com/googleapis/nodejs-tasks/pull/154))
+- fix(deps): update dependency google-gax to ^0.22.0 ([#122](https://github.com/googleapis/nodejs-tasks/pull/122))
+
+### Documentation
+- fix(docs): remove unused long running operations types
+- samples: add queue create and delete samples ([#142](https://github.com/googleapis/nodejs-tasks/pull/142))
+- docs: update readme badges ([#133](https://github.com/googleapis/nodejs-tasks/pull/133))
+- docs(samples): updated samples code to use async await ([#129](https://github.com/googleapis/nodejs-tasks/pull/129))
+- update tasks samples to support new api version ([#83](https://github.com/googleapis/nodejs-tasks/pull/83))
+
+### Internal / Testing Changes
+- chore(deps): update dependency eslint-config-prettier to v4 ([#159](https://github.com/googleapis/nodejs-tasks/pull/159))
+- build: check broken links in generated docs ([#151](https://github.com/googleapis/nodejs-tasks/pull/151))
+- chore(build): inject yoshi automation key ([#149](https://github.com/googleapis/nodejs-tasks/pull/149))
+- chore: update nyc and eslint configs ([#148](https://github.com/googleapis/nodejs-tasks/pull/148))
+- chore: fix publish.sh permission +x ([#146](https://github.com/googleapis/nodejs-tasks/pull/146))
+- fix(build): fix Kokoro release script ([#145](https://github.com/googleapis/nodejs-tasks/pull/145))
+- build: add Kokoro configs for autorelease ([#144](https://github.com/googleapis/nodejs-tasks/pull/144))
+- chore: always nyc report before calling codecov ([#139](https://github.com/googleapis/nodejs-tasks/pull/139))
+- chore: nyc ignore build/test by default ([#138](https://github.com/googleapis/nodejs-tasks/pull/138))
+- chore: clean up usage of prettier and eslint ([#137](https://github.com/googleapis/nodejs-tasks/pull/137))
+- chore: update license file ([#135](https://github.com/googleapis/nodejs-tasks/pull/135))
+- fix(build): fix system key decryption ([#131](https://github.com/googleapis/nodejs-tasks/pull/131))
+- chore: add synth.metadata
+- refactor(samples): convert sample tests from ava to mocha ([#126](https://github.com/googleapis/nodejs-tasks/pull/126))
+- chore: update eslintignore config ([#121](https://github.com/googleapis/nodejs-tasks/pull/121))
+- chore(deps): update dependency @google-cloud/nodejs-repo-tools to v3 ([#119](https://github.com/googleapis/nodejs-tasks/pull/119))
+- chore: drop contributors from multiple places ([#118](https://github.com/googleapis/nodejs-tasks/pull/118))
+- chore: use latest npm on Windows ([#117](https://github.com/googleapis/nodejs-tasks/pull/117))
+- chore: update CircleCI config ([#115](https://github.com/googleapis/nodejs-tasks/pull/115))
+- chore(deps): update dependency eslint-plugin-node to v8 ([#109](https://github.com/googleapis/nodejs-tasks/pull/109))
+- chore: update issue templates ([#108](https://github.com/googleapis/nodejs-tasks/pull/108))
+- chore: remove old issue template ([#104](https://github.com/googleapis/nodejs-tasks/pull/104))
+- build: run tests on node11 ([#103](https://github.com/googleapis/nodejs-tasks/pull/103))
+- chores(build): run codecov on continuous builds ([#99](https://github.com/googleapis/nodejs-tasks/pull/99))
+- chores(build): do not collect sponge.xml from windows builds ([#100](https://github.com/googleapis/nodejs-tasks/pull/100))
+- chore: update new issue template ([#98](https://github.com/googleapis/nodejs-tasks/pull/98))
+- chore(deps): update dependency sinon to v7 ([#93](https://github.com/googleapis/nodejs-tasks/pull/93))
+- build: fix codecov uploading on Kokoro ([#94](https://github.com/googleapis/nodejs-tasks/pull/94))
+- Update kokoro config ([#90](https://github.com/googleapis/nodejs-tasks/pull/90))
+- chore(deps): update dependency eslint-plugin-prettier to v3 ([#89](https://github.com/googleapis/nodejs-tasks/pull/89))
+- Update kokoro config ([#87](https://github.com/googleapis/nodejs-tasks/pull/87))
+- test: remove appveyor config ([#86](https://github.com/googleapis/nodejs-tasks/pull/86))
+- Update the CI config ([#85](https://github.com/googleapis/nodejs-tasks/pull/85))
+- Enable prefer-const in the eslint config ([#82](https://github.com/googleapis/nodejs-tasks/pull/82))
+- Enable no-var in eslint ([#81](https://github.com/googleapis/nodejs-tasks/pull/81))
+- chore(deps): update dependency sinon to v6.3.3 ([#79](https://github.com/googleapis/nodejs-tasks/pull/79))
+- Switch to let/const ([#80](https://github.com/googleapis/nodejs-tasks/pull/80))
+
+## v0.2.2
+
+### Implementation Changes
+This patch release reverts back to using v2beta3 as the default version. It also updates the samples.
+- feat: using v2beta3 by default
+
+### Documentation
+- Update Cloud Tasks Sample ([#67](https://github.com/googleapis/nodejs-tasks/pull/67))
+
+### Internal / Testing Changes
+- fix: replace service account key with Tasks access ([#75](https://github.com/googleapis/nodejs-tasks/pull/75))
+
+## v0.2.1
+
+### Implementation Changes
+Samples for v2beta3 is pending and they won't work for v2beta2. We're temporarily reverting back to defaulting to v2beta2 when you import the library like so:
+```
+const cloudTasks = require('@google-cloud/tasks');
+const client = new cloudTasks.CloudTasksClient(); // v2beta2 by default
+```
+- feat: restoring v2beta2 by default ([#71](https://github.com/googleapis/nodejs-tasks/pull/71))
+
+### Dependencies
+v0.20.0 fixes an issue with semver.
+- bump google-gax 0.20.0 ([#69](https://github.com/googleapis/nodejs-tasks/pull/69))
+
+### Documentation
+- add namespace to fix some 404s in doc ([#66](https://github.com/googleapis/nodejs-tasks/pull/66))
+
+### Internal / Testing Changes
+- Update CI config ([#65](https://github.com/googleapis/nodejs-tasks/pull/65))
+
+## v0.2.0
+
+### New Features
+- v2beta3 support for Node.js (#62)
+
+### Internal / Testing Changes
+- Retry npm install in CI (#63)
+
+## v0.1.1
+
+### Minor updates
+- fix(deps): update dependency google-gax to ^0.19.0 (#49)
+- fix(deps): update dependency google-gax to ^0.18.0 (#41)
+- Re-generate library using /synth.py (#55)
+
+### Docs
+- docs: update pull queue command (#30)
+- docs: updated gcloud command (#29)
+- Add Tasks Samples and Tests (#14)
+
+### Build & Test updates
+- Update the CI config (#52)
+- chore(deps): update dependency nyc to v13 (#53)
+- chore: update CircleCI config
+- chore(deps): update dependency eslint-config-prettier to v3 (#48)
+- chore: do not use npm ci (#47)
+- chore: ignore package-lock.json (#45)
+- chore: update renovate config (#43)
+- remove that whitespace (#42)
+- chore(deps): lock file maintenance (#40)
+- chore: move mocha options to mocha.opts (#39)
+- Re-generate library using /synth.py (#38)
+- Re-generate library using /synth.py (#35)
+- chore: add node templates to synth.py (#36)
+- fix: samples to require node>=8 (#37)
+- chore(deps): lock file maintenance (#34)
+- chore(deps): update dependency eslint-plugin-node to v7 (#32)
+- test: use strictEqual in tests (#33)
+- chore(deps): lock file maintenance (#31)
+- Upgrade repo-tools and regenerate scaffolding. (#27)
+- chore(deps): lock file maintenance (#25)
+- chore(deps): lock file maintenance (#24)
+- chore(deps): lock file maintenance (#23)
+- fix(deps): update dependency yargs to v12 (#22)
+- fix: update dependencies, run synth (#20)
+- Configure Renovate (#15)
diff --git a/packages/google-cloud-tasks/CODE_OF_CONDUCT.md b/packages/google-cloud-tasks/CODE_OF_CONDUCT.md
new file mode 100644
index 00000000000..2add2547a81
--- /dev/null
+++ b/packages/google-cloud-tasks/CODE_OF_CONDUCT.md
@@ -0,0 +1,94 @@
+
+# Code of Conduct
+
+## Our Pledge
+
+In the interest of fostering an open and welcoming environment, we as
+contributors and maintainers pledge to making participation in our project and
+our community a harassment-free experience for everyone, regardless of age, body
+size, disability, ethnicity, gender identity and expression, level of
+experience, education, socio-economic status, nationality, personal appearance,
+race, religion, or sexual identity and orientation.
+
+## Our Standards
+
+Examples of behavior that contributes to creating a positive environment
+include:
+
+* Using welcoming and inclusive language
+* Being respectful of differing viewpoints and experiences
+* Gracefully accepting constructive criticism
+* Focusing on what is best for the community
+* Showing empathy towards other community members
+
+Examples of unacceptable behavior by participants include:
+
+* The use of sexualized language or imagery and unwelcome sexual attention or
+ advances
+* Trolling, insulting/derogatory comments, and personal or political attacks
+* Public or private harassment
+* Publishing others' private information, such as a physical or electronic
+ address, without explicit permission
+* Other conduct which could reasonably be considered inappropriate in a
+ professional setting
+
+## Our Responsibilities
+
+Project maintainers are responsible for clarifying the standards of acceptable
+behavior and are expected to take appropriate and fair corrective action in
+response to any instances of unacceptable behavior.
+
+Project maintainers have the right and responsibility to remove, edit, or reject
+comments, commits, code, wiki edits, issues, and other contributions that are
+not aligned to this Code of Conduct, or to ban temporarily or permanently any
+contributor for other behaviors that they deem inappropriate, threatening,
+offensive, or harmful.
+
+## Scope
+
+This Code of Conduct applies both within project spaces and in public spaces
+when an individual is representing the project or its community. Examples of
+representing a project or community include using an official project e-mail
+address, posting via an official social media account, or acting as an appointed
+representative at an online or offline event. Representation of a project may be
+further defined and clarified by project maintainers.
+
+This Code of Conduct also applies outside the project spaces when the Project
+Steward has a reasonable belief that an individual's behavior may have a
+negative impact on the project or its community.
+
+## Conflict Resolution
+
+We do not believe that all conflict is bad; healthy debate and disagreement
+often yield positive results. However, it is never okay to be disrespectful or
+to engage in behavior that violates the project’s code of conduct.
+
+If you see someone violating the code of conduct, you are encouraged to address
+the behavior directly with those involved. Many issues can be resolved quickly
+and easily, and this gives people more control over the outcome of their
+dispute. If you are unable to resolve the matter for any reason, or if the
+behavior is threatening or harassing, report it. We are dedicated to providing
+an environment where participants feel welcome and safe.
+
+Reports should be directed to *googleapis-stewards@google.com*, the
+Project Steward(s) for *Google Cloud Client Libraries*. It is the Project Steward’s duty to
+receive and address reported violations of the code of conduct. They will then
+work with a committee consisting of representatives from the Open Source
+Programs Office and the Google Open Source Strategy team. If for any reason you
+are uncomfortable reaching out to the Project Steward, please email
+opensource@google.com.
+
+We will investigate every complaint, but you may not receive a direct response.
+We will use our discretion in determining when and how to follow up on reported
+incidents, which may range from not taking action to permanent expulsion from
+the project and project-sponsored spaces. We will notify the accused of the
+report and provide them an opportunity to discuss it before any action is taken.
+The identity of the reporter will be omitted from the details of the report
+supplied to the accused. In potentially harmful situations, such as ongoing
+harassment or threats to anyone's safety, we may take action without notice.
+
+## Attribution
+
+This Code of Conduct is adapted from the Contributor Covenant, version 1.4,
+available at
+https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
\ No newline at end of file
diff --git a/packages/google-cloud-tasks/CONTRIBUTING.md b/packages/google-cloud-tasks/CONTRIBUTING.md
new file mode 100644
index 00000000000..4d531860b90
--- /dev/null
+++ b/packages/google-cloud-tasks/CONTRIBUTING.md
@@ -0,0 +1,76 @@
+# How to become a contributor and submit your own code
+
+**Table of contents**
+
+* [Contributor License Agreements](#contributor-license-agreements)
+* [Contributing a patch](#contributing-a-patch)
+* [Running the tests](#running-the-tests)
+* [Releasing the library](#releasing-the-library)
+
+## Contributor License Agreements
+
+We'd love to accept your sample apps and patches! Before we can take them, we
+have to jump a couple of legal hurdles.
+
+Please fill out either the individual or corporate Contributor License Agreement
+(CLA).
+
+ * If you are an individual writing original source code and you're sure you
+ own the intellectual property, then you'll need to sign an [individual CLA](https://developers.google.com/open-source/cla/individual).
+ * If you work for a company that wants to allow you to contribute your work,
+ then you'll need to sign a [corporate CLA](https://developers.google.com/open-source/cla/corporate).
+
+Follow either of the two links above to access the appropriate CLA and
+instructions for how to sign and return it. Once we receive it, we'll be able to
+accept your pull requests.
+
+## Contributing A Patch
+
+1. Submit an issue describing your proposed change to the repo in question.
+1. The repo owner will respond to your issue promptly.
+1. If your proposed change is accepted, and you haven't already done so, sign a
+ Contributor License Agreement (see details above).
+1. Fork the desired repo, develop and test your code changes.
+1. Ensure that your code adheres to the existing style in the code to which
+ you are contributing.
+1. Ensure that your code has an appropriate set of tests which all pass.
+1. Title your pull request following [Conventional Commits](https://www.conventionalcommits.org/) styling.
+1. Submit a pull request.
+
+### Before you begin
+
+1. [Select or create a Cloud Platform project][projects].
+1. [Enable billing for your project][billing].
+1. [Enable the Cloud Tasks API][enable_api].
+1. [Set up authentication with a service account][auth] so you can access the
+ API from your local workstation.
+
+
+## Running the tests
+
+1. [Prepare your environment for Node.js setup][setup].
+
+1. Install dependencies:
+
+ npm install
+
+1. Run the tests:
+
+ # Run unit tests.
+ npm test
+
+ # Run sample integration tests.
+ npm run samples-test
+
+ # Run all system tests.
+ npm run system-test
+
+1. Lint (and maybe fix) any changes:
+
+ npm run fix
+
+[setup]: https://cloud.google.com/nodejs/docs/setup
+[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=tasks.googleapis.com
+[auth]: https://cloud.google.com/docs/authentication/getting-started
\ No newline at end of file
diff --git a/packages/google-cloud-tasks/LICENSE b/packages/google-cloud-tasks/LICENSE
new file mode 100644
index 00000000000..d6456956733
--- /dev/null
+++ b/packages/google-cloud-tasks/LICENSE
@@ -0,0 +1,202 @@
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
diff --git a/packages/google-cloud-tasks/README.md b/packages/google-cloud-tasks/README.md
new file mode 100644
index 00000000000..eee4ec03fba
--- /dev/null
+++ b/packages/google-cloud-tasks/README.md
@@ -0,0 +1,188 @@
+[//]: # "This README.md file is auto-generated, all changes to this file will be lost."
+[//]: # "To regenerate it, use `python -m synthtool`."
+
+
+# [Cloud Tasks: Node.js Client](https://github.com/googleapis/google-cloud-node)
+
+[](https://cloud.google.com/terms/launch-stages)
+[](https://www.npmjs.org/package/@google-cloud/tasks)
+
+
+
+
+Cloud Tasks API client for Node.js
+
+
+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-tasks/CHANGELOG.md).
+
+* [Cloud Tasks Node.js Client API Reference][client-docs]
+* [Cloud Tasks Documentation][product-docs]
+* [github.com/googleapis/google-cloud-node/packages/google-cloud-tasks](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-tasks)
+
+Read more about the client libraries for Cloud APIs, including the older
+Google APIs Client Libraries, in [Client Libraries Explained][explained].
+
+[explained]: https://cloud.google.com/apis/docs/client-libraries-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 Cloud Tasks API][enable_api].
+1. [Set up authentication with a service account][auth] so you can access the
+ API from your local workstation.
+
+### Installing the client library
+
+```bash
+npm install @google-cloud/tasks
+```
+
+
+
+
+## Samples
+
+Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/tree/main/samples) directory. Each sample's `README.md` has instructions for running its sample.
+
+| Sample | Source Code | Try it |
+| --------------------------- | --------------------------------- | ------ |
+| Cloud_tasks.create_queue | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2/cloud_tasks.create_queue.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2/cloud_tasks.create_queue.js,samples/README.md) |
+| Cloud_tasks.create_task | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2/cloud_tasks.create_task.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2/cloud_tasks.create_task.js,samples/README.md) |
+| Cloud_tasks.delete_queue | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2/cloud_tasks.delete_queue.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2/cloud_tasks.delete_queue.js,samples/README.md) |
+| Cloud_tasks.delete_task | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2/cloud_tasks.delete_task.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2/cloud_tasks.delete_task.js,samples/README.md) |
+| Cloud_tasks.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2/cloud_tasks.get_iam_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-tasks/samples/generated/v2/cloud_tasks.get_iam_policy.js,samples/README.md) |
+| Cloud_tasks.get_queue | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2/cloud_tasks.get_queue.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2/cloud_tasks.get_queue.js,samples/README.md) |
+| Cloud_tasks.get_task | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2/cloud_tasks.get_task.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2/cloud_tasks.get_task.js,samples/README.md) |
+| Cloud_tasks.list_queues | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2/cloud_tasks.list_queues.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2/cloud_tasks.list_queues.js,samples/README.md) |
+| Cloud_tasks.list_tasks | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2/cloud_tasks.list_tasks.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2/cloud_tasks.list_tasks.js,samples/README.md) |
+| Cloud_tasks.pause_queue | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2/cloud_tasks.pause_queue.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2/cloud_tasks.pause_queue.js,samples/README.md) |
+| Cloud_tasks.purge_queue | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2/cloud_tasks.purge_queue.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2/cloud_tasks.purge_queue.js,samples/README.md) |
+| Cloud_tasks.resume_queue | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2/cloud_tasks.resume_queue.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2/cloud_tasks.resume_queue.js,samples/README.md) |
+| Cloud_tasks.run_task | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2/cloud_tasks.run_task.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2/cloud_tasks.run_task.js,samples/README.md) |
+| Cloud_tasks.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2/cloud_tasks.set_iam_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-tasks/samples/generated/v2/cloud_tasks.set_iam_policy.js,samples/README.md) |
+| Cloud_tasks.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2/cloud_tasks.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2/cloud_tasks.test_iam_permissions.js,samples/README.md) |
+| Cloud_tasks.update_queue | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2/cloud_tasks.update_queue.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2/cloud_tasks.update_queue.js,samples/README.md) |
+| Cloud_tasks.acknowledge_task | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2beta2/cloud_tasks.acknowledge_task.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2beta2/cloud_tasks.acknowledge_task.js,samples/README.md) |
+| Cloud_tasks.cancel_lease | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2beta2/cloud_tasks.cancel_lease.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2beta2/cloud_tasks.cancel_lease.js,samples/README.md) |
+| Cloud_tasks.create_queue | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2beta2/cloud_tasks.create_queue.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2beta2/cloud_tasks.create_queue.js,samples/README.md) |
+| Cloud_tasks.create_task | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2beta2/cloud_tasks.create_task.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2beta2/cloud_tasks.create_task.js,samples/README.md) |
+| Cloud_tasks.delete_queue | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2beta2/cloud_tasks.delete_queue.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2beta2/cloud_tasks.delete_queue.js,samples/README.md) |
+| Cloud_tasks.delete_task | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2beta2/cloud_tasks.delete_task.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2beta2/cloud_tasks.delete_task.js,samples/README.md) |
+| Cloud_tasks.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2beta2/cloud_tasks.get_iam_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-tasks/samples/generated/v2beta2/cloud_tasks.get_iam_policy.js,samples/README.md) |
+| Cloud_tasks.get_queue | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2beta2/cloud_tasks.get_queue.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2beta2/cloud_tasks.get_queue.js,samples/README.md) |
+| Cloud_tasks.get_task | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2beta2/cloud_tasks.get_task.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2beta2/cloud_tasks.get_task.js,samples/README.md) |
+| Cloud_tasks.lease_tasks | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2beta2/cloud_tasks.lease_tasks.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2beta2/cloud_tasks.lease_tasks.js,samples/README.md) |
+| Cloud_tasks.list_queues | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2beta2/cloud_tasks.list_queues.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2beta2/cloud_tasks.list_queues.js,samples/README.md) |
+| Cloud_tasks.list_tasks | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2beta2/cloud_tasks.list_tasks.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2beta2/cloud_tasks.list_tasks.js,samples/README.md) |
+| Cloud_tasks.pause_queue | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2beta2/cloud_tasks.pause_queue.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2beta2/cloud_tasks.pause_queue.js,samples/README.md) |
+| Cloud_tasks.purge_queue | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2beta2/cloud_tasks.purge_queue.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2beta2/cloud_tasks.purge_queue.js,samples/README.md) |
+| Cloud_tasks.renew_lease | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2beta2/cloud_tasks.renew_lease.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2beta2/cloud_tasks.renew_lease.js,samples/README.md) |
+| Cloud_tasks.resume_queue | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2beta2/cloud_tasks.resume_queue.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2beta2/cloud_tasks.resume_queue.js,samples/README.md) |
+| Cloud_tasks.run_task | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2beta2/cloud_tasks.run_task.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2beta2/cloud_tasks.run_task.js,samples/README.md) |
+| Cloud_tasks.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2beta2/cloud_tasks.set_iam_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-tasks/samples/generated/v2beta2/cloud_tasks.set_iam_policy.js,samples/README.md) |
+| Cloud_tasks.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2beta2/cloud_tasks.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2beta2/cloud_tasks.test_iam_permissions.js,samples/README.md) |
+| Cloud_tasks.update_queue | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2beta2/cloud_tasks.update_queue.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2beta2/cloud_tasks.update_queue.js,samples/README.md) |
+| Cloud_tasks.create_queue | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2beta3/cloud_tasks.create_queue.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2beta3/cloud_tasks.create_queue.js,samples/README.md) |
+| Cloud_tasks.create_task | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2beta3/cloud_tasks.create_task.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2beta3/cloud_tasks.create_task.js,samples/README.md) |
+| Cloud_tasks.delete_queue | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2beta3/cloud_tasks.delete_queue.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2beta3/cloud_tasks.delete_queue.js,samples/README.md) |
+| Cloud_tasks.delete_task | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2beta3/cloud_tasks.delete_task.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2beta3/cloud_tasks.delete_task.js,samples/README.md) |
+| Cloud_tasks.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2beta3/cloud_tasks.get_iam_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-tasks/samples/generated/v2beta3/cloud_tasks.get_iam_policy.js,samples/README.md) |
+| Cloud_tasks.get_queue | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2beta3/cloud_tasks.get_queue.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2beta3/cloud_tasks.get_queue.js,samples/README.md) |
+| Cloud_tasks.get_task | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2beta3/cloud_tasks.get_task.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2beta3/cloud_tasks.get_task.js,samples/README.md) |
+| Cloud_tasks.list_queues | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2beta3/cloud_tasks.list_queues.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2beta3/cloud_tasks.list_queues.js,samples/README.md) |
+| Cloud_tasks.list_tasks | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2beta3/cloud_tasks.list_tasks.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2beta3/cloud_tasks.list_tasks.js,samples/README.md) |
+| Cloud_tasks.pause_queue | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2beta3/cloud_tasks.pause_queue.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2beta3/cloud_tasks.pause_queue.js,samples/README.md) |
+| Cloud_tasks.purge_queue | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2beta3/cloud_tasks.purge_queue.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2beta3/cloud_tasks.purge_queue.js,samples/README.md) |
+| Cloud_tasks.resume_queue | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2beta3/cloud_tasks.resume_queue.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2beta3/cloud_tasks.resume_queue.js,samples/README.md) |
+| Cloud_tasks.run_task | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2beta3/cloud_tasks.run_task.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2beta3/cloud_tasks.run_task.js,samples/README.md) |
+| Cloud_tasks.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2beta3/cloud_tasks.set_iam_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-tasks/samples/generated/v2beta3/cloud_tasks.set_iam_policy.js,samples/README.md) |
+| Cloud_tasks.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2beta3/cloud_tasks.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2beta3/cloud_tasks.test_iam_permissions.js,samples/README.md) |
+| Cloud_tasks.update_queue | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2beta3/cloud_tasks.update_queue.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-tasks/samples/generated/v2beta3/cloud_tasks.update_queue.js,samples/README.md) |
+| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/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-tasks/samples/quickstart.js,samples/README.md) |
+| Quickstart.test | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/test/quickstart.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-tasks/samples/test/quickstart.test.js,samples/README.md) |
+
+
+
+The [Cloud Tasks 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://nodejs.org/en/about/releases/).
+Libraries are compatible with all current _active_ and _maintenance_ versions of
+Node.js.
+If you are using an end-of-life version of Node.js, we recommend that you update
+as soon as possible to an actively supported LTS version.
+
+Google's client libraries support legacy versions of Node.js runtimes on a
+best-efforts basis with the following warnings:
+
+* Legacy versions are not tested in continuous integration.
+* Some security patches and features cannot be backported.
+* Dependencies cannot be kept up-to-date.
+
+Client libraries targeting some end-of-life versions of Node.js are available, and
+can be installed through npm [dist-tags](https://docs.npmjs.com/cli/dist-tag).
+The dist-tags follow the naming convention `legacy-(version)`.
+For example, `npm install @google-cloud/tasks@legacy-8` installs client libraries
+for versions compatible with Node.js 8.
+
+## Versioning
+
+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).
+
+Please note that this `README.md`, the `samples/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).
+
+## License
+
+Apache Version 2.0
+
+See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/LICENSE)
+
+[client-docs]: https://cloud.google.com/nodejs/docs/reference/tasks/latest
+[product-docs]: https://cloud.google.com/tasks/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=tasks.googleapis.com
+[auth]: https://cloud.google.com/docs/authentication/getting-started
diff --git a/packages/google-cloud-tasks/linkinator.config.json b/packages/google-cloud-tasks/linkinator.config.json
new file mode 100644
index 00000000000..befd23c8633
--- /dev/null
+++ b/packages/google-cloud-tasks/linkinator.config.json
@@ -0,0 +1,16 @@
+{
+ "recurse": true,
+ "skip": [
+ "https://codecov.io/gh/googleapis/",
+ "www.googleapis.com",
+ "img.shields.io",
+ "https://console.cloud.google.com/cloudshell",
+ "https://support.google.com"
+ ],
+ "silent": true,
+ "concurrency": 5,
+ "retry": true,
+ "retryErrors": true,
+ "retryErrorsCount": 5,
+ "retryErrorsJitter": 3000
+}
diff --git a/packages/google-cloud-tasks/owlbot.py b/packages/google-cloud-tasks/owlbot.py
new file mode 100644
index 00000000000..59d7cf5fc44
--- /dev/null
+++ b/packages/google-cloud-tasks/owlbot.py
@@ -0,0 +1,34 @@
+# Copyright 2018 Google LLC
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""This script is used to synthesize generated parts of this library."""
+
+import synthtool as s
+import synthtool.languages.node_mono_repo as node
+import pathlib
+
+
+def patch(library: pathlib.Path):
+ s.replace(library / 'src/*/cloud_tasks_client_config.json',
+ '"initial_rpc_timeout_millis": 60000',
+ '"initial_rpc_timeout_millis": 20000')
+ s.replace(library / 'src/*/cloud_tasks_client_config.json',
+ '"max_rpc_timeout_millis": 60000',
+ '"max_rpc_timeout_millis": 20000')
+
+
+node.owlbot_main(relative_dir="packages/google-cloud-tasks",
+ staging_excludes=["README.md", "package.json"],
+ patch_staging=patch
+)
\ No newline at end of file
diff --git a/packages/google-cloud-tasks/package.json b/packages/google-cloud-tasks/package.json
new file mode 100644
index 00000000000..6e7e158b3d5
--- /dev/null
+++ b/packages/google-cloud-tasks/package.json
@@ -0,0 +1,73 @@
+{
+ "name": "@google-cloud/tasks",
+ "description": "Cloud Tasks API client for Node.js",
+ "version": "3.0.5",
+ "license": "Apache-2.0",
+ "author": "Google LLC",
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "repository": {
+ "type": "git",
+ "directory": "packages/google-cloud-tasks",
+ "url": "https://github.com/googleapis/google-cloud-node.git"
+ },
+ "main": "build/src/index.js",
+ "files": [
+ "build/protos",
+ "build/src"
+ ],
+ "keywords": [
+ "google apis client",
+ "google api client",
+ "google apis",
+ "google api",
+ "google",
+ "google cloud platform",
+ "google cloud",
+ "cloud",
+ "google cloud-tasks",
+ "cloud-tasks",
+ "Cloud Tasks API"
+ ],
+ "scripts": {
+ "test": "c8 mocha build/test",
+ "samples-test": "npm run compile && cd samples/ && npm link ../ && npm i && npm test",
+ "system-test": "npm run compile && c8 mocha build/system-test",
+ "lint": "gts check",
+ "fix": "gts fix",
+ "docs": "jsdoc -c .jsdoc.js",
+ "docs-test": "linkinator docs",
+ "clean": "gts clean",
+ "compile": "tsc -p . && cp -r protos build/",
+ "compile-protos": "compileProtos src",
+ "predocs-test": "npm run docs",
+ "prepare": "npm run compile",
+ "prelint": "cd samples; npm link ../; npm install",
+ "precompile": "gts clean"
+ },
+ "dependencies": {
+ "google-gax": "^3.5.2"
+ },
+ "devDependencies": {
+ "@types/mocha": "^9.0.0",
+ "@types/node": "^18.0.0",
+ "@types/sinon": "^10.0.0",
+ "c8": "^7.0.0",
+ "codecov": "^3.0.2",
+ "gts": "^3.1.0",
+ "jsdoc": "^4.0.0",
+ "jsdoc-fresh": "^2.0.0",
+ "jsdoc-region-tag": "^2.0.0",
+ "linkinator": "^4.0.0",
+ "mocha": "^9.2.2",
+ "null-loader": "^4.0.0",
+ "pack-n-play": "^1.0.0-2",
+ "sinon": "^14.0.0",
+ "ts-loader": "^9.0.0",
+ "typescript": "^4.6.4",
+ "webpack": "^5.0.0",
+ "webpack-cli": "^4.0.0"
+ },
+ "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-tasks"
+}
diff --git a/packages/google-cloud-tasks/protos/google/cloud/common_resources.proto b/packages/google-cloud-tasks/protos/google/cloud/common_resources.proto
new file mode 100644
index 00000000000..56c9f800d5e
--- /dev/null
+++ b/packages/google-cloud-tasks/protos/google/cloud/common_resources.proto
@@ -0,0 +1,52 @@
+// Copyright 2019 Google LLC.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// This file contains stub messages for common resources in GCP.
+// It is not intended to be directly generated, and is instead used by
+// other tooling to be able to match common resource patterns.
+syntax = "proto3";
+
+package google.cloud;
+
+import "google/api/resource.proto";
+
+
+option (google.api.resource_definition) = {
+ type: "cloudresourcemanager.googleapis.com/Project"
+ pattern: "projects/{project}"
+};
+
+
+option (google.api.resource_definition) = {
+ type: "cloudresourcemanager.googleapis.com/Organization"
+ pattern: "organizations/{organization}"
+};
+
+
+option (google.api.resource_definition) = {
+ type: "cloudresourcemanager.googleapis.com/Folder"
+ pattern: "folders/{folder}"
+};
+
+
+option (google.api.resource_definition) = {
+ type: "cloudbilling.googleapis.com/BillingAccount"
+ pattern: "billingAccounts/{billing_account}"
+};
+
+option (google.api.resource_definition) = {
+ type: "locations.googleapis.com/Location"
+ pattern: "projects/{project}/locations/{location}"
+};
+
diff --git a/packages/google-cloud-tasks/protos/google/cloud/tasks/v2/cloudtasks.proto b/packages/google-cloud-tasks/protos/google/cloud/tasks/v2/cloudtasks.proto
new file mode 100644
index 00000000000..d30aae519a8
--- /dev/null
+++ b/packages/google-cloud-tasks/protos/google/cloud/tasks/v2/cloudtasks.proto
@@ -0,0 +1,655 @@
+// Copyright 2019 Google LLC.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+syntax = "proto3";
+
+package google.cloud.tasks.v2;
+
+import "google/api/annotations.proto";
+import "google/api/client.proto";
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
+import "google/cloud/tasks/v2/queue.proto";
+import "google/cloud/tasks/v2/task.proto";
+import "google/iam/v1/iam_policy.proto";
+import "google/iam/v1/policy.proto";
+import "google/protobuf/empty.proto";
+import "google/protobuf/field_mask.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/tasks/v2;tasks";
+option java_multiple_files = true;
+option java_outer_classname = "CloudTasksProto";
+option java_package = "com.google.cloud.tasks.v2";
+option objc_class_prefix = "TASKS";
+
+// Cloud Tasks allows developers to manage the execution of background
+// work in their applications.
+service CloudTasks {
+ option (google.api.default_host) = "cloudtasks.googleapis.com";
+ option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";
+
+ // Lists queues.
+ //
+ // Queues are returned in lexicographical order.
+ rpc ListQueues(ListQueuesRequest) returns (ListQueuesResponse) {
+ option (google.api.http) = {
+ get: "/v2/{parent=projects/*/locations/*}/queues"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Gets a queue.
+ rpc GetQueue(GetQueueRequest) returns (Queue) {
+ option (google.api.http) = {
+ get: "/v2/{name=projects/*/locations/*/queues/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Creates a queue.
+ //
+ // Queues created with this method allow tasks to live for a maximum of 31
+ // days. After a task is 31 days old, the task will be deleted regardless of whether
+ // it was dispatched or not.
+ //
+ // WARNING: Using this method may have unintended side effects if you are
+ // using an App Engine `queue.yaml` or `queue.xml` file to manage your queues.
+ // Read
+ // [Overview of Queue Management and
+ // queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using
+ // this method.
+ rpc CreateQueue(CreateQueueRequest) returns (Queue) {
+ option (google.api.http) = {
+ post: "/v2/{parent=projects/*/locations/*}/queues"
+ body: "queue"
+ };
+ option (google.api.method_signature) = "parent,queue";
+ }
+
+ // Updates a queue.
+ //
+ // This method creates the queue if it does not exist and updates
+ // the queue if it does exist.
+ //
+ // Queues created with this method allow tasks to live for a maximum of 31
+ // days. After a task is 31 days old, the task will be deleted regardless of whether
+ // it was dispatched or not.
+ //
+ // WARNING: Using this method may have unintended side effects if you are
+ // using an App Engine `queue.yaml` or `queue.xml` file to manage your queues.
+ // Read
+ // [Overview of Queue Management and
+ // queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using
+ // this method.
+ rpc UpdateQueue(UpdateQueueRequest) returns (Queue) {
+ option (google.api.http) = {
+ patch: "/v2/{queue.name=projects/*/locations/*/queues/*}"
+ body: "queue"
+ };
+ option (google.api.method_signature) = "queue,update_mask";
+ }
+
+ // Deletes a queue.
+ //
+ // This command will delete the queue even if it has tasks in it.
+ //
+ // Note: If you delete a queue, a queue with the same name can't be created
+ // for 7 days.
+ //
+ // WARNING: Using this method may have unintended side effects if you are
+ // using an App Engine `queue.yaml` or `queue.xml` file to manage your queues.
+ // Read
+ // [Overview of Queue Management and
+ // queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using
+ // this method.
+ rpc DeleteQueue(DeleteQueueRequest) returns (google.protobuf.Empty) {
+ option (google.api.http) = {
+ delete: "/v2/{name=projects/*/locations/*/queues/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Purges a queue by deleting all of its tasks.
+ //
+ // All tasks created before this method is called are permanently deleted.
+ //
+ // Purge operations can take up to one minute to take effect. Tasks
+ // might be dispatched before the purge takes effect. A purge is irreversible.
+ rpc PurgeQueue(PurgeQueueRequest) returns (Queue) {
+ option (google.api.http) = {
+ post: "/v2/{name=projects/*/locations/*/queues/*}:purge"
+ body: "*"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Pauses the queue.
+ //
+ // If a queue is paused then the system will stop dispatching tasks
+ // until the queue is resumed via
+ // [ResumeQueue][google.cloud.tasks.v2.CloudTasks.ResumeQueue]. Tasks can still be added
+ // when the queue is paused. A queue is paused if its
+ // [state][google.cloud.tasks.v2.Queue.state] is [PAUSED][google.cloud.tasks.v2.Queue.State.PAUSED].
+ rpc PauseQueue(PauseQueueRequest) returns (Queue) {
+ option (google.api.http) = {
+ post: "/v2/{name=projects/*/locations/*/queues/*}:pause"
+ body: "*"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Resume a queue.
+ //
+ // This method resumes a queue after it has been
+ // [PAUSED][google.cloud.tasks.v2.Queue.State.PAUSED] or
+ // [DISABLED][google.cloud.tasks.v2.Queue.State.DISABLED]. The state of a queue is stored
+ // in the queue's [state][google.cloud.tasks.v2.Queue.state]; after calling this method it
+ // will be set to [RUNNING][google.cloud.tasks.v2.Queue.State.RUNNING].
+ //
+ // WARNING: Resuming many high-QPS queues at the same time can
+ // lead to target overloading. If you are resuming high-QPS
+ // queues, follow the 500/50/5 pattern described in
+ // [Managing Cloud Tasks Scaling
+ // Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
+ rpc ResumeQueue(ResumeQueueRequest) returns (Queue) {
+ option (google.api.http) = {
+ post: "/v2/{name=projects/*/locations/*/queues/*}:resume"
+ body: "*"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Gets the access control policy for a [Queue][google.cloud.tasks.v2.Queue].
+ // Returns an empty policy if the resource exists and does not have a policy
+ // set.
+ //
+ // Authorization requires the following
+ // [Google IAM](https://cloud.google.com/iam) permission on the specified
+ // resource parent:
+ //
+ // * `cloudtasks.queues.getIamPolicy`
+ rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) {
+ option (google.api.http) = {
+ post: "/v2/{resource=projects/*/locations/*/queues/*}:getIamPolicy"
+ body: "*"
+ };
+ option (google.api.method_signature) = "resource";
+ }
+
+ // Sets the access control policy for a [Queue][google.cloud.tasks.v2.Queue]. Replaces any existing
+ // policy.
+ //
+ // Note: The Cloud Console does not check queue-level IAM permissions yet.
+ // Project-level permissions are required to use the Cloud Console.
+ //
+ // Authorization requires the following
+ // [Google IAM](https://cloud.google.com/iam) permission on the specified
+ // resource parent:
+ //
+ // * `cloudtasks.queues.setIamPolicy`
+ rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) {
+ option (google.api.http) = {
+ post: "/v2/{resource=projects/*/locations/*/queues/*}:setIamPolicy"
+ body: "*"
+ };
+ option (google.api.method_signature) = "resource,policy";
+ }
+
+ // Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2.Queue].
+ // If the resource does not exist, this will return an empty set of
+ // permissions, not a [NOT_FOUND][google.rpc.Code.NOT_FOUND] error.
+ //
+ // Note: This operation is designed to be used for building permission-aware
+ // UIs and command-line tools, not for authorization checking. This operation
+ // may "fail open" without warning.
+ rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) {
+ option (google.api.http) = {
+ post: "/v2/{resource=projects/*/locations/*/queues/*}:testIamPermissions"
+ body: "*"
+ };
+ option (google.api.method_signature) = "resource,permissions";
+ }
+
+ // Lists the tasks in a queue.
+ //
+ // By default, only the [BASIC][google.cloud.tasks.v2.Task.View.BASIC] view is retrieved
+ // due to performance considerations;
+ // [response_view][google.cloud.tasks.v2.ListTasksRequest.response_view] controls the
+ // subset of information which is returned.
+ //
+ // The tasks may be returned in any order. The ordering may change at any
+ // time.
+ rpc ListTasks(ListTasksRequest) returns (ListTasksResponse) {
+ option (google.api.http) = {
+ get: "/v2/{parent=projects/*/locations/*/queues/*}/tasks"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Gets a task.
+ rpc GetTask(GetTaskRequest) returns (Task) {
+ option (google.api.http) = {
+ get: "/v2/{name=projects/*/locations/*/queues/*/tasks/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Creates a task and adds it to a queue.
+ //
+ // Tasks cannot be updated after creation; there is no UpdateTask command.
+ //
+ // * The maximum task size is 100KB.
+ rpc CreateTask(CreateTaskRequest) returns (Task) {
+ option (google.api.http) = {
+ post: "/v2/{parent=projects/*/locations/*/queues/*}/tasks"
+ body: "*"
+ };
+ option (google.api.method_signature) = "parent,task";
+ }
+
+ // Deletes a task.
+ //
+ // A task can be deleted if it is scheduled or dispatched. A task
+ // cannot be deleted if it has executed successfully or permanently
+ // failed.
+ rpc DeleteTask(DeleteTaskRequest) returns (google.protobuf.Empty) {
+ option (google.api.http) = {
+ delete: "/v2/{name=projects/*/locations/*/queues/*/tasks/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Forces a task to run now.
+ //
+ // When this method is called, Cloud Tasks will dispatch the task, even if
+ // the task is already running, the queue has reached its [RateLimits][google.cloud.tasks.v2.RateLimits] or
+ // is [PAUSED][google.cloud.tasks.v2.Queue.State.PAUSED].
+ //
+ // This command is meant to be used for manual debugging. For
+ // example, [RunTask][google.cloud.tasks.v2.CloudTasks.RunTask] can be used to retry a failed
+ // task after a fix has been made or to manually force a task to be
+ // dispatched now.
+ //
+ // The dispatched task is returned. That is, the task that is returned
+ // contains the [status][Task.status] after the task is dispatched but
+ // before the task is received by its target.
+ //
+ // If Cloud Tasks receives a successful response from the task's
+ // target, then the task will be deleted; otherwise the task's
+ // [schedule_time][google.cloud.tasks.v2.Task.schedule_time] will be reset to the time that
+ // [RunTask][google.cloud.tasks.v2.CloudTasks.RunTask] was called plus the retry delay specified
+ // in the queue's [RetryConfig][google.cloud.tasks.v2.RetryConfig].
+ //
+ // [RunTask][google.cloud.tasks.v2.CloudTasks.RunTask] returns
+ // [NOT_FOUND][google.rpc.Code.NOT_FOUND] when it is called on a
+ // task that has already succeeded or permanently failed.
+ rpc RunTask(RunTaskRequest) returns (Task) {
+ option (google.api.http) = {
+ post: "/v2/{name=projects/*/locations/*/queues/*/tasks/*}:run"
+ body: "*"
+ };
+ option (google.api.method_signature) = "name";
+ }
+}
+
+// Request message for [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues].
+message ListQueuesRequest {
+ // Required. The location name.
+ // For example: `projects/PROJECT_ID/locations/LOCATION_ID`
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "cloudtasks.googleapis.com/Queue"
+ }
+ ];
+
+ // `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue]
+ // field can be used as a filter and several operators as supported.
+ // For example: `<=, <, >=, >, !=, =, :`. The filter syntax is the same as
+ // described in
+ // [Stackdriver's Advanced Logs
+ // Filters](https://cloud.google.com/logging/docs/view/advanced_filters).
+ //
+ // Sample filter "state: PAUSED".
+ //
+ // Note that using filters might cause fewer queues than the
+ // requested page_size to be returned.
+ string filter = 2;
+
+ // Requested page size.
+ //
+ // The maximum page size is 9800. If unspecified, the page size will
+ // be the maximum. Fewer queues than requested might be returned,
+ // even if more queues exist; use the
+ // [next_page_token][google.cloud.tasks.v2.ListQueuesResponse.next_page_token] in the
+ // response to determine if more queues exist.
+ int32 page_size = 3;
+
+ // A token identifying the page of results to return.
+ //
+ // To request the first page results, page_token must be empty. To
+ // request the next page of results, page_token must be the value of
+ // [next_page_token][google.cloud.tasks.v2.ListQueuesResponse.next_page_token] returned
+ // from the previous call to [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues]
+ // method. It is an error to switch the value of the
+ // [filter][google.cloud.tasks.v2.ListQueuesRequest.filter] while iterating through pages.
+ string page_token = 4;
+}
+
+// Response message for [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues].
+message ListQueuesResponse {
+ // The list of queues.
+ repeated Queue queues = 1;
+
+ // A token to retrieve next page of results.
+ //
+ // To return the next page of results, call
+ // [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues] with this value as the
+ // [page_token][google.cloud.tasks.v2.ListQueuesRequest.page_token].
+ //
+ // If the next_page_token is empty, there are no more results.
+ //
+ // The page token is valid for only 2 hours.
+ string next_page_token = 2;
+}
+
+// Request message for [GetQueue][google.cloud.tasks.v2.CloudTasks.GetQueue].
+message GetQueueRequest {
+ // Required. The resource name of the queue. For example:
+ // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "cloudtasks.googleapis.com/Queue"
+ }
+ ];
+}
+
+// Request message for [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue].
+message CreateQueueRequest {
+ // Required. The location name in which the queue will be created.
+ // For example: `projects/PROJECT_ID/locations/LOCATION_ID`
+ //
+ // The list of allowed locations can be obtained by calling Cloud
+ // Tasks' implementation of
+ // [ListLocations][google.cloud.location.Locations.ListLocations].
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "cloudtasks.googleapis.com/Queue"
+ }
+ ];
+
+ // Required. The queue to create.
+ //
+ // [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue.
+ Queue queue = 2 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request message for [UpdateQueue][google.cloud.tasks.v2.CloudTasks.UpdateQueue].
+message UpdateQueueRequest {
+ // Required. The queue to create or update.
+ //
+ // The queue's [name][google.cloud.tasks.v2.Queue.name] must be specified.
+ //
+ // Output only fields cannot be modified using UpdateQueue.
+ // Any value specified for an output only field will be ignored.
+ // The queue's [name][google.cloud.tasks.v2.Queue.name] cannot be changed.
+ Queue queue = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // A mask used to specify which fields of the queue are being updated.
+ //
+ // If empty, then all fields will be updated.
+ google.protobuf.FieldMask update_mask = 2;
+}
+
+// Request message for [DeleteQueue][google.cloud.tasks.v2.CloudTasks.DeleteQueue].
+message DeleteQueueRequest {
+ // Required. The queue name. For example:
+ // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "cloudtasks.googleapis.com/Queue"
+ }
+ ];
+}
+
+// Request message for [PurgeQueue][google.cloud.tasks.v2.CloudTasks.PurgeQueue].
+message PurgeQueueRequest {
+ // Required. The queue name. For example:
+ // `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "cloudtasks.googleapis.com/Queue"
+ }
+ ];
+}
+
+// Request message for [PauseQueue][google.cloud.tasks.v2.CloudTasks.PauseQueue].
+message PauseQueueRequest {
+ // Required. The queue name. For example:
+ // `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "cloudtasks.googleapis.com/Queue"
+ }
+ ];
+}
+
+// Request message for [ResumeQueue][google.cloud.tasks.v2.CloudTasks.ResumeQueue].
+message ResumeQueueRequest {
+ // Required. The queue name. For example:
+ // `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "cloudtasks.googleapis.com/Queue"
+ }
+ ];
+}
+
+// Request message for listing tasks using [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks].
+message ListTasksRequest {
+ // Required. The queue name. For example:
+ // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "cloudtasks.googleapis.com/Task"
+ }
+ ];
+
+ // The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
+ // returned.
+ //
+ // By default response_view is [BASIC][google.cloud.tasks.v2.Task.View.BASIC]; not all
+ // information is retrieved by default because some data, such as
+ // payloads, might be desirable to return only when needed because
+ // of its large size or because of the sensitivity of data that it
+ // contains.
+ //
+ // Authorization for [FULL][google.cloud.tasks.v2.Task.View.FULL] requires
+ // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+ // permission on the [Task][google.cloud.tasks.v2.Task] resource.
+ Task.View response_view = 2;
+
+ // Maximum page size.
+ //
+ // Fewer tasks than requested might be returned, even if more tasks exist; use
+ // [next_page_token][google.cloud.tasks.v2.ListTasksResponse.next_page_token] in the response to
+ // determine if more tasks exist.
+ //
+ // The maximum page size is 1000. If unspecified, the page size will be the
+ // maximum.
+ int32 page_size = 3;
+
+ // A token identifying the page of results to return.
+ //
+ // To request the first page results, page_token must be empty. To
+ // request the next page of results, page_token must be the value of
+ // [next_page_token][google.cloud.tasks.v2.ListTasksResponse.next_page_token] returned
+ // from the previous call to [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks]
+ // method.
+ //
+ // The page token is valid for only 2 hours.
+ string page_token = 4;
+}
+
+// Response message for listing tasks using [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks].
+message ListTasksResponse {
+ // The list of tasks.
+ repeated Task tasks = 1;
+
+ // A token to retrieve next page of results.
+ //
+ // To return the next page of results, call
+ // [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks] with this value as the
+ // [page_token][google.cloud.tasks.v2.ListTasksRequest.page_token].
+ //
+ // If the next_page_token is empty, there are no more results.
+ string next_page_token = 2;
+}
+
+// Request message for getting a task using [GetTask][google.cloud.tasks.v2.CloudTasks.GetTask].
+message GetTaskRequest {
+ // Required. The task name. For example:
+ // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "cloudtasks.googleapis.com/Task"
+ }
+ ];
+
+ // The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
+ // returned.
+ //
+ // By default response_view is [BASIC][google.cloud.tasks.v2.Task.View.BASIC]; not all
+ // information is retrieved by default because some data, such as
+ // payloads, might be desirable to return only when needed because
+ // of its large size or because of the sensitivity of data that it
+ // contains.
+ //
+ // Authorization for [FULL][google.cloud.tasks.v2.Task.View.FULL] requires
+ // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+ // permission on the [Task][google.cloud.tasks.v2.Task] resource.
+ Task.View response_view = 2;
+}
+
+// Request message for [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
+message CreateTaskRequest {
+ // Required. The queue name. For example:
+ // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+ //
+ // The queue must already exist.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "cloudtasks.googleapis.com/Task"
+ }
+ ];
+
+ // Required. The task to add.
+ //
+ // Task names have the following format:
+ // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`.
+ // The user can optionally specify a task [name][google.cloud.tasks.v2.Task.name]. If a
+ // name is not specified then the system will generate a random
+ // unique task id, which will be set in the task returned in the
+ // [response][google.cloud.tasks.v2.Task.name].
+ //
+ // If [schedule_time][google.cloud.tasks.v2.Task.schedule_time] is not set or is in the
+ // past then Cloud Tasks will set it to the current time.
+ //
+ // Task De-duplication:
+ //
+ // Explicitly specifying a task ID enables task de-duplication. If
+ // a task's ID is identical to that of an existing task or a task
+ // that was deleted or executed recently then the call will fail
+ // with [ALREADY_EXISTS][google.rpc.Code.ALREADY_EXISTS].
+ // If the task's queue was created using Cloud Tasks, then another task with
+ // the same name can't be created for ~1hour after the original task was
+ // deleted or executed. If the task's queue was created using queue.yaml or
+ // queue.xml, then another task with the same name can't be created
+ // for ~9days after the original task was deleted or executed.
+ //
+ // Because there is an extra lookup cost to identify duplicate task
+ // names, these [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask] calls have significantly
+ // increased latency. Using hashed strings for the task id or for
+ // the prefix of the task id is recommended. Choosing task ids that
+ // are sequential or have sequential prefixes, for example using a
+ // timestamp, causes an increase in latency and error rates in all
+ // task commands. The infrastructure relies on an approximately
+ // uniform distribution of task ids to store and serve tasks
+ // efficiently.
+ Task task = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
+ // returned.
+ //
+ // By default response_view is [BASIC][google.cloud.tasks.v2.Task.View.BASIC]; not all
+ // information is retrieved by default because some data, such as
+ // payloads, might be desirable to return only when needed because
+ // of its large size or because of the sensitivity of data that it
+ // contains.
+ //
+ // Authorization for [FULL][google.cloud.tasks.v2.Task.View.FULL] requires
+ // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+ // permission on the [Task][google.cloud.tasks.v2.Task] resource.
+ Task.View response_view = 3;
+}
+
+// Request message for deleting a task using
+// [DeleteTask][google.cloud.tasks.v2.CloudTasks.DeleteTask].
+message DeleteTaskRequest {
+ // Required. The task name. For example:
+ // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "cloudtasks.googleapis.com/Task"
+ }
+ ];
+}
+
+// Request message for forcing a task to run now using
+// [RunTask][google.cloud.tasks.v2.CloudTasks.RunTask].
+message RunTaskRequest {
+ // Required. The task name. For example:
+ // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "cloudtasks.googleapis.com/Task"
+ }
+ ];
+
+ // The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be
+ // returned.
+ //
+ // By default response_view is [BASIC][google.cloud.tasks.v2.Task.View.BASIC]; not all
+ // information is retrieved by default because some data, such as
+ // payloads, might be desirable to return only when needed because
+ // of its large size or because of the sensitivity of data that it
+ // contains.
+ //
+ // Authorization for [FULL][google.cloud.tasks.v2.Task.View.FULL] requires
+ // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+ // permission on the [Task][google.cloud.tasks.v2.Task] resource.
+ Task.View response_view = 2;
+}
diff --git a/packages/google-cloud-tasks/protos/google/cloud/tasks/v2/queue.proto b/packages/google-cloud-tasks/protos/google/cloud/tasks/v2/queue.proto
new file mode 100644
index 00000000000..3de39792590
--- /dev/null
+++ b/packages/google-cloud-tasks/protos/google/cloud/tasks/v2/queue.proto
@@ -0,0 +1,360 @@
+// Copyright 2019 Google LLC.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+syntax = "proto3";
+
+package google.cloud.tasks.v2;
+
+import "google/api/resource.proto";
+import "google/cloud/tasks/v2/target.proto";
+import "google/protobuf/duration.proto";
+import "google/protobuf/timestamp.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/tasks/v2;tasks";
+option java_multiple_files = true;
+option java_outer_classname = "QueueProto";
+option java_package = "com.google.cloud.tasks.v2";
+
+// A queue is a container of related tasks. Queues are configured to manage
+// how those tasks are dispatched. Configurable properties include rate limits,
+// retry options, queue types, and others.
+message Queue {
+ option (google.api.resource) = {
+ type: "cloudtasks.googleapis.com/Queue"
+ pattern: "projects/{project}/locations/{location}/queues/{queue}"
+ };
+
+ // State of the queue.
+ enum State {
+ // Unspecified state.
+ STATE_UNSPECIFIED = 0;
+
+ // The queue is running. Tasks can be dispatched.
+ //
+ // If the queue was created using Cloud Tasks and the queue has
+ // had no activity (method calls or task dispatches) for 30 days,
+ // the queue may take a few minutes to re-activate. Some method
+ // calls may return [NOT_FOUND][google.rpc.Code.NOT_FOUND] and
+ // tasks may not be dispatched for a few minutes until the queue
+ // has been re-activated.
+ RUNNING = 1;
+
+ // Tasks are paused by the user. If the queue is paused then Cloud
+ // Tasks will stop delivering tasks from it, but more tasks can
+ // still be added to it by the user.
+ PAUSED = 2;
+
+ // The queue is disabled.
+ //
+ // A queue becomes `DISABLED` when
+ // [queue.yaml](https://cloud.google.com/appengine/docs/python/config/queueref)
+ // or
+ // [queue.xml](https://cloud.google.com/appengine/docs/standard/java/config/queueref)
+ // is uploaded which does not contain the queue. You cannot directly disable
+ // a queue.
+ //
+ // When a queue is disabled, tasks can still be added to a queue
+ // but the tasks are not dispatched.
+ //
+ // To permanently delete this queue and all of its tasks, call
+ // [DeleteQueue][google.cloud.tasks.v2.CloudTasks.DeleteQueue].
+ DISABLED = 3;
+ }
+
+ // Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue],
+ // after which it becomes output only.
+ //
+ // The queue name.
+ //
+ // The queue name must have the following format:
+ // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+ //
+ // * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]),
+ // hyphens (-), colons (:), or periods (.).
+ // For more information, see
+ // [Identifying
+ // projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects)
+ // * `LOCATION_ID` is the canonical ID for the queue's location.
+ // The list of available locations can be obtained by calling
+ // [ListLocations][google.cloud.location.Locations.ListLocations].
+ // For more information, see https://cloud.google.com/about/locations/.
+ // * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or
+ // hyphens (-). The maximum length is 100 characters.
+ string name = 1;
+
+ // Overrides for
+ // [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
+ // These settings apply only to
+ // [App Engine tasks][google.cloud.tasks.v2.AppEngineHttpRequest] in this queue.
+ // [Http tasks][google.cloud.tasks.v2.HttpRequest] are not affected.
+ //
+ // If set, `app_engine_routing_override` is used for all
+ // [App Engine tasks][google.cloud.tasks.v2.AppEngineHttpRequest] in the queue, no matter what the
+ // setting is for the
+ // [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing].
+ AppEngineRouting app_engine_routing_override = 2;
+
+ // Rate limits for task dispatches.
+ //
+ // [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are
+ // related because they both control task attempts. However they control task
+ // attempts in different ways:
+ //
+ // * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] controls the total rate of
+ // dispatches from a queue (i.e. all traffic dispatched from the
+ // queue, regardless of whether the dispatch is from a first
+ // attempt or a retry).
+ // * [retry_config][google.cloud.tasks.v2.Queue.retry_config] controls what happens to
+ // particular a task after its first attempt fails. That is,
+ // [retry_config][google.cloud.tasks.v2.Queue.retry_config] controls task retries (the
+ // second attempt, third attempt, etc).
+ //
+ // The queue's actual dispatch rate is the result of:
+ //
+ // * Number of tasks in the queue
+ // * User-specified throttling: [rate_limits][google.cloud.tasks.v2.Queue.rate_limits],
+ // [retry_config][google.cloud.tasks.v2.Queue.retry_config], and the
+ // [queue's state][google.cloud.tasks.v2.Queue.state].
+ // * System throttling due to `429` (Too Many Requests) or `503` (Service
+ // Unavailable) responses from the worker, high error rates, or to smooth
+ // sudden large traffic spikes.
+ RateLimits rate_limits = 3;
+
+ // Settings that determine the retry behavior.
+ //
+ // * For tasks created using Cloud Tasks: the queue-level retry settings
+ // apply to all tasks in the queue that were created using Cloud Tasks.
+ // Retry settings cannot be set on individual tasks.
+ // * For tasks created using the App Engine SDK: the queue-level retry
+ // settings apply to all tasks in the queue which do not have retry settings
+ // explicitly set on the task and were created by the App Engine SDK. See
+ // [App Engine
+ // documentation](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/retrying-tasks).
+ RetryConfig retry_config = 4;
+
+ // Output only. The state of the queue.
+ //
+ // `state` can only be changed by called
+ // [PauseQueue][google.cloud.tasks.v2.CloudTasks.PauseQueue],
+ // [ResumeQueue][google.cloud.tasks.v2.CloudTasks.ResumeQueue], or uploading
+ // [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref).
+ // [UpdateQueue][google.cloud.tasks.v2.CloudTasks.UpdateQueue] cannot be used to change `state`.
+ State state = 5;
+
+ // Output only. The last time this queue was purged.
+ //
+ // All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time
+ // were purged.
+ //
+ // A queue can be purged using [PurgeQueue][google.cloud.tasks.v2.CloudTasks.PurgeQueue], the
+ // [App Engine Task Queue SDK, or the Cloud
+ // Console](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue).
+ //
+ // Purge time will be truncated to the nearest microsecond. Purge
+ // time will be unset if the queue has never been purged.
+ google.protobuf.Timestamp purge_time = 6;
+
+ // Configuration options for writing logs to
+ // [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
+ // field is unset, then no logs are written.
+ StackdriverLoggingConfig stackdriver_logging_config = 9;
+}
+
+// Rate limits.
+//
+// This message determines the maximum rate that tasks can be dispatched by a
+// queue, regardless of whether the dispatch is a first task attempt or a retry.
+//
+// Note: The debugging command, [RunTask][google.cloud.tasks.v2.CloudTasks.RunTask], will run a task
+// even if the queue has reached its [RateLimits][google.cloud.tasks.v2.RateLimits].
+message RateLimits {
+ // The maximum rate at which tasks are dispatched from this queue.
+ //
+ // If unspecified when the queue is created, Cloud Tasks will pick the
+ // default.
+ //
+ // * The maximum allowed value is 500.
+ //
+ //
+ // This field has the same meaning as
+ // [rate in
+ // queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#rate).
+ double max_dispatches_per_second = 1;
+
+ // Output only. The max burst size.
+ //
+ // Max burst size limits how fast tasks in queue are processed when
+ // many tasks are in the queue and the rate is high. This field
+ // allows the queue to have a high rate so processing starts shortly
+ // after a task is enqueued, but still limits resource usage when
+ // many tasks are enqueued in a short period of time.
+ //
+ // The [token bucket](https://wikipedia.org/wiki/Token_Bucket)
+ // algorithm is used to control the rate of task dispatches. Each
+ // queue has a token bucket that holds tokens, up to the maximum
+ // specified by `max_burst_size`. Each time a task is dispatched, a
+ // token is removed from the bucket. Tasks will be dispatched until
+ // the queue's bucket runs out of tokens. The bucket will be
+ // continuously refilled with new tokens based on
+ // [max_dispatches_per_second][google.cloud.tasks.v2.RateLimits.max_dispatches_per_second].
+ //
+ // Cloud Tasks will pick the value of `max_burst_size` based on the
+ // value of
+ // [max_dispatches_per_second][google.cloud.tasks.v2.RateLimits.max_dispatches_per_second].
+ //
+ // For queues that were created or updated using
+ // `queue.yaml/xml`, `max_burst_size` is equal to
+ // [bucket_size](https://cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size).
+ // Since `max_burst_size` is output only, if
+ // [UpdateQueue][google.cloud.tasks.v2.CloudTasks.UpdateQueue] is called on a queue
+ // created by `queue.yaml/xml`, `max_burst_size` will be reset based
+ // on the value of
+ // [max_dispatches_per_second][google.cloud.tasks.v2.RateLimits.max_dispatches_per_second],
+ // regardless of whether
+ // [max_dispatches_per_second][google.cloud.tasks.v2.RateLimits.max_dispatches_per_second]
+ // is updated.
+ //
+ int32 max_burst_size = 2;
+
+ // The maximum number of concurrent tasks that Cloud Tasks allows
+ // to be dispatched for this queue. After this threshold has been
+ // reached, Cloud Tasks stops dispatching tasks until the number of
+ // concurrent requests decreases.
+ //
+ // If unspecified when the queue is created, Cloud Tasks will pick the
+ // default.
+ //
+ //
+ // The maximum allowed value is 5,000.
+ //
+ //
+ // This field has the same meaning as
+ // [max_concurrent_requests in
+ // queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#max_concurrent_requests).
+ int32 max_concurrent_dispatches = 3;
+}
+
+// Retry config.
+//
+// These settings determine when a failed task attempt is retried.
+message RetryConfig {
+ // Number of attempts per task.
+ //
+ // Cloud Tasks will attempt the task `max_attempts` times (that is, if the
+ // first attempt fails, then there will be `max_attempts - 1` retries). Must
+ // be >= -1.
+ //
+ // If unspecified when the queue is created, Cloud Tasks will pick the
+ // default.
+ //
+ // -1 indicates unlimited attempts.
+ //
+ // This field has the same meaning as
+ // [task_retry_limit in
+ // queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
+ int32 max_attempts = 1;
+
+ // If positive, `max_retry_duration` specifies the time limit for
+ // retrying a failed task, measured from when the task was first
+ // attempted. Once `max_retry_duration` time has passed *and* the
+ // task has been attempted [max_attempts][google.cloud.tasks.v2.RetryConfig.max_attempts]
+ // times, no further attempts will be made and the task will be
+ // deleted.
+ //
+ // If zero, then the task age is unlimited.
+ //
+ // If unspecified when the queue is created, Cloud Tasks will pick the
+ // default.
+ //
+ //
+ // `max_retry_duration` will be truncated to the nearest second.
+ //
+ // This field has the same meaning as
+ // [task_age_limit in
+ // queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
+ google.protobuf.Duration max_retry_duration = 2;
+
+ // A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
+ // [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
+ // [max_backoff][google.cloud.tasks.v2.RetryConfig.max_backoff] duration after it fails,
+ // if the queue's [RetryConfig][google.cloud.tasks.v2.RetryConfig] specifies that the task should be
+ // retried.
+ //
+ // If unspecified when the queue is created, Cloud Tasks will pick the
+ // default.
+ //
+ //
+ // `min_backoff` will be truncated to the nearest second.
+ //
+ // This field has the same meaning as
+ // [min_backoff_seconds in
+ // queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
+ google.protobuf.Duration min_backoff = 3;
+
+ // A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between
+ // [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and
+ // [max_backoff][google.cloud.tasks.v2.RetryConfig.max_backoff] duration after it fails,
+ // if the queue's [RetryConfig][google.cloud.tasks.v2.RetryConfig] specifies that the task should be
+ // retried.
+ //
+ // If unspecified when the queue is created, Cloud Tasks will pick the
+ // default.
+ //
+ //
+ // `max_backoff` will be truncated to the nearest second.
+ //
+ // This field has the same meaning as
+ // [max_backoff_seconds in
+ // queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
+ google.protobuf.Duration max_backoff = 4;
+
+ // The time between retries will double `max_doublings` times.
+ //
+ // A task's retry interval starts at
+ // [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff], then doubles
+ // `max_doublings` times, then increases linearly, and finally
+ // retries retries at intervals of
+ // [max_backoff][google.cloud.tasks.v2.RetryConfig.max_backoff] up to
+ // [max_attempts][google.cloud.tasks.v2.RetryConfig.max_attempts] times.
+ //
+ // For example, if [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] is 10s,
+ // [max_backoff][google.cloud.tasks.v2.RetryConfig.max_backoff] is 300s, and
+ // `max_doublings` is 3, then the a task will first be retried in
+ // 10s. The retry interval will double three times, and then
+ // increase linearly by 2^3 * 10s. Finally, the task will retry at
+ // intervals of [max_backoff][google.cloud.tasks.v2.RetryConfig.max_backoff] until the
+ // task has been attempted [max_attempts][google.cloud.tasks.v2.RetryConfig.max_attempts]
+ // times. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s,
+ // 240s, 300s, 300s, ....
+ //
+ // If unspecified when the queue is created, Cloud Tasks will pick the
+ // default.
+ //
+ //
+ // This field has the same meaning as
+ // [max_doublings in
+ // queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
+ int32 max_doublings = 5;
+}
+
+// Configuration options for writing logs to
+// [Stackdriver Logging](https://cloud.google.com/logging/docs/).
+message StackdriverLoggingConfig {
+ // Specifies the fraction of operations to write to
+ // [Stackdriver Logging](https://cloud.google.com/logging/docs/).
+ // This field may contain any value between 0.0 and 1.0, inclusive.
+ // 0.0 is the default and means that no operations are logged.
+ double sampling_ratio = 1;
+}
diff --git a/packages/google-cloud-tasks/protos/google/cloud/tasks/v2/target.proto b/packages/google-cloud-tasks/protos/google/cloud/tasks/v2/target.proto
new file mode 100644
index 00000000000..db7ef20f60f
--- /dev/null
+++ b/packages/google-cloud-tasks/protos/google/cloud/tasks/v2/target.proto
@@ -0,0 +1,423 @@
+// Copyright 2019 Google LLC.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+syntax = "proto3";
+
+package google.cloud.tasks.v2;
+
+import "google/api/field_behavior.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/tasks/v2;tasks";
+option java_multiple_files = true;
+option java_outer_classname = "TargetProto";
+option java_package = "com.google.cloud.tasks.v2";
+
+// HTTP request.
+//
+// The task will be pushed to the worker as an HTTP request. If the worker
+// or the redirected worker acknowledges the task by returning a successful HTTP
+// response code ([`200` - `299`]), the task will be removed from the queue. If
+// any other HTTP response code is returned or no response is received, the
+// task will be retried according to the following:
+//
+// * User-specified throttling: [retry configuration][google.cloud.tasks.v2.Queue.retry_config],
+// [rate limits][google.cloud.tasks.v2.Queue.rate_limits], and the [queue's state][google.cloud.tasks.v2.Queue.state].
+//
+// * System throttling: To prevent the worker from overloading, Cloud Tasks may
+// temporarily reduce the queue's effective rate. User-specified settings
+// will not be changed.
+//
+// System throttling happens because:
+//
+// * Cloud Tasks backs off on all errors. Normally the backoff specified in
+// [rate limits][google.cloud.tasks.v2.Queue.rate_limits] will be used. But if the worker returns
+// `429` (Too Many Requests), `503` (Service Unavailable), or the rate of
+// errors is high, Cloud Tasks will use a higher backoff rate. The retry
+// specified in the `Retry-After` HTTP response header is considered.
+//
+// * To prevent traffic spikes and to smooth sudden increases in traffic,
+// dispatches ramp up slowly when the queue is newly created or idle and
+// if large numbers of tasks suddenly become available to dispatch (due to
+// spikes in create task rates, the queue being unpaused, or many tasks
+// that are scheduled at the same time).
+message HttpRequest {
+ // Required. The full url path that the request will be sent to.
+ //
+ // This string must begin with either "http://" or "https://". Some examples
+ // are: `http://acme.com` and `https://acme.com/sales:8080`. Cloud Tasks will
+ // encode some characters for safety and compatibility. The maximum allowed
+ // URL length is 2083 characters after encoding.
+ //
+ // The `Location` header response from a redirect response [`300` - `399`]
+ // may be followed. The redirect is not counted as a separate attempt.
+ string url = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // The HTTP method to use for the request. The default is POST.
+ HttpMethod http_method = 2;
+
+ // HTTP request headers.
+ //
+ // This map contains the header field names and values.
+ // Headers can be set when the
+ // [task is created][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
+ //
+ // These headers represent a subset of the headers that will accompany the
+ // task's HTTP request. Some HTTP request headers will be ignored or replaced.
+ //
+ // A partial list of headers that will be ignored or replaced is:
+ //
+ // * Host: This will be computed by Cloud Tasks and derived from
+ // [HttpRequest.url][google.cloud.tasks.v2.HttpRequest.url].
+ // * Content-Length: This will be computed by Cloud Tasks.
+ // * User-Agent: This will be set to `"Google-Cloud-Tasks"`.
+ // * `X-Google-*`: Google use only.
+ // * `X-AppEngine-*`: Google use only.
+ //
+ // `Content-Type` won't be set by Cloud Tasks. You can explicitly set
+ // `Content-Type` to a media type when the
+ // [task is created][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
+ // For example, `Content-Type` can be set to `"application/octet-stream"` or
+ // `"application/json"`.
+ //
+ // Headers which can have multiple values (according to RFC2616) can be
+ // specified using comma-separated values.
+ //
+ // The size of the headers must be less than 80KB.
+ map headers = 3;
+
+ // HTTP request body.
+ //
+ // A request body is allowed only if the
+ // [HTTP method][google.cloud.tasks.v2.HttpRequest.http_method] is POST, PUT, or PATCH. It is an
+ // error to set body on a task with an incompatible [HttpMethod][google.cloud.tasks.v2.HttpMethod].
+ bytes body = 4;
+
+ // The mode for generating an `Authorization` header for HTTP requests.
+ //
+ // If specified, all `Authorization` headers in the [HttpRequest.headers][google.cloud.tasks.v2.HttpRequest.headers]
+ // field will be overridden.
+ oneof authorization_header {
+ // If specified, an
+ // [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
+ // will be generated and attached as an `Authorization` header in the HTTP
+ // request.
+ //
+ // This type of authorization should generally only be used when calling
+ // Google APIs hosted on *.googleapis.com.
+ OAuthToken oauth_token = 5;
+
+ // If specified, an
+ // [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
+ // token will be generated and attached as an `Authorization` header in the
+ // HTTP request.
+ //
+ // This type of authorization can be used for many scenarios, including
+ // calling Cloud Run, or endpoints where you intend to validate the token
+ // yourself.
+ OidcToken oidc_token = 6;
+ }
+}
+
+// App Engine HTTP request.
+//
+// The message defines the HTTP request that is sent to an App Engine app when
+// the task is dispatched.
+//
+// Using [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] requires
+// [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control)
+// Google IAM permission for the project
+// and the following scope:
+//
+// `https://www.googleapis.com/auth/cloud-platform`
+//
+// The task will be delivered to the App Engine app which belongs to the same
+// project as the queue. For more information, see
+// [How Requests are
+// Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed)
+// and how routing is affected by
+// [dispatch
+// files](https://cloud.google.com/appengine/docs/python/config/dispatchref).
+// Traffic is encrypted during transport and never leaves Google datacenters.
+// Because this traffic is carried over a communication mechanism internal to
+// Google, you cannot explicitly set the protocol (for example, HTTP or HTTPS).
+// The request to the handler, however, will appear to have used the HTTP
+// protocol.
+//
+// The [AppEngineRouting][google.cloud.tasks.v2.AppEngineRouting] used to construct the URL that the task is
+// delivered to can be set at the queue-level or task-level:
+//
+// * If [app_engine_routing_override is set on the
+// queue][Queue.app_engine_routing_override], this value is used for all
+// tasks in the queue, no matter what the setting is for the [task-level
+// app_engine_routing][AppEngineHttpRequest.app_engine_routing].
+//
+//
+// The `url` that the task will be sent to is:
+//
+// * `url =` [host][google.cloud.tasks.v2.AppEngineRouting.host] `+`
+// [relative_uri][google.cloud.tasks.v2.AppEngineHttpRequest.relative_uri]
+//
+// Tasks can be dispatched to secure app handlers, unsecure app handlers, and
+// URIs restricted with
+// [`login:
+// admin`](https://cloud.google.com/appengine/docs/standard/python/config/appref).
+// Because tasks are not run as any user, they cannot be dispatched to URIs
+// restricted with
+// [`login:
+// required`](https://cloud.google.com/appengine/docs/standard/python/config/appref)
+// Task dispatches also do not follow redirects.
+//
+// The task attempt has succeeded if the app's request handler returns an HTTP
+// response code in the range [`200` - `299`]. The task attempt has failed if
+// the app's handler returns a non-2xx response code or Cloud Tasks does
+// not receive response before the [deadline][google.cloud.tasks.v2.Task.dispatch_deadline]. Failed
+// tasks will be retried according to the
+// [retry configuration][google.cloud.tasks.v2.Queue.retry_config]. `503` (Service Unavailable) is
+// considered an App Engine system error instead of an application error and
+// will cause Cloud Tasks' traffic congestion control to temporarily throttle
+// the queue's dispatches. Unlike other types of task targets, a `429` (Too Many
+// Requests) response from an app handler does not cause traffic congestion
+// control to throttle the queue.
+message AppEngineHttpRequest {
+ // The HTTP method to use for the request. The default is POST.
+ //
+ // The app's request handler for the task's target URL must be able to handle
+ // HTTP requests with this http_method, otherwise the task attempt will fail
+ // with error code 405 (Method Not Allowed). See
+ // [Writing a push task request
+ // handler](https://cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler)
+ // and the documentation for the request handlers in the language your app is
+ // written in e.g.
+ // [Python Request
+ // Handler](https://cloud.google.com/appengine/docs/python/tools/webapp/requesthandlerclass).
+ HttpMethod http_method = 1;
+
+ // Task-level setting for App Engine routing.
+ //
+ // * If [app_engine_routing_override is set on the
+ // queue][Queue.app_engine_routing_override], this value is used for all
+ // tasks in the queue, no matter what the setting is for the [task-level
+ // app_engine_routing][AppEngineHttpRequest.app_engine_routing].
+ AppEngineRouting app_engine_routing = 2;
+
+ // The relative URI.
+ //
+ // The relative URI must begin with "/" and must be a valid HTTP relative URI.
+ // It can contain a path and query string arguments.
+ // If the relative URI is empty, then the root path "/" will be used.
+ // No spaces are allowed, and the maximum length allowed is 2083 characters.
+ string relative_uri = 3;
+
+ // HTTP request headers.
+ //
+ // This map contains the header field names and values.
+ // Headers can be set when the
+ // [task is created][google.cloud.tasks.v2.CloudTasks.CreateTask].
+ // Repeated headers are not supported but a header value can contain commas.
+ //
+ // Cloud Tasks sets some headers to default values:
+ //
+ // * `User-Agent`: By default, this header is
+ // `"AppEngine-Google; (+http://code.google.com/appengine)"`.
+ // This header can be modified, but Cloud Tasks will append
+ // `"AppEngine-Google; (+http://code.google.com/appengine)"` to the
+ // modified `User-Agent`.
+ //
+ // If the task has a [body][google.cloud.tasks.v2.AppEngineHttpRequest.body], Cloud
+ // Tasks sets the following headers:
+ //
+ // * `Content-Type`: By default, the `Content-Type` header is set to
+ // `"application/octet-stream"`. The default can be overridden by explicitly
+ // setting `Content-Type` to a particular media type when the
+ // [task is created][google.cloud.tasks.v2.CloudTasks.CreateTask].
+ // For example, `Content-Type` can be set to `"application/json"`.
+ // * `Content-Length`: This is computed by Cloud Tasks. This value is
+ // output only. It cannot be changed.
+ //
+ // The headers below cannot be set or overridden:
+ //
+ // * `Host`
+ // * `X-Google-*`
+ // * `X-AppEngine-*`
+ //
+ // In addition, Cloud Tasks sets some headers when the task is dispatched,
+ // such as headers containing information about the task; see
+ // [request
+ // headers](https://cloud.google.com/tasks/docs/creating-appengine-handlers#reading_request_headers).
+ // These headers are set only when the task is dispatched, so they are not
+ // visible when the task is returned in a Cloud Tasks response.
+ //
+ // Although there is no specific limit for the maximum number of headers or
+ // the size, there is a limit on the maximum size of the [Task][google.cloud.tasks.v2.Task]. For more
+ // information, see the [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask] documentation.
+ map headers = 4;
+
+ // HTTP request body.
+ //
+ // A request body is allowed only if the HTTP method is POST or PUT. It is
+ // an error to set a body on a task with an incompatible [HttpMethod][google.cloud.tasks.v2.HttpMethod].
+ bytes body = 5;
+}
+
+// App Engine Routing.
+//
+// Defines routing characteristics specific to App Engine - service, version,
+// and instance.
+//
+// For more information about services, versions, and instances see
+// [An Overview of App
+// Engine](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine),
+// [Microservices Architecture on Google App
+// Engine](https://cloud.google.com/appengine/docs/python/microservices-on-app-engine),
+// [App Engine Standard request
+// routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed),
+// and [App Engine Flex request
+// routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed).
+//
+// Using [AppEngineRouting][google.cloud.tasks.v2.AppEngineRouting] requires
+// [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control)
+// Google IAM permission for the project
+// and the following scope:
+//
+// `https://www.googleapis.com/auth/cloud-platform`
+message AppEngineRouting {
+ // App service.
+ //
+ // By default, the task is sent to the service which is the default
+ // service when the task is attempted.
+ //
+ // For some queues or tasks which were created using the App Engine
+ // Task Queue API, [host][google.cloud.tasks.v2.AppEngineRouting.host] is not parsable
+ // into [service][google.cloud.tasks.v2.AppEngineRouting.service],
+ // [version][google.cloud.tasks.v2.AppEngineRouting.version], and
+ // [instance][google.cloud.tasks.v2.AppEngineRouting.instance]. For example, some tasks
+ // which were created using the App Engine SDK use a custom domain
+ // name; custom domains are not parsed by Cloud Tasks. If
+ // [host][google.cloud.tasks.v2.AppEngineRouting.host] is not parsable, then
+ // [service][google.cloud.tasks.v2.AppEngineRouting.service],
+ // [version][google.cloud.tasks.v2.AppEngineRouting.version], and
+ // [instance][google.cloud.tasks.v2.AppEngineRouting.instance] are the empty string.
+ string service = 1;
+
+ // App version.
+ //
+ // By default, the task is sent to the version which is the default
+ // version when the task is attempted.
+ //
+ // For some queues or tasks which were created using the App Engine
+ // Task Queue API, [host][google.cloud.tasks.v2.AppEngineRouting.host] is not parsable
+ // into [service][google.cloud.tasks.v2.AppEngineRouting.service],
+ // [version][google.cloud.tasks.v2.AppEngineRouting.version], and
+ // [instance][google.cloud.tasks.v2.AppEngineRouting.instance]. For example, some tasks
+ // which were created using the App Engine SDK use a custom domain
+ // name; custom domains are not parsed by Cloud Tasks. If
+ // [host][google.cloud.tasks.v2.AppEngineRouting.host] is not parsable, then
+ // [service][google.cloud.tasks.v2.AppEngineRouting.service],
+ // [version][google.cloud.tasks.v2.AppEngineRouting.version], and
+ // [instance][google.cloud.tasks.v2.AppEngineRouting.instance] are the empty string.
+ string version = 2;
+
+ // App instance.
+ //
+ // By default, the task is sent to an instance which is available when
+ // the task is attempted.
+ //
+ // Requests can only be sent to a specific instance if
+ // [manual scaling is used in App Engine
+ // Standard](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine?hl=en_US#scaling_types_and_instance_classes).
+ // App Engine Flex does not support instances. For more information, see
+ // [App Engine Standard request
+ // routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed)
+ // and [App Engine Flex request
+ // routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed).
+ string instance = 3;
+
+ // Output only. The host that the task is sent to.
+ //
+ // The host is constructed from the domain name of the app associated with
+ // the queue's project ID (for example .appspot.com), and the
+ // [service][google.cloud.tasks.v2.AppEngineRouting.service], [version][google.cloud.tasks.v2.AppEngineRouting.version],
+ // and [instance][google.cloud.tasks.v2.AppEngineRouting.instance]. Tasks which were created using
+ // the App Engine SDK might have a custom domain name.
+ //
+ // For more information, see
+ // [How Requests are
+ // Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed).
+ string host = 4;
+}
+
+// The HTTP method used to deliver the task.
+enum HttpMethod {
+ // HTTP method unspecified
+ HTTP_METHOD_UNSPECIFIED = 0;
+
+ // HTTP POST
+ POST = 1;
+
+ // HTTP GET
+ GET = 2;
+
+ // HTTP HEAD
+ HEAD = 3;
+
+ // HTTP PUT
+ PUT = 4;
+
+ // HTTP DELETE
+ DELETE = 5;
+
+ // HTTP PATCH
+ PATCH = 6;
+
+ // HTTP OPTIONS
+ OPTIONS = 7;
+}
+
+// Contains information needed for generating an
+// [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
+// This type of authorization should generally only be used when calling Google
+// APIs hosted on *.googleapis.com.
+message OAuthToken {
+ // [Service account email](https://cloud.google.com/iam/docs/service-accounts)
+ // to be used for generating OAuth token.
+ // The service account must be within the same project as the queue. The
+ // caller must have iam.serviceAccounts.actAs permission for the service
+ // account.
+ string service_account_email = 1;
+
+ // OAuth scope to be used for generating OAuth access token.
+ // If not specified, "https://www.googleapis.com/auth/cloud-platform"
+ // will be used.
+ string scope = 2;
+}
+
+// Contains information needed for generating an
+// [OpenID Connect
+// token](https://developers.google.com/identity/protocols/OpenIDConnect).
+// This type of authorization can be used for many scenarios, including
+// calling Cloud Run, or endpoints where you intend to validate the token
+// yourself.
+message OidcToken {
+ // [Service account email](https://cloud.google.com/iam/docs/service-accounts)
+ // to be used for generating OIDC token.
+ // The service account must be within the same project as the queue. The
+ // caller must have iam.serviceAccounts.actAs permission for the service
+ // account.
+ string service_account_email = 1;
+
+ // Audience to be used when generating OIDC token. If not specified, the URI
+ // specified in target will be used.
+ string audience = 2;
+}
diff --git a/packages/google-cloud-tasks/protos/google/cloud/tasks/v2/task.proto b/packages/google-cloud-tasks/protos/google/cloud/tasks/v2/task.proto
new file mode 100644
index 00000000000..9669b21ae6b
--- /dev/null
+++ b/packages/google-cloud-tasks/protos/google/cloud/tasks/v2/task.proto
@@ -0,0 +1,190 @@
+// Copyright 2019 Google LLC.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+syntax = "proto3";
+
+package google.cloud.tasks.v2;
+
+import "google/api/resource.proto";
+import "google/cloud/tasks/v2/target.proto";
+import "google/protobuf/duration.proto";
+import "google/protobuf/timestamp.proto";
+import "google/rpc/status.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/tasks/v2;tasks";
+option java_multiple_files = true;
+option java_outer_classname = "TaskProto";
+option java_package = "com.google.cloud.tasks.v2";
+
+// A unit of scheduled work.
+message Task {
+ option (google.api.resource) = {
+ type: "cloudtasks.googleapis.com/Task"
+ pattern: "projects/{project}/locations/{location}/queues/{queue}/tasks/{task}"
+ };
+
+ // The view specifies a subset of [Task][google.cloud.tasks.v2.Task] data.
+ //
+ // When a task is returned in a response, not all
+ // information is retrieved by default because some data, such as
+ // payloads, might be desirable to return only when needed because
+ // of its large size or because of the sensitivity of data that it
+ // contains.
+ enum View {
+ // Unspecified. Defaults to BASIC.
+ VIEW_UNSPECIFIED = 0;
+
+ // The basic view omits fields which can be large or can contain
+ // sensitive data.
+ //
+ // This view does not include the
+ // [body in AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest.body].
+ // Bodies are desirable to return only when needed, because they
+ // can be large and because of the sensitivity of the data that you
+ // choose to store in it.
+ BASIC = 1;
+
+ // All information is returned.
+ //
+ // Authorization for [FULL][google.cloud.tasks.v2.Task.View.FULL] requires
+ // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+ // permission on the [Queue][google.cloud.tasks.v2.Queue] resource.
+ FULL = 2;
+ }
+
+ // Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask].
+ //
+ // The task name.
+ //
+ // The task name must have the following format:
+ // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+ //
+ // * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]),
+ // hyphens (-), colons (:), or periods (.).
+ // For more information, see
+ // [Identifying
+ // projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects)
+ // * `LOCATION_ID` is the canonical ID for the task's location.
+ // The list of available locations can be obtained by calling
+ // [ListLocations][google.cloud.location.Locations.ListLocations].
+ // For more information, see https://cloud.google.com/about/locations/.
+ // * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or
+ // hyphens (-). The maximum length is 100 characters.
+ // * `TASK_ID` can contain only letters ([A-Za-z]), numbers ([0-9]),
+ // hyphens (-), or underscores (_). The maximum length is 500 characters.
+ string name = 1;
+
+ // Required. The message to send to the worker.
+ oneof message_type {
+ // HTTP request that is sent to the App Engine app handler.
+ //
+ // An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set.
+ AppEngineHttpRequest app_engine_http_request = 2;
+
+ // HTTP request that is sent to the worker.
+ //
+ // An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set.
+ HttpRequest http_request = 3;
+ }
+
+ // The time when the task is scheduled to be attempted or retried.
+ //
+ // `schedule_time` will be truncated to the nearest microsecond.
+ google.protobuf.Timestamp schedule_time = 4;
+
+ // Output only. The time that the task was created.
+ //
+ // `create_time` will be truncated to the nearest second.
+ google.protobuf.Timestamp create_time = 5;
+
+ // The deadline for requests sent to the worker. If the worker does not
+ // respond by this deadline then the request is cancelled and the attempt
+ // is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the
+ // task according to the [RetryConfig][google.cloud.tasks.v2.RetryConfig].
+ //
+ // Note that when the request is cancelled, Cloud Tasks will stop listing for
+ // the response, but whether the worker stops processing depends on the
+ // worker. For example, if the worker is stuck, it may not react to cancelled
+ // requests.
+ //
+ // The default and maximum values depend on the type of request:
+ //
+ // * For [HTTP tasks][google.cloud.tasks.v2.HttpRequest], the default is 10 minutes. The deadline
+ // must be in the interval [15 seconds, 30 minutes].
+ //
+ // * For [App Engine tasks][google.cloud.tasks.v2.AppEngineHttpRequest], 0 indicates that the
+ // request has the default deadline. The default deadline depends on the
+ // [scaling
+ // type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling)
+ // of the service: 10 minutes for standard apps with automatic scaling, 24
+ // hours for standard apps with manual and basic scaling, and 60 minutes for
+ // flex apps. If the request deadline is set, it must be in the interval [15
+ // seconds, 24 hours 15 seconds]. Regardless of the task's
+ // `dispatch_deadline`, the app handler will not run for longer than than
+ // the service's timeout. We recommend setting the `dispatch_deadline` to
+ // at most a few seconds more than the app handler's timeout. For more
+ // information see
+ // [Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#timeouts).
+ //
+ // `dispatch_deadline` will be truncated to the nearest millisecond. The
+ // deadline is an approximate deadline.
+ google.protobuf.Duration dispatch_deadline = 6;
+
+ // Output only. The number of attempts dispatched.
+ //
+ // This count includes attempts which have been dispatched but haven't
+ // received a response.
+ int32 dispatch_count = 7;
+
+ // Output only. The number of attempts which have received a response.
+ int32 response_count = 8;
+
+ // Output only. The status of the task's first attempt.
+ //
+ // Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set.
+ // The other [Attempt][google.cloud.tasks.v2.Attempt] information is not retained by Cloud Tasks.
+ Attempt first_attempt = 9;
+
+ // Output only. The status of the task's last attempt.
+ Attempt last_attempt = 10;
+
+ // Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has
+ // been returned.
+ View view = 11;
+}
+
+// The status of a task attempt.
+message Attempt {
+ // Output only. The time that this attempt was scheduled.
+ //
+ // `schedule_time` will be truncated to the nearest microsecond.
+ google.protobuf.Timestamp schedule_time = 1;
+
+ // Output only. The time that this attempt was dispatched.
+ //
+ // `dispatch_time` will be truncated to the nearest microsecond.
+ google.protobuf.Timestamp dispatch_time = 2;
+
+ // Output only. The time that this attempt response was received.
+ //
+ // `response_time` will be truncated to the nearest microsecond.
+ google.protobuf.Timestamp response_time = 3;
+
+ // Output only. The response from the worker for this attempt.
+ //
+ // If `response_time` is unset, then the task has not been attempted or is
+ // currently running and the `response_status` field is meaningless.
+ google.rpc.Status response_status = 4;
+}
diff --git a/packages/google-cloud-tasks/protos/google/cloud/tasks/v2beta2/cloudtasks.proto b/packages/google-cloud-tasks/protos/google/cloud/tasks/v2beta2/cloudtasks.proto
new file mode 100644
index 00000000000..8b2fa57e553
--- /dev/null
+++ b/packages/google-cloud-tasks/protos/google/cloud/tasks/v2beta2/cloudtasks.proto
@@ -0,0 +1,942 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.tasks.v2beta2;
+
+import "google/api/annotations.proto";
+import "google/api/client.proto";
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
+import "google/cloud/tasks/v2beta2/queue.proto";
+import "google/cloud/tasks/v2beta2/task.proto";
+import "google/iam/v1/iam_policy.proto";
+import "google/iam/v1/policy.proto";
+import "google/protobuf/duration.proto";
+import "google/protobuf/empty.proto";
+import "google/protobuf/field_mask.proto";
+import "google/protobuf/timestamp.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/tasks/v2beta2;tasks";
+option java_multiple_files = true;
+option java_outer_classname = "CloudTasksProto";
+option java_package = "com.google.cloud.tasks.v2beta2";
+option objc_class_prefix = "TASKS";
+
+// Cloud Tasks allows developers to manage the execution of background
+// work in their applications.
+service CloudTasks {
+ option (google.api.default_host) = "cloudtasks.googleapis.com";
+ option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";
+
+ // Lists queues.
+ //
+ // Queues are returned in lexicographical order.
+ rpc ListQueues(ListQueuesRequest) returns (ListQueuesResponse) {
+ option (google.api.http) = {
+ get: "/v2beta2/{parent=projects/*/locations/*}/queues"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Gets a queue.
+ rpc GetQueue(GetQueueRequest) returns (Queue) {
+ option (google.api.http) = {
+ get: "/v2beta2/{name=projects/*/locations/*/queues/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Creates a queue.
+ //
+ // Queues created with this method allow tasks to live for a maximum of 31
+ // days. After a task is 31 days old, the task will be deleted regardless of whether
+ // it was dispatched or not.
+ //
+ // WARNING: Using this method may have unintended side effects if you are
+ // using an App Engine `queue.yaml` or `queue.xml` file to manage your queues.
+ // Read
+ // [Overview of Queue Management and
+ // queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using
+ // this method.
+ rpc CreateQueue(CreateQueueRequest) returns (Queue) {
+ option (google.api.http) = {
+ post: "/v2beta2/{parent=projects/*/locations/*}/queues"
+ body: "queue"
+ };
+ option (google.api.method_signature) = "parent,queue";
+ }
+
+ // Updates a queue.
+ //
+ // This method creates the queue if it does not exist and updates
+ // the queue if it does exist.
+ //
+ // Queues created with this method allow tasks to live for a maximum of 31
+ // days. After a task is 31 days old, the task will be deleted regardless of whether
+ // it was dispatched or not.
+ //
+ // WARNING: Using this method may have unintended side effects if you are
+ // using an App Engine `queue.yaml` or `queue.xml` file to manage your queues.
+ // Read
+ // [Overview of Queue Management and
+ // queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using
+ // this method.
+ rpc UpdateQueue(UpdateQueueRequest) returns (Queue) {
+ option (google.api.http) = {
+ patch: "/v2beta2/{queue.name=projects/*/locations/*/queues/*}"
+ body: "queue"
+ };
+ option (google.api.method_signature) = "queue,update_mask";
+ }
+
+ // Deletes a queue.
+ //
+ // This command will delete the queue even if it has tasks in it.
+ //
+ // Note: If you delete a queue, a queue with the same name can't be created
+ // for 7 days.
+ //
+ // WARNING: Using this method may have unintended side effects if you are
+ // using an App Engine `queue.yaml` or `queue.xml` file to manage your queues.
+ // Read
+ // [Overview of Queue Management and
+ // queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using
+ // this method.
+ rpc DeleteQueue(DeleteQueueRequest) returns (google.protobuf.Empty) {
+ option (google.api.http) = {
+ delete: "/v2beta2/{name=projects/*/locations/*/queues/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Purges a queue by deleting all of its tasks.
+ //
+ // All tasks created before this method is called are permanently deleted.
+ //
+ // Purge operations can take up to one minute to take effect. Tasks
+ // might be dispatched before the purge takes effect. A purge is irreversible.
+ rpc PurgeQueue(PurgeQueueRequest) returns (Queue) {
+ option (google.api.http) = {
+ post: "/v2beta2/{name=projects/*/locations/*/queues/*}:purge"
+ body: "*"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Pauses the queue.
+ //
+ // If a queue is paused then the system will stop dispatching tasks
+ // until the queue is resumed via
+ // [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue]. Tasks can still be added
+ // when the queue is paused. A queue is paused if its
+ // [state][google.cloud.tasks.v2beta2.Queue.state] is [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].
+ rpc PauseQueue(PauseQueueRequest) returns (Queue) {
+ option (google.api.http) = {
+ post: "/v2beta2/{name=projects/*/locations/*/queues/*}:pause"
+ body: "*"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Resume a queue.
+ //
+ // This method resumes a queue after it has been
+ // [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED] or
+ // [DISABLED][google.cloud.tasks.v2beta2.Queue.State.DISABLED]. The state of a queue is stored
+ // in the queue's [state][google.cloud.tasks.v2beta2.Queue.state]; after calling this method it
+ // will be set to [RUNNING][google.cloud.tasks.v2beta2.Queue.State.RUNNING].
+ //
+ // WARNING: Resuming many high-QPS queues at the same time can
+ // lead to target overloading. If you are resuming high-QPS
+ // queues, follow the 500/50/5 pattern described in
+ // [Managing Cloud Tasks Scaling
+ // Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
+ rpc ResumeQueue(ResumeQueueRequest) returns (Queue) {
+ option (google.api.http) = {
+ post: "/v2beta2/{name=projects/*/locations/*/queues/*}:resume"
+ body: "*"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Gets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue].
+ // Returns an empty policy if the resource exists and does not have a policy
+ // set.
+ //
+ // Authorization requires the following
+ // [Google IAM](https://cloud.google.com/iam) permission on the specified
+ // resource parent:
+ //
+ // * `cloudtasks.queues.getIamPolicy`
+ rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) {
+ option (google.api.http) = {
+ post: "/v2beta2/{resource=projects/*/locations/*/queues/*}:getIamPolicy"
+ body: "*"
+ };
+ option (google.api.method_signature) = "resource";
+ }
+
+ // Sets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue]. Replaces any existing
+ // policy.
+ //
+ // Note: The Cloud Console does not check queue-level IAM permissions yet.
+ // Project-level permissions are required to use the Cloud Console.
+ //
+ // Authorization requires the following
+ // [Google IAM](https://cloud.google.com/iam) permission on the specified
+ // resource parent:
+ //
+ // * `cloudtasks.queues.setIamPolicy`
+ rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) {
+ option (google.api.http) = {
+ post: "/v2beta2/{resource=projects/*/locations/*/queues/*}:setIamPolicy"
+ body: "*"
+ };
+ option (google.api.method_signature) = "resource,policy";
+ }
+
+ // Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta2.Queue].
+ // If the resource does not exist, this will return an empty set of
+ // permissions, not a [NOT_FOUND][google.rpc.Code.NOT_FOUND] error.
+ //
+ // Note: This operation is designed to be used for building permission-aware
+ // UIs and command-line tools, not for authorization checking. This operation
+ // may "fail open" without warning.
+ rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) {
+ option (google.api.http) = {
+ post: "/v2beta2/{resource=projects/*/locations/*/queues/*}:testIamPermissions"
+ body: "*"
+ };
+ option (google.api.method_signature) = "resource,permissions";
+ }
+
+ // Lists the tasks in a queue.
+ //
+ // By default, only the [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC] view is retrieved
+ // due to performance considerations;
+ // [response_view][google.cloud.tasks.v2beta2.ListTasksRequest.response_view] controls the
+ // subset of information which is returned.
+ //
+ // The tasks may be returned in any order. The ordering may change at any
+ // time.
+ rpc ListTasks(ListTasksRequest) returns (ListTasksResponse) {
+ option (google.api.http) = {
+ get: "/v2beta2/{parent=projects/*/locations/*/queues/*}/tasks"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Gets a task.
+ rpc GetTask(GetTaskRequest) returns (Task) {
+ option (google.api.http) = {
+ get: "/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Creates a task and adds it to a queue.
+ //
+ // Tasks cannot be updated after creation; there is no UpdateTask command.
+ //
+ // * For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum task size is
+ // 100KB.
+ // * For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB.
+ rpc CreateTask(CreateTaskRequest) returns (Task) {
+ option (google.api.http) = {
+ post: "/v2beta2/{parent=projects/*/locations/*/queues/*}/tasks"
+ body: "*"
+ };
+ option (google.api.method_signature) = "parent,task";
+ }
+
+ // Deletes a task.
+ //
+ // A task can be deleted if it is scheduled or dispatched. A task
+ // cannot be deleted if it has completed successfully or permanently
+ // failed.
+ rpc DeleteTask(DeleteTaskRequest) returns (google.protobuf.Empty) {
+ option (google.api.http) = {
+ delete: "/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Leases tasks from a pull queue for
+ // [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration].
+ //
+ // This method is invoked by the worker to obtain a lease. The
+ // worker must acknowledge the task via
+ // [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask] after they have
+ // performed the work associated with the task.
+ //
+ // The [payload][google.cloud.tasks.v2beta2.PullMessage.payload] is intended to store data that
+ // the worker needs to perform the work associated with the task. To
+ // return the payloads in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse], set
+ // [response_view][google.cloud.tasks.v2beta2.LeaseTasksRequest.response_view] to
+ // [FULL][google.cloud.tasks.v2beta2.Task.View.FULL].
+ //
+ // A maximum of 10 qps of [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks]
+ // requests are allowed per
+ // queue. [RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED]
+ // is returned when this limit is
+ // exceeded. [RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED]
+ // is also returned when
+ // [max_tasks_dispatched_per_second][google.cloud.tasks.v2beta2.RateLimits.max_tasks_dispatched_per_second]
+ // is exceeded.
+ rpc LeaseTasks(LeaseTasksRequest) returns (LeaseTasksResponse) {
+ option (google.api.http) = {
+ post: "/v2beta2/{parent=projects/*/locations/*/queues/*}/tasks:lease"
+ body: "*"
+ };
+ option (google.api.method_signature) = "parent,lease_duration";
+ }
+
+ // Acknowledges a pull task.
+ //
+ // The worker, that is, the entity that
+ // [leased][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] this task must call this method
+ // to indicate that the work associated with the task has finished.
+ //
+ // The worker must acknowledge a task within the
+ // [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration] or the lease
+ // will expire and the task will become available to be leased
+ // again. After the task is acknowledged, it will not be returned
+ // by a later [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks],
+ // [GetTask][google.cloud.tasks.v2beta2.CloudTasks.GetTask], or
+ // [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
+ rpc AcknowledgeTask(AcknowledgeTaskRequest) returns (google.protobuf.Empty) {
+ option (google.api.http) = {
+ post: "/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:acknowledge"
+ body: "*"
+ };
+ option (google.api.method_signature) = "name,schedule_time";
+ }
+
+ // Renew the current lease of a pull task.
+ //
+ // The worker can use this method to extend the lease by a new
+ // duration, starting from now. The new task lease will be
+ // returned in the task's [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
+ rpc RenewLease(RenewLeaseRequest) returns (Task) {
+ option (google.api.http) = {
+ post: "/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:renewLease"
+ body: "*"
+ };
+ option (google.api.method_signature) = "name,schedule_time,lease_duration";
+ }
+
+ // Cancel a pull task's lease.
+ //
+ // The worker can use this method to cancel a task's lease by
+ // setting its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] to now. This will
+ // make the task available to be leased to the next caller of
+ // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
+ rpc CancelLease(CancelLeaseRequest) returns (Task) {
+ option (google.api.http) = {
+ post: "/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:cancelLease"
+ body: "*"
+ };
+ option (google.api.method_signature) = "name,schedule_time";
+ }
+
+ // Forces a task to run now.
+ //
+ // When this method is called, Cloud Tasks will dispatch the task, even if
+ // the task is already running, the queue has reached its [RateLimits][google.cloud.tasks.v2beta2.RateLimits] or
+ // is [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].
+ //
+ // This command is meant to be used for manual debugging. For
+ // example, [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] can be used to retry a failed
+ // task after a fix has been made or to manually force a task to be
+ // dispatched now.
+ //
+ // The dispatched task is returned. That is, the task that is returned
+ // contains the [status][google.cloud.tasks.v2beta2.Task.status] after the task is dispatched but
+ // before the task is received by its target.
+ //
+ // If Cloud Tasks receives a successful response from the task's
+ // target, then the task will be deleted; otherwise the task's
+ // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] will be reset to the time that
+ // [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] was called plus the retry delay specified
+ // in the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig].
+ //
+ // [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] returns
+ // [NOT_FOUND][google.rpc.Code.NOT_FOUND] when it is called on a
+ // task that has already succeeded or permanently failed.
+ //
+ // [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] cannot be called on a
+ // [pull task][google.cloud.tasks.v2beta2.PullMessage].
+ rpc RunTask(RunTaskRequest) returns (Task) {
+ option (google.api.http) = {
+ post: "/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:run"
+ body: "*"
+ };
+ option (google.api.method_signature) = "name";
+ }
+}
+
+// Request message for [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues].
+message ListQueuesRequest {
+ // Required. The location name.
+ // For example: `projects/PROJECT_ID/locations/LOCATION_ID`
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "cloudtasks.googleapis.com/Queue"
+ }
+ ];
+
+ // `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue]
+ // field can be used as a filter and several operators as supported.
+ // For example: `<=, <, >=, >, !=, =, :`. The filter syntax is the same as
+ // described in
+ // [Stackdriver's Advanced Logs
+ // Filters](https://cloud.google.com/logging/docs/view/advanced_filters).
+ //
+ // Sample filter "app_engine_http_target: *".
+ //
+ // Note that using filters might cause fewer queues than the
+ // requested_page size to be returned.
+ string filter = 2;
+
+ // Requested page size.
+ //
+ // The maximum page size is 9800. If unspecified, the page size will
+ // be the maximum. Fewer queues than requested might be returned,
+ // even if more queues exist; use the
+ // [next_page_token][google.cloud.tasks.v2beta2.ListQueuesResponse.next_page_token] in the
+ // response to determine if more queues exist.
+ int32 page_size = 3;
+
+ // A token identifying the page of results to return.
+ //
+ // To request the first page results, page_token must be empty. To
+ // request the next page of results, page_token must be the value of
+ // [next_page_token][google.cloud.tasks.v2beta2.ListQueuesResponse.next_page_token] returned
+ // from the previous call to [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues]
+ // method. It is an error to switch the value of the
+ // [filter][google.cloud.tasks.v2beta2.ListQueuesRequest.filter] while iterating through pages.
+ string page_token = 4;
+
+ // Optional. Read mask is used for a more granular control over what the API returns.
+ // If the mask is not present all fields will be returned except
+ // [Queue.stats]. [Queue.stats] will be returned only if it was explicitly
+ // specified in the mask.
+ google.protobuf.FieldMask read_mask = 5 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Response message for [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues].
+message ListQueuesResponse {
+ // The list of queues.
+ repeated Queue queues = 1;
+
+ // A token to retrieve next page of results.
+ //
+ // To return the next page of results, call
+ // [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues] with this value as the
+ // [page_token][google.cloud.tasks.v2beta2.ListQueuesRequest.page_token].
+ //
+ // If the next_page_token is empty, there are no more results.
+ //
+ // The page token is valid for only 2 hours.
+ string next_page_token = 2;
+}
+
+// Request message for [GetQueue][google.cloud.tasks.v2beta2.CloudTasks.GetQueue].
+message GetQueueRequest {
+ // Required. The resource name of the queue. For example:
+ // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "cloudtasks.googleapis.com/Queue"
+ }
+ ];
+
+ // Optional. Read mask is used for a more granular control over what the API returns.
+ // If the mask is not present all fields will be returned except
+ // [Queue.stats]. [Queue.stats] will be returned only if it was explicitly
+ // specified in the mask.
+ google.protobuf.FieldMask read_mask = 2 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Request message for [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue].
+message CreateQueueRequest {
+ // Required. The location name in which the queue will be created.
+ // For example: `projects/PROJECT_ID/locations/LOCATION_ID`
+ //
+ // The list of allowed locations can be obtained by calling Cloud
+ // Tasks' implementation of
+ // [ListLocations][google.cloud.location.Locations.ListLocations].
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "cloudtasks.googleapis.com/Queue"
+ }
+ ];
+
+ // Required. The queue to create.
+ //
+ // [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue.
+ Queue queue = 2 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request message for [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue].
+message UpdateQueueRequest {
+ // Required. The queue to create or update.
+ //
+ // The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified.
+ //
+ // Output only fields cannot be modified using UpdateQueue.
+ // Any value specified for an output only field will be ignored.
+ // The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed.
+ Queue queue = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // A mask used to specify which fields of the queue are being updated.
+ //
+ // If empty, then all fields will be updated.
+ google.protobuf.FieldMask update_mask = 2;
+}
+
+// Request message for [DeleteQueue][google.cloud.tasks.v2beta2.CloudTasks.DeleteQueue].
+message DeleteQueueRequest {
+ // Required. The queue name. For example:
+ // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "cloudtasks.googleapis.com/Queue"
+ }
+ ];
+}
+
+// Request message for [PurgeQueue][google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue].
+message PurgeQueueRequest {
+ // Required. The queue name. For example:
+ // `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "cloudtasks.googleapis.com/Queue"
+ }
+ ];
+}
+
+// Request message for [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue].
+message PauseQueueRequest {
+ // Required. The queue name. For example:
+ // `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "cloudtasks.googleapis.com/Queue"
+ }
+ ];
+}
+
+// Request message for [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue].
+message ResumeQueueRequest {
+ // Required. The queue name. For example:
+ // `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "cloudtasks.googleapis.com/Queue"
+ }
+ ];
+}
+
+// Request message for listing tasks using [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
+message ListTasksRequest {
+ // Required. The queue name. For example:
+ // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "cloudtasks.googleapis.com/Task"
+ }
+ ];
+
+ // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+ // returned.
+ //
+ // By default response_view is [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC]; not all
+ // information is retrieved by default because some data, such as
+ // payloads, might be desirable to return only when needed because
+ // of its large size or because of the sensitivity of data that it
+ // contains.
+ //
+ // Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] requires
+ // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+ // permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
+ Task.View response_view = 2;
+
+ // Maximum page size.
+ //
+ // Fewer tasks than requested might be returned, even if more tasks exist; use
+ // [next_page_token][google.cloud.tasks.v2beta2.ListTasksResponse.next_page_token] in the response to
+ // determine if more tasks exist.
+ //
+ // The maximum page size is 1000. If unspecified, the page size will be the
+ // maximum.
+ int32 page_size = 4;
+
+ // A token identifying the page of results to return.
+ //
+ // To request the first page results, page_token must be empty. To
+ // request the next page of results, page_token must be the value of
+ // [next_page_token][google.cloud.tasks.v2beta2.ListTasksResponse.next_page_token] returned
+ // from the previous call to [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks]
+ // method.
+ //
+ // The page token is valid for only 2 hours.
+ string page_token = 5;
+}
+
+// Response message for listing tasks using [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
+message ListTasksResponse {
+ // The list of tasks.
+ repeated Task tasks = 1;
+
+ // A token to retrieve next page of results.
+ //
+ // To return the next page of results, call
+ // [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks] with this value as the
+ // [page_token][google.cloud.tasks.v2beta2.ListTasksRequest.page_token].
+ //
+ // If the next_page_token is empty, there are no more results.
+ string next_page_token = 2;
+}
+
+// Request message for getting a task using [GetTask][google.cloud.tasks.v2beta2.CloudTasks.GetTask].
+message GetTaskRequest {
+ // Required. The task name. For example:
+ // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "cloudtasks.googleapis.com/Task"
+ }
+ ];
+
+ // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+ // returned.
+ //
+ // By default response_view is [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC]; not all
+ // information is retrieved by default because some data, such as
+ // payloads, might be desirable to return only when needed because
+ // of its large size or because of the sensitivity of data that it
+ // contains.
+ //
+ // Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] requires
+ // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+ // permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
+ Task.View response_view = 2;
+}
+
+// Request message for [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
+message CreateTaskRequest {
+ // Required. The queue name. For example:
+ // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+ //
+ // The queue must already exist.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "cloudtasks.googleapis.com/Task"
+ }
+ ];
+
+ // Required. The task to add.
+ //
+ // Task names have the following format:
+ // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`.
+ // The user can optionally specify a task [name][google.cloud.tasks.v2beta2.Task.name]. If a
+ // name is not specified then the system will generate a random
+ // unique task id, which will be set in the task returned in the
+ // [response][google.cloud.tasks.v2beta2.Task.name].
+ //
+ // If [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] is not set or is in the
+ // past then Cloud Tasks will set it to the current time.
+ //
+ // Task De-duplication:
+ //
+ // Explicitly specifying a task ID enables task de-duplication. If
+ // a task's ID is identical to that of an existing task or a task
+ // that was deleted or completed recently then the call will fail
+ // with [ALREADY_EXISTS][google.rpc.Code.ALREADY_EXISTS].
+ // If the task's queue was created using Cloud Tasks, then another task with
+ // the same name can't be created for ~1hour after the original task was
+ // deleted or completed. If the task's queue was created using queue.yaml or
+ // queue.xml, then another task with the same name can't be created
+ // for ~9days after the original task was deleted or completed.
+ //
+ // Because there is an extra lookup cost to identify duplicate task
+ // names, these [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] calls have significantly
+ // increased latency. Using hashed strings for the task id or for
+ // the prefix of the task id is recommended. Choosing task ids that
+ // are sequential or have sequential prefixes, for example using a
+ // timestamp, causes an increase in latency and error rates in all
+ // task commands. The infrastructure relies on an approximately
+ // uniform distribution of task ids to store and serve tasks
+ // efficiently.
+ Task task = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+ // returned.
+ //
+ // By default response_view is [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC]; not all
+ // information is retrieved by default because some data, such as
+ // payloads, might be desirable to return only when needed because
+ // of its large size or because of the sensitivity of data that it
+ // contains.
+ //
+ // Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] requires
+ // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+ // permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
+ Task.View response_view = 3;
+}
+
+// Request message for deleting a task using
+// [DeleteTask][google.cloud.tasks.v2beta2.CloudTasks.DeleteTask].
+message DeleteTaskRequest {
+ // Required. The task name. For example:
+ // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "cloudtasks.googleapis.com/Task"
+ }
+ ];
+}
+
+// Request message for leasing tasks using [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
+message LeaseTasksRequest {
+ // Required. The queue name. For example:
+ // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "cloudtasks.googleapis.com/Task"
+ }
+ ];
+
+ // The maximum number of tasks to lease.
+ //
+ // The system will make a best effort to return as close to as
+ // `max_tasks` as possible.
+ //
+ // The largest that `max_tasks` can be is 1000.
+ //
+ // The maximum total size of a [lease tasks response][google.cloud.tasks.v2beta2.LeaseTasksResponse] is
+ // 32 MB. If the sum of all task sizes requested reaches this limit,
+ // fewer tasks than requested are returned.
+ int32 max_tasks = 2;
+
+ // Required. The duration of the lease.
+ //
+ // Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will
+ // have its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] set to the current
+ // time plus the `lease_duration`. The task is leased until its
+ // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]; thus, the task will not be
+ // returned to another [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call
+ // before its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
+ //
+ //
+ // After the worker has successfully finished the work associated
+ // with the task, the worker must call via
+ // [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask] before the
+ // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]. Otherwise the task will be
+ // returned to a later [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call so
+ // that another worker can retry it.
+ //
+ // The maximum lease duration is 1 week.
+ // `lease_duration` will be truncated to the nearest second.
+ google.protobuf.Duration lease_duration = 3 [(google.api.field_behavior) = REQUIRED];
+
+ // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+ // returned.
+ //
+ // By default response_view is [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC]; not all
+ // information is retrieved by default because some data, such as
+ // payloads, might be desirable to return only when needed because
+ // of its large size or because of the sensitivity of data that it
+ // contains.
+ //
+ // Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] requires
+ // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+ // permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
+ Task.View response_view = 4;
+
+ // `filter` can be used to specify a subset of tasks to lease.
+ //
+ // When `filter` is set to `tag=` then the
+ // [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will contain only tasks whose
+ // [tag][google.cloud.tasks.v2beta2.PullMessage.tag] is equal to ``. `` must be
+ // less than 500 characters.
+ //
+ // When `filter` is set to `tag_function=oldest_tag()`, only tasks which have
+ // the same tag as the task with the oldest
+ // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] will be returned.
+ //
+ // Grammar Syntax:
+ //
+ // * `filter = "tag=" tag | "tag_function=" function`
+ //
+ // * `tag = string`
+ //
+ // * `function = "oldest_tag()"`
+ //
+ // The `oldest_tag()` function returns tasks which have the same tag as the
+ // oldest task (ordered by schedule time).
+ //
+ // SDK compatibility: Although the SDK allows tags to be either
+ // string or
+ // [bytes](https://cloud.google.com/appengine/docs/standard/java/javadoc/com/google/appengine/api/taskqueue/TaskOptions.html#tag-byte:A-),
+ // only UTF-8 encoded tags can be used in Cloud Tasks. Tag which
+ // aren't UTF-8 encoded can't be used in the
+ // [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter] and the task's
+ // [tag][google.cloud.tasks.v2beta2.PullMessage.tag] will be displayed as empty in Cloud Tasks.
+ string filter = 5;
+}
+
+// Response message for leasing tasks using [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
+message LeaseTasksResponse {
+ // The leased tasks.
+ repeated Task tasks = 1;
+}
+
+// Request message for acknowledging a task using
+// [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask].
+message AcknowledgeTaskRequest {
+ // Required. The task name. For example:
+ // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "cloudtasks.googleapis.com/Task"
+ }
+ ];
+
+ // Required. The task's current schedule time, available in the
+ // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
+ // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
+ // [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+ // to ensure that your worker currently holds the lease.
+ google.protobuf.Timestamp schedule_time = 2 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request message for renewing a lease using
+// [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease].
+message RenewLeaseRequest {
+ // Required. The task name. For example:
+ // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "cloudtasks.googleapis.com/Task"
+ }
+ ];
+
+ // Required. The task's current schedule time, available in the
+ // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
+ // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
+ // [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+ // to ensure that your worker currently holds the lease.
+ google.protobuf.Timestamp schedule_time = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The desired new lease duration, starting from now.
+ //
+ //
+ // The maximum lease duration is 1 week.
+ // `lease_duration` will be truncated to the nearest second.
+ google.protobuf.Duration lease_duration = 3 [(google.api.field_behavior) = REQUIRED];
+
+ // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+ // returned.
+ //
+ // By default response_view is [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC]; not all
+ // information is retrieved by default because some data, such as
+ // payloads, might be desirable to return only when needed because
+ // of its large size or because of the sensitivity of data that it
+ // contains.
+ //
+ // Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] requires
+ // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+ // permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
+ Task.View response_view = 4;
+}
+
+// Request message for canceling a lease using
+// [CancelLease][google.cloud.tasks.v2beta2.CloudTasks.CancelLease].
+message CancelLeaseRequest {
+ // Required. The task name. For example:
+ // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "cloudtasks.googleapis.com/Task"
+ }
+ ];
+
+ // Required. The task's current schedule time, available in the
+ // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
+ // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
+ // [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is
+ // to ensure that your worker currently holds the lease.
+ google.protobuf.Timestamp schedule_time = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+ // returned.
+ //
+ // By default response_view is [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC]; not all
+ // information is retrieved by default because some data, such as
+ // payloads, might be desirable to return only when needed because
+ // of its large size or because of the sensitivity of data that it
+ // contains.
+ //
+ // Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] requires
+ // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+ // permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
+ Task.View response_view = 3;
+}
+
+// Request message for forcing a task to run now using
+// [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask].
+message RunTaskRequest {
+ // Required. The task name. For example:
+ // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "cloudtasks.googleapis.com/Task"
+ }
+ ];
+
+ // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be
+ // returned.
+ //
+ // By default response_view is [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC]; not all
+ // information is retrieved by default because some data, such as
+ // payloads, might be desirable to return only when needed because
+ // of its large size or because of the sensitivity of data that it
+ // contains.
+ //
+ // Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] requires
+ // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+ // permission on the [Task][google.cloud.tasks.v2beta2.Task] resource.
+ Task.View response_view = 2;
+}
diff --git a/packages/google-cloud-tasks/protos/google/cloud/tasks/v2beta2/queue.proto b/packages/google-cloud-tasks/protos/google/cloud/tasks/v2beta2/queue.proto
new file mode 100644
index 00000000000..2d6ba2e1a7b
--- /dev/null
+++ b/packages/google-cloud-tasks/protos/google/cloud/tasks/v2beta2/queue.proto
@@ -0,0 +1,428 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.tasks.v2beta2;
+
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
+import "google/cloud/tasks/v2beta2/target.proto";
+import "google/protobuf/duration.proto";
+import "google/protobuf/timestamp.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/tasks/v2beta2;tasks";
+option java_multiple_files = true;
+option java_outer_classname = "QueueProto";
+option java_package = "com.google.cloud.tasks.v2beta2";
+
+// A queue is a container of related tasks. Queues are configured to manage
+// how those tasks are dispatched. Configurable properties include rate limits,
+// retry options, target types, and others.
+message Queue {
+ option (google.api.resource) = {
+ type: "cloudtasks.googleapis.com/Queue"
+ pattern: "projects/{project}/locations/{location}/queues/{queue}"
+ };
+
+ // State of the queue.
+ enum State {
+ // Unspecified state.
+ STATE_UNSPECIFIED = 0;
+
+ // The queue is running. Tasks can be dispatched.
+ //
+ // If the queue was created using Cloud Tasks and the queue has
+ // had no activity (method calls or task dispatches) for 30 days,
+ // the queue may take a few minutes to re-activate. Some method
+ // calls may return [NOT_FOUND][google.rpc.Code.NOT_FOUND] and
+ // tasks may not be dispatched for a few minutes until the queue
+ // has been re-activated.
+ RUNNING = 1;
+
+ // Tasks are paused by the user. If the queue is paused then Cloud
+ // Tasks will stop delivering tasks from it, but more tasks can
+ // still be added to it by the user. When a pull queue is paused,
+ // all [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] calls will return a
+ // [FAILED_PRECONDITION][google.rpc.Code.FAILED_PRECONDITION].
+ PAUSED = 2;
+
+ // The queue is disabled.
+ //
+ // A queue becomes `DISABLED` when
+ // [queue.yaml](https://cloud.google.com/appengine/docs/python/config/queueref)
+ // or
+ // [queue.xml](https://cloud.google.com/appengine/docs/standard/java/config/queueref)
+ // is uploaded which does not contain the queue. You cannot directly disable
+ // a queue.
+ //
+ // When a queue is disabled, tasks can still be added to a queue
+ // but the tasks are not dispatched and
+ // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] calls return a
+ // `FAILED_PRECONDITION` error.
+ //
+ // To permanently delete this queue and all of its tasks, call
+ // [DeleteQueue][google.cloud.tasks.v2beta2.CloudTasks.DeleteQueue].
+ DISABLED = 3;
+ }
+
+ // Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue],
+ // after which it becomes output only.
+ //
+ // The queue name.
+ //
+ // The queue name must have the following format:
+ // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+ //
+ // * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]),
+ // hyphens (-), colons (:), or periods (.).
+ // For more information, see
+ // [Identifying
+ // projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects)
+ // * `LOCATION_ID` is the canonical ID for the queue's location.
+ // The list of available locations can be obtained by calling
+ // [ListLocations][google.cloud.location.Locations.ListLocations].
+ // For more information, see https://cloud.google.com/about/locations/.
+ // * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or
+ // hyphens (-). The maximum length is 100 characters.
+ string name = 1;
+
+ // Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue][],
+ // after which the queue config type becomes output only, though fields within
+ // the config are mutable.
+ //
+ // The queue's target.
+ //
+ // The target applies to all tasks in the queue.
+ oneof target_type {
+ // App Engine HTTP target.
+ //
+ // An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget].
+ AppEngineHttpTarget app_engine_http_target = 3;
+
+ // Pull target.
+ //
+ // A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget].
+ PullTarget pull_target = 4;
+ }
+
+ // Rate limits for task dispatches.
+ //
+ // [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and
+ // [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] are related because they both
+ // control task attempts however they control how tasks are
+ // attempted in different ways:
+ //
+ // * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] controls the total rate of
+ // dispatches from a queue (i.e. all traffic dispatched from the
+ // queue, regardless of whether the dispatch is from a first
+ // attempt or a retry).
+ // * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls what happens to
+ // particular a task after its first attempt fails. That is,
+ // [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls task retries (the
+ // second attempt, third attempt, etc).
+ RateLimits rate_limits = 5;
+
+ // Settings that determine the retry behavior.
+ //
+ // * For tasks created using Cloud Tasks: the queue-level retry settings
+ // apply to all tasks in the queue that were created using Cloud Tasks.
+ // Retry settings cannot be set on individual tasks.
+ // * For tasks created using the App Engine SDK: the queue-level retry
+ // settings apply to all tasks in the queue which do not have retry settings
+ // explicitly set on the task and were created by the App Engine SDK. See
+ // [App Engine
+ // documentation](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/retrying-tasks).
+ RetryConfig retry_config = 6;
+
+ // Output only. The state of the queue.
+ //
+ // `state` can only be changed by calling
+ // [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue],
+ // [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue], or uploading
+ // [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref).
+ // [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue] cannot be used to change `state`.
+ State state = 7;
+
+ // Output only. The last time this queue was purged.
+ //
+ // All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time
+ // were purged.
+ //
+ // A queue can be purged using [PurgeQueue][google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue], the
+ // [App Engine Task Queue SDK, or the Cloud
+ // Console](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue).
+ //
+ // Purge time will be truncated to the nearest microsecond. Purge
+ // time will be unset if the queue has never been purged.
+ google.protobuf.Timestamp purge_time = 8;
+
+ // The maximum amount of time that a task will be retained in
+ // this queue.
+ //
+ // Queues created by Cloud Tasks have a default `task_ttl` of 31 days.
+ // After a task has lived for `task_ttl`, the task will be deleted
+ // regardless of whether it was dispatched or not.
+ //
+ // The `task_ttl` for queues created via queue.yaml/xml is equal to the
+ // maximum duration because there is a
+ // [storage quota](https://cloud.google.com/appengine/quotas#Task_Queue) for
+ // these queues. To view the maximum valid duration, see the documentation for
+ // [Duration][google.protobuf.Duration].
+ google.protobuf.Duration task_ttl = 9;
+
+ // The task tombstone time to live (TTL).
+ //
+ // After a task is deleted or completed, the task's tombstone is
+ // retained for the length of time specified by `tombstone_ttl`.
+ // The tombstone is used by task de-duplication; another task with the same
+ // name can't be created until the tombstone has expired. For more information
+ // about task de-duplication, see the documentation for
+ // [CreateTaskRequest][google.cloud.tasks.v2beta2.CreateTaskRequest.task].
+ //
+ // Queues created by Cloud Tasks have a default `tombstone_ttl` of 1 hour.
+ google.protobuf.Duration tombstone_ttl = 10;
+
+ // Output only. The realtime, informational statistics for a queue. In order
+ // to receive the statistics the caller should include this field in the
+ // FieldMask.
+ QueueStats stats = 16 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// Rate limits.
+//
+// This message determines the maximum rate that tasks can be dispatched by a
+// queue, regardless of whether the dispatch is a first task attempt or a retry.
+//
+// Note: The debugging command, [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask], will run a task
+// even if the queue has reached its [RateLimits][google.cloud.tasks.v2beta2.RateLimits].
+message RateLimits {
+ // The maximum rate at which tasks are dispatched from this queue.
+ //
+ // If unspecified when the queue is created, Cloud Tasks will pick the
+ // default.
+ //
+ // * For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum allowed value
+ // is 500.
+ // * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget]. In addition to the
+ // `max_tasks_dispatched_per_second` limit, a maximum of 10 QPS of
+ // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] requests are allowed per pull queue.
+ //
+ //
+ // This field has the same meaning as
+ // [rate in
+ // queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#rate).
+ double max_tasks_dispatched_per_second = 1;
+
+ // The max burst size.
+ //
+ // Max burst size limits how fast tasks in queue are processed when
+ // many tasks are in the queue and the rate is high. This field
+ // allows the queue to have a high rate so processing starts shortly
+ // after a task is enqueued, but still limits resource usage when
+ // many tasks are enqueued in a short period of time.
+ //
+ // The [token bucket](https://wikipedia.org/wiki/Token_Bucket)
+ // algorithm is used to control the rate of task dispatches. Each
+ // queue has a token bucket that holds tokens, up to the maximum
+ // specified by `max_burst_size`. Each time a task is dispatched, a
+ // token is removed from the bucket. Tasks will be dispatched until
+ // the queue's bucket runs out of tokens. The bucket will be
+ // continuously refilled with new tokens based on
+ // [max_dispatches_per_second][RateLimits.max_dispatches_per_second].
+ //
+ // The default value of `max_burst_size` is picked by Cloud Tasks
+ // based on the value of
+ // [max_dispatches_per_second][RateLimits.max_dispatches_per_second].
+ //
+ // The maximum value of `max_burst_size` is 500.
+ //
+ // For App Engine queues that were created or updated using
+ // `queue.yaml/xml`, `max_burst_size` is equal to
+ // [bucket_size](https://cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size).
+ // If
+ // [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue] is called on a queue without
+ // explicitly setting a value for `max_burst_size`,
+ // `max_burst_size` value will get updated if
+ // [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue] is updating
+ // [max_dispatches_per_second][RateLimits.max_dispatches_per_second].
+ //
+ int32 max_burst_size = 2;
+
+ // The maximum number of concurrent tasks that Cloud Tasks allows
+ // to be dispatched for this queue. After this threshold has been
+ // reached, Cloud Tasks stops dispatching tasks until the number of
+ // concurrent requests decreases.
+ //
+ // If unspecified when the queue is created, Cloud Tasks will pick the
+ // default.
+ //
+ //
+ // The maximum allowed value is 5,000.
+ //
+ // This field is output only for
+ // [pull queues][google.cloud.tasks.v2beta2.PullTarget] and always -1, which indicates no limit. No other
+ // queue types can have `max_concurrent_tasks` set to -1.
+ //
+ //
+ // This field has the same meaning as
+ // [max_concurrent_requests in
+ // queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#max_concurrent_requests).
+ int32 max_concurrent_tasks = 3;
+}
+
+// Retry config.
+//
+// These settings determine how a failed task attempt is retried.
+message RetryConfig {
+ // Number of attempts per task.
+ //
+ // If unspecified when the queue is created, Cloud Tasks will pick the
+ // default.
+ //
+ //
+ //
+ // This field has the same meaning as
+ // [task_retry_limit in
+ // queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
+ oneof num_attempts {
+ // The maximum number of attempts for a task.
+ //
+ // Cloud Tasks will attempt the task `max_attempts` times (that
+ // is, if the first attempt fails, then there will be
+ // `max_attempts - 1` retries). Must be > 0.
+ int32 max_attempts = 1;
+
+ // If true, then the number of attempts is unlimited.
+ bool unlimited_attempts = 2;
+ }
+
+ // If positive, `max_retry_duration` specifies the time limit for
+ // retrying a failed task, measured from when the task was first
+ // attempted. Once `max_retry_duration` time has passed *and* the
+ // task has been attempted [max_attempts][google.cloud.tasks.v2beta2.RetryConfig.max_attempts]
+ // times, no further attempts will be made and the task will be
+ // deleted.
+ //
+ // If zero, then the task age is unlimited.
+ //
+ // If unspecified when the queue is created, Cloud Tasks will pick the
+ // default.
+ //
+ // This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
+ //
+ //
+ // `max_retry_duration` will be truncated to the nearest second.
+ //
+ // This field has the same meaning as
+ // [task_age_limit in
+ // queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
+ google.protobuf.Duration max_retry_duration = 3;
+
+ // A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
+ // [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
+ // [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails,
+ // if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be
+ // retried.
+ //
+ // If unspecified when the queue is created, Cloud Tasks will pick the
+ // default.
+ //
+ // This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
+ //
+ //
+ // `min_backoff` will be truncated to the nearest second.
+ //
+ // This field has the same meaning as
+ // [min_backoff_seconds in
+ // queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
+ google.protobuf.Duration min_backoff = 4;
+
+ // A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between
+ // [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and
+ // [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails,
+ // if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be
+ // retried.
+ //
+ // If unspecified when the queue is created, Cloud Tasks will pick the
+ // default.
+ //
+ // This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
+ //
+ //
+ // `max_backoff` will be truncated to the nearest second.
+ //
+ // This field has the same meaning as
+ // [max_backoff_seconds in
+ // queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
+ google.protobuf.Duration max_backoff = 5;
+
+ // The time between retries will double `max_doublings` times.
+ //
+ // A task's retry interval starts at
+ // [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff], then doubles
+ // `max_doublings` times, then increases linearly, and finally
+ // retries at intervals of
+ // [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] up to
+ // [max_attempts][google.cloud.tasks.v2beta2.RetryConfig.max_attempts] times.
+ //
+ // For example, if [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] is 10s,
+ // [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] is 300s, and
+ // `max_doublings` is 3, then the a task will first be retried in
+ // 10s. The retry interval will double three times, and then
+ // increase linearly by 2^3 * 10s. Finally, the task will retry at
+ // intervals of [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] until the
+ // task has been attempted [max_attempts][google.cloud.tasks.v2beta2.RetryConfig.max_attempts]
+ // times. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s,
+ // 240s, 300s, 300s, ....
+ //
+ // If unspecified when the queue is created, Cloud Tasks will pick the
+ // default.
+ //
+ // This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget].
+ //
+ //
+ // This field has the same meaning as
+ // [max_doublings in
+ // queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
+ int32 max_doublings = 6;
+}
+
+// Statistics for a queue.
+message QueueStats {
+ // Output only. An estimation of the number of tasks in the queue, that is, the tasks in
+ // the queue that haven't been executed, the tasks in the queue which the
+ // queue has dispatched but has not yet received a reply for, and the failed
+ // tasks that the queue is retrying.
+ int64 tasks_count = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. An estimation of the nearest time in the future where a task in the queue
+ // is scheduled to be executed.
+ google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The number of tasks that the queue has dispatched and received a reply for
+ // during the last minute. This variable counts both successful and
+ // non-successful executions.
+ int64 executed_last_minute_count = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The number of requests that the queue has dispatched but has not received
+ // a reply for yet.
+ int64 concurrent_dispatches_count = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The current maximum number of tasks per second executed by the queue.
+ // The maximum value of this variable is controlled by the RateLimits of the
+ // Queue. However, this value could be less to avoid overloading the endpoints
+ // tasks in the queue are targeting.
+ double effective_execution_rate = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
diff --git a/packages/google-cloud-tasks/protos/google/cloud/tasks/v2beta2/target.proto b/packages/google-cloud-tasks/protos/google/cloud/tasks/v2beta2/target.proto
new file mode 100644
index 00000000000..7ee837dbd16
--- /dev/null
+++ b/packages/google-cloud-tasks/protos/google/cloud/tasks/v2beta2/target.proto
@@ -0,0 +1,377 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.tasks.v2beta2;
+
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/tasks/v2beta2;tasks";
+option java_multiple_files = true;
+option java_outer_classname = "TargetProto";
+option java_package = "com.google.cloud.tasks.v2beta2";
+
+// Pull target.
+message PullTarget {
+
+}
+
+// The pull message contains data that can be used by the caller of
+// [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task.
+//
+// This proto can only be used for tasks in a queue which has
+// [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] set.
+message PullMessage {
+ // A data payload consumed by the worker to execute the task.
+ bytes payload = 1;
+
+ // The task's tag.
+ //
+ // Tags allow similar tasks to be processed in a batch. If you label
+ // tasks with a tag, your worker can
+ // [lease tasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] with the same tag using
+ // [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter]. For example, if you want to
+ // aggregate the events associated with a specific user once a day,
+ // you could tag tasks with the user ID.
+ //
+ // The task's tag can only be set when the
+ // [task is created][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
+ //
+ // The tag must be less than 500 characters.
+ //
+ // SDK compatibility: Although the SDK allows tags to be either
+ // string or
+ // [bytes](https://cloud.google.com/appengine/docs/standard/java/javadoc/com/google/appengine/api/taskqueue/TaskOptions.html#tag-byte:A-),
+ // only UTF-8 encoded tags can be used in Cloud Tasks. If a tag isn't UTF-8
+ // encoded, the tag will be empty when the task is returned by Cloud Tasks.
+ string tag = 2;
+}
+
+// App Engine HTTP target.
+//
+// The task will be delivered to the App Engine application hostname
+// specified by its [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget] and [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest].
+// The documentation for [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] explains how the
+// task's host URL is constructed.
+//
+// Using [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget] requires
+// [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control)
+// Google IAM permission for the project
+// and the following scope:
+//
+// `https://www.googleapis.com/auth/cloud-platform`
+message AppEngineHttpTarget {
+ // Overrides for the
+ // [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
+ //
+ // If set, `app_engine_routing_override` is used for all tasks in
+ // the queue, no matter what the setting is for the
+ // [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
+ AppEngineRouting app_engine_routing_override = 1;
+}
+
+// App Engine HTTP request.
+//
+// The message defines the HTTP request that is sent to an App Engine app when
+// the task is dispatched.
+//
+// This proto can only be used for tasks in a queue which has
+// [app_engine_http_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target] set.
+//
+// Using [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] requires
+// [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control)
+// Google IAM permission for the project
+// and the following scope:
+//
+// `https://www.googleapis.com/auth/cloud-platform`
+//
+// The task will be delivered to the App Engine app which belongs to the same
+// project as the queue. For more information, see
+// [How Requests are
+// Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed)
+// and how routing is affected by
+// [dispatch
+// files](https://cloud.google.com/appengine/docs/python/config/dispatchref).
+// Traffic is encrypted during transport and never leaves Google datacenters.
+// Because this traffic is carried over a communication mechanism internal to
+// Google, you cannot explicitly set the protocol (for example, HTTP or HTTPS).
+// The request to the handler, however, will appear to have used the HTTP
+// protocol.
+//
+// The [AppEngineRouting][google.cloud.tasks.v2beta2.AppEngineRouting] used to construct the URL that the task is
+// delivered to can be set at the queue-level or task-level:
+//
+// * If set,
+// [app_engine_routing_override][google.cloud.tasks.v2beta2.AppEngineHttpTarget.app_engine_routing_override]
+// is used for all tasks in the queue, no matter what the setting
+// is for the
+// [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
+//
+//
+// The `url` that the task will be sent to is:
+//
+// * `url =` [host][google.cloud.tasks.v2beta2.AppEngineRouting.host] `+`
+// [relative_url][google.cloud.tasks.v2beta2.AppEngineHttpRequest.relative_url]
+//
+// Tasks can be dispatched to secure app handlers, unsecure app handlers, and
+// URIs restricted with
+// [`login:
+// admin`](https://cloud.google.com/appengine/docs/standard/python/config/appref).
+// Because tasks are not run as any user, they cannot be dispatched to URIs
+// restricted with
+// [`login:
+// required`](https://cloud.google.com/appengine/docs/standard/python/config/appref)
+// Task dispatches also do not follow redirects.
+//
+// The task attempt has succeeded if the app's request handler returns an HTTP
+// response code in the range [`200` - `299`]. The task attempt has failed if
+// the app's handler returns a non-2xx response code or Cloud Tasks does
+// not receive response before the [deadline][Task.dispatch_deadline]. Failed
+// tasks will be retried according to the
+// [retry configuration][google.cloud.tasks.v2beta2.Queue.retry_config]. `503` (Service Unavailable) is
+// considered an App Engine system error instead of an application error and
+// will cause Cloud Tasks' traffic congestion control to temporarily throttle
+// the queue's dispatches. Unlike other types of task targets, a `429` (Too Many
+// Requests) response from an app handler does not cause traffic congestion
+// control to throttle the queue.
+message AppEngineHttpRequest {
+ // The HTTP method to use for the request. The default is POST.
+ //
+ // The app's request handler for the task's target URL must be able to handle
+ // HTTP requests with this http_method, otherwise the task attempt fails with
+ // error code 405 (Method Not Allowed). See [Writing a push task request
+ // handler](https://cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler)
+ // and the App Engine documentation for your runtime on [How Requests are
+ // Handled](https://cloud.google.com/appengine/docs/standard/python3/how-requests-are-handled).
+ HttpMethod http_method = 1;
+
+ // Task-level setting for App Engine routing.
+ //
+ // If set,
+ // [app_engine_routing_override][google.cloud.tasks.v2beta2.AppEngineHttpTarget.app_engine_routing_override]
+ // is used for all tasks in the queue, no matter what the setting is for the
+ // [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing].
+ AppEngineRouting app_engine_routing = 2;
+
+ // The relative URL.
+ //
+ // The relative URL must begin with "/" and must be a valid HTTP relative URL.
+ // It can contain a path and query string arguments.
+ // If the relative URL is empty, then the root path "/" will be used.
+ // No spaces are allowed, and the maximum length allowed is 2083 characters.
+ string relative_url = 3;
+
+ // HTTP request headers.
+ //
+ // This map contains the header field names and values.
+ // Headers can be set when the
+ // [task is created][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
+ // Repeated headers are not supported but a header value can contain commas.
+ //
+ // Cloud Tasks sets some headers to default values:
+ //
+ // * `User-Agent`: By default, this header is
+ // `"AppEngine-Google; (+http://code.google.com/appengine)"`.
+ // This header can be modified, but Cloud Tasks will append
+ // `"AppEngine-Google; (+http://code.google.com/appengine)"` to the
+ // modified `User-Agent`.
+ //
+ // If the task has a [payload][google.cloud.tasks.v2beta2.AppEngineHttpRequest.payload], Cloud
+ // Tasks sets the following headers:
+ //
+ // * `Content-Type`: By default, the `Content-Type` header is set to
+ // `"application/octet-stream"`. The default can be overridden by explicitly
+ // setting `Content-Type` to a particular media type when the
+ // [task is created][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
+ // For example, `Content-Type` can be set to `"application/json"`.
+ // * `Content-Length`: This is computed by Cloud Tasks. This value is
+ // output only. It cannot be changed.
+ //
+ // The headers below cannot be set or overridden:
+ //
+ // * `Host`
+ // * `X-Google-*`
+ // * `X-AppEngine-*`
+ //
+ // In addition, Cloud Tasks sets some headers when the task is dispatched,
+ // such as headers containing information about the task; see
+ // [request
+ // headers](https://cloud.google.com/appengine/docs/python/taskqueue/push/creating-handlers#reading_request_headers).
+ // These headers are set only when the task is dispatched, so they are not
+ // visible when the task is returned in a Cloud Tasks response.
+ //
+ // Although there is no specific limit for the maximum number of headers or
+ // the size, there is a limit on the maximum size of the [Task][google.cloud.tasks.v2beta2.Task]. For more
+ // information, see the [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] documentation.
+ map headers = 4;
+
+ // Payload.
+ //
+ // The payload will be sent as the HTTP message body. A message
+ // body, and thus a payload, is allowed only if the HTTP method is
+ // POST or PUT. It is an error to set a data payload on a task with
+ // an incompatible [HttpMethod][google.cloud.tasks.v2beta2.HttpMethod].
+ bytes payload = 5;
+}
+
+// App Engine Routing.
+//
+// Defines routing characteristics specific to App Engine - service, version,
+// and instance.
+//
+// For more information about services, versions, and instances see
+// [An Overview of App
+// Engine](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine),
+// [Microservices Architecture on Google App
+// Engine](https://cloud.google.com/appengine/docs/python/microservices-on-app-engine),
+// [App Engine Standard request
+// routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed),
+// and [App Engine Flex request
+// routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed).
+message AppEngineRouting {
+ // App service.
+ //
+ // By default, the task is sent to the service which is the default
+ // service when the task is attempted.
+ //
+ // For some queues or tasks which were created using the App Engine
+ // Task Queue API, [host][google.cloud.tasks.v2beta2.AppEngineRouting.host] is not parsable
+ // into [service][google.cloud.tasks.v2beta2.AppEngineRouting.service],
+ // [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and
+ // [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance]. For example, some tasks
+ // which were created using the App Engine SDK use a custom domain
+ // name; custom domains are not parsed by Cloud Tasks. If
+ // [host][google.cloud.tasks.v2beta2.AppEngineRouting.host] is not parsable, then
+ // [service][google.cloud.tasks.v2beta2.AppEngineRouting.service],
+ // [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and
+ // [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] are the empty string.
+ string service = 1;
+
+ // App version.
+ //
+ // By default, the task is sent to the version which is the default
+ // version when the task is attempted.
+ //
+ // For some queues or tasks which were created using the App Engine
+ // Task Queue API, [host][google.cloud.tasks.v2beta2.AppEngineRouting.host] is not parsable
+ // into [service][google.cloud.tasks.v2beta2.AppEngineRouting.service],
+ // [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and
+ // [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance]. For example, some tasks
+ // which were created using the App Engine SDK use a custom domain
+ // name; custom domains are not parsed by Cloud Tasks. If
+ // [host][google.cloud.tasks.v2beta2.AppEngineRouting.host] is not parsable, then
+ // [service][google.cloud.tasks.v2beta2.AppEngineRouting.service],
+ // [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and
+ // [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] are the empty string.
+ string version = 2;
+
+ // App instance.
+ //
+ // By default, the task is sent to an instance which is available when
+ // the task is attempted.
+ //
+ // Requests can only be sent to a specific instance if
+ // [manual scaling is used in App Engine
+ // Standard](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine?hl=en_US#scaling_types_and_instance_classes).
+ // App Engine Flex does not support instances. For more information, see
+ // [App Engine Standard request
+ // routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed)
+ // and [App Engine Flex request
+ // routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed).
+ string instance = 3;
+
+ // Output only. The host that the task is sent to.
+ //
+ // For more information, see
+ // [How Requests are
+ // Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed).
+ //
+ // The host is constructed as:
+ //
+ //
+ // * `host = [application_domain_name]`
+ // `| [service] + '.' + [application_domain_name]`
+ // `| [version] + '.' + [application_domain_name]`
+ // `| [version_dot_service]+ '.' + [application_domain_name]`
+ // `| [instance] + '.' + [application_domain_name]`
+ // `| [instance_dot_service] + '.' + [application_domain_name]`
+ // `| [instance_dot_version] + '.' + [application_domain_name]`
+ // `| [instance_dot_version_dot_service] + '.' + [application_domain_name]`
+ //
+ // * `application_domain_name` = The domain name of the app, for
+ // example .appspot.com, which is associated with the
+ // queue's project ID. Some tasks which were created using the App Engine
+ // SDK use a custom domain name.
+ //
+ // * `service =` [service][google.cloud.tasks.v2beta2.AppEngineRouting.service]
+ //
+ // * `version =` [version][google.cloud.tasks.v2beta2.AppEngineRouting.version]
+ //
+ // * `version_dot_service =`
+ // [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] `+ '.' +`
+ // [service][google.cloud.tasks.v2beta2.AppEngineRouting.service]
+ //
+ // * `instance =` [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance]
+ //
+ // * `instance_dot_service =`
+ // [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' +`
+ // [service][google.cloud.tasks.v2beta2.AppEngineRouting.service]
+ //
+ // * `instance_dot_version =`
+ // [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' +`
+ // [version][google.cloud.tasks.v2beta2.AppEngineRouting.version]
+ //
+ // * `instance_dot_version_dot_service =`
+ // [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' +`
+ // [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] `+ '.' +`
+ // [service][google.cloud.tasks.v2beta2.AppEngineRouting.service]
+ //
+ // If [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] is empty, then the task will be sent
+ // to the service which is the default service when the task is attempted.
+ //
+ // If [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] is empty, then the task will be sent
+ // to the version which is the default version when the task is attempted.
+ //
+ // If [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is empty, then the task
+ // will be sent to an instance which is available when the task is
+ // attempted.
+ //
+ // If [service][google.cloud.tasks.v2beta2.AppEngineRouting.service],
+ // [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], or
+ // [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is invalid, then the task
+ // will be sent to the default version of the default service when
+ // the task is attempted.
+ string host = 4;
+}
+
+// The HTTP method used to execute the task.
+enum HttpMethod {
+ // HTTP method unspecified
+ HTTP_METHOD_UNSPECIFIED = 0;
+
+ // HTTP POST
+ POST = 1;
+
+ // HTTP GET
+ GET = 2;
+
+ // HTTP HEAD
+ HEAD = 3;
+
+ // HTTP PUT
+ PUT = 4;
+
+ // HTTP DELETE
+ DELETE = 5;
+}
diff --git a/packages/google-cloud-tasks/protos/google/cloud/tasks/v2beta2/task.proto b/packages/google-cloud-tasks/protos/google/cloud/tasks/v2beta2/task.proto
new file mode 100644
index 00000000000..5e5c3575529
--- /dev/null
+++ b/packages/google-cloud-tasks/protos/google/cloud/tasks/v2beta2/task.proto
@@ -0,0 +1,182 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.tasks.v2beta2;
+
+import "google/api/resource.proto";
+import "google/cloud/tasks/v2beta2/target.proto";
+import "google/protobuf/timestamp.proto";
+import "google/rpc/status.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/tasks/v2beta2;tasks";
+option java_multiple_files = true;
+option java_outer_classname = "TaskProto";
+option java_package = "com.google.cloud.tasks.v2beta2";
+
+// A unit of scheduled work.
+message Task {
+ option (google.api.resource) = {
+ type: "cloudtasks.googleapis.com/Task"
+ pattern: "projects/{project}/locations/{location}/queues/{queue}/tasks/{task}"
+ };
+
+ // The view specifies a subset of [Task][google.cloud.tasks.v2beta2.Task] data.
+ //
+ // When a task is returned in a response, not all
+ // information is retrieved by default because some data, such as
+ // payloads, might be desirable to return only when needed because
+ // of its large size or because of the sensitivity of data that it
+ // contains.
+ enum View {
+ // Unspecified. Defaults to BASIC.
+ VIEW_UNSPECIFIED = 0;
+
+ // The basic view omits fields which can be large or can contain
+ // sensitive data.
+ //
+ // This view does not include the
+ // ([payload in AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] and
+ // [payload in PullMessage][google.cloud.tasks.v2beta2.PullMessage.payload]). These payloads are
+ // desirable to return only when needed, because they can be large
+ // and because of the sensitivity of the data that you choose to
+ // store in it.
+ BASIC = 1;
+
+ // All information is returned.
+ //
+ // Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] requires
+ // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+ // permission on the [Queue][google.cloud.tasks.v2beta2.Queue] resource.
+ FULL = 2;
+ }
+
+ // Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
+ //
+ // The task name.
+ //
+ // The task name must have the following format:
+ // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+ //
+ // * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]),
+ // hyphens (-), colons (:), or periods (.).
+ // For more information, see
+ // [Identifying
+ // projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects)
+ // * `LOCATION_ID` is the canonical ID for the task's location.
+ // The list of available locations can be obtained by calling
+ // [ListLocations][google.cloud.location.Locations.ListLocations].
+ // For more information, see https://cloud.google.com/about/locations/.
+ // * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or
+ // hyphens (-). The maximum length is 100 characters.
+ // * `TASK_ID` can contain only letters ([A-Za-z]), numbers ([0-9]),
+ // hyphens (-), or underscores (_). The maximum length is 500 characters.
+ string name = 1;
+
+ // Required.
+ //
+ // The task's payload is used by the task's target to process the task.
+ // A payload is valid only if it is compatible with the queue's target.
+ oneof payload_type {
+ // App Engine HTTP request that is sent to the task's target. Can
+ // be set only if
+ // [app_engine_http_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target] is set
+ // on the queue.
+ //
+ // An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] set.
+ AppEngineHttpRequest app_engine_http_request = 3;
+
+ // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be
+ // set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue.
+ //
+ // A pull task is a task that has [PullMessage][google.cloud.tasks.v2beta2.PullMessage] set.
+ PullMessage pull_message = 4;
+ }
+
+ // The time when the task is scheduled to be attempted.
+ //
+ // For App Engine queues, this is when the task will be attempted or retried.
+ //
+ // For pull queues, this is the time when the task is available to
+ // be leased; if a task is currently leased, this is the time when
+ // the current lease expires, that is, the time that the task was
+ // leased plus the [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration].
+ //
+ // `schedule_time` will be truncated to the nearest microsecond.
+ google.protobuf.Timestamp schedule_time = 5;
+
+ // Output only. The time that the task was created.
+ //
+ // `create_time` will be truncated to the nearest second.
+ google.protobuf.Timestamp create_time = 6;
+
+ // Output only. The task status.
+ TaskStatus status = 7;
+
+ // Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has
+ // been returned.
+ View view = 8;
+}
+
+// Status of the task.
+message TaskStatus {
+ // Output only. The number of attempts dispatched.
+ //
+ // This count includes attempts which have been dispatched but haven't
+ // received a response.
+ int32 attempt_dispatch_count = 1;
+
+ // Output only. The number of attempts which have received a response.
+ //
+ // This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
+ int32 attempt_response_count = 2;
+
+ // Output only. The status of the task's first attempt.
+ //
+ // Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set.
+ // The other [AttemptStatus][google.cloud.tasks.v2beta2.AttemptStatus] information is not retained by Cloud Tasks.
+ //
+ // This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
+ AttemptStatus first_attempt_status = 3;
+
+ // Output only. The status of the task's last attempt.
+ //
+ // This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage].
+ AttemptStatus last_attempt_status = 4;
+}
+
+// The status of a task attempt.
+message AttemptStatus {
+ // Output only. The time that this attempt was scheduled.
+ //
+ // `schedule_time` will be truncated to the nearest microsecond.
+ google.protobuf.Timestamp schedule_time = 1;
+
+ // Output only. The time that this attempt was dispatched.
+ //
+ // `dispatch_time` will be truncated to the nearest microsecond.
+ google.protobuf.Timestamp dispatch_time = 2;
+
+ // Output only. The time that this attempt response was received.
+ //
+ // `response_time` will be truncated to the nearest microsecond.
+ google.protobuf.Timestamp response_time = 3;
+
+ // Output only. The response from the target for this attempt.
+ //
+ // If the task has not been attempted or the task is currently running
+ // then the response status is unset.
+ google.rpc.Status response_status = 4;
+}
diff --git a/packages/google-cloud-tasks/protos/google/cloud/tasks/v2beta3/cloudtasks.proto b/packages/google-cloud-tasks/protos/google/cloud/tasks/v2beta3/cloudtasks.proto
new file mode 100644
index 00000000000..81e2098dd19
--- /dev/null
+++ b/packages/google-cloud-tasks/protos/google/cloud/tasks/v2beta3/cloudtasks.proto
@@ -0,0 +1,666 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.tasks.v2beta3;
+
+import "google/api/annotations.proto";
+import "google/api/client.proto";
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
+import "google/cloud/tasks/v2beta3/queue.proto";
+import "google/cloud/tasks/v2beta3/task.proto";
+import "google/iam/v1/iam_policy.proto";
+import "google/iam/v1/policy.proto";
+import "google/protobuf/empty.proto";
+import "google/protobuf/field_mask.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/tasks/v2beta3;tasks";
+option java_multiple_files = true;
+option java_outer_classname = "CloudTasksProto";
+option java_package = "com.google.cloud.tasks.v2beta3";
+option objc_class_prefix = "TASKS";
+
+// Cloud Tasks allows developers to manage the execution of background
+// work in their applications.
+service CloudTasks {
+ option (google.api.default_host) = "cloudtasks.googleapis.com";
+ option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";
+
+ // Lists queues.
+ //
+ // Queues are returned in lexicographical order.
+ rpc ListQueues(ListQueuesRequest) returns (ListQueuesResponse) {
+ option (google.api.http) = {
+ get: "/v2beta3/{parent=projects/*/locations/*}/queues"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Gets a queue.
+ rpc GetQueue(GetQueueRequest) returns (Queue) {
+ option (google.api.http) = {
+ get: "/v2beta3/{name=projects/*/locations/*/queues/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Creates a queue.
+ //
+ // Queues created with this method allow tasks to live for a maximum of 31
+ // days. After a task is 31 days old, the task will be deleted regardless of whether
+ // it was dispatched or not.
+ //
+ // WARNING: Using this method may have unintended side effects if you are
+ // using an App Engine `queue.yaml` or `queue.xml` file to manage your queues.
+ // Read
+ // [Overview of Queue Management and
+ // queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using
+ // this method.
+ rpc CreateQueue(CreateQueueRequest) returns (Queue) {
+ option (google.api.http) = {
+ post: "/v2beta3/{parent=projects/*/locations/*}/queues"
+ body: "queue"
+ };
+ option (google.api.method_signature) = "parent,queue";
+ }
+
+ // Updates a queue.
+ //
+ // This method creates the queue if it does not exist and updates
+ // the queue if it does exist.
+ //
+ // Queues created with this method allow tasks to live for a maximum of 31
+ // days. After a task is 31 days old, the task will be deleted regardless of whether
+ // it was dispatched or not.
+ //
+ // WARNING: Using this method may have unintended side effects if you are
+ // using an App Engine `queue.yaml` or `queue.xml` file to manage your queues.
+ // Read
+ // [Overview of Queue Management and
+ // queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using
+ // this method.
+ rpc UpdateQueue(UpdateQueueRequest) returns (Queue) {
+ option (google.api.http) = {
+ patch: "/v2beta3/{queue.name=projects/*/locations/*/queues/*}"
+ body: "queue"
+ };
+ option (google.api.method_signature) = "queue,update_mask";
+ }
+
+ // Deletes a queue.
+ //
+ // This command will delete the queue even if it has tasks in it.
+ //
+ // Note: If you delete a queue, a queue with the same name can't be created
+ // for 7 days.
+ //
+ // WARNING: Using this method may have unintended side effects if you are
+ // using an App Engine `queue.yaml` or `queue.xml` file to manage your queues.
+ // Read
+ // [Overview of Queue Management and
+ // queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using
+ // this method.
+ rpc DeleteQueue(DeleteQueueRequest) returns (google.protobuf.Empty) {
+ option (google.api.http) = {
+ delete: "/v2beta3/{name=projects/*/locations/*/queues/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Purges a queue by deleting all of its tasks.
+ //
+ // All tasks created before this method is called are permanently deleted.
+ //
+ // Purge operations can take up to one minute to take effect. Tasks
+ // might be dispatched before the purge takes effect. A purge is irreversible.
+ rpc PurgeQueue(PurgeQueueRequest) returns (Queue) {
+ option (google.api.http) = {
+ post: "/v2beta3/{name=projects/*/locations/*/queues/*}:purge"
+ body: "*"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Pauses the queue.
+ //
+ // If a queue is paused then the system will stop dispatching tasks
+ // until the queue is resumed via
+ // [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue]. Tasks can still be added
+ // when the queue is paused. A queue is paused if its
+ // [state][google.cloud.tasks.v2beta3.Queue.state] is [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED].
+ rpc PauseQueue(PauseQueueRequest) returns (Queue) {
+ option (google.api.http) = {
+ post: "/v2beta3/{name=projects/*/locations/*/queues/*}:pause"
+ body: "*"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Resume a queue.
+ //
+ // This method resumes a queue after it has been
+ // [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED] or
+ // [DISABLED][google.cloud.tasks.v2beta3.Queue.State.DISABLED]. The state of a queue is stored
+ // in the queue's [state][google.cloud.tasks.v2beta3.Queue.state]; after calling this method it
+ // will be set to [RUNNING][google.cloud.tasks.v2beta3.Queue.State.RUNNING].
+ //
+ // WARNING: Resuming many high-QPS queues at the same time can
+ // lead to target overloading. If you are resuming high-QPS
+ // queues, follow the 500/50/5 pattern described in
+ // [Managing Cloud Tasks Scaling
+ // Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
+ rpc ResumeQueue(ResumeQueueRequest) returns (Queue) {
+ option (google.api.http) = {
+ post: "/v2beta3/{name=projects/*/locations/*/queues/*}:resume"
+ body: "*"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Gets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue].
+ // Returns an empty policy if the resource exists and does not have a policy
+ // set.
+ //
+ // Authorization requires the following
+ // [Google IAM](https://cloud.google.com/iam) permission on the specified
+ // resource parent:
+ //
+ // * `cloudtasks.queues.getIamPolicy`
+ rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) {
+ option (google.api.http) = {
+ post: "/v2beta3/{resource=projects/*/locations/*/queues/*}:getIamPolicy"
+ body: "*"
+ };
+ option (google.api.method_signature) = "resource";
+ }
+
+ // Sets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any existing
+ // policy.
+ //
+ // Note: The Cloud Console does not check queue-level IAM permissions yet.
+ // Project-level permissions are required to use the Cloud Console.
+ //
+ // Authorization requires the following
+ // [Google IAM](https://cloud.google.com/iam) permission on the specified
+ // resource parent:
+ //
+ // * `cloudtasks.queues.setIamPolicy`
+ rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) {
+ option (google.api.http) = {
+ post: "/v2beta3/{resource=projects/*/locations/*/queues/*}:setIamPolicy"
+ body: "*"
+ };
+ option (google.api.method_signature) = "resource,policy";
+ }
+
+ // Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta3.Queue].
+ // If the resource does not exist, this will return an empty set of
+ // permissions, not a [NOT_FOUND][google.rpc.Code.NOT_FOUND] error.
+ //
+ // Note: This operation is designed to be used for building permission-aware
+ // UIs and command-line tools, not for authorization checking. This operation
+ // may "fail open" without warning.
+ rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) {
+ option (google.api.http) = {
+ post: "/v2beta3/{resource=projects/*/locations/*/queues/*}:testIamPermissions"
+ body: "*"
+ };
+ option (google.api.method_signature) = "resource,permissions";
+ }
+
+ // Lists the tasks in a queue.
+ //
+ // By default, only the [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC] view is retrieved
+ // due to performance considerations;
+ // [response_view][google.cloud.tasks.v2beta3.ListTasksRequest.response_view] controls the
+ // subset of information which is returned.
+ //
+ // The tasks may be returned in any order. The ordering may change at any
+ // time.
+ rpc ListTasks(ListTasksRequest) returns (ListTasksResponse) {
+ option (google.api.http) = {
+ get: "/v2beta3/{parent=projects/*/locations/*/queues/*}/tasks"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Gets a task.
+ rpc GetTask(GetTaskRequest) returns (Task) {
+ option (google.api.http) = {
+ get: "/v2beta3/{name=projects/*/locations/*/queues/*/tasks/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Creates a task and adds it to a queue.
+ //
+ // Tasks cannot be updated after creation; there is no UpdateTask command.
+ //
+ // * The maximum task size is 100KB.
+ rpc CreateTask(CreateTaskRequest) returns (Task) {
+ option (google.api.http) = {
+ post: "/v2beta3/{parent=projects/*/locations/*/queues/*}/tasks"
+ body: "*"
+ };
+ option (google.api.method_signature) = "parent,task";
+ }
+
+ // Deletes a task.
+ //
+ // A task can be deleted if it is scheduled or dispatched. A task
+ // cannot be deleted if it has executed successfully or permanently
+ // failed.
+ rpc DeleteTask(DeleteTaskRequest) returns (google.protobuf.Empty) {
+ option (google.api.http) = {
+ delete: "/v2beta3/{name=projects/*/locations/*/queues/*/tasks/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Forces a task to run now.
+ //
+ // When this method is called, Cloud Tasks will dispatch the task, even if
+ // the task is already running, the queue has reached its [RateLimits][google.cloud.tasks.v2beta3.RateLimits] or
+ // is [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED].
+ //
+ // This command is meant to be used for manual debugging. For
+ // example, [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] can be used to retry a failed
+ // task after a fix has been made or to manually force a task to be
+ // dispatched now.
+ //
+ // The dispatched task is returned. That is, the task that is returned
+ // contains the [status][Task.status] after the task is dispatched but
+ // before the task is received by its target.
+ //
+ // If Cloud Tasks receives a successful response from the task's
+ // target, then the task will be deleted; otherwise the task's
+ // [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] will be reset to the time that
+ // [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] was called plus the retry delay specified
+ // in the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig].
+ //
+ // [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] returns
+ // [NOT_FOUND][google.rpc.Code.NOT_FOUND] when it is called on a
+ // task that has already succeeded or permanently failed.
+ rpc RunTask(RunTaskRequest) returns (Task) {
+ option (google.api.http) = {
+ post: "/v2beta3/{name=projects/*/locations/*/queues/*/tasks/*}:run"
+ body: "*"
+ };
+ option (google.api.method_signature) = "name";
+ }
+}
+
+// Request message for [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues].
+message ListQueuesRequest {
+ // Required. The location name.
+ // For example: `projects/PROJECT_ID/locations/LOCATION_ID`
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "cloudtasks.googleapis.com/Queue"
+ }
+ ];
+
+ // `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
+ // field can be used as a filter and several operators as supported.
+ // For example: `<=, <, >=, >, !=, =, :`. The filter syntax is the same as
+ // described in
+ // [Stackdriver's Advanced Logs
+ // Filters](https://cloud.google.com/logging/docs/view/advanced_filters).
+ //
+ // Sample filter "state: PAUSED".
+ //
+ // Note that using filters might cause fewer queues than the
+ // requested page_size to be returned.
+ string filter = 2;
+
+ // Requested page size.
+ //
+ // The maximum page size is 9800. If unspecified, the page size will
+ // be the maximum. Fewer queues than requested might be returned,
+ // even if more queues exist; use the
+ // [next_page_token][google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token] in the
+ // response to determine if more queues exist.
+ int32 page_size = 3;
+
+ // A token identifying the page of results to return.
+ //
+ // To request the first page results, page_token must be empty. To
+ // request the next page of results, page_token must be the value of
+ // [next_page_token][google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token] returned
+ // from the previous call to [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues]
+ // method. It is an error to switch the value of the
+ // [filter][google.cloud.tasks.v2beta3.ListQueuesRequest.filter] while iterating through pages.
+ string page_token = 4;
+
+ // Optional. Read mask is used for a more granular control over what the API returns.
+ // If the mask is not present all fields will be returned except
+ // [Queue.stats]. [Queue.stats] will be returned only if it was explicitly
+ // specified in the mask.
+ google.protobuf.FieldMask read_mask = 5 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Response message for [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues].
+message ListQueuesResponse {
+ // The list of queues.
+ repeated Queue queues = 1;
+
+ // A token to retrieve next page of results.
+ //
+ // To return the next page of results, call
+ // [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] with this value as the
+ // [page_token][google.cloud.tasks.v2beta3.ListQueuesRequest.page_token].
+ //
+ // If the next_page_token is empty, there are no more results.
+ //
+ // The page token is valid for only 2 hours.
+ string next_page_token = 2;
+}
+
+// Request message for [GetQueue][google.cloud.tasks.v2beta3.CloudTasks.GetQueue].
+message GetQueueRequest {
+ // Required. The resource name of the queue. For example:
+ // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "cloudtasks.googleapis.com/Queue"
+ }
+ ];
+
+ // Optional. Read mask is used for a more granular control over what the API returns.
+ // If the mask is not present all fields will be returned except
+ // [Queue.stats]. [Queue.stats] will be returned only if it was explicitly
+ // specified in the mask.
+ google.protobuf.FieldMask read_mask = 2 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Request message for [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue].
+message CreateQueueRequest {
+ // Required. The location name in which the queue will be created.
+ // For example: `projects/PROJECT_ID/locations/LOCATION_ID`
+ //
+ // The list of allowed locations can be obtained by calling Cloud
+ // Tasks' implementation of
+ // [ListLocations][google.cloud.location.Locations.ListLocations].
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "cloudtasks.googleapis.com/Queue"
+ }
+ ];
+
+ // Required. The queue to create.
+ //
+ // [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
+ Queue queue = 2 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request message for [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue].
+message UpdateQueueRequest {
+ // Required. The queue to create or update.
+ //
+ // The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
+ //
+ // Output only fields cannot be modified using UpdateQueue.
+ // Any value specified for an output only field will be ignored.
+ // The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
+ Queue queue = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // A mask used to specify which fields of the queue are being updated.
+ //
+ // If empty, then all fields will be updated.
+ google.protobuf.FieldMask update_mask = 2;
+}
+
+// Request message for [DeleteQueue][google.cloud.tasks.v2beta3.CloudTasks.DeleteQueue].
+message DeleteQueueRequest {
+ // Required. The queue name. For example:
+ // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "cloudtasks.googleapis.com/Queue"
+ }
+ ];
+}
+
+// Request message for [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue].
+message PurgeQueueRequest {
+ // Required. The queue name. For example:
+ // `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "cloudtasks.googleapis.com/Queue"
+ }
+ ];
+}
+
+// Request message for [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue].
+message PauseQueueRequest {
+ // Required. The queue name. For example:
+ // `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "cloudtasks.googleapis.com/Queue"
+ }
+ ];
+}
+
+// Request message for [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue].
+message ResumeQueueRequest {
+ // Required. The queue name. For example:
+ // `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "cloudtasks.googleapis.com/Queue"
+ }
+ ];
+}
+
+// Request message for listing tasks using [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks].
+message ListTasksRequest {
+ // Required. The queue name. For example:
+ // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "cloudtasks.googleapis.com/Task"
+ }
+ ];
+
+ // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
+ // returned.
+ //
+ // By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all
+ // information is retrieved by default because some data, such as
+ // payloads, might be desirable to return only when needed because
+ // of its large size or because of the sensitivity of data that it
+ // contains.
+ //
+ // Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
+ // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+ // permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
+ Task.View response_view = 2;
+
+ // Maximum page size.
+ //
+ // Fewer tasks than requested might be returned, even if more tasks exist; use
+ // [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] in the response to
+ // determine if more tasks exist.
+ //
+ // The maximum page size is 1000. If unspecified, the page size will be the
+ // maximum.
+ int32 page_size = 3;
+
+ // A token identifying the page of results to return.
+ //
+ // To request the first page results, page_token must be empty. To
+ // request the next page of results, page_token must be the value of
+ // [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] returned
+ // from the previous call to [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks]
+ // method.
+ //
+ // The page token is valid for only 2 hours.
+ string page_token = 4;
+}
+
+// Response message for listing tasks using [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks].
+message ListTasksResponse {
+ // The list of tasks.
+ repeated Task tasks = 1;
+
+ // A token to retrieve next page of results.
+ //
+ // To return the next page of results, call
+ // [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] with this value as the
+ // [page_token][google.cloud.tasks.v2beta3.ListTasksRequest.page_token].
+ //
+ // If the next_page_token is empty, there are no more results.
+ string next_page_token = 2;
+}
+
+// Request message for getting a task using [GetTask][google.cloud.tasks.v2beta3.CloudTasks.GetTask].
+message GetTaskRequest {
+ // Required. The task name. For example:
+ // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "cloudtasks.googleapis.com/Task"
+ }
+ ];
+
+ // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
+ // returned.
+ //
+ // By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all
+ // information is retrieved by default because some data, such as
+ // payloads, might be desirable to return only when needed because
+ // of its large size or because of the sensitivity of data that it
+ // contains.
+ //
+ // Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
+ // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+ // permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
+ Task.View response_view = 2;
+}
+
+// Request message for [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
+message CreateTaskRequest {
+ // Required. The queue name. For example:
+ // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+ //
+ // The queue must already exist.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "cloudtasks.googleapis.com/Task"
+ }
+ ];
+
+ // Required. The task to add.
+ //
+ // Task names have the following format:
+ // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`.
+ // The user can optionally specify a task [name][google.cloud.tasks.v2beta3.Task.name]. If a
+ // name is not specified then the system will generate a random
+ // unique task id, which will be set in the task returned in the
+ // [response][google.cloud.tasks.v2beta3.Task.name].
+ //
+ // If [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] is not set or is in the
+ // past then Cloud Tasks will set it to the current time.
+ //
+ // Task De-duplication:
+ //
+ // Explicitly specifying a task ID enables task de-duplication. If
+ // a task's ID is identical to that of an existing task or a task
+ // that was deleted or executed recently then the call will fail
+ // with [ALREADY_EXISTS][google.rpc.Code.ALREADY_EXISTS].
+ // If the task's queue was created using Cloud Tasks, then another task with
+ // the same name can't be created for ~1hour after the original task was
+ // deleted or executed. If the task's queue was created using queue.yaml or
+ // queue.xml, then another task with the same name can't be created
+ // for ~9days after the original task was deleted or executed.
+ //
+ // Because there is an extra lookup cost to identify duplicate task
+ // names, these [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] calls have significantly
+ // increased latency. Using hashed strings for the task id or for
+ // the prefix of the task id is recommended. Choosing task ids that
+ // are sequential or have sequential prefixes, for example using a
+ // timestamp, causes an increase in latency and error rates in all
+ // task commands. The infrastructure relies on an approximately
+ // uniform distribution of task ids to store and serve tasks
+ // efficiently.
+ Task task = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
+ // returned.
+ //
+ // By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all
+ // information is retrieved by default because some data, such as
+ // payloads, might be desirable to return only when needed because
+ // of its large size or because of the sensitivity of data that it
+ // contains.
+ //
+ // Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
+ // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+ // permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
+ Task.View response_view = 3;
+}
+
+// Request message for deleting a task using
+// [DeleteTask][google.cloud.tasks.v2beta3.CloudTasks.DeleteTask].
+message DeleteTaskRequest {
+ // Required. The task name. For example:
+ // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "cloudtasks.googleapis.com/Task"
+ }
+ ];
+}
+
+// Request message for forcing a task to run now using
+// [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask].
+message RunTaskRequest {
+ // Required. The task name. For example:
+ // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "cloudtasks.googleapis.com/Task"
+ }
+ ];
+
+ // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
+ // returned.
+ //
+ // By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all
+ // information is retrieved by default because some data, such as
+ // payloads, might be desirable to return only when needed because
+ // of its large size or because of the sensitivity of data that it
+ // contains.
+ //
+ // Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
+ // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+ // permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
+ Task.View response_view = 2;
+}
diff --git a/packages/google-cloud-tasks/protos/google/cloud/tasks/v2beta3/queue.proto b/packages/google-cloud-tasks/protos/google/cloud/tasks/v2beta3/queue.proto
new file mode 100644
index 00000000000..f892852bedd
--- /dev/null
+++ b/packages/google-cloud-tasks/protos/google/cloud/tasks/v2beta3/queue.proto
@@ -0,0 +1,434 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.tasks.v2beta3;
+
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
+import "google/cloud/tasks/v2beta3/target.proto";
+import "google/protobuf/duration.proto";
+import "google/protobuf/timestamp.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/tasks/v2beta3;tasks";
+option java_multiple_files = true;
+option java_outer_classname = "QueueProto";
+option java_package = "com.google.cloud.tasks.v2beta3";
+
+// A queue is a container of related tasks. Queues are configured to manage
+// how those tasks are dispatched. Configurable properties include rate limits,
+// retry options, queue types, and others.
+message Queue {
+ option (google.api.resource) = {
+ type: "cloudtasks.googleapis.com/Queue"
+ pattern: "projects/{project}/locations/{location}/queues/{queue}"
+ };
+
+ // State of the queue.
+ enum State {
+ // Unspecified state.
+ STATE_UNSPECIFIED = 0;
+
+ // The queue is running. Tasks can be dispatched.
+ //
+ // If the queue was created using Cloud Tasks and the queue has
+ // had no activity (method calls or task dispatches) for 30 days,
+ // the queue may take a few minutes to re-activate. Some method
+ // calls may return [NOT_FOUND][google.rpc.Code.NOT_FOUND] and
+ // tasks may not be dispatched for a few minutes until the queue
+ // has been re-activated.
+ RUNNING = 1;
+
+ // Tasks are paused by the user. If the queue is paused then Cloud
+ // Tasks will stop delivering tasks from it, but more tasks can
+ // still be added to it by the user.
+ PAUSED = 2;
+
+ // The queue is disabled.
+ //
+ // A queue becomes `DISABLED` when
+ // [queue.yaml](https://cloud.google.com/appengine/docs/python/config/queueref)
+ // or
+ // [queue.xml](https://cloud.google.com/appengine/docs/standard/java/config/queueref)
+ // is uploaded which does not contain the queue. You cannot directly disable
+ // a queue.
+ //
+ // When a queue is disabled, tasks can still be added to a queue
+ // but the tasks are not dispatched.
+ //
+ // To permanently delete this queue and all of its tasks, call
+ // [DeleteQueue][google.cloud.tasks.v2beta3.CloudTasks.DeleteQueue].
+ DISABLED = 3;
+ }
+
+ // The type of the queue.
+ enum Type {
+ // Default value.
+ TYPE_UNSPECIFIED = 0;
+
+ // A pull queue.
+ PULL = 1;
+
+ // A push queue.
+ PUSH = 2;
+ }
+
+ // Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
+ // after which it becomes output only.
+ //
+ // The queue name.
+ //
+ // The queue name must have the following format:
+ // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
+ //
+ // * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]),
+ // hyphens (-), colons (:), or periods (.).
+ // For more information, see
+ // [Identifying
+ // projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects)
+ // * `LOCATION_ID` is the canonical ID for the queue's location.
+ // The list of available locations can be obtained by calling
+ // [ListLocations][google.cloud.location.Locations.ListLocations].
+ // For more information, see https://cloud.google.com/about/locations/.
+ // * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or
+ // hyphens (-). The maximum length is 100 characters.
+ string name = 1;
+
+ oneof queue_type {
+ // [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
+ // [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
+ // [Http tasks][google.cloud.tasks.v2beta3.HttpRequest] are not affected by this proto.
+ AppEngineHttpQueue app_engine_http_queue = 3;
+ }
+
+ // Rate limits for task dispatches.
+ //
+ // [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
+ // related because they both control task attempts. However they control task
+ // attempts in different ways:
+ //
+ // * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the total rate of
+ // dispatches from a queue (i.e. all traffic dispatched from the
+ // queue, regardless of whether the dispatch is from a first
+ // attempt or a retry).
+ // * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls what happens to
+ // particular a task after its first attempt fails. That is,
+ // [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls task retries (the
+ // second attempt, third attempt, etc).
+ //
+ // The queue's actual dispatch rate is the result of:
+ //
+ // * Number of tasks in the queue
+ // * User-specified throttling: [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits],
+ // [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config], and the
+ // [queue's state][google.cloud.tasks.v2beta3.Queue.state].
+ // * System throttling due to `429` (Too Many Requests) or `503` (Service
+ // Unavailable) responses from the worker, high error rates, or to smooth
+ // sudden large traffic spikes.
+ RateLimits rate_limits = 4;
+
+ // Settings that determine the retry behavior.
+ //
+ // * For tasks created using Cloud Tasks: the queue-level retry settings
+ // apply to all tasks in the queue that were created using Cloud Tasks.
+ // Retry settings cannot be set on individual tasks.
+ // * For tasks created using the App Engine SDK: the queue-level retry
+ // settings apply to all tasks in the queue which do not have retry settings
+ // explicitly set on the task and were created by the App Engine SDK. See
+ // [App Engine
+ // documentation](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/retrying-tasks).
+ RetryConfig retry_config = 5;
+
+ // Output only. The state of the queue.
+ //
+ // `state` can only be changed by calling
+ // [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue],
+ // [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue], or uploading
+ // [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref).
+ // [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] cannot be used to change `state`.
+ State state = 6;
+
+ // Output only. The last time this queue was purged.
+ //
+ // All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
+ // were purged.
+ //
+ // A queue can be purged using [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue], the
+ // [App Engine Task Queue SDK, or the Cloud
+ // Console](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue).
+ //
+ // Purge time will be truncated to the nearest microsecond. Purge
+ // time will be unset if the queue has never been purged.
+ google.protobuf.Timestamp purge_time = 7;
+
+ // The maximum amount of time that a task will be retained in
+ // this queue.
+ //
+ // Queues created by Cloud Tasks have a default `task_ttl` of 31 days.
+ // After a task has lived for `task_ttl`, the task will be deleted
+ // regardless of whether it was dispatched or not.
+ //
+ // The `task_ttl` for queues created via queue.yaml/xml is equal to the
+ // maximum duration because there is a
+ // [storage quota](https://cloud.google.com/appengine/quotas#Task_Queue) for
+ // these queues. To view the maximum valid duration, see the documentation for
+ // [Duration][google.protobuf.Duration].
+ google.protobuf.Duration task_ttl = 8;
+
+ // The task tombstone time to live (TTL).
+ //
+ // After a task is deleted or executed, the task's tombstone is
+ // retained for the length of time specified by `tombstone_ttl`.
+ // The tombstone is used by task de-duplication; another task with the same
+ // name can't be created until the tombstone has expired. For more information
+ // about task de-duplication, see the documentation for
+ // [CreateTaskRequest][google.cloud.tasks.v2beta3.CreateTaskRequest.task].
+ //
+ // Queues created by Cloud Tasks have a default `tombstone_ttl` of 1 hour.
+ google.protobuf.Duration tombstone_ttl = 9;
+
+ // Configuration options for writing logs to
+ // [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
+ // field is unset, then no logs are written.
+ StackdriverLoggingConfig stackdriver_logging_config = 10;
+
+ // Immutable. The type of a queue (push or pull).
+ //
+ // `Queue.type` is an immutable property of the queue that is set at the queue
+ // creation time. When left unspecified, the default value of `PUSH` is
+ // selected.
+ Type type = 11 [(google.api.field_behavior) = IMMUTABLE];
+
+ // Output only. The realtime, informational statistics for a queue. In order
+ // to receive the statistics the caller should include this field in the
+ // FieldMask.
+ QueueStats stats = 12 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// Rate limits.
+//
+// This message determines the maximum rate that tasks can be dispatched by a
+// queue, regardless of whether the dispatch is a first task attempt or a retry.
+//
+// Note: The debugging command, [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask], will run a task
+// even if the queue has reached its [RateLimits][google.cloud.tasks.v2beta3.RateLimits].
+message RateLimits {
+ // The maximum rate at which tasks are dispatched from this queue.
+ //
+ // If unspecified when the queue is created, Cloud Tasks will pick the
+ // default.
+ //
+ // * For [App Engine queues][google.cloud.tasks.v2beta3.AppEngineHttpQueue], the maximum allowed value
+ // is 500.
+ //
+ //
+ // This field has the same meaning as
+ // [rate in
+ // queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#rate).
+ double max_dispatches_per_second = 1;
+
+ // The max burst size.
+ //
+ // Max burst size limits how fast tasks in queue are processed when
+ // many tasks are in the queue and the rate is high. This field
+ // allows the queue to have a high rate so processing starts shortly
+ // after a task is enqueued, but still limits resource usage when
+ // many tasks are enqueued in a short period of time.
+ //
+ // The [token bucket](https://wikipedia.org/wiki/Token_Bucket)
+ // algorithm is used to control the rate of task dispatches. Each
+ // queue has a token bucket that holds tokens, up to the maximum
+ // specified by `max_burst_size`. Each time a task is dispatched, a
+ // token is removed from the bucket. Tasks will be dispatched until
+ // the queue's bucket runs out of tokens. The bucket will be
+ // continuously refilled with new tokens based on
+ // [max_dispatches_per_second][google.cloud.tasks.v2beta3.RateLimits.max_dispatches_per_second].
+ //
+ // The default value of `max_burst_size` is picked by Cloud Tasks
+ // based on the value of
+ // [max_dispatches_per_second][google.cloud.tasks.v2beta3.RateLimits.max_dispatches_per_second].
+ //
+ // The maximum value of `max_burst_size` is 500.
+ //
+ // For App Engine queues that were created or updated using
+ // `queue.yaml/xml`, `max_burst_size` is equal to
+ // [bucket_size](https://cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size).
+ // If
+ // [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] is called on a queue without
+ // explicitly setting a value for `max_burst_size`,
+ // `max_burst_size` value will get updated if
+ // [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] is updating
+ // [max_dispatches_per_second][google.cloud.tasks.v2beta3.RateLimits.max_dispatches_per_second].
+ //
+ int32 max_burst_size = 2;
+
+ // The maximum number of concurrent tasks that Cloud Tasks allows
+ // to be dispatched for this queue. After this threshold has been
+ // reached, Cloud Tasks stops dispatching tasks until the number of
+ // concurrent requests decreases.
+ //
+ // If unspecified when the queue is created, Cloud Tasks will pick the
+ // default.
+ //
+ //
+ // The maximum allowed value is 5,000.
+ //
+ //
+ // This field has the same meaning as
+ // [max_concurrent_requests in
+ // queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#max_concurrent_requests).
+ int32 max_concurrent_dispatches = 3;
+}
+
+// Retry config.
+//
+// These settings determine when a failed task attempt is retried.
+message RetryConfig {
+ // Number of attempts per task.
+ //
+ // Cloud Tasks will attempt the task `max_attempts` times (that is, if the
+ // first attempt fails, then there will be `max_attempts - 1` retries). Must
+ // be >= -1.
+ //
+ // If unspecified when the queue is created, Cloud Tasks will pick the
+ // default.
+ //
+ // -1 indicates unlimited attempts.
+ //
+ // This field has the same meaning as
+ // [task_retry_limit in
+ // queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
+ int32 max_attempts = 1;
+
+ // If positive, `max_retry_duration` specifies the time limit for
+ // retrying a failed task, measured from when the task was first
+ // attempted. Once `max_retry_duration` time has passed *and* the
+ // task has been attempted [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts]
+ // times, no further attempts will be made and the task will be
+ // deleted.
+ //
+ // If zero, then the task age is unlimited.
+ //
+ // If unspecified when the queue is created, Cloud Tasks will pick the
+ // default.
+ //
+ //
+ // `max_retry_duration` will be truncated to the nearest second.
+ //
+ // This field has the same meaning as
+ // [task_age_limit in
+ // queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
+ google.protobuf.Duration max_retry_duration = 2;
+
+ // A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
+ // [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
+ // [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration after it fails,
+ // if the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the task should be
+ // retried.
+ //
+ // If unspecified when the queue is created, Cloud Tasks will pick the
+ // default.
+ //
+ //
+ // `min_backoff` will be truncated to the nearest second.
+ //
+ // This field has the same meaning as
+ // [min_backoff_seconds in
+ // queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
+ google.protobuf.Duration min_backoff = 3;
+
+ // A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
+ // [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
+ // [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration after it fails,
+ // if the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the task should be
+ // retried.
+ //
+ // If unspecified when the queue is created, Cloud Tasks will pick the
+ // default.
+ //
+ //
+ // `max_backoff` will be truncated to the nearest second.
+ //
+ // This field has the same meaning as
+ // [max_backoff_seconds in
+ // queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
+ google.protobuf.Duration max_backoff = 4;
+
+ // The time between retries will double `max_doublings` times.
+ //
+ // A task's retry interval starts at
+ // [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff], then doubles
+ // `max_doublings` times, then increases linearly, and finally
+ // retries at intervals of
+ // [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] up to
+ // [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts] times.
+ //
+ // For example, if [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] is 10s,
+ // [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] is 300s, and
+ // `max_doublings` is 3, then the a task will first be retried in
+ // 10s. The retry interval will double three times, and then
+ // increase linearly by 2^3 * 10s. Finally, the task will retry at
+ // intervals of [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] until the
+ // task has been attempted [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts]
+ // times. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s,
+ // 240s, 300s, 300s, ....
+ //
+ // If unspecified when the queue is created, Cloud Tasks will pick the
+ // default.
+ //
+ //
+ // This field has the same meaning as
+ // [max_doublings in
+ // queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
+ int32 max_doublings = 5;
+}
+
+// Configuration options for writing logs to
+// [Stackdriver Logging](https://cloud.google.com/logging/docs/).
+message StackdriverLoggingConfig {
+ // Specifies the fraction of operations to write to
+ // [Stackdriver Logging](https://cloud.google.com/logging/docs/).
+ // This field may contain any value between 0.0 and 1.0, inclusive.
+ // 0.0 is the default and means that no operations are logged.
+ double sampling_ratio = 1;
+}
+
+// Statistics for a queue.
+message QueueStats {
+ // Output only. An estimation of the number of tasks in the queue, that is, the tasks in
+ // the queue that haven't been executed, the tasks in the queue which the
+ // queue has dispatched but has not yet received a reply for, and the failed
+ // tasks that the queue is retrying.
+ int64 tasks_count = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. An estimation of the nearest time in the future where a task in the queue
+ // is scheduled to be executed.
+ google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The number of tasks that the queue has dispatched and received a reply for
+ // during the last minute. This variable counts both successful and
+ // non-successful executions.
+ int64 executed_last_minute_count = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The number of requests that the queue has dispatched but has not received
+ // a reply for yet.
+ int64 concurrent_dispatches_count = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The current maximum number of tasks per second executed by the queue.
+ // The maximum value of this variable is controlled by the RateLimits of the
+ // Queue. However, this value could be less to avoid overloading the endpoints
+ // tasks in the queue are targeting.
+ double effective_execution_rate = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
diff --git a/packages/google-cloud-tasks/protos/google/cloud/tasks/v2beta3/target.proto b/packages/google-cloud-tasks/protos/google/cloud/tasks/v2beta3/target.proto
new file mode 100644
index 00000000000..efebfedf71a
--- /dev/null
+++ b/packages/google-cloud-tasks/protos/google/cloud/tasks/v2beta3/target.proto
@@ -0,0 +1,459 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.tasks.v2beta3;
+
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/tasks/v2beta3;tasks";
+option java_multiple_files = true;
+option java_outer_classname = "TargetProto";
+option java_package = "com.google.cloud.tasks.v2beta3";
+
+// Pull Message.
+//
+// This proto can only be used for tasks in a queue which has
+// [PULL][google.cloud.tasks.v2beta3.Queue.type] type. It currently exists for backwards compatibility with
+// the App Engine Task Queue SDK. This message type maybe returned with methods
+// [list][google.cloud.tasks.v2beta3.CloudTask.ListTasks] and
+// [get][google.cloud.tasks.v2beta3.CloudTask.ListTasks], when the response view
+// is [FULL][google.cloud.tasks.v2beta3.Task.View.Full].
+message PullMessage {
+ // A data payload consumed by the worker to execute the task.
+ bytes payload = 1;
+
+ // The tasks's tag.
+ //
+ // The tag is less than 500 characters.
+ //
+ // SDK compatibility: Although the SDK allows tags to be either
+ // string or
+ // [bytes](https://cloud.google.com/appengine/docs/standard/java/javadoc/com/google/appengine/api/taskqueue/TaskOptions.html#tag-byte:A-),
+ // only UTF-8 encoded tags can be used in Cloud Tasks. If a tag isn't UTF-8
+ // encoded, the tag will be empty when the task is returned by Cloud Tasks.
+ string tag = 2;
+}
+
+// HTTP request.
+//
+// The task will be pushed to the worker as an HTTP request. If the worker
+// or the redirected worker acknowledges the task by returning a successful HTTP
+// response code ([`200` - `299`]), the task will be removed from the queue. If
+// any other HTTP response code is returned or no response is received, the
+// task will be retried according to the following:
+//
+// * User-specified throttling: [retry configuration][google.cloud.tasks.v2beta3.Queue.retry_config],
+// [rate limits][google.cloud.tasks.v2beta3.Queue.rate_limits], and the [queue's state][google.cloud.tasks.v2beta3.Queue.state].
+//
+// * System throttling: To prevent the worker from overloading, Cloud Tasks may
+// temporarily reduce the queue's effective rate. User-specified settings
+// will not be changed.
+//
+// System throttling happens because:
+//
+// * Cloud Tasks backs off on all errors. Normally the backoff specified in
+// [rate limits][google.cloud.tasks.v2beta3.Queue.rate_limits] will be used. But if the worker returns
+// `429` (Too Many Requests), `503` (Service Unavailable), or the rate of
+// errors is high, Cloud Tasks will use a higher backoff rate. The retry
+// specified in the `Retry-After` HTTP response header is considered.
+//
+// * To prevent traffic spikes and to smooth sudden increases in traffic,
+// dispatches ramp up slowly when the queue is newly created or idle and
+// if large numbers of tasks suddenly become available to dispatch (due to
+// spikes in create task rates, the queue being unpaused, or many tasks
+// that are scheduled at the same time).
+message HttpRequest {
+ // Required. The full url path that the request will be sent to.
+ //
+ // This string must begin with either "http://" or "https://". Some examples
+ // are: `http://acme.com` and `https://acme.com/sales:8080`. Cloud Tasks will
+ // encode some characters for safety and compatibility. The maximum allowed
+ // URL length is 2083 characters after encoding.
+ //
+ // The `Location` header response from a redirect response [`300` - `399`]
+ // may be followed. The redirect is not counted as a separate attempt.
+ string url = 1;
+
+ // The HTTP method to use for the request. The default is POST.
+ HttpMethod http_method = 2;
+
+ // HTTP request headers.
+ //
+ // This map contains the header field names and values.
+ // Headers can be set when the
+ // [task is created][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
+ //
+ // These headers represent a subset of the headers that will accompany the
+ // task's HTTP request. Some HTTP request headers will be ignored or replaced.
+ //
+ // A partial list of headers that will be ignored or replaced is:
+ //
+ // * Host: This will be computed by Cloud Tasks and derived from
+ // [HttpRequest.url][google.cloud.tasks.v2beta3.HttpRequest.url].
+ // * Content-Length: This will be computed by Cloud Tasks.
+ // * User-Agent: This will be set to `"Google-Cloud-Tasks"`.
+ // * `X-Google-*`: Google use only.
+ // * `X-AppEngine-*`: Google use only.
+ //
+ // `Content-Type` won't be set by Cloud Tasks. You can explicitly set
+ // `Content-Type` to a media type when the
+ // [task is created][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
+ // For example, `Content-Type` can be set to `"application/octet-stream"` or
+ // `"application/json"`.
+ //
+ // Headers which can have multiple values (according to RFC2616) can be
+ // specified using comma-separated values.
+ //
+ // The size of the headers must be less than 80KB.
+ map headers = 3;
+
+ // HTTP request body.
+ //
+ // A request body is allowed only if the
+ // [HTTP method][google.cloud.tasks.v2beta3.HttpRequest.http_method] is POST, PUT, or PATCH. It is an
+ // error to set body on a task with an incompatible [HttpMethod][google.cloud.tasks.v2beta3.HttpMethod].
+ bytes body = 4;
+
+ // The mode for generating an `Authorization` header for HTTP requests.
+ //
+ // If specified, all `Authorization` headers in the [HttpRequest.headers][google.cloud.tasks.v2beta3.HttpRequest.headers]
+ // field will be overridden.
+ oneof authorization_header {
+ // If specified, an
+ // [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
+ // will be generated and attached as an `Authorization` header in the HTTP
+ // request.
+ //
+ // This type of authorization should generally only be used when calling
+ // Google APIs hosted on *.googleapis.com.
+ OAuthToken oauth_token = 5;
+
+ // If specified, an
+ // [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
+ // token will be generated and attached as an `Authorization` header in the
+ // HTTP request.
+ //
+ // This type of authorization can be used for many scenarios, including
+ // calling Cloud Run, or endpoints where you intend to validate the token
+ // yourself.
+ OidcToken oidc_token = 6;
+ }
+}
+
+// App Engine HTTP queue.
+//
+// The task will be delivered to the App Engine application hostname
+// specified by its [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] and [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest].
+// The documentation for [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] explains how the
+// task's host URL is constructed.
+//
+// Using [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] requires
+// [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control)
+// Google IAM permission for the project
+// and the following scope:
+//
+// `https://www.googleapis.com/auth/cloud-platform`
+message AppEngineHttpQueue {
+ // Overrides for the
+ // [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
+ //
+ // If set, `app_engine_routing_override` is used for all tasks in
+ // the queue, no matter what the setting is for the
+ // [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
+ AppEngineRouting app_engine_routing_override = 1;
+}
+
+// App Engine HTTP request.
+//
+// The message defines the HTTP request that is sent to an App Engine app when
+// the task is dispatched.
+//
+// Using [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] requires
+// [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control)
+// Google IAM permission for the project
+// and the following scope:
+//
+// `https://www.googleapis.com/auth/cloud-platform`
+//
+// The task will be delivered to the App Engine app which belongs to the same
+// project as the queue. For more information, see
+// [How Requests are
+// Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed)
+// and how routing is affected by
+// [dispatch
+// files](https://cloud.google.com/appengine/docs/python/config/dispatchref).
+// Traffic is encrypted during transport and never leaves Google datacenters.
+// Because this traffic is carried over a communication mechanism internal to
+// Google, you cannot explicitly set the protocol (for example, HTTP or HTTPS).
+// The request to the handler, however, will appear to have used the HTTP
+// protocol.
+//
+// The [AppEngineRouting][google.cloud.tasks.v2beta3.AppEngineRouting] used to construct the URL that the task is
+// delivered to can be set at the queue-level or task-level:
+//
+// * If set,
+// [app_engine_routing_override][google.cloud.tasks.v2beta3.AppEngineHttpQueue.app_engine_routing_override]
+// is used for all tasks in the queue, no matter what the setting
+// is for the
+// [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
+//
+//
+// The `url` that the task will be sent to is:
+//
+// * `url =` [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] `+`
+// [relative_uri][google.cloud.tasks.v2beta3.AppEngineHttpRequest.relative_uri]
+//
+// Tasks can be dispatched to secure app handlers, unsecure app handlers, and
+// URIs restricted with
+// [`login:
+// admin`](https://cloud.google.com/appengine/docs/standard/python/config/appref).
+// Because tasks are not run as any user, they cannot be dispatched to URIs
+// restricted with
+// [`login:
+// required`](https://cloud.google.com/appengine/docs/standard/python/config/appref)
+// Task dispatches also do not follow redirects.
+//
+// The task attempt has succeeded if the app's request handler returns an HTTP
+// response code in the range [`200` - `299`]. The task attempt has failed if
+// the app's handler returns a non-2xx response code or Cloud Tasks does
+// not receive response before the [deadline][google.cloud.tasks.v2beta3.Task.dispatch_deadline]. Failed
+// tasks will be retried according to the
+// [retry configuration][google.cloud.tasks.v2beta3.Queue.retry_config]. `503` (Service Unavailable) is
+// considered an App Engine system error instead of an application error and
+// will cause Cloud Tasks' traffic congestion control to temporarily throttle
+// the queue's dispatches. Unlike other types of task targets, a `429` (Too Many
+// Requests) response from an app handler does not cause traffic congestion
+// control to throttle the queue.
+message AppEngineHttpRequest {
+ // The HTTP method to use for the request. The default is POST.
+ //
+ // The app's request handler for the task's target URL must be able to handle
+ // HTTP requests with this http_method, otherwise the task attempt fails with
+ // error code 405 (Method Not Allowed). See [Writing a push task request
+ // handler](https://cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler)
+ // and the App Engine documentation for your runtime on [How Requests are
+ // Handled](https://cloud.google.com/appengine/docs/standard/python3/how-requests-are-handled).
+ HttpMethod http_method = 1;
+
+ // Task-level setting for App Engine routing.
+ //
+ // If set,
+ // [app_engine_routing_override][google.cloud.tasks.v2beta3.AppEngineHttpQueue.app_engine_routing_override]
+ // is used for all tasks in the queue, no matter what the setting is for the
+ // [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
+ AppEngineRouting app_engine_routing = 2;
+
+ // The relative URI.
+ //
+ // The relative URI must begin with "/" and must be a valid HTTP relative URI.
+ // It can contain a path and query string arguments.
+ // If the relative URI is empty, then the root path "/" will be used.
+ // No spaces are allowed, and the maximum length allowed is 2083 characters.
+ string relative_uri = 3;
+
+ // HTTP request headers.
+ //
+ // This map contains the header field names and values.
+ // Headers can be set when the
+ // [task is created][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
+ // Repeated headers are not supported but a header value can contain commas.
+ //
+ // Cloud Tasks sets some headers to default values:
+ //
+ // * `User-Agent`: By default, this header is
+ // `"AppEngine-Google; (+http://code.google.com/appengine)"`.
+ // This header can be modified, but Cloud Tasks will append
+ // `"AppEngine-Google; (+http://code.google.com/appengine)"` to the
+ // modified `User-Agent`.
+ //
+ // If the task has a [body][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body], Cloud
+ // Tasks sets the following headers:
+ //
+ // * `Content-Type`: By default, the `Content-Type` header is set to
+ // `"application/octet-stream"`. The default can be overridden by explicitly
+ // setting `Content-Type` to a particular media type when the
+ // [task is created][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
+ // For example, `Content-Type` can be set to `"application/json"`.
+ // * `Content-Length`: This is computed by Cloud Tasks. This value is
+ // output only. It cannot be changed.
+ //
+ // The headers below cannot be set or overridden:
+ //
+ // * `Host`
+ // * `X-Google-*`
+ // * `X-AppEngine-*`
+ //
+ // In addition, Cloud Tasks sets some headers when the task is dispatched,
+ // such as headers containing information about the task; see
+ // [request
+ // headers](https://cloud.google.com/tasks/docs/creating-appengine-handlers#reading_request_headers).
+ // These headers are set only when the task is dispatched, so they are not
+ // visible when the task is returned in a Cloud Tasks response.
+ //
+ // Although there is no specific limit for the maximum number of headers or
+ // the size, there is a limit on the maximum size of the [Task][google.cloud.tasks.v2beta3.Task]. For more
+ // information, see the [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] documentation.
+ map headers = 4;
+
+ // HTTP request body.
+ //
+ // A request body is allowed only if the HTTP method is POST or PUT. It is
+ // an error to set a body on a task with an incompatible [HttpMethod][google.cloud.tasks.v2beta3.HttpMethod].
+ bytes body = 5;
+}
+
+// App Engine Routing.
+//
+// Defines routing characteristics specific to App Engine - service, version,
+// and instance.
+//
+// For more information about services, versions, and instances see
+// [An Overview of App
+// Engine](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine),
+// [Microservices Architecture on Google App
+// Engine](https://cloud.google.com/appengine/docs/python/microservices-on-app-engine),
+// [App Engine Standard request
+// routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed),
+// and [App Engine Flex request
+// routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed).
+message AppEngineRouting {
+ // App service.
+ //
+ // By default, the task is sent to the service which is the default
+ // service when the task is attempted.
+ //
+ // For some queues or tasks which were created using the App Engine
+ // Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable
+ // into [service][google.cloud.tasks.v2beta3.AppEngineRouting.service],
+ // [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and
+ // [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For example, some tasks
+ // which were created using the App Engine SDK use a custom domain
+ // name; custom domains are not parsed by Cloud Tasks. If
+ // [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, then
+ // [service][google.cloud.tasks.v2beta3.AppEngineRouting.service],
+ // [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and
+ // [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the empty string.
+ string service = 1;
+
+ // App version.
+ //
+ // By default, the task is sent to the version which is the default
+ // version when the task is attempted.
+ //
+ // For some queues or tasks which were created using the App Engine
+ // Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable
+ // into [service][google.cloud.tasks.v2beta3.AppEngineRouting.service],
+ // [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and
+ // [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For example, some tasks
+ // which were created using the App Engine SDK use a custom domain
+ // name; custom domains are not parsed by Cloud Tasks. If
+ // [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, then
+ // [service][google.cloud.tasks.v2beta3.AppEngineRouting.service],
+ // [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and
+ // [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the empty string.
+ string version = 2;
+
+ // App instance.
+ //
+ // By default, the task is sent to an instance which is available when
+ // the task is attempted.
+ //
+ // Requests can only be sent to a specific instance if
+ // [manual scaling is used in App Engine
+ // Standard](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine?hl=en_US#scaling_types_and_instance_classes).
+ // App Engine Flex does not support instances. For more information, see
+ // [App Engine Standard request
+ // routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed)
+ // and [App Engine Flex request
+ // routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed).
+ string instance = 3;
+
+ // Output only. The host that the task is sent to.
+ //
+ // The host is constructed from the domain name of the app associated with
+ // the queue's project ID (for example .appspot.com), and the
+ // [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], [version][google.cloud.tasks.v2beta3.AppEngineRouting.version],
+ // and [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. Tasks which were created using
+ // the App Engine SDK might have a custom domain name.
+ //
+ // For more information, see
+ // [How Requests are
+ // Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed).
+ string host = 4;
+}
+
+// The HTTP method used to execute the task.
+enum HttpMethod {
+ // HTTP method unspecified
+ HTTP_METHOD_UNSPECIFIED = 0;
+
+ // HTTP POST
+ POST = 1;
+
+ // HTTP GET
+ GET = 2;
+
+ // HTTP HEAD
+ HEAD = 3;
+
+ // HTTP PUT
+ PUT = 4;
+
+ // HTTP DELETE
+ DELETE = 5;
+
+ // HTTP PATCH
+ PATCH = 6;
+
+ // HTTP OPTIONS
+ OPTIONS = 7;
+}
+
+// Contains information needed for generating an
+// [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
+// This type of authorization should generally only be used when calling Google
+// APIs hosted on *.googleapis.com.
+message OAuthToken {
+ // [Service account email](https://cloud.google.com/iam/docs/service-accounts)
+ // to be used for generating OAuth token.
+ // The service account must be within the same project as the queue. The
+ // caller must have iam.serviceAccounts.actAs permission for the service
+ // account.
+ string service_account_email = 1;
+
+ // OAuth scope to be used for generating OAuth access token.
+ // If not specified, "https://www.googleapis.com/auth/cloud-platform"
+ // will be used.
+ string scope = 2;
+}
+
+// Contains information needed for generating an
+// [OpenID Connect
+// token](https://developers.google.com/identity/protocols/OpenIDConnect).
+// This type of authorization can be used for many scenarios, including
+// calling Cloud Run, or endpoints where you intend to validate the token
+// yourself.
+message OidcToken {
+ // [Service account email](https://cloud.google.com/iam/docs/service-accounts)
+ // to be used for generating OIDC token.
+ // The service account must be within the same project as the queue. The
+ // caller must have iam.serviceAccounts.actAs permission for the service
+ // account.
+ string service_account_email = 1;
+
+ // Audience to be used when generating OIDC token. If not specified, the URI
+ // specified in target will be used.
+ string audience = 2;
+}
diff --git a/packages/google-cloud-tasks/protos/google/cloud/tasks/v2beta3/task.proto b/packages/google-cloud-tasks/protos/google/cloud/tasks/v2beta3/task.proto
new file mode 100644
index 00000000000..b491b5aaa37
--- /dev/null
+++ b/packages/google-cloud-tasks/protos/google/cloud/tasks/v2beta3/task.proto
@@ -0,0 +1,200 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.tasks.v2beta3;
+
+import "google/api/resource.proto";
+import "google/cloud/tasks/v2beta3/target.proto";
+import "google/protobuf/duration.proto";
+import "google/protobuf/timestamp.proto";
+import "google/rpc/status.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/tasks/v2beta3;tasks";
+option java_multiple_files = true;
+option java_outer_classname = "TaskProto";
+option java_package = "com.google.cloud.tasks.v2beta3";
+
+// A unit of scheduled work.
+message Task {
+ option (google.api.resource) = {
+ type: "cloudtasks.googleapis.com/Task"
+ pattern: "projects/{project}/locations/{location}/queues/{queue}/tasks/{task}"
+ };
+
+ // The view specifies a subset of [Task][google.cloud.tasks.v2beta3.Task] data.
+ //
+ // When a task is returned in a response, not all
+ // information is retrieved by default because some data, such as
+ // payloads, might be desirable to return only when needed because
+ // of its large size or because of the sensitivity of data that it
+ // contains.
+ enum View {
+ // Unspecified. Defaults to BASIC.
+ VIEW_UNSPECIFIED = 0;
+
+ // The basic view omits fields which can be large or can contain
+ // sensitive data.
+ //
+ // This view does not include the
+ // [body in AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body].
+ // Bodies are desirable to return only when needed, because they
+ // can be large and because of the sensitivity of the data that you
+ // choose to store in it.
+ BASIC = 1;
+
+ // All information is returned.
+ //
+ // Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
+ // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+ // permission on the [Queue][google.cloud.tasks.v2beta3.Queue] resource.
+ FULL = 2;
+ }
+
+ // Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
+ //
+ // The task name.
+ //
+ // The task name must have the following format:
+ // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
+ //
+ // * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]),
+ // hyphens (-), colons (:), or periods (.).
+ // For more information, see
+ // [Identifying
+ // projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects)
+ // * `LOCATION_ID` is the canonical ID for the task's location.
+ // The list of available locations can be obtained by calling
+ // [ListLocations][google.cloud.location.Locations.ListLocations].
+ // For more information, see https://cloud.google.com/about/locations/.
+ // * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or
+ // hyphens (-). The maximum length is 100 characters.
+ // * `TASK_ID` can contain only letters ([A-Za-z]), numbers ([0-9]),
+ // hyphens (-), or underscores (_). The maximum length is 500 characters.
+ string name = 1;
+
+ // Required. The message to send to the worker.
+ oneof payload_type {
+ // HTTP request that is sent to the App Engine app handler.
+ //
+ // An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
+ AppEngineHttpRequest app_engine_http_request = 3;
+
+ // HTTP request that is sent to the task's target.
+ //
+ // An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set.
+ HttpRequest http_request = 11;
+
+ // Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This
+ // payload type cannot be explicitly set through Cloud Tasks API. Its
+ // purpose, currently is to provide backward compatibility with App Engine
+ // Task Queue
+ // [pull](https://cloud.google.com/appengine/docs/standard/java/taskqueue/pull/)
+ // queues to provide a way to inspect contents of pull tasks through the
+ // [CloudTasks.GetTask][google.cloud.tasks.v2beta3.CloudTasks.GetTask].
+ PullMessage pull_message = 13;
+ }
+
+ // The time when the task is scheduled to be attempted.
+ //
+ // For App Engine queues, this is when the task will be attempted or retried.
+ //
+ // `schedule_time` will be truncated to the nearest microsecond.
+ google.protobuf.Timestamp schedule_time = 4;
+
+ // Output only. The time that the task was created.
+ //
+ // `create_time` will be truncated to the nearest second.
+ google.protobuf.Timestamp create_time = 5;
+
+ // The deadline for requests sent to the worker. If the worker does not
+ // respond by this deadline then the request is cancelled and the attempt
+ // is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the
+ // task according to the [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig].
+ //
+ // Note that when the request is cancelled, Cloud Tasks will stop listening
+ // for the response, but whether the worker stops processing depends on the
+ // worker. For example, if the worker is stuck, it may not react to cancelled
+ // requests.
+ //
+ // The default and maximum values depend on the type of request:
+ //
+ // * For [HTTP tasks][google.cloud.tasks.v2beta3.HttpRequest], the default is 10 minutes. The deadline
+ // must be in the interval [15 seconds, 30 minutes].
+ //
+ // * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], 0 indicates that the
+ // request has the default deadline. The default deadline depends on the
+ // [scaling
+ // type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling)
+ // of the service: 10 minutes for standard apps with automatic scaling, 24
+ // hours for standard apps with manual and basic scaling, and 60 minutes for
+ // flex apps. If the request deadline is set, it must be in the interval [15
+ // seconds, 24 hours 15 seconds]. Regardless of the task's
+ // `dispatch_deadline`, the app handler will not run for longer than than
+ // the service's timeout. We recommend setting the `dispatch_deadline` to
+ // at most a few seconds more than the app handler's timeout. For more
+ // information see
+ // [Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#timeouts).
+ //
+ // `dispatch_deadline` will be truncated to the nearest millisecond. The
+ // deadline is an approximate deadline.
+ google.protobuf.Duration dispatch_deadline = 12;
+
+ // Output only. The number of attempts dispatched.
+ //
+ // This count includes attempts which have been dispatched but haven't
+ // received a response.
+ int32 dispatch_count = 6;
+
+ // Output only. The number of attempts which have received a response.
+ int32 response_count = 7;
+
+ // Output only. The status of the task's first attempt.
+ //
+ // Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
+ // The other [Attempt][google.cloud.tasks.v2beta3.Attempt] information is not retained by Cloud Tasks.
+ Attempt first_attempt = 8;
+
+ // Output only. The status of the task's last attempt.
+ Attempt last_attempt = 9;
+
+ // Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
+ // been returned.
+ View view = 10;
+}
+
+// The status of a task attempt.
+message Attempt {
+ // Output only. The time that this attempt was scheduled.
+ //
+ // `schedule_time` will be truncated to the nearest microsecond.
+ google.protobuf.Timestamp schedule_time = 1;
+
+ // Output only. The time that this attempt was dispatched.
+ //
+ // `dispatch_time` will be truncated to the nearest microsecond.
+ google.protobuf.Timestamp dispatch_time = 2;
+
+ // Output only. The time that this attempt response was received.
+ //
+ // `response_time` will be truncated to the nearest microsecond.
+ google.protobuf.Timestamp response_time = 3;
+
+ // Output only. The response from the worker for this attempt.
+ //
+ // If `response_time` is unset, then the task has not been attempted or is
+ // currently running and the `response_status` field is meaningless.
+ google.rpc.Status response_status = 4;
+}
diff --git a/packages/google-cloud-tasks/protos/protos.d.ts b/packages/google-cloud-tasks/protos/protos.d.ts
new file mode 100644
index 00000000000..b809ae7a119
--- /dev/null
+++ b/packages/google-cloud-tasks/protos/protos.d.ts
@@ -0,0 +1,16970 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+import type {protobuf as $protobuf} from "google-gax";
+import Long = require("long");
+/** Namespace google. */
+export namespace google {
+
+ /** Namespace cloud. */
+ namespace cloud {
+
+ /** Namespace tasks. */
+ namespace tasks {
+
+ /** Namespace v2. */
+ namespace v2 {
+
+ /** Represents a CloudTasks */
+ class CloudTasks extends $protobuf.rpc.Service {
+
+ /**
+ * Constructs a new CloudTasks service.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ */
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
+
+ /**
+ * Creates new CloudTasks service using the specified rpc implementation.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ * @returns RPC service. Useful where requests and/or responses are streamed.
+ */
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): CloudTasks;
+
+ /**
+ * Calls ListQueues.
+ * @param request ListQueuesRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListQueuesResponse
+ */
+ public listQueues(request: google.cloud.tasks.v2.IListQueuesRequest, callback: google.cloud.tasks.v2.CloudTasks.ListQueuesCallback): void;
+
+ /**
+ * Calls ListQueues.
+ * @param request ListQueuesRequest message or plain object
+ * @returns Promise
+ */
+ public listQueues(request: google.cloud.tasks.v2.IListQueuesRequest): Promise;
+
+ /**
+ * Calls GetQueue.
+ * @param request GetQueueRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Queue
+ */
+ public getQueue(request: google.cloud.tasks.v2.IGetQueueRequest, callback: google.cloud.tasks.v2.CloudTasks.GetQueueCallback): void;
+
+ /**
+ * Calls GetQueue.
+ * @param request GetQueueRequest message or plain object
+ * @returns Promise
+ */
+ public getQueue(request: google.cloud.tasks.v2.IGetQueueRequest): Promise;
+
+ /**
+ * Calls CreateQueue.
+ * @param request CreateQueueRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Queue
+ */
+ public createQueue(request: google.cloud.tasks.v2.ICreateQueueRequest, callback: google.cloud.tasks.v2.CloudTasks.CreateQueueCallback): void;
+
+ /**
+ * Calls CreateQueue.
+ * @param request CreateQueueRequest message or plain object
+ * @returns Promise
+ */
+ public createQueue(request: google.cloud.tasks.v2.ICreateQueueRequest): Promise;
+
+ /**
+ * Calls UpdateQueue.
+ * @param request UpdateQueueRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Queue
+ */
+ public updateQueue(request: google.cloud.tasks.v2.IUpdateQueueRequest, callback: google.cloud.tasks.v2.CloudTasks.UpdateQueueCallback): void;
+
+ /**
+ * Calls UpdateQueue.
+ * @param request UpdateQueueRequest message or plain object
+ * @returns Promise
+ */
+ public updateQueue(request: google.cloud.tasks.v2.IUpdateQueueRequest): Promise;
+
+ /**
+ * Calls DeleteQueue.
+ * @param request DeleteQueueRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public deleteQueue(request: google.cloud.tasks.v2.IDeleteQueueRequest, callback: google.cloud.tasks.v2.CloudTasks.DeleteQueueCallback): void;
+
+ /**
+ * Calls DeleteQueue.
+ * @param request DeleteQueueRequest message or plain object
+ * @returns Promise
+ */
+ public deleteQueue(request: google.cloud.tasks.v2.IDeleteQueueRequest): Promise;
+
+ /**
+ * Calls PurgeQueue.
+ * @param request PurgeQueueRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Queue
+ */
+ public purgeQueue(request: google.cloud.tasks.v2.IPurgeQueueRequest, callback: google.cloud.tasks.v2.CloudTasks.PurgeQueueCallback): void;
+
+ /**
+ * Calls PurgeQueue.
+ * @param request PurgeQueueRequest message or plain object
+ * @returns Promise
+ */
+ public purgeQueue(request: google.cloud.tasks.v2.IPurgeQueueRequest): Promise;
+
+ /**
+ * Calls PauseQueue.
+ * @param request PauseQueueRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Queue
+ */
+ public pauseQueue(request: google.cloud.tasks.v2.IPauseQueueRequest, callback: google.cloud.tasks.v2.CloudTasks.PauseQueueCallback): void;
+
+ /**
+ * Calls PauseQueue.
+ * @param request PauseQueueRequest message or plain object
+ * @returns Promise
+ */
+ public pauseQueue(request: google.cloud.tasks.v2.IPauseQueueRequest): Promise;
+
+ /**
+ * Calls ResumeQueue.
+ * @param request ResumeQueueRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Queue
+ */
+ public resumeQueue(request: google.cloud.tasks.v2.IResumeQueueRequest, callback: google.cloud.tasks.v2.CloudTasks.ResumeQueueCallback): void;
+
+ /**
+ * Calls ResumeQueue.
+ * @param request ResumeQueueRequest message or plain object
+ * @returns Promise
+ */
+ public resumeQueue(request: google.cloud.tasks.v2.IResumeQueueRequest): Promise;
+
+ /**
+ * Calls GetIamPolicy.
+ * @param request GetIamPolicyRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Policy
+ */
+ public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest, callback: google.cloud.tasks.v2.CloudTasks.GetIamPolicyCallback): void;
+
+ /**
+ * Calls GetIamPolicy.
+ * @param request GetIamPolicyRequest message or plain object
+ * @returns Promise
+ */
+ public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest): Promise;
+
+ /**
+ * Calls SetIamPolicy.
+ * @param request SetIamPolicyRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Policy
+ */
+ public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest, callback: google.cloud.tasks.v2.CloudTasks.SetIamPolicyCallback): void;
+
+ /**
+ * Calls SetIamPolicy.
+ * @param request SetIamPolicyRequest message or plain object
+ * @returns Promise
+ */
+ public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest): Promise;
+
+ /**
+ * Calls TestIamPermissions.
+ * @param request TestIamPermissionsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and TestIamPermissionsResponse
+ */
+ public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest, callback: google.cloud.tasks.v2.CloudTasks.TestIamPermissionsCallback): void;
+
+ /**
+ * Calls TestIamPermissions.
+ * @param request TestIamPermissionsRequest message or plain object
+ * @returns Promise
+ */
+ public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest): Promise;
+
+ /**
+ * Calls ListTasks.
+ * @param request ListTasksRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListTasksResponse
+ */
+ public listTasks(request: google.cloud.tasks.v2.IListTasksRequest, callback: google.cloud.tasks.v2.CloudTasks.ListTasksCallback): void;
+
+ /**
+ * Calls ListTasks.
+ * @param request ListTasksRequest message or plain object
+ * @returns Promise
+ */
+ public listTasks(request: google.cloud.tasks.v2.IListTasksRequest): Promise;
+
+ /**
+ * Calls GetTask.
+ * @param request GetTaskRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Task
+ */
+ public getTask(request: google.cloud.tasks.v2.IGetTaskRequest, callback: google.cloud.tasks.v2.CloudTasks.GetTaskCallback): void;
+
+ /**
+ * Calls GetTask.
+ * @param request GetTaskRequest message or plain object
+ * @returns Promise
+ */
+ public getTask(request: google.cloud.tasks.v2.IGetTaskRequest): Promise;
+
+ /**
+ * Calls CreateTask.
+ * @param request CreateTaskRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Task
+ */
+ public createTask(request: google.cloud.tasks.v2.ICreateTaskRequest, callback: google.cloud.tasks.v2.CloudTasks.CreateTaskCallback): void;
+
+ /**
+ * Calls CreateTask.
+ * @param request CreateTaskRequest message or plain object
+ * @returns Promise
+ */
+ public createTask(request: google.cloud.tasks.v2.ICreateTaskRequest): Promise;
+
+ /**
+ * Calls DeleteTask.
+ * @param request DeleteTaskRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public deleteTask(request: google.cloud.tasks.v2.IDeleteTaskRequest, callback: google.cloud.tasks.v2.CloudTasks.DeleteTaskCallback): void;
+
+ /**
+ * Calls DeleteTask.
+ * @param request DeleteTaskRequest message or plain object
+ * @returns Promise
+ */
+ public deleteTask(request: google.cloud.tasks.v2.IDeleteTaskRequest): Promise;
+
+ /**
+ * Calls RunTask.
+ * @param request RunTaskRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Task
+ */
+ public runTask(request: google.cloud.tasks.v2.IRunTaskRequest, callback: google.cloud.tasks.v2.CloudTasks.RunTaskCallback): void;
+
+ /**
+ * Calls RunTask.
+ * @param request RunTaskRequest message or plain object
+ * @returns Promise
+ */
+ public runTask(request: google.cloud.tasks.v2.IRunTaskRequest): Promise;
+ }
+
+ namespace CloudTasks {
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2.CloudTasks|listQueues}.
+ * @param error Error, if any
+ * @param [response] ListQueuesResponse
+ */
+ type ListQueuesCallback = (error: (Error|null), response?: google.cloud.tasks.v2.ListQueuesResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2.CloudTasks|getQueue}.
+ * @param error Error, if any
+ * @param [response] Queue
+ */
+ type GetQueueCallback = (error: (Error|null), response?: google.cloud.tasks.v2.Queue) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2.CloudTasks|createQueue}.
+ * @param error Error, if any
+ * @param [response] Queue
+ */
+ type CreateQueueCallback = (error: (Error|null), response?: google.cloud.tasks.v2.Queue) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2.CloudTasks|updateQueue}.
+ * @param error Error, if any
+ * @param [response] Queue
+ */
+ type UpdateQueueCallback = (error: (Error|null), response?: google.cloud.tasks.v2.Queue) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2.CloudTasks|deleteQueue}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type DeleteQueueCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2.CloudTasks|purgeQueue}.
+ * @param error Error, if any
+ * @param [response] Queue
+ */
+ type PurgeQueueCallback = (error: (Error|null), response?: google.cloud.tasks.v2.Queue) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2.CloudTasks|pauseQueue}.
+ * @param error Error, if any
+ * @param [response] Queue
+ */
+ type PauseQueueCallback = (error: (Error|null), response?: google.cloud.tasks.v2.Queue) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2.CloudTasks|resumeQueue}.
+ * @param error Error, if any
+ * @param [response] Queue
+ */
+ type ResumeQueueCallback = (error: (Error|null), response?: google.cloud.tasks.v2.Queue) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2.CloudTasks|getIamPolicy}.
+ * @param error Error, if any
+ * @param [response] Policy
+ */
+ type GetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2.CloudTasks|setIamPolicy}.
+ * @param error Error, if any
+ * @param [response] Policy
+ */
+ type SetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2.CloudTasks|testIamPermissions}.
+ * @param error Error, if any
+ * @param [response] TestIamPermissionsResponse
+ */
+ type TestIamPermissionsCallback = (error: (Error|null), response?: google.iam.v1.TestIamPermissionsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2.CloudTasks|listTasks}.
+ * @param error Error, if any
+ * @param [response] ListTasksResponse
+ */
+ type ListTasksCallback = (error: (Error|null), response?: google.cloud.tasks.v2.ListTasksResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2.CloudTasks|getTask}.
+ * @param error Error, if any
+ * @param [response] Task
+ */
+ type GetTaskCallback = (error: (Error|null), response?: google.cloud.tasks.v2.Task) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2.CloudTasks|createTask}.
+ * @param error Error, if any
+ * @param [response] Task
+ */
+ type CreateTaskCallback = (error: (Error|null), response?: google.cloud.tasks.v2.Task) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2.CloudTasks|deleteTask}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type DeleteTaskCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2.CloudTasks|runTask}.
+ * @param error Error, if any
+ * @param [response] Task
+ */
+ type RunTaskCallback = (error: (Error|null), response?: google.cloud.tasks.v2.Task) => void;
+ }
+
+ /** Properties of a ListQueuesRequest. */
+ interface IListQueuesRequest {
+
+ /** ListQueuesRequest parent */
+ parent?: (string|null);
+
+ /** ListQueuesRequest filter */
+ filter?: (string|null);
+
+ /** ListQueuesRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListQueuesRequest pageToken */
+ pageToken?: (string|null);
+ }
+
+ /** Represents a ListQueuesRequest. */
+ class ListQueuesRequest implements IListQueuesRequest {
+
+ /**
+ * Constructs a new ListQueuesRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2.IListQueuesRequest);
+
+ /** ListQueuesRequest parent. */
+ public parent: string;
+
+ /** ListQueuesRequest filter. */
+ public filter: string;
+
+ /** ListQueuesRequest pageSize. */
+ public pageSize: number;
+
+ /** ListQueuesRequest pageToken. */
+ public pageToken: string;
+
+ /**
+ * Creates a new ListQueuesRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListQueuesRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2.IListQueuesRequest): google.cloud.tasks.v2.ListQueuesRequest;
+
+ /**
+ * Encodes the specified ListQueuesRequest message. Does not implicitly {@link google.cloud.tasks.v2.ListQueuesRequest.verify|verify} messages.
+ * @param message ListQueuesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2.IListQueuesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListQueuesRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.ListQueuesRequest.verify|verify} messages.
+ * @param message ListQueuesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2.IListQueuesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListQueuesRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListQueuesRequest
+ * @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.cloud.tasks.v2.ListQueuesRequest;
+
+ /**
+ * Decodes a ListQueuesRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListQueuesRequest
+ * @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.cloud.tasks.v2.ListQueuesRequest;
+
+ /**
+ * Verifies a ListQueuesRequest 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 ListQueuesRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListQueuesRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2.ListQueuesRequest;
+
+ /**
+ * Creates a plain object from a ListQueuesRequest message. Also converts values to other types if specified.
+ * @param message ListQueuesRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2.ListQueuesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListQueuesRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListQueuesRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListQueuesResponse. */
+ interface IListQueuesResponse {
+
+ /** ListQueuesResponse queues */
+ queues?: (google.cloud.tasks.v2.IQueue[]|null);
+
+ /** ListQueuesResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListQueuesResponse. */
+ class ListQueuesResponse implements IListQueuesResponse {
+
+ /**
+ * Constructs a new ListQueuesResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2.IListQueuesResponse);
+
+ /** ListQueuesResponse queues. */
+ public queues: google.cloud.tasks.v2.IQueue[];
+
+ /** ListQueuesResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListQueuesResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListQueuesResponse instance
+ */
+ public static create(properties?: google.cloud.tasks.v2.IListQueuesResponse): google.cloud.tasks.v2.ListQueuesResponse;
+
+ /**
+ * Encodes the specified ListQueuesResponse message. Does not implicitly {@link google.cloud.tasks.v2.ListQueuesResponse.verify|verify} messages.
+ * @param message ListQueuesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2.IListQueuesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListQueuesResponse message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.ListQueuesResponse.verify|verify} messages.
+ * @param message ListQueuesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2.IListQueuesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListQueuesResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListQueuesResponse
+ * @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.cloud.tasks.v2.ListQueuesResponse;
+
+ /**
+ * Decodes a ListQueuesResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListQueuesResponse
+ * @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.cloud.tasks.v2.ListQueuesResponse;
+
+ /**
+ * Verifies a ListQueuesResponse 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 ListQueuesResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListQueuesResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2.ListQueuesResponse;
+
+ /**
+ * Creates a plain object from a ListQueuesResponse message. Also converts values to other types if specified.
+ * @param message ListQueuesResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2.ListQueuesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListQueuesResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListQueuesResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetQueueRequest. */
+ interface IGetQueueRequest {
+
+ /** GetQueueRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetQueueRequest. */
+ class GetQueueRequest implements IGetQueueRequest {
+
+ /**
+ * Constructs a new GetQueueRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2.IGetQueueRequest);
+
+ /** GetQueueRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetQueueRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetQueueRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2.IGetQueueRequest): google.cloud.tasks.v2.GetQueueRequest;
+
+ /**
+ * Encodes the specified GetQueueRequest message. Does not implicitly {@link google.cloud.tasks.v2.GetQueueRequest.verify|verify} messages.
+ * @param message GetQueueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2.IGetQueueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetQueueRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.GetQueueRequest.verify|verify} messages.
+ * @param message GetQueueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2.IGetQueueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetQueueRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetQueueRequest
+ * @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.cloud.tasks.v2.GetQueueRequest;
+
+ /**
+ * Decodes a GetQueueRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetQueueRequest
+ * @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.cloud.tasks.v2.GetQueueRequest;
+
+ /**
+ * Verifies a GetQueueRequest 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 GetQueueRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetQueueRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2.GetQueueRequest;
+
+ /**
+ * Creates a plain object from a GetQueueRequest message. Also converts values to other types if specified.
+ * @param message GetQueueRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2.GetQueueRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetQueueRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetQueueRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateQueueRequest. */
+ interface ICreateQueueRequest {
+
+ /** CreateQueueRequest parent */
+ parent?: (string|null);
+
+ /** CreateQueueRequest queue */
+ queue?: (google.cloud.tasks.v2.IQueue|null);
+ }
+
+ /** Represents a CreateQueueRequest. */
+ class CreateQueueRequest implements ICreateQueueRequest {
+
+ /**
+ * Constructs a new CreateQueueRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2.ICreateQueueRequest);
+
+ /** CreateQueueRequest parent. */
+ public parent: string;
+
+ /** CreateQueueRequest queue. */
+ public queue?: (google.cloud.tasks.v2.IQueue|null);
+
+ /**
+ * Creates a new CreateQueueRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateQueueRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2.ICreateQueueRequest): google.cloud.tasks.v2.CreateQueueRequest;
+
+ /**
+ * Encodes the specified CreateQueueRequest message. Does not implicitly {@link google.cloud.tasks.v2.CreateQueueRequest.verify|verify} messages.
+ * @param message CreateQueueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2.ICreateQueueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateQueueRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.CreateQueueRequest.verify|verify} messages.
+ * @param message CreateQueueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2.ICreateQueueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateQueueRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateQueueRequest
+ * @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.cloud.tasks.v2.CreateQueueRequest;
+
+ /**
+ * Decodes a CreateQueueRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateQueueRequest
+ * @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.cloud.tasks.v2.CreateQueueRequest;
+
+ /**
+ * Verifies a CreateQueueRequest 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 CreateQueueRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateQueueRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2.CreateQueueRequest;
+
+ /**
+ * Creates a plain object from a CreateQueueRequest message. Also converts values to other types if specified.
+ * @param message CreateQueueRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2.CreateQueueRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateQueueRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateQueueRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateQueueRequest. */
+ interface IUpdateQueueRequest {
+
+ /** UpdateQueueRequest queue */
+ queue?: (google.cloud.tasks.v2.IQueue|null);
+
+ /** UpdateQueueRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents an UpdateQueueRequest. */
+ class UpdateQueueRequest implements IUpdateQueueRequest {
+
+ /**
+ * Constructs a new UpdateQueueRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2.IUpdateQueueRequest);
+
+ /** UpdateQueueRequest queue. */
+ public queue?: (google.cloud.tasks.v2.IQueue|null);
+
+ /** UpdateQueueRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new UpdateQueueRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateQueueRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2.IUpdateQueueRequest): google.cloud.tasks.v2.UpdateQueueRequest;
+
+ /**
+ * Encodes the specified UpdateQueueRequest message. Does not implicitly {@link google.cloud.tasks.v2.UpdateQueueRequest.verify|verify} messages.
+ * @param message UpdateQueueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2.IUpdateQueueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateQueueRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.UpdateQueueRequest.verify|verify} messages.
+ * @param message UpdateQueueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2.IUpdateQueueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateQueueRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateQueueRequest
+ * @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.cloud.tasks.v2.UpdateQueueRequest;
+
+ /**
+ * Decodes an UpdateQueueRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateQueueRequest
+ * @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.cloud.tasks.v2.UpdateQueueRequest;
+
+ /**
+ * Verifies an UpdateQueueRequest 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 UpdateQueueRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateQueueRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2.UpdateQueueRequest;
+
+ /**
+ * Creates a plain object from an UpdateQueueRequest message. Also converts values to other types if specified.
+ * @param message UpdateQueueRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2.UpdateQueueRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateQueueRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateQueueRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteQueueRequest. */
+ interface IDeleteQueueRequest {
+
+ /** DeleteQueueRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeleteQueueRequest. */
+ class DeleteQueueRequest implements IDeleteQueueRequest {
+
+ /**
+ * Constructs a new DeleteQueueRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2.IDeleteQueueRequest);
+
+ /** DeleteQueueRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeleteQueueRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteQueueRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2.IDeleteQueueRequest): google.cloud.tasks.v2.DeleteQueueRequest;
+
+ /**
+ * Encodes the specified DeleteQueueRequest message. Does not implicitly {@link google.cloud.tasks.v2.DeleteQueueRequest.verify|verify} messages.
+ * @param message DeleteQueueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2.IDeleteQueueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteQueueRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.DeleteQueueRequest.verify|verify} messages.
+ * @param message DeleteQueueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2.IDeleteQueueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteQueueRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteQueueRequest
+ * @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.cloud.tasks.v2.DeleteQueueRequest;
+
+ /**
+ * Decodes a DeleteQueueRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteQueueRequest
+ * @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.cloud.tasks.v2.DeleteQueueRequest;
+
+ /**
+ * Verifies a DeleteQueueRequest 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 DeleteQueueRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteQueueRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2.DeleteQueueRequest;
+
+ /**
+ * Creates a plain object from a DeleteQueueRequest message. Also converts values to other types if specified.
+ * @param message DeleteQueueRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2.DeleteQueueRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteQueueRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteQueueRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PurgeQueueRequest. */
+ interface IPurgeQueueRequest {
+
+ /** PurgeQueueRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a PurgeQueueRequest. */
+ class PurgeQueueRequest implements IPurgeQueueRequest {
+
+ /**
+ * Constructs a new PurgeQueueRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2.IPurgeQueueRequest);
+
+ /** PurgeQueueRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new PurgeQueueRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PurgeQueueRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2.IPurgeQueueRequest): google.cloud.tasks.v2.PurgeQueueRequest;
+
+ /**
+ * Encodes the specified PurgeQueueRequest message. Does not implicitly {@link google.cloud.tasks.v2.PurgeQueueRequest.verify|verify} messages.
+ * @param message PurgeQueueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2.IPurgeQueueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PurgeQueueRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.PurgeQueueRequest.verify|verify} messages.
+ * @param message PurgeQueueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2.IPurgeQueueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PurgeQueueRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PurgeQueueRequest
+ * @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.cloud.tasks.v2.PurgeQueueRequest;
+
+ /**
+ * Decodes a PurgeQueueRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PurgeQueueRequest
+ * @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.cloud.tasks.v2.PurgeQueueRequest;
+
+ /**
+ * Verifies a PurgeQueueRequest 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 PurgeQueueRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PurgeQueueRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2.PurgeQueueRequest;
+
+ /**
+ * Creates a plain object from a PurgeQueueRequest message. Also converts values to other types if specified.
+ * @param message PurgeQueueRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2.PurgeQueueRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PurgeQueueRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PurgeQueueRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PauseQueueRequest. */
+ interface IPauseQueueRequest {
+
+ /** PauseQueueRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a PauseQueueRequest. */
+ class PauseQueueRequest implements IPauseQueueRequest {
+
+ /**
+ * Constructs a new PauseQueueRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2.IPauseQueueRequest);
+
+ /** PauseQueueRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new PauseQueueRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PauseQueueRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2.IPauseQueueRequest): google.cloud.tasks.v2.PauseQueueRequest;
+
+ /**
+ * Encodes the specified PauseQueueRequest message. Does not implicitly {@link google.cloud.tasks.v2.PauseQueueRequest.verify|verify} messages.
+ * @param message PauseQueueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2.IPauseQueueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PauseQueueRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.PauseQueueRequest.verify|verify} messages.
+ * @param message PauseQueueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2.IPauseQueueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PauseQueueRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PauseQueueRequest
+ * @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.cloud.tasks.v2.PauseQueueRequest;
+
+ /**
+ * Decodes a PauseQueueRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PauseQueueRequest
+ * @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.cloud.tasks.v2.PauseQueueRequest;
+
+ /**
+ * Verifies a PauseQueueRequest 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 PauseQueueRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PauseQueueRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2.PauseQueueRequest;
+
+ /**
+ * Creates a plain object from a PauseQueueRequest message. Also converts values to other types if specified.
+ * @param message PauseQueueRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2.PauseQueueRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PauseQueueRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PauseQueueRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ResumeQueueRequest. */
+ interface IResumeQueueRequest {
+
+ /** ResumeQueueRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a ResumeQueueRequest. */
+ class ResumeQueueRequest implements IResumeQueueRequest {
+
+ /**
+ * Constructs a new ResumeQueueRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2.IResumeQueueRequest);
+
+ /** ResumeQueueRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new ResumeQueueRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ResumeQueueRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2.IResumeQueueRequest): google.cloud.tasks.v2.ResumeQueueRequest;
+
+ /**
+ * Encodes the specified ResumeQueueRequest message. Does not implicitly {@link google.cloud.tasks.v2.ResumeQueueRequest.verify|verify} messages.
+ * @param message ResumeQueueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2.IResumeQueueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ResumeQueueRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.ResumeQueueRequest.verify|verify} messages.
+ * @param message ResumeQueueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2.IResumeQueueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ResumeQueueRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ResumeQueueRequest
+ * @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.cloud.tasks.v2.ResumeQueueRequest;
+
+ /**
+ * Decodes a ResumeQueueRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ResumeQueueRequest
+ * @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.cloud.tasks.v2.ResumeQueueRequest;
+
+ /**
+ * Verifies a ResumeQueueRequest 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 ResumeQueueRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ResumeQueueRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2.ResumeQueueRequest;
+
+ /**
+ * Creates a plain object from a ResumeQueueRequest message. Also converts values to other types if specified.
+ * @param message ResumeQueueRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2.ResumeQueueRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ResumeQueueRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ResumeQueueRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListTasksRequest. */
+ interface IListTasksRequest {
+
+ /** ListTasksRequest parent */
+ parent?: (string|null);
+
+ /** ListTasksRequest responseView */
+ responseView?: (google.cloud.tasks.v2.Task.View|keyof typeof google.cloud.tasks.v2.Task.View|null);
+
+ /** ListTasksRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListTasksRequest pageToken */
+ pageToken?: (string|null);
+ }
+
+ /** Represents a ListTasksRequest. */
+ class ListTasksRequest implements IListTasksRequest {
+
+ /**
+ * Constructs a new ListTasksRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2.IListTasksRequest);
+
+ /** ListTasksRequest parent. */
+ public parent: string;
+
+ /** ListTasksRequest responseView. */
+ public responseView: (google.cloud.tasks.v2.Task.View|keyof typeof google.cloud.tasks.v2.Task.View);
+
+ /** ListTasksRequest pageSize. */
+ public pageSize: number;
+
+ /** ListTasksRequest pageToken. */
+ public pageToken: string;
+
+ /**
+ * Creates a new ListTasksRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListTasksRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2.IListTasksRequest): google.cloud.tasks.v2.ListTasksRequest;
+
+ /**
+ * Encodes the specified ListTasksRequest message. Does not implicitly {@link google.cloud.tasks.v2.ListTasksRequest.verify|verify} messages.
+ * @param message ListTasksRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2.IListTasksRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListTasksRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.ListTasksRequest.verify|verify} messages.
+ * @param message ListTasksRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2.IListTasksRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListTasksRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListTasksRequest
+ * @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.cloud.tasks.v2.ListTasksRequest;
+
+ /**
+ * Decodes a ListTasksRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListTasksRequest
+ * @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.cloud.tasks.v2.ListTasksRequest;
+
+ /**
+ * Verifies a ListTasksRequest 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 ListTasksRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListTasksRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2.ListTasksRequest;
+
+ /**
+ * Creates a plain object from a ListTasksRequest message. Also converts values to other types if specified.
+ * @param message ListTasksRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2.ListTasksRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListTasksRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListTasksRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListTasksResponse. */
+ interface IListTasksResponse {
+
+ /** ListTasksResponse tasks */
+ tasks?: (google.cloud.tasks.v2.ITask[]|null);
+
+ /** ListTasksResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListTasksResponse. */
+ class ListTasksResponse implements IListTasksResponse {
+
+ /**
+ * Constructs a new ListTasksResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2.IListTasksResponse);
+
+ /** ListTasksResponse tasks. */
+ public tasks: google.cloud.tasks.v2.ITask[];
+
+ /** ListTasksResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListTasksResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListTasksResponse instance
+ */
+ public static create(properties?: google.cloud.tasks.v2.IListTasksResponse): google.cloud.tasks.v2.ListTasksResponse;
+
+ /**
+ * Encodes the specified ListTasksResponse message. Does not implicitly {@link google.cloud.tasks.v2.ListTasksResponse.verify|verify} messages.
+ * @param message ListTasksResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2.IListTasksResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListTasksResponse message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.ListTasksResponse.verify|verify} messages.
+ * @param message ListTasksResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2.IListTasksResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListTasksResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListTasksResponse
+ * @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.cloud.tasks.v2.ListTasksResponse;
+
+ /**
+ * Decodes a ListTasksResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListTasksResponse
+ * @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.cloud.tasks.v2.ListTasksResponse;
+
+ /**
+ * Verifies a ListTasksResponse 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 ListTasksResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListTasksResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2.ListTasksResponse;
+
+ /**
+ * Creates a plain object from a ListTasksResponse message. Also converts values to other types if specified.
+ * @param message ListTasksResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2.ListTasksResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListTasksResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListTasksResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetTaskRequest. */
+ interface IGetTaskRequest {
+
+ /** GetTaskRequest name */
+ name?: (string|null);
+
+ /** GetTaskRequest responseView */
+ responseView?: (google.cloud.tasks.v2.Task.View|keyof typeof google.cloud.tasks.v2.Task.View|null);
+ }
+
+ /** Represents a GetTaskRequest. */
+ class GetTaskRequest implements IGetTaskRequest {
+
+ /**
+ * Constructs a new GetTaskRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2.IGetTaskRequest);
+
+ /** GetTaskRequest name. */
+ public name: string;
+
+ /** GetTaskRequest responseView. */
+ public responseView: (google.cloud.tasks.v2.Task.View|keyof typeof google.cloud.tasks.v2.Task.View);
+
+ /**
+ * Creates a new GetTaskRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetTaskRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2.IGetTaskRequest): google.cloud.tasks.v2.GetTaskRequest;
+
+ /**
+ * Encodes the specified GetTaskRequest message. Does not implicitly {@link google.cloud.tasks.v2.GetTaskRequest.verify|verify} messages.
+ * @param message GetTaskRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2.IGetTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetTaskRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.GetTaskRequest.verify|verify} messages.
+ * @param message GetTaskRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2.IGetTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetTaskRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetTaskRequest
+ * @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.cloud.tasks.v2.GetTaskRequest;
+
+ /**
+ * Decodes a GetTaskRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetTaskRequest
+ * @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.cloud.tasks.v2.GetTaskRequest;
+
+ /**
+ * Verifies a GetTaskRequest 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 GetTaskRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetTaskRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2.GetTaskRequest;
+
+ /**
+ * Creates a plain object from a GetTaskRequest message. Also converts values to other types if specified.
+ * @param message GetTaskRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2.GetTaskRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetTaskRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetTaskRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateTaskRequest. */
+ interface ICreateTaskRequest {
+
+ /** CreateTaskRequest parent */
+ parent?: (string|null);
+
+ /** CreateTaskRequest task */
+ task?: (google.cloud.tasks.v2.ITask|null);
+
+ /** CreateTaskRequest responseView */
+ responseView?: (google.cloud.tasks.v2.Task.View|keyof typeof google.cloud.tasks.v2.Task.View|null);
+ }
+
+ /** Represents a CreateTaskRequest. */
+ class CreateTaskRequest implements ICreateTaskRequest {
+
+ /**
+ * Constructs a new CreateTaskRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2.ICreateTaskRequest);
+
+ /** CreateTaskRequest parent. */
+ public parent: string;
+
+ /** CreateTaskRequest task. */
+ public task?: (google.cloud.tasks.v2.ITask|null);
+
+ /** CreateTaskRequest responseView. */
+ public responseView: (google.cloud.tasks.v2.Task.View|keyof typeof google.cloud.tasks.v2.Task.View);
+
+ /**
+ * Creates a new CreateTaskRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateTaskRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2.ICreateTaskRequest): google.cloud.tasks.v2.CreateTaskRequest;
+
+ /**
+ * Encodes the specified CreateTaskRequest message. Does not implicitly {@link google.cloud.tasks.v2.CreateTaskRequest.verify|verify} messages.
+ * @param message CreateTaskRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2.ICreateTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateTaskRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.CreateTaskRequest.verify|verify} messages.
+ * @param message CreateTaskRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2.ICreateTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateTaskRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateTaskRequest
+ * @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.cloud.tasks.v2.CreateTaskRequest;
+
+ /**
+ * Decodes a CreateTaskRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateTaskRequest
+ * @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.cloud.tasks.v2.CreateTaskRequest;
+
+ /**
+ * Verifies a CreateTaskRequest 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 CreateTaskRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateTaskRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2.CreateTaskRequest;
+
+ /**
+ * Creates a plain object from a CreateTaskRequest message. Also converts values to other types if specified.
+ * @param message CreateTaskRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2.CreateTaskRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateTaskRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateTaskRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteTaskRequest. */
+ interface IDeleteTaskRequest {
+
+ /** DeleteTaskRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeleteTaskRequest. */
+ class DeleteTaskRequest implements IDeleteTaskRequest {
+
+ /**
+ * Constructs a new DeleteTaskRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2.IDeleteTaskRequest);
+
+ /** DeleteTaskRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeleteTaskRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteTaskRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2.IDeleteTaskRequest): google.cloud.tasks.v2.DeleteTaskRequest;
+
+ /**
+ * Encodes the specified DeleteTaskRequest message. Does not implicitly {@link google.cloud.tasks.v2.DeleteTaskRequest.verify|verify} messages.
+ * @param message DeleteTaskRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2.IDeleteTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteTaskRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.DeleteTaskRequest.verify|verify} messages.
+ * @param message DeleteTaskRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2.IDeleteTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteTaskRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteTaskRequest
+ * @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.cloud.tasks.v2.DeleteTaskRequest;
+
+ /**
+ * Decodes a DeleteTaskRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteTaskRequest
+ * @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.cloud.tasks.v2.DeleteTaskRequest;
+
+ /**
+ * Verifies a DeleteTaskRequest 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 DeleteTaskRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteTaskRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2.DeleteTaskRequest;
+
+ /**
+ * Creates a plain object from a DeleteTaskRequest message. Also converts values to other types if specified.
+ * @param message DeleteTaskRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2.DeleteTaskRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteTaskRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteTaskRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a RunTaskRequest. */
+ interface IRunTaskRequest {
+
+ /** RunTaskRequest name */
+ name?: (string|null);
+
+ /** RunTaskRequest responseView */
+ responseView?: (google.cloud.tasks.v2.Task.View|keyof typeof google.cloud.tasks.v2.Task.View|null);
+ }
+
+ /** Represents a RunTaskRequest. */
+ class RunTaskRequest implements IRunTaskRequest {
+
+ /**
+ * Constructs a new RunTaskRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2.IRunTaskRequest);
+
+ /** RunTaskRequest name. */
+ public name: string;
+
+ /** RunTaskRequest responseView. */
+ public responseView: (google.cloud.tasks.v2.Task.View|keyof typeof google.cloud.tasks.v2.Task.View);
+
+ /**
+ * Creates a new RunTaskRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns RunTaskRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2.IRunTaskRequest): google.cloud.tasks.v2.RunTaskRequest;
+
+ /**
+ * Encodes the specified RunTaskRequest message. Does not implicitly {@link google.cloud.tasks.v2.RunTaskRequest.verify|verify} messages.
+ * @param message RunTaskRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2.IRunTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified RunTaskRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.RunTaskRequest.verify|verify} messages.
+ * @param message RunTaskRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2.IRunTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a RunTaskRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns RunTaskRequest
+ * @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.cloud.tasks.v2.RunTaskRequest;
+
+ /**
+ * Decodes a RunTaskRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns RunTaskRequest
+ * @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.cloud.tasks.v2.RunTaskRequest;
+
+ /**
+ * Verifies a RunTaskRequest 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 RunTaskRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns RunTaskRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2.RunTaskRequest;
+
+ /**
+ * Creates a plain object from a RunTaskRequest message. Also converts values to other types if specified.
+ * @param message RunTaskRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2.RunTaskRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this RunTaskRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for RunTaskRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Queue. */
+ interface IQueue {
+
+ /** Queue name */
+ name?: (string|null);
+
+ /** Queue appEngineRoutingOverride */
+ appEngineRoutingOverride?: (google.cloud.tasks.v2.IAppEngineRouting|null);
+
+ /** Queue rateLimits */
+ rateLimits?: (google.cloud.tasks.v2.IRateLimits|null);
+
+ /** Queue retryConfig */
+ retryConfig?: (google.cloud.tasks.v2.IRetryConfig|null);
+
+ /** Queue state */
+ state?: (google.cloud.tasks.v2.Queue.State|keyof typeof google.cloud.tasks.v2.Queue.State|null);
+
+ /** Queue purgeTime */
+ purgeTime?: (google.protobuf.ITimestamp|null);
+
+ /** Queue stackdriverLoggingConfig */
+ stackdriverLoggingConfig?: (google.cloud.tasks.v2.IStackdriverLoggingConfig|null);
+ }
+
+ /** Represents a Queue. */
+ class Queue implements IQueue {
+
+ /**
+ * Constructs a new Queue.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2.IQueue);
+
+ /** Queue name. */
+ public name: string;
+
+ /** Queue appEngineRoutingOverride. */
+ public appEngineRoutingOverride?: (google.cloud.tasks.v2.IAppEngineRouting|null);
+
+ /** Queue rateLimits. */
+ public rateLimits?: (google.cloud.tasks.v2.IRateLimits|null);
+
+ /** Queue retryConfig. */
+ public retryConfig?: (google.cloud.tasks.v2.IRetryConfig|null);
+
+ /** Queue state. */
+ public state: (google.cloud.tasks.v2.Queue.State|keyof typeof google.cloud.tasks.v2.Queue.State);
+
+ /** Queue purgeTime. */
+ public purgeTime?: (google.protobuf.ITimestamp|null);
+
+ /** Queue stackdriverLoggingConfig. */
+ public stackdriverLoggingConfig?: (google.cloud.tasks.v2.IStackdriverLoggingConfig|null);
+
+ /**
+ * Creates a new Queue instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Queue instance
+ */
+ public static create(properties?: google.cloud.tasks.v2.IQueue): google.cloud.tasks.v2.Queue;
+
+ /**
+ * Encodes the specified Queue message. Does not implicitly {@link google.cloud.tasks.v2.Queue.verify|verify} messages.
+ * @param message Queue message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2.IQueue, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Queue message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.Queue.verify|verify} messages.
+ * @param message Queue message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2.IQueue, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Queue message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Queue
+ * @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.cloud.tasks.v2.Queue;
+
+ /**
+ * Decodes a Queue message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Queue
+ * @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.cloud.tasks.v2.Queue;
+
+ /**
+ * Verifies a Queue 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 Queue message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Queue
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2.Queue;
+
+ /**
+ * Creates a plain object from a Queue message. Also converts values to other types if specified.
+ * @param message Queue
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2.Queue, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Queue to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Queue
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace Queue {
+
+ /** State enum. */
+ enum State {
+ STATE_UNSPECIFIED = 0,
+ RUNNING = 1,
+ PAUSED = 2,
+ DISABLED = 3
+ }
+ }
+
+ /** Properties of a RateLimits. */
+ interface IRateLimits {
+
+ /** RateLimits maxDispatchesPerSecond */
+ maxDispatchesPerSecond?: (number|null);
+
+ /** RateLimits maxBurstSize */
+ maxBurstSize?: (number|null);
+
+ /** RateLimits maxConcurrentDispatches */
+ maxConcurrentDispatches?: (number|null);
+ }
+
+ /** Represents a RateLimits. */
+ class RateLimits implements IRateLimits {
+
+ /**
+ * Constructs a new RateLimits.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2.IRateLimits);
+
+ /** RateLimits maxDispatchesPerSecond. */
+ public maxDispatchesPerSecond: number;
+
+ /** RateLimits maxBurstSize. */
+ public maxBurstSize: number;
+
+ /** RateLimits maxConcurrentDispatches. */
+ public maxConcurrentDispatches: number;
+
+ /**
+ * Creates a new RateLimits instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns RateLimits instance
+ */
+ public static create(properties?: google.cloud.tasks.v2.IRateLimits): google.cloud.tasks.v2.RateLimits;
+
+ /**
+ * Encodes the specified RateLimits message. Does not implicitly {@link google.cloud.tasks.v2.RateLimits.verify|verify} messages.
+ * @param message RateLimits message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2.IRateLimits, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified RateLimits message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.RateLimits.verify|verify} messages.
+ * @param message RateLimits message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2.IRateLimits, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a RateLimits message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns RateLimits
+ * @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.cloud.tasks.v2.RateLimits;
+
+ /**
+ * Decodes a RateLimits message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns RateLimits
+ * @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.cloud.tasks.v2.RateLimits;
+
+ /**
+ * Verifies a RateLimits 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 RateLimits message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns RateLimits
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2.RateLimits;
+
+ /**
+ * Creates a plain object from a RateLimits message. Also converts values to other types if specified.
+ * @param message RateLimits
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2.RateLimits, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this RateLimits to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for RateLimits
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a RetryConfig. */
+ interface IRetryConfig {
+
+ /** RetryConfig maxAttempts */
+ maxAttempts?: (number|null);
+
+ /** RetryConfig maxRetryDuration */
+ maxRetryDuration?: (google.protobuf.IDuration|null);
+
+ /** RetryConfig minBackoff */
+ minBackoff?: (google.protobuf.IDuration|null);
+
+ /** RetryConfig maxBackoff */
+ maxBackoff?: (google.protobuf.IDuration|null);
+
+ /** RetryConfig maxDoublings */
+ maxDoublings?: (number|null);
+ }
+
+ /** Represents a RetryConfig. */
+ class RetryConfig implements IRetryConfig {
+
+ /**
+ * Constructs a new RetryConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2.IRetryConfig);
+
+ /** RetryConfig maxAttempts. */
+ public maxAttempts: number;
+
+ /** RetryConfig maxRetryDuration. */
+ public maxRetryDuration?: (google.protobuf.IDuration|null);
+
+ /** RetryConfig minBackoff. */
+ public minBackoff?: (google.protobuf.IDuration|null);
+
+ /** RetryConfig maxBackoff. */
+ public maxBackoff?: (google.protobuf.IDuration|null);
+
+ /** RetryConfig maxDoublings. */
+ public maxDoublings: number;
+
+ /**
+ * Creates a new RetryConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns RetryConfig instance
+ */
+ public static create(properties?: google.cloud.tasks.v2.IRetryConfig): google.cloud.tasks.v2.RetryConfig;
+
+ /**
+ * Encodes the specified RetryConfig message. Does not implicitly {@link google.cloud.tasks.v2.RetryConfig.verify|verify} messages.
+ * @param message RetryConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2.IRetryConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified RetryConfig message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.RetryConfig.verify|verify} messages.
+ * @param message RetryConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2.IRetryConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a RetryConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns RetryConfig
+ * @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.cloud.tasks.v2.RetryConfig;
+
+ /**
+ * Decodes a RetryConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns RetryConfig
+ * @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.cloud.tasks.v2.RetryConfig;
+
+ /**
+ * Verifies a RetryConfig 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 RetryConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns RetryConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2.RetryConfig;
+
+ /**
+ * Creates a plain object from a RetryConfig message. Also converts values to other types if specified.
+ * @param message RetryConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2.RetryConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this RetryConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for RetryConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a StackdriverLoggingConfig. */
+ interface IStackdriverLoggingConfig {
+
+ /** StackdriverLoggingConfig samplingRatio */
+ samplingRatio?: (number|null);
+ }
+
+ /** Represents a StackdriverLoggingConfig. */
+ class StackdriverLoggingConfig implements IStackdriverLoggingConfig {
+
+ /**
+ * Constructs a new StackdriverLoggingConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2.IStackdriverLoggingConfig);
+
+ /** StackdriverLoggingConfig samplingRatio. */
+ public samplingRatio: number;
+
+ /**
+ * Creates a new StackdriverLoggingConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns StackdriverLoggingConfig instance
+ */
+ public static create(properties?: google.cloud.tasks.v2.IStackdriverLoggingConfig): google.cloud.tasks.v2.StackdriverLoggingConfig;
+
+ /**
+ * Encodes the specified StackdriverLoggingConfig message. Does not implicitly {@link google.cloud.tasks.v2.StackdriverLoggingConfig.verify|verify} messages.
+ * @param message StackdriverLoggingConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2.IStackdriverLoggingConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified StackdriverLoggingConfig message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.StackdriverLoggingConfig.verify|verify} messages.
+ * @param message StackdriverLoggingConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2.IStackdriverLoggingConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a StackdriverLoggingConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns StackdriverLoggingConfig
+ * @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.cloud.tasks.v2.StackdriverLoggingConfig;
+
+ /**
+ * Decodes a StackdriverLoggingConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns StackdriverLoggingConfig
+ * @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.cloud.tasks.v2.StackdriverLoggingConfig;
+
+ /**
+ * Verifies a StackdriverLoggingConfig 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 StackdriverLoggingConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns StackdriverLoggingConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2.StackdriverLoggingConfig;
+
+ /**
+ * Creates a plain object from a StackdriverLoggingConfig message. Also converts values to other types if specified.
+ * @param message StackdriverLoggingConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2.StackdriverLoggingConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this StackdriverLoggingConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for StackdriverLoggingConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a HttpRequest. */
+ interface IHttpRequest {
+
+ /** HttpRequest url */
+ url?: (string|null);
+
+ /** HttpRequest httpMethod */
+ httpMethod?: (google.cloud.tasks.v2.HttpMethod|keyof typeof google.cloud.tasks.v2.HttpMethod|null);
+
+ /** HttpRequest headers */
+ headers?: ({ [k: string]: string }|null);
+
+ /** HttpRequest body */
+ body?: (Uint8Array|string|null);
+
+ /** HttpRequest oauthToken */
+ oauthToken?: (google.cloud.tasks.v2.IOAuthToken|null);
+
+ /** HttpRequest oidcToken */
+ oidcToken?: (google.cloud.tasks.v2.IOidcToken|null);
+ }
+
+ /** Represents a HttpRequest. */
+ class HttpRequest implements IHttpRequest {
+
+ /**
+ * Constructs a new HttpRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2.IHttpRequest);
+
+ /** HttpRequest url. */
+ public url: string;
+
+ /** HttpRequest httpMethod. */
+ public httpMethod: (google.cloud.tasks.v2.HttpMethod|keyof typeof google.cloud.tasks.v2.HttpMethod);
+
+ /** HttpRequest headers. */
+ public headers: { [k: string]: string };
+
+ /** HttpRequest body. */
+ public body: (Uint8Array|string);
+
+ /** HttpRequest oauthToken. */
+ public oauthToken?: (google.cloud.tasks.v2.IOAuthToken|null);
+
+ /** HttpRequest oidcToken. */
+ public oidcToken?: (google.cloud.tasks.v2.IOidcToken|null);
+
+ /** HttpRequest authorizationHeader. */
+ public authorizationHeader?: ("oauthToken"|"oidcToken");
+
+ /**
+ * Creates a new HttpRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns HttpRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2.IHttpRequest): google.cloud.tasks.v2.HttpRequest;
+
+ /**
+ * Encodes the specified HttpRequest message. Does not implicitly {@link google.cloud.tasks.v2.HttpRequest.verify|verify} messages.
+ * @param message HttpRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2.IHttpRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified HttpRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.HttpRequest.verify|verify} messages.
+ * @param message HttpRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2.IHttpRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a HttpRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns HttpRequest
+ * @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.cloud.tasks.v2.HttpRequest;
+
+ /**
+ * Decodes a HttpRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns HttpRequest
+ * @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.cloud.tasks.v2.HttpRequest;
+
+ /**
+ * Verifies a HttpRequest 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 HttpRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns HttpRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2.HttpRequest;
+
+ /**
+ * Creates a plain object from a HttpRequest message. Also converts values to other types if specified.
+ * @param message HttpRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2.HttpRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this HttpRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for HttpRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an AppEngineHttpRequest. */
+ interface IAppEngineHttpRequest {
+
+ /** AppEngineHttpRequest httpMethod */
+ httpMethod?: (google.cloud.tasks.v2.HttpMethod|keyof typeof google.cloud.tasks.v2.HttpMethod|null);
+
+ /** AppEngineHttpRequest appEngineRouting */
+ appEngineRouting?: (google.cloud.tasks.v2.IAppEngineRouting|null);
+
+ /** AppEngineHttpRequest relativeUri */
+ relativeUri?: (string|null);
+
+ /** AppEngineHttpRequest headers */
+ headers?: ({ [k: string]: string }|null);
+
+ /** AppEngineHttpRequest body */
+ body?: (Uint8Array|string|null);
+ }
+
+ /** Represents an AppEngineHttpRequest. */
+ class AppEngineHttpRequest implements IAppEngineHttpRequest {
+
+ /**
+ * Constructs a new AppEngineHttpRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2.IAppEngineHttpRequest);
+
+ /** AppEngineHttpRequest httpMethod. */
+ public httpMethod: (google.cloud.tasks.v2.HttpMethod|keyof typeof google.cloud.tasks.v2.HttpMethod);
+
+ /** AppEngineHttpRequest appEngineRouting. */
+ public appEngineRouting?: (google.cloud.tasks.v2.IAppEngineRouting|null);
+
+ /** AppEngineHttpRequest relativeUri. */
+ public relativeUri: string;
+
+ /** AppEngineHttpRequest headers. */
+ public headers: { [k: string]: string };
+
+ /** AppEngineHttpRequest body. */
+ public body: (Uint8Array|string);
+
+ /**
+ * Creates a new AppEngineHttpRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AppEngineHttpRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2.IAppEngineHttpRequest): google.cloud.tasks.v2.AppEngineHttpRequest;
+
+ /**
+ * Encodes the specified AppEngineHttpRequest message. Does not implicitly {@link google.cloud.tasks.v2.AppEngineHttpRequest.verify|verify} messages.
+ * @param message AppEngineHttpRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2.IAppEngineHttpRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AppEngineHttpRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.AppEngineHttpRequest.verify|verify} messages.
+ * @param message AppEngineHttpRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2.IAppEngineHttpRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AppEngineHttpRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AppEngineHttpRequest
+ * @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.cloud.tasks.v2.AppEngineHttpRequest;
+
+ /**
+ * Decodes an AppEngineHttpRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AppEngineHttpRequest
+ * @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.cloud.tasks.v2.AppEngineHttpRequest;
+
+ /**
+ * Verifies an AppEngineHttpRequest 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 AppEngineHttpRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AppEngineHttpRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2.AppEngineHttpRequest;
+
+ /**
+ * Creates a plain object from an AppEngineHttpRequest message. Also converts values to other types if specified.
+ * @param message AppEngineHttpRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2.AppEngineHttpRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AppEngineHttpRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AppEngineHttpRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an AppEngineRouting. */
+ interface IAppEngineRouting {
+
+ /** AppEngineRouting service */
+ service?: (string|null);
+
+ /** AppEngineRouting version */
+ version?: (string|null);
+
+ /** AppEngineRouting instance */
+ instance?: (string|null);
+
+ /** AppEngineRouting host */
+ host?: (string|null);
+ }
+
+ /** Represents an AppEngineRouting. */
+ class AppEngineRouting implements IAppEngineRouting {
+
+ /**
+ * Constructs a new AppEngineRouting.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2.IAppEngineRouting);
+
+ /** AppEngineRouting service. */
+ public service: string;
+
+ /** AppEngineRouting version. */
+ public version: string;
+
+ /** AppEngineRouting instance. */
+ public instance: string;
+
+ /** AppEngineRouting host. */
+ public host: string;
+
+ /**
+ * Creates a new AppEngineRouting instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AppEngineRouting instance
+ */
+ public static create(properties?: google.cloud.tasks.v2.IAppEngineRouting): google.cloud.tasks.v2.AppEngineRouting;
+
+ /**
+ * Encodes the specified AppEngineRouting message. Does not implicitly {@link google.cloud.tasks.v2.AppEngineRouting.verify|verify} messages.
+ * @param message AppEngineRouting message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2.IAppEngineRouting, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AppEngineRouting message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.AppEngineRouting.verify|verify} messages.
+ * @param message AppEngineRouting message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2.IAppEngineRouting, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AppEngineRouting message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AppEngineRouting
+ * @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.cloud.tasks.v2.AppEngineRouting;
+
+ /**
+ * Decodes an AppEngineRouting message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AppEngineRouting
+ * @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.cloud.tasks.v2.AppEngineRouting;
+
+ /**
+ * Verifies an AppEngineRouting 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 AppEngineRouting message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AppEngineRouting
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2.AppEngineRouting;
+
+ /**
+ * Creates a plain object from an AppEngineRouting message. Also converts values to other types if specified.
+ * @param message AppEngineRouting
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2.AppEngineRouting, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AppEngineRouting to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AppEngineRouting
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** HttpMethod enum. */
+ enum HttpMethod {
+ HTTP_METHOD_UNSPECIFIED = 0,
+ POST = 1,
+ GET = 2,
+ HEAD = 3,
+ PUT = 4,
+ DELETE = 5,
+ PATCH = 6,
+ OPTIONS = 7
+ }
+
+ /** Properties of a OAuthToken. */
+ interface IOAuthToken {
+
+ /** OAuthToken serviceAccountEmail */
+ serviceAccountEmail?: (string|null);
+
+ /** OAuthToken scope */
+ scope?: (string|null);
+ }
+
+ /** Represents a OAuthToken. */
+ class OAuthToken implements IOAuthToken {
+
+ /**
+ * Constructs a new OAuthToken.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2.IOAuthToken);
+
+ /** OAuthToken serviceAccountEmail. */
+ public serviceAccountEmail: string;
+
+ /** OAuthToken scope. */
+ public scope: string;
+
+ /**
+ * Creates a new OAuthToken instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OAuthToken instance
+ */
+ public static create(properties?: google.cloud.tasks.v2.IOAuthToken): google.cloud.tasks.v2.OAuthToken;
+
+ /**
+ * Encodes the specified OAuthToken message. Does not implicitly {@link google.cloud.tasks.v2.OAuthToken.verify|verify} messages.
+ * @param message OAuthToken message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2.IOAuthToken, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OAuthToken message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.OAuthToken.verify|verify} messages.
+ * @param message OAuthToken message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2.IOAuthToken, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a OAuthToken message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns OAuthToken
+ * @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.cloud.tasks.v2.OAuthToken;
+
+ /**
+ * Decodes a OAuthToken message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns OAuthToken
+ * @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.cloud.tasks.v2.OAuthToken;
+
+ /**
+ * Verifies a OAuthToken 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 OAuthToken message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns OAuthToken
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2.OAuthToken;
+
+ /**
+ * Creates a plain object from a OAuthToken message. Also converts values to other types if specified.
+ * @param message OAuthToken
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2.OAuthToken, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this OAuthToken to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for OAuthToken
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an OidcToken. */
+ interface IOidcToken {
+
+ /** OidcToken serviceAccountEmail */
+ serviceAccountEmail?: (string|null);
+
+ /** OidcToken audience */
+ audience?: (string|null);
+ }
+
+ /** Represents an OidcToken. */
+ class OidcToken implements IOidcToken {
+
+ /**
+ * Constructs a new OidcToken.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2.IOidcToken);
+
+ /** OidcToken serviceAccountEmail. */
+ public serviceAccountEmail: string;
+
+ /** OidcToken audience. */
+ public audience: string;
+
+ /**
+ * Creates a new OidcToken instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OidcToken instance
+ */
+ public static create(properties?: google.cloud.tasks.v2.IOidcToken): google.cloud.tasks.v2.OidcToken;
+
+ /**
+ * Encodes the specified OidcToken message. Does not implicitly {@link google.cloud.tasks.v2.OidcToken.verify|verify} messages.
+ * @param message OidcToken message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2.IOidcToken, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OidcToken message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.OidcToken.verify|verify} messages.
+ * @param message OidcToken message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2.IOidcToken, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an OidcToken message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns OidcToken
+ * @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.cloud.tasks.v2.OidcToken;
+
+ /**
+ * Decodes an OidcToken message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns OidcToken
+ * @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.cloud.tasks.v2.OidcToken;
+
+ /**
+ * Verifies an OidcToken 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 OidcToken message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns OidcToken
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2.OidcToken;
+
+ /**
+ * Creates a plain object from an OidcToken message. Also converts values to other types if specified.
+ * @param message OidcToken
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2.OidcToken, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this OidcToken to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for OidcToken
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Task. */
+ interface ITask {
+
+ /** Task name */
+ name?: (string|null);
+
+ /** Task appEngineHttpRequest */
+ appEngineHttpRequest?: (google.cloud.tasks.v2.IAppEngineHttpRequest|null);
+
+ /** Task httpRequest */
+ httpRequest?: (google.cloud.tasks.v2.IHttpRequest|null);
+
+ /** Task scheduleTime */
+ scheduleTime?: (google.protobuf.ITimestamp|null);
+
+ /** Task createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Task dispatchDeadline */
+ dispatchDeadline?: (google.protobuf.IDuration|null);
+
+ /** Task dispatchCount */
+ dispatchCount?: (number|null);
+
+ /** Task responseCount */
+ responseCount?: (number|null);
+
+ /** Task firstAttempt */
+ firstAttempt?: (google.cloud.tasks.v2.IAttempt|null);
+
+ /** Task lastAttempt */
+ lastAttempt?: (google.cloud.tasks.v2.IAttempt|null);
+
+ /** Task view */
+ view?: (google.cloud.tasks.v2.Task.View|keyof typeof google.cloud.tasks.v2.Task.View|null);
+ }
+
+ /** Represents a Task. */
+ class Task implements ITask {
+
+ /**
+ * Constructs a new Task.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2.ITask);
+
+ /** Task name. */
+ public name: string;
+
+ /** Task appEngineHttpRequest. */
+ public appEngineHttpRequest?: (google.cloud.tasks.v2.IAppEngineHttpRequest|null);
+
+ /** Task httpRequest. */
+ public httpRequest?: (google.cloud.tasks.v2.IHttpRequest|null);
+
+ /** Task scheduleTime. */
+ public scheduleTime?: (google.protobuf.ITimestamp|null);
+
+ /** Task createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Task dispatchDeadline. */
+ public dispatchDeadline?: (google.protobuf.IDuration|null);
+
+ /** Task dispatchCount. */
+ public dispatchCount: number;
+
+ /** Task responseCount. */
+ public responseCount: number;
+
+ /** Task firstAttempt. */
+ public firstAttempt?: (google.cloud.tasks.v2.IAttempt|null);
+
+ /** Task lastAttempt. */
+ public lastAttempt?: (google.cloud.tasks.v2.IAttempt|null);
+
+ /** Task view. */
+ public view: (google.cloud.tasks.v2.Task.View|keyof typeof google.cloud.tasks.v2.Task.View);
+
+ /** Task messageType. */
+ public messageType?: ("appEngineHttpRequest"|"httpRequest");
+
+ /**
+ * Creates a new Task instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Task instance
+ */
+ public static create(properties?: google.cloud.tasks.v2.ITask): google.cloud.tasks.v2.Task;
+
+ /**
+ * Encodes the specified Task message. Does not implicitly {@link google.cloud.tasks.v2.Task.verify|verify} messages.
+ * @param message Task message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2.ITask, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Task message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.Task.verify|verify} messages.
+ * @param message Task message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2.ITask, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Task message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Task
+ * @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.cloud.tasks.v2.Task;
+
+ /**
+ * Decodes a Task message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Task
+ * @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.cloud.tasks.v2.Task;
+
+ /**
+ * Verifies a Task 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 Task message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Task
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2.Task;
+
+ /**
+ * Creates a plain object from a Task message. Also converts values to other types if specified.
+ * @param message Task
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2.Task, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Task to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Task
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace Task {
+
+ /** View enum. */
+ enum View {
+ VIEW_UNSPECIFIED = 0,
+ BASIC = 1,
+ FULL = 2
+ }
+ }
+
+ /** Properties of an Attempt. */
+ interface IAttempt {
+
+ /** Attempt scheduleTime */
+ scheduleTime?: (google.protobuf.ITimestamp|null);
+
+ /** Attempt dispatchTime */
+ dispatchTime?: (google.protobuf.ITimestamp|null);
+
+ /** Attempt responseTime */
+ responseTime?: (google.protobuf.ITimestamp|null);
+
+ /** Attempt responseStatus */
+ responseStatus?: (google.rpc.IStatus|null);
+ }
+
+ /** Represents an Attempt. */
+ class Attempt implements IAttempt {
+
+ /**
+ * Constructs a new Attempt.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2.IAttempt);
+
+ /** Attempt scheduleTime. */
+ public scheduleTime?: (google.protobuf.ITimestamp|null);
+
+ /** Attempt dispatchTime. */
+ public dispatchTime?: (google.protobuf.ITimestamp|null);
+
+ /** Attempt responseTime. */
+ public responseTime?: (google.protobuf.ITimestamp|null);
+
+ /** Attempt responseStatus. */
+ public responseStatus?: (google.rpc.IStatus|null);
+
+ /**
+ * Creates a new Attempt instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Attempt instance
+ */
+ public static create(properties?: google.cloud.tasks.v2.IAttempt): google.cloud.tasks.v2.Attempt;
+
+ /**
+ * Encodes the specified Attempt message. Does not implicitly {@link google.cloud.tasks.v2.Attempt.verify|verify} messages.
+ * @param message Attempt message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2.IAttempt, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Attempt message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.Attempt.verify|verify} messages.
+ * @param message Attempt message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2.IAttempt, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an Attempt message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Attempt
+ * @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.cloud.tasks.v2.Attempt;
+
+ /**
+ * Decodes an Attempt message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Attempt
+ * @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.cloud.tasks.v2.Attempt;
+
+ /**
+ * Verifies an Attempt 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 Attempt message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Attempt
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2.Attempt;
+
+ /**
+ * Creates a plain object from an Attempt message. Also converts values to other types if specified.
+ * @param message Attempt
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2.Attempt, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Attempt to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Attempt
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Namespace v2beta2. */
+ namespace v2beta2 {
+
+ /** Represents a CloudTasks */
+ class CloudTasks extends $protobuf.rpc.Service {
+
+ /**
+ * Constructs a new CloudTasks service.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ */
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
+
+ /**
+ * Creates new CloudTasks service using the specified rpc implementation.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ * @returns RPC service. Useful where requests and/or responses are streamed.
+ */
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): CloudTasks;
+
+ /**
+ * Calls ListQueues.
+ * @param request ListQueuesRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListQueuesResponse
+ */
+ public listQueues(request: google.cloud.tasks.v2beta2.IListQueuesRequest, callback: google.cloud.tasks.v2beta2.CloudTasks.ListQueuesCallback): void;
+
+ /**
+ * Calls ListQueues.
+ * @param request ListQueuesRequest message or plain object
+ * @returns Promise
+ */
+ public listQueues(request: google.cloud.tasks.v2beta2.IListQueuesRequest): Promise;
+
+ /**
+ * Calls GetQueue.
+ * @param request GetQueueRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Queue
+ */
+ public getQueue(request: google.cloud.tasks.v2beta2.IGetQueueRequest, callback: google.cloud.tasks.v2beta2.CloudTasks.GetQueueCallback): void;
+
+ /**
+ * Calls GetQueue.
+ * @param request GetQueueRequest message or plain object
+ * @returns Promise
+ */
+ public getQueue(request: google.cloud.tasks.v2beta2.IGetQueueRequest): Promise;
+
+ /**
+ * Calls CreateQueue.
+ * @param request CreateQueueRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Queue
+ */
+ public createQueue(request: google.cloud.tasks.v2beta2.ICreateQueueRequest, callback: google.cloud.tasks.v2beta2.CloudTasks.CreateQueueCallback): void;
+
+ /**
+ * Calls CreateQueue.
+ * @param request CreateQueueRequest message or plain object
+ * @returns Promise
+ */
+ public createQueue(request: google.cloud.tasks.v2beta2.ICreateQueueRequest): Promise;
+
+ /**
+ * Calls UpdateQueue.
+ * @param request UpdateQueueRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Queue
+ */
+ public updateQueue(request: google.cloud.tasks.v2beta2.IUpdateQueueRequest, callback: google.cloud.tasks.v2beta2.CloudTasks.UpdateQueueCallback): void;
+
+ /**
+ * Calls UpdateQueue.
+ * @param request UpdateQueueRequest message or plain object
+ * @returns Promise
+ */
+ public updateQueue(request: google.cloud.tasks.v2beta2.IUpdateQueueRequest): Promise;
+
+ /**
+ * Calls DeleteQueue.
+ * @param request DeleteQueueRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public deleteQueue(request: google.cloud.tasks.v2beta2.IDeleteQueueRequest, callback: google.cloud.tasks.v2beta2.CloudTasks.DeleteQueueCallback): void;
+
+ /**
+ * Calls DeleteQueue.
+ * @param request DeleteQueueRequest message or plain object
+ * @returns Promise
+ */
+ public deleteQueue(request: google.cloud.tasks.v2beta2.IDeleteQueueRequest): Promise;
+
+ /**
+ * Calls PurgeQueue.
+ * @param request PurgeQueueRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Queue
+ */
+ public purgeQueue(request: google.cloud.tasks.v2beta2.IPurgeQueueRequest, callback: google.cloud.tasks.v2beta2.CloudTasks.PurgeQueueCallback): void;
+
+ /**
+ * Calls PurgeQueue.
+ * @param request PurgeQueueRequest message or plain object
+ * @returns Promise
+ */
+ public purgeQueue(request: google.cloud.tasks.v2beta2.IPurgeQueueRequest): Promise;
+
+ /**
+ * Calls PauseQueue.
+ * @param request PauseQueueRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Queue
+ */
+ public pauseQueue(request: google.cloud.tasks.v2beta2.IPauseQueueRequest, callback: google.cloud.tasks.v2beta2.CloudTasks.PauseQueueCallback): void;
+
+ /**
+ * Calls PauseQueue.
+ * @param request PauseQueueRequest message or plain object
+ * @returns Promise
+ */
+ public pauseQueue(request: google.cloud.tasks.v2beta2.IPauseQueueRequest): Promise;
+
+ /**
+ * Calls ResumeQueue.
+ * @param request ResumeQueueRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Queue
+ */
+ public resumeQueue(request: google.cloud.tasks.v2beta2.IResumeQueueRequest, callback: google.cloud.tasks.v2beta2.CloudTasks.ResumeQueueCallback): void;
+
+ /**
+ * Calls ResumeQueue.
+ * @param request ResumeQueueRequest message or plain object
+ * @returns Promise
+ */
+ public resumeQueue(request: google.cloud.tasks.v2beta2.IResumeQueueRequest): Promise;
+
+ /**
+ * Calls GetIamPolicy.
+ * @param request GetIamPolicyRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Policy
+ */
+ public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest, callback: google.cloud.tasks.v2beta2.CloudTasks.GetIamPolicyCallback): void;
+
+ /**
+ * Calls GetIamPolicy.
+ * @param request GetIamPolicyRequest message or plain object
+ * @returns Promise
+ */
+ public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest): Promise;
+
+ /**
+ * Calls SetIamPolicy.
+ * @param request SetIamPolicyRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Policy
+ */
+ public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest, callback: google.cloud.tasks.v2beta2.CloudTasks.SetIamPolicyCallback): void;
+
+ /**
+ * Calls SetIamPolicy.
+ * @param request SetIamPolicyRequest message or plain object
+ * @returns Promise
+ */
+ public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest): Promise;
+
+ /**
+ * Calls TestIamPermissions.
+ * @param request TestIamPermissionsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and TestIamPermissionsResponse
+ */
+ public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest, callback: google.cloud.tasks.v2beta2.CloudTasks.TestIamPermissionsCallback): void;
+
+ /**
+ * Calls TestIamPermissions.
+ * @param request TestIamPermissionsRequest message or plain object
+ * @returns Promise
+ */
+ public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest): Promise;
+
+ /**
+ * Calls ListTasks.
+ * @param request ListTasksRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListTasksResponse
+ */
+ public listTasks(request: google.cloud.tasks.v2beta2.IListTasksRequest, callback: google.cloud.tasks.v2beta2.CloudTasks.ListTasksCallback): void;
+
+ /**
+ * Calls ListTasks.
+ * @param request ListTasksRequest message or plain object
+ * @returns Promise
+ */
+ public listTasks(request: google.cloud.tasks.v2beta2.IListTasksRequest): Promise;
+
+ /**
+ * Calls GetTask.
+ * @param request GetTaskRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Task
+ */
+ public getTask(request: google.cloud.tasks.v2beta2.IGetTaskRequest, callback: google.cloud.tasks.v2beta2.CloudTasks.GetTaskCallback): void;
+
+ /**
+ * Calls GetTask.
+ * @param request GetTaskRequest message or plain object
+ * @returns Promise
+ */
+ public getTask(request: google.cloud.tasks.v2beta2.IGetTaskRequest): Promise;
+
+ /**
+ * Calls CreateTask.
+ * @param request CreateTaskRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Task
+ */
+ public createTask(request: google.cloud.tasks.v2beta2.ICreateTaskRequest, callback: google.cloud.tasks.v2beta2.CloudTasks.CreateTaskCallback): void;
+
+ /**
+ * Calls CreateTask.
+ * @param request CreateTaskRequest message or plain object
+ * @returns Promise
+ */
+ public createTask(request: google.cloud.tasks.v2beta2.ICreateTaskRequest): Promise;
+
+ /**
+ * Calls DeleteTask.
+ * @param request DeleteTaskRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public deleteTask(request: google.cloud.tasks.v2beta2.IDeleteTaskRequest, callback: google.cloud.tasks.v2beta2.CloudTasks.DeleteTaskCallback): void;
+
+ /**
+ * Calls DeleteTask.
+ * @param request DeleteTaskRequest message or plain object
+ * @returns Promise
+ */
+ public deleteTask(request: google.cloud.tasks.v2beta2.IDeleteTaskRequest): Promise;
+
+ /**
+ * Calls LeaseTasks.
+ * @param request LeaseTasksRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and LeaseTasksResponse
+ */
+ public leaseTasks(request: google.cloud.tasks.v2beta2.ILeaseTasksRequest, callback: google.cloud.tasks.v2beta2.CloudTasks.LeaseTasksCallback): void;
+
+ /**
+ * Calls LeaseTasks.
+ * @param request LeaseTasksRequest message or plain object
+ * @returns Promise
+ */
+ public leaseTasks(request: google.cloud.tasks.v2beta2.ILeaseTasksRequest): Promise;
+
+ /**
+ * Calls AcknowledgeTask.
+ * @param request AcknowledgeTaskRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public acknowledgeTask(request: google.cloud.tasks.v2beta2.IAcknowledgeTaskRequest, callback: google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTaskCallback): void;
+
+ /**
+ * Calls AcknowledgeTask.
+ * @param request AcknowledgeTaskRequest message or plain object
+ * @returns Promise
+ */
+ public acknowledgeTask(request: google.cloud.tasks.v2beta2.IAcknowledgeTaskRequest): Promise;
+
+ /**
+ * Calls RenewLease.
+ * @param request RenewLeaseRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Task
+ */
+ public renewLease(request: google.cloud.tasks.v2beta2.IRenewLeaseRequest, callback: google.cloud.tasks.v2beta2.CloudTasks.RenewLeaseCallback): void;
+
+ /**
+ * Calls RenewLease.
+ * @param request RenewLeaseRequest message or plain object
+ * @returns Promise
+ */
+ public renewLease(request: google.cloud.tasks.v2beta2.IRenewLeaseRequest): Promise;
+
+ /**
+ * Calls CancelLease.
+ * @param request CancelLeaseRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Task
+ */
+ public cancelLease(request: google.cloud.tasks.v2beta2.ICancelLeaseRequest, callback: google.cloud.tasks.v2beta2.CloudTasks.CancelLeaseCallback): void;
+
+ /**
+ * Calls CancelLease.
+ * @param request CancelLeaseRequest message or plain object
+ * @returns Promise
+ */
+ public cancelLease(request: google.cloud.tasks.v2beta2.ICancelLeaseRequest): Promise;
+
+ /**
+ * Calls RunTask.
+ * @param request RunTaskRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Task
+ */
+ public runTask(request: google.cloud.tasks.v2beta2.IRunTaskRequest, callback: google.cloud.tasks.v2beta2.CloudTasks.RunTaskCallback): void;
+
+ /**
+ * Calls RunTask.
+ * @param request RunTaskRequest message or plain object
+ * @returns Promise
+ */
+ public runTask(request: google.cloud.tasks.v2beta2.IRunTaskRequest): Promise;
+ }
+
+ namespace CloudTasks {
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta2.CloudTasks|listQueues}.
+ * @param error Error, if any
+ * @param [response] ListQueuesResponse
+ */
+ type ListQueuesCallback = (error: (Error|null), response?: google.cloud.tasks.v2beta2.ListQueuesResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta2.CloudTasks|getQueue}.
+ * @param error Error, if any
+ * @param [response] Queue
+ */
+ type GetQueueCallback = (error: (Error|null), response?: google.cloud.tasks.v2beta2.Queue) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta2.CloudTasks|createQueue}.
+ * @param error Error, if any
+ * @param [response] Queue
+ */
+ type CreateQueueCallback = (error: (Error|null), response?: google.cloud.tasks.v2beta2.Queue) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta2.CloudTasks|updateQueue}.
+ * @param error Error, if any
+ * @param [response] Queue
+ */
+ type UpdateQueueCallback = (error: (Error|null), response?: google.cloud.tasks.v2beta2.Queue) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta2.CloudTasks|deleteQueue}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type DeleteQueueCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta2.CloudTasks|purgeQueue}.
+ * @param error Error, if any
+ * @param [response] Queue
+ */
+ type PurgeQueueCallback = (error: (Error|null), response?: google.cloud.tasks.v2beta2.Queue) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta2.CloudTasks|pauseQueue}.
+ * @param error Error, if any
+ * @param [response] Queue
+ */
+ type PauseQueueCallback = (error: (Error|null), response?: google.cloud.tasks.v2beta2.Queue) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta2.CloudTasks|resumeQueue}.
+ * @param error Error, if any
+ * @param [response] Queue
+ */
+ type ResumeQueueCallback = (error: (Error|null), response?: google.cloud.tasks.v2beta2.Queue) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta2.CloudTasks|getIamPolicy}.
+ * @param error Error, if any
+ * @param [response] Policy
+ */
+ type GetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta2.CloudTasks|setIamPolicy}.
+ * @param error Error, if any
+ * @param [response] Policy
+ */
+ type SetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta2.CloudTasks|testIamPermissions}.
+ * @param error Error, if any
+ * @param [response] TestIamPermissionsResponse
+ */
+ type TestIamPermissionsCallback = (error: (Error|null), response?: google.iam.v1.TestIamPermissionsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta2.CloudTasks|listTasks}.
+ * @param error Error, if any
+ * @param [response] ListTasksResponse
+ */
+ type ListTasksCallback = (error: (Error|null), response?: google.cloud.tasks.v2beta2.ListTasksResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta2.CloudTasks|getTask}.
+ * @param error Error, if any
+ * @param [response] Task
+ */
+ type GetTaskCallback = (error: (Error|null), response?: google.cloud.tasks.v2beta2.Task) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta2.CloudTasks|createTask}.
+ * @param error Error, if any
+ * @param [response] Task
+ */
+ type CreateTaskCallback = (error: (Error|null), response?: google.cloud.tasks.v2beta2.Task) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta2.CloudTasks|deleteTask}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type DeleteTaskCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta2.CloudTasks|leaseTasks}.
+ * @param error Error, if any
+ * @param [response] LeaseTasksResponse
+ */
+ type LeaseTasksCallback = (error: (Error|null), response?: google.cloud.tasks.v2beta2.LeaseTasksResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta2.CloudTasks|acknowledgeTask}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type AcknowledgeTaskCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta2.CloudTasks|renewLease}.
+ * @param error Error, if any
+ * @param [response] Task
+ */
+ type RenewLeaseCallback = (error: (Error|null), response?: google.cloud.tasks.v2beta2.Task) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta2.CloudTasks|cancelLease}.
+ * @param error Error, if any
+ * @param [response] Task
+ */
+ type CancelLeaseCallback = (error: (Error|null), response?: google.cloud.tasks.v2beta2.Task) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta2.CloudTasks|runTask}.
+ * @param error Error, if any
+ * @param [response] Task
+ */
+ type RunTaskCallback = (error: (Error|null), response?: google.cloud.tasks.v2beta2.Task) => void;
+ }
+
+ /** Properties of a ListQueuesRequest. */
+ interface IListQueuesRequest {
+
+ /** ListQueuesRequest parent */
+ parent?: (string|null);
+
+ /** ListQueuesRequest filter */
+ filter?: (string|null);
+
+ /** ListQueuesRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListQueuesRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListQueuesRequest readMask */
+ readMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents a ListQueuesRequest. */
+ class ListQueuesRequest implements IListQueuesRequest {
+
+ /**
+ * Constructs a new ListQueuesRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta2.IListQueuesRequest);
+
+ /** ListQueuesRequest parent. */
+ public parent: string;
+
+ /** ListQueuesRequest filter. */
+ public filter: string;
+
+ /** ListQueuesRequest pageSize. */
+ public pageSize: number;
+
+ /** ListQueuesRequest pageToken. */
+ public pageToken: string;
+
+ /** ListQueuesRequest readMask. */
+ public readMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new ListQueuesRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListQueuesRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta2.IListQueuesRequest): google.cloud.tasks.v2beta2.ListQueuesRequest;
+
+ /**
+ * Encodes the specified ListQueuesRequest message. Does not implicitly {@link google.cloud.tasks.v2beta2.ListQueuesRequest.verify|verify} messages.
+ * @param message ListQueuesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta2.IListQueuesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListQueuesRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta2.ListQueuesRequest.verify|verify} messages.
+ * @param message ListQueuesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta2.IListQueuesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListQueuesRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListQueuesRequest
+ * @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.cloud.tasks.v2beta2.ListQueuesRequest;
+
+ /**
+ * Decodes a ListQueuesRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListQueuesRequest
+ * @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.cloud.tasks.v2beta2.ListQueuesRequest;
+
+ /**
+ * Verifies a ListQueuesRequest 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 ListQueuesRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListQueuesRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta2.ListQueuesRequest;
+
+ /**
+ * Creates a plain object from a ListQueuesRequest message. Also converts values to other types if specified.
+ * @param message ListQueuesRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta2.ListQueuesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListQueuesRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListQueuesRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListQueuesResponse. */
+ interface IListQueuesResponse {
+
+ /** ListQueuesResponse queues */
+ queues?: (google.cloud.tasks.v2beta2.IQueue[]|null);
+
+ /** ListQueuesResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListQueuesResponse. */
+ class ListQueuesResponse implements IListQueuesResponse {
+
+ /**
+ * Constructs a new ListQueuesResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta2.IListQueuesResponse);
+
+ /** ListQueuesResponse queues. */
+ public queues: google.cloud.tasks.v2beta2.IQueue[];
+
+ /** ListQueuesResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListQueuesResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListQueuesResponse instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta2.IListQueuesResponse): google.cloud.tasks.v2beta2.ListQueuesResponse;
+
+ /**
+ * Encodes the specified ListQueuesResponse message. Does not implicitly {@link google.cloud.tasks.v2beta2.ListQueuesResponse.verify|verify} messages.
+ * @param message ListQueuesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta2.IListQueuesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListQueuesResponse message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta2.ListQueuesResponse.verify|verify} messages.
+ * @param message ListQueuesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta2.IListQueuesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListQueuesResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListQueuesResponse
+ * @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.cloud.tasks.v2beta2.ListQueuesResponse;
+
+ /**
+ * Decodes a ListQueuesResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListQueuesResponse
+ * @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.cloud.tasks.v2beta2.ListQueuesResponse;
+
+ /**
+ * Verifies a ListQueuesResponse 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 ListQueuesResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListQueuesResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta2.ListQueuesResponse;
+
+ /**
+ * Creates a plain object from a ListQueuesResponse message. Also converts values to other types if specified.
+ * @param message ListQueuesResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta2.ListQueuesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListQueuesResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListQueuesResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetQueueRequest. */
+ interface IGetQueueRequest {
+
+ /** GetQueueRequest name */
+ name?: (string|null);
+
+ /** GetQueueRequest readMask */
+ readMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents a GetQueueRequest. */
+ class GetQueueRequest implements IGetQueueRequest {
+
+ /**
+ * Constructs a new GetQueueRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta2.IGetQueueRequest);
+
+ /** GetQueueRequest name. */
+ public name: string;
+
+ /** GetQueueRequest readMask. */
+ public readMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new GetQueueRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetQueueRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta2.IGetQueueRequest): google.cloud.tasks.v2beta2.GetQueueRequest;
+
+ /**
+ * Encodes the specified GetQueueRequest message. Does not implicitly {@link google.cloud.tasks.v2beta2.GetQueueRequest.verify|verify} messages.
+ * @param message GetQueueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta2.IGetQueueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetQueueRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta2.GetQueueRequest.verify|verify} messages.
+ * @param message GetQueueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta2.IGetQueueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetQueueRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetQueueRequest
+ * @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.cloud.tasks.v2beta2.GetQueueRequest;
+
+ /**
+ * Decodes a GetQueueRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetQueueRequest
+ * @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.cloud.tasks.v2beta2.GetQueueRequest;
+
+ /**
+ * Verifies a GetQueueRequest 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 GetQueueRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetQueueRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta2.GetQueueRequest;
+
+ /**
+ * Creates a plain object from a GetQueueRequest message. Also converts values to other types if specified.
+ * @param message GetQueueRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta2.GetQueueRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetQueueRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetQueueRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateQueueRequest. */
+ interface ICreateQueueRequest {
+
+ /** CreateQueueRequest parent */
+ parent?: (string|null);
+
+ /** CreateQueueRequest queue */
+ queue?: (google.cloud.tasks.v2beta2.IQueue|null);
+ }
+
+ /** Represents a CreateQueueRequest. */
+ class CreateQueueRequest implements ICreateQueueRequest {
+
+ /**
+ * Constructs a new CreateQueueRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta2.ICreateQueueRequest);
+
+ /** CreateQueueRequest parent. */
+ public parent: string;
+
+ /** CreateQueueRequest queue. */
+ public queue?: (google.cloud.tasks.v2beta2.IQueue|null);
+
+ /**
+ * Creates a new CreateQueueRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateQueueRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta2.ICreateQueueRequest): google.cloud.tasks.v2beta2.CreateQueueRequest;
+
+ /**
+ * Encodes the specified CreateQueueRequest message. Does not implicitly {@link google.cloud.tasks.v2beta2.CreateQueueRequest.verify|verify} messages.
+ * @param message CreateQueueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta2.ICreateQueueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateQueueRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta2.CreateQueueRequest.verify|verify} messages.
+ * @param message CreateQueueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta2.ICreateQueueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateQueueRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateQueueRequest
+ * @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.cloud.tasks.v2beta2.CreateQueueRequest;
+
+ /**
+ * Decodes a CreateQueueRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateQueueRequest
+ * @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.cloud.tasks.v2beta2.CreateQueueRequest;
+
+ /**
+ * Verifies a CreateQueueRequest 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 CreateQueueRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateQueueRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta2.CreateQueueRequest;
+
+ /**
+ * Creates a plain object from a CreateQueueRequest message. Also converts values to other types if specified.
+ * @param message CreateQueueRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta2.CreateQueueRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateQueueRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateQueueRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateQueueRequest. */
+ interface IUpdateQueueRequest {
+
+ /** UpdateQueueRequest queue */
+ queue?: (google.cloud.tasks.v2beta2.IQueue|null);
+
+ /** UpdateQueueRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents an UpdateQueueRequest. */
+ class UpdateQueueRequest implements IUpdateQueueRequest {
+
+ /**
+ * Constructs a new UpdateQueueRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta2.IUpdateQueueRequest);
+
+ /** UpdateQueueRequest queue. */
+ public queue?: (google.cloud.tasks.v2beta2.IQueue|null);
+
+ /** UpdateQueueRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new UpdateQueueRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateQueueRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta2.IUpdateQueueRequest): google.cloud.tasks.v2beta2.UpdateQueueRequest;
+
+ /**
+ * Encodes the specified UpdateQueueRequest message. Does not implicitly {@link google.cloud.tasks.v2beta2.UpdateQueueRequest.verify|verify} messages.
+ * @param message UpdateQueueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta2.IUpdateQueueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateQueueRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta2.UpdateQueueRequest.verify|verify} messages.
+ * @param message UpdateQueueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta2.IUpdateQueueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateQueueRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateQueueRequest
+ * @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.cloud.tasks.v2beta2.UpdateQueueRequest;
+
+ /**
+ * Decodes an UpdateQueueRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateQueueRequest
+ * @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.cloud.tasks.v2beta2.UpdateQueueRequest;
+
+ /**
+ * Verifies an UpdateQueueRequest 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 UpdateQueueRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateQueueRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta2.UpdateQueueRequest;
+
+ /**
+ * Creates a plain object from an UpdateQueueRequest message. Also converts values to other types if specified.
+ * @param message UpdateQueueRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta2.UpdateQueueRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateQueueRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateQueueRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteQueueRequest. */
+ interface IDeleteQueueRequest {
+
+ /** DeleteQueueRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeleteQueueRequest. */
+ class DeleteQueueRequest implements IDeleteQueueRequest {
+
+ /**
+ * Constructs a new DeleteQueueRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta2.IDeleteQueueRequest);
+
+ /** DeleteQueueRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeleteQueueRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteQueueRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta2.IDeleteQueueRequest): google.cloud.tasks.v2beta2.DeleteQueueRequest;
+
+ /**
+ * Encodes the specified DeleteQueueRequest message. Does not implicitly {@link google.cloud.tasks.v2beta2.DeleteQueueRequest.verify|verify} messages.
+ * @param message DeleteQueueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta2.IDeleteQueueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteQueueRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta2.DeleteQueueRequest.verify|verify} messages.
+ * @param message DeleteQueueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta2.IDeleteQueueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteQueueRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteQueueRequest
+ * @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.cloud.tasks.v2beta2.DeleteQueueRequest;
+
+ /**
+ * Decodes a DeleteQueueRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteQueueRequest
+ * @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.cloud.tasks.v2beta2.DeleteQueueRequest;
+
+ /**
+ * Verifies a DeleteQueueRequest 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 DeleteQueueRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteQueueRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta2.DeleteQueueRequest;
+
+ /**
+ * Creates a plain object from a DeleteQueueRequest message. Also converts values to other types if specified.
+ * @param message DeleteQueueRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta2.DeleteQueueRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteQueueRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteQueueRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PurgeQueueRequest. */
+ interface IPurgeQueueRequest {
+
+ /** PurgeQueueRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a PurgeQueueRequest. */
+ class PurgeQueueRequest implements IPurgeQueueRequest {
+
+ /**
+ * Constructs a new PurgeQueueRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta2.IPurgeQueueRequest);
+
+ /** PurgeQueueRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new PurgeQueueRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PurgeQueueRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta2.IPurgeQueueRequest): google.cloud.tasks.v2beta2.PurgeQueueRequest;
+
+ /**
+ * Encodes the specified PurgeQueueRequest message. Does not implicitly {@link google.cloud.tasks.v2beta2.PurgeQueueRequest.verify|verify} messages.
+ * @param message PurgeQueueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta2.IPurgeQueueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PurgeQueueRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta2.PurgeQueueRequest.verify|verify} messages.
+ * @param message PurgeQueueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta2.IPurgeQueueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PurgeQueueRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PurgeQueueRequest
+ * @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.cloud.tasks.v2beta2.PurgeQueueRequest;
+
+ /**
+ * Decodes a PurgeQueueRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PurgeQueueRequest
+ * @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.cloud.tasks.v2beta2.PurgeQueueRequest;
+
+ /**
+ * Verifies a PurgeQueueRequest 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 PurgeQueueRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PurgeQueueRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta2.PurgeQueueRequest;
+
+ /**
+ * Creates a plain object from a PurgeQueueRequest message. Also converts values to other types if specified.
+ * @param message PurgeQueueRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta2.PurgeQueueRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PurgeQueueRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PurgeQueueRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PauseQueueRequest. */
+ interface IPauseQueueRequest {
+
+ /** PauseQueueRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a PauseQueueRequest. */
+ class PauseQueueRequest implements IPauseQueueRequest {
+
+ /**
+ * Constructs a new PauseQueueRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta2.IPauseQueueRequest);
+
+ /** PauseQueueRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new PauseQueueRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PauseQueueRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta2.IPauseQueueRequest): google.cloud.tasks.v2beta2.PauseQueueRequest;
+
+ /**
+ * Encodes the specified PauseQueueRequest message. Does not implicitly {@link google.cloud.tasks.v2beta2.PauseQueueRequest.verify|verify} messages.
+ * @param message PauseQueueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta2.IPauseQueueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PauseQueueRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta2.PauseQueueRequest.verify|verify} messages.
+ * @param message PauseQueueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta2.IPauseQueueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PauseQueueRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PauseQueueRequest
+ * @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.cloud.tasks.v2beta2.PauseQueueRequest;
+
+ /**
+ * Decodes a PauseQueueRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PauseQueueRequest
+ * @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.cloud.tasks.v2beta2.PauseQueueRequest;
+
+ /**
+ * Verifies a PauseQueueRequest 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 PauseQueueRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PauseQueueRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta2.PauseQueueRequest;
+
+ /**
+ * Creates a plain object from a PauseQueueRequest message. Also converts values to other types if specified.
+ * @param message PauseQueueRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta2.PauseQueueRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PauseQueueRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PauseQueueRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ResumeQueueRequest. */
+ interface IResumeQueueRequest {
+
+ /** ResumeQueueRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a ResumeQueueRequest. */
+ class ResumeQueueRequest implements IResumeQueueRequest {
+
+ /**
+ * Constructs a new ResumeQueueRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta2.IResumeQueueRequest);
+
+ /** ResumeQueueRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new ResumeQueueRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ResumeQueueRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta2.IResumeQueueRequest): google.cloud.tasks.v2beta2.ResumeQueueRequest;
+
+ /**
+ * Encodes the specified ResumeQueueRequest message. Does not implicitly {@link google.cloud.tasks.v2beta2.ResumeQueueRequest.verify|verify} messages.
+ * @param message ResumeQueueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta2.IResumeQueueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ResumeQueueRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta2.ResumeQueueRequest.verify|verify} messages.
+ * @param message ResumeQueueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta2.IResumeQueueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ResumeQueueRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ResumeQueueRequest
+ * @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.cloud.tasks.v2beta2.ResumeQueueRequest;
+
+ /**
+ * Decodes a ResumeQueueRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ResumeQueueRequest
+ * @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.cloud.tasks.v2beta2.ResumeQueueRequest;
+
+ /**
+ * Verifies a ResumeQueueRequest 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 ResumeQueueRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ResumeQueueRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta2.ResumeQueueRequest;
+
+ /**
+ * Creates a plain object from a ResumeQueueRequest message. Also converts values to other types if specified.
+ * @param message ResumeQueueRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta2.ResumeQueueRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ResumeQueueRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ResumeQueueRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListTasksRequest. */
+ interface IListTasksRequest {
+
+ /** ListTasksRequest parent */
+ parent?: (string|null);
+
+ /** ListTasksRequest responseView */
+ responseView?: (google.cloud.tasks.v2beta2.Task.View|keyof typeof google.cloud.tasks.v2beta2.Task.View|null);
+
+ /** ListTasksRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListTasksRequest pageToken */
+ pageToken?: (string|null);
+ }
+
+ /** Represents a ListTasksRequest. */
+ class ListTasksRequest implements IListTasksRequest {
+
+ /**
+ * Constructs a new ListTasksRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta2.IListTasksRequest);
+
+ /** ListTasksRequest parent. */
+ public parent: string;
+
+ /** ListTasksRequest responseView. */
+ public responseView: (google.cloud.tasks.v2beta2.Task.View|keyof typeof google.cloud.tasks.v2beta2.Task.View);
+
+ /** ListTasksRequest pageSize. */
+ public pageSize: number;
+
+ /** ListTasksRequest pageToken. */
+ public pageToken: string;
+
+ /**
+ * Creates a new ListTasksRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListTasksRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta2.IListTasksRequest): google.cloud.tasks.v2beta2.ListTasksRequest;
+
+ /**
+ * Encodes the specified ListTasksRequest message. Does not implicitly {@link google.cloud.tasks.v2beta2.ListTasksRequest.verify|verify} messages.
+ * @param message ListTasksRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta2.IListTasksRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListTasksRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta2.ListTasksRequest.verify|verify} messages.
+ * @param message ListTasksRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta2.IListTasksRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListTasksRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListTasksRequest
+ * @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.cloud.tasks.v2beta2.ListTasksRequest;
+
+ /**
+ * Decodes a ListTasksRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListTasksRequest
+ * @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.cloud.tasks.v2beta2.ListTasksRequest;
+
+ /**
+ * Verifies a ListTasksRequest 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 ListTasksRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListTasksRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta2.ListTasksRequest;
+
+ /**
+ * Creates a plain object from a ListTasksRequest message. Also converts values to other types if specified.
+ * @param message ListTasksRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta2.ListTasksRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListTasksRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListTasksRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListTasksResponse. */
+ interface IListTasksResponse {
+
+ /** ListTasksResponse tasks */
+ tasks?: (google.cloud.tasks.v2beta2.ITask[]|null);
+
+ /** ListTasksResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListTasksResponse. */
+ class ListTasksResponse implements IListTasksResponse {
+
+ /**
+ * Constructs a new ListTasksResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta2.IListTasksResponse);
+
+ /** ListTasksResponse tasks. */
+ public tasks: google.cloud.tasks.v2beta2.ITask[];
+
+ /** ListTasksResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListTasksResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListTasksResponse instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta2.IListTasksResponse): google.cloud.tasks.v2beta2.ListTasksResponse;
+
+ /**
+ * Encodes the specified ListTasksResponse message. Does not implicitly {@link google.cloud.tasks.v2beta2.ListTasksResponse.verify|verify} messages.
+ * @param message ListTasksResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta2.IListTasksResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListTasksResponse message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta2.ListTasksResponse.verify|verify} messages.
+ * @param message ListTasksResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta2.IListTasksResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListTasksResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListTasksResponse
+ * @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.cloud.tasks.v2beta2.ListTasksResponse;
+
+ /**
+ * Decodes a ListTasksResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListTasksResponse
+ * @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.cloud.tasks.v2beta2.ListTasksResponse;
+
+ /**
+ * Verifies a ListTasksResponse 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 ListTasksResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListTasksResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta2.ListTasksResponse;
+
+ /**
+ * Creates a plain object from a ListTasksResponse message. Also converts values to other types if specified.
+ * @param message ListTasksResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta2.ListTasksResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListTasksResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListTasksResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetTaskRequest. */
+ interface IGetTaskRequest {
+
+ /** GetTaskRequest name */
+ name?: (string|null);
+
+ /** GetTaskRequest responseView */
+ responseView?: (google.cloud.tasks.v2beta2.Task.View|keyof typeof google.cloud.tasks.v2beta2.Task.View|null);
+ }
+
+ /** Represents a GetTaskRequest. */
+ class GetTaskRequest implements IGetTaskRequest {
+
+ /**
+ * Constructs a new GetTaskRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta2.IGetTaskRequest);
+
+ /** GetTaskRequest name. */
+ public name: string;
+
+ /** GetTaskRequest responseView. */
+ public responseView: (google.cloud.tasks.v2beta2.Task.View|keyof typeof google.cloud.tasks.v2beta2.Task.View);
+
+ /**
+ * Creates a new GetTaskRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetTaskRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta2.IGetTaskRequest): google.cloud.tasks.v2beta2.GetTaskRequest;
+
+ /**
+ * Encodes the specified GetTaskRequest message. Does not implicitly {@link google.cloud.tasks.v2beta2.GetTaskRequest.verify|verify} messages.
+ * @param message GetTaskRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta2.IGetTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetTaskRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta2.GetTaskRequest.verify|verify} messages.
+ * @param message GetTaskRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta2.IGetTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetTaskRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetTaskRequest
+ * @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.cloud.tasks.v2beta2.GetTaskRequest;
+
+ /**
+ * Decodes a GetTaskRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetTaskRequest
+ * @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.cloud.tasks.v2beta2.GetTaskRequest;
+
+ /**
+ * Verifies a GetTaskRequest 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 GetTaskRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetTaskRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta2.GetTaskRequest;
+
+ /**
+ * Creates a plain object from a GetTaskRequest message. Also converts values to other types if specified.
+ * @param message GetTaskRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta2.GetTaskRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetTaskRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetTaskRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateTaskRequest. */
+ interface ICreateTaskRequest {
+
+ /** CreateTaskRequest parent */
+ parent?: (string|null);
+
+ /** CreateTaskRequest task */
+ task?: (google.cloud.tasks.v2beta2.ITask|null);
+
+ /** CreateTaskRequest responseView */
+ responseView?: (google.cloud.tasks.v2beta2.Task.View|keyof typeof google.cloud.tasks.v2beta2.Task.View|null);
+ }
+
+ /** Represents a CreateTaskRequest. */
+ class CreateTaskRequest implements ICreateTaskRequest {
+
+ /**
+ * Constructs a new CreateTaskRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta2.ICreateTaskRequest);
+
+ /** CreateTaskRequest parent. */
+ public parent: string;
+
+ /** CreateTaskRequest task. */
+ public task?: (google.cloud.tasks.v2beta2.ITask|null);
+
+ /** CreateTaskRequest responseView. */
+ public responseView: (google.cloud.tasks.v2beta2.Task.View|keyof typeof google.cloud.tasks.v2beta2.Task.View);
+
+ /**
+ * Creates a new CreateTaskRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateTaskRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta2.ICreateTaskRequest): google.cloud.tasks.v2beta2.CreateTaskRequest;
+
+ /**
+ * Encodes the specified CreateTaskRequest message. Does not implicitly {@link google.cloud.tasks.v2beta2.CreateTaskRequest.verify|verify} messages.
+ * @param message CreateTaskRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta2.ICreateTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateTaskRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta2.CreateTaskRequest.verify|verify} messages.
+ * @param message CreateTaskRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta2.ICreateTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateTaskRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateTaskRequest
+ * @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.cloud.tasks.v2beta2.CreateTaskRequest;
+
+ /**
+ * Decodes a CreateTaskRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateTaskRequest
+ * @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.cloud.tasks.v2beta2.CreateTaskRequest;
+
+ /**
+ * Verifies a CreateTaskRequest 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 CreateTaskRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateTaskRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta2.CreateTaskRequest;
+
+ /**
+ * Creates a plain object from a CreateTaskRequest message. Also converts values to other types if specified.
+ * @param message CreateTaskRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta2.CreateTaskRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateTaskRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateTaskRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteTaskRequest. */
+ interface IDeleteTaskRequest {
+
+ /** DeleteTaskRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeleteTaskRequest. */
+ class DeleteTaskRequest implements IDeleteTaskRequest {
+
+ /**
+ * Constructs a new DeleteTaskRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta2.IDeleteTaskRequest);
+
+ /** DeleteTaskRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeleteTaskRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteTaskRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta2.IDeleteTaskRequest): google.cloud.tasks.v2beta2.DeleteTaskRequest;
+
+ /**
+ * Encodes the specified DeleteTaskRequest message. Does not implicitly {@link google.cloud.tasks.v2beta2.DeleteTaskRequest.verify|verify} messages.
+ * @param message DeleteTaskRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta2.IDeleteTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteTaskRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta2.DeleteTaskRequest.verify|verify} messages.
+ * @param message DeleteTaskRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta2.IDeleteTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteTaskRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteTaskRequest
+ * @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.cloud.tasks.v2beta2.DeleteTaskRequest;
+
+ /**
+ * Decodes a DeleteTaskRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteTaskRequest
+ * @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.cloud.tasks.v2beta2.DeleteTaskRequest;
+
+ /**
+ * Verifies a DeleteTaskRequest 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 DeleteTaskRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteTaskRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta2.DeleteTaskRequest;
+
+ /**
+ * Creates a plain object from a DeleteTaskRequest message. Also converts values to other types if specified.
+ * @param message DeleteTaskRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta2.DeleteTaskRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteTaskRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteTaskRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a LeaseTasksRequest. */
+ interface ILeaseTasksRequest {
+
+ /** LeaseTasksRequest parent */
+ parent?: (string|null);
+
+ /** LeaseTasksRequest maxTasks */
+ maxTasks?: (number|null);
+
+ /** LeaseTasksRequest leaseDuration */
+ leaseDuration?: (google.protobuf.IDuration|null);
+
+ /** LeaseTasksRequest responseView */
+ responseView?: (google.cloud.tasks.v2beta2.Task.View|keyof typeof google.cloud.tasks.v2beta2.Task.View|null);
+
+ /** LeaseTasksRequest filter */
+ filter?: (string|null);
+ }
+
+ /** Represents a LeaseTasksRequest. */
+ class LeaseTasksRequest implements ILeaseTasksRequest {
+
+ /**
+ * Constructs a new LeaseTasksRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta2.ILeaseTasksRequest);
+
+ /** LeaseTasksRequest parent. */
+ public parent: string;
+
+ /** LeaseTasksRequest maxTasks. */
+ public maxTasks: number;
+
+ /** LeaseTasksRequest leaseDuration. */
+ public leaseDuration?: (google.protobuf.IDuration|null);
+
+ /** LeaseTasksRequest responseView. */
+ public responseView: (google.cloud.tasks.v2beta2.Task.View|keyof typeof google.cloud.tasks.v2beta2.Task.View);
+
+ /** LeaseTasksRequest filter. */
+ public filter: string;
+
+ /**
+ * Creates a new LeaseTasksRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns LeaseTasksRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta2.ILeaseTasksRequest): google.cloud.tasks.v2beta2.LeaseTasksRequest;
+
+ /**
+ * Encodes the specified LeaseTasksRequest message. Does not implicitly {@link google.cloud.tasks.v2beta2.LeaseTasksRequest.verify|verify} messages.
+ * @param message LeaseTasksRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta2.ILeaseTasksRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified LeaseTasksRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta2.LeaseTasksRequest.verify|verify} messages.
+ * @param message LeaseTasksRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta2.ILeaseTasksRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a LeaseTasksRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns LeaseTasksRequest
+ * @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.cloud.tasks.v2beta2.LeaseTasksRequest;
+
+ /**
+ * Decodes a LeaseTasksRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns LeaseTasksRequest
+ * @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.cloud.tasks.v2beta2.LeaseTasksRequest;
+
+ /**
+ * Verifies a LeaseTasksRequest 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 LeaseTasksRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns LeaseTasksRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta2.LeaseTasksRequest;
+
+ /**
+ * Creates a plain object from a LeaseTasksRequest message. Also converts values to other types if specified.
+ * @param message LeaseTasksRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta2.LeaseTasksRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this LeaseTasksRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for LeaseTasksRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a LeaseTasksResponse. */
+ interface ILeaseTasksResponse {
+
+ /** LeaseTasksResponse tasks */
+ tasks?: (google.cloud.tasks.v2beta2.ITask[]|null);
+ }
+
+ /** Represents a LeaseTasksResponse. */
+ class LeaseTasksResponse implements ILeaseTasksResponse {
+
+ /**
+ * Constructs a new LeaseTasksResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta2.ILeaseTasksResponse);
+
+ /** LeaseTasksResponse tasks. */
+ public tasks: google.cloud.tasks.v2beta2.ITask[];
+
+ /**
+ * Creates a new LeaseTasksResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns LeaseTasksResponse instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta2.ILeaseTasksResponse): google.cloud.tasks.v2beta2.LeaseTasksResponse;
+
+ /**
+ * Encodes the specified LeaseTasksResponse message. Does not implicitly {@link google.cloud.tasks.v2beta2.LeaseTasksResponse.verify|verify} messages.
+ * @param message LeaseTasksResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta2.ILeaseTasksResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified LeaseTasksResponse message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta2.LeaseTasksResponse.verify|verify} messages.
+ * @param message LeaseTasksResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta2.ILeaseTasksResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a LeaseTasksResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns LeaseTasksResponse
+ * @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.cloud.tasks.v2beta2.LeaseTasksResponse;
+
+ /**
+ * Decodes a LeaseTasksResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns LeaseTasksResponse
+ * @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.cloud.tasks.v2beta2.LeaseTasksResponse;
+
+ /**
+ * Verifies a LeaseTasksResponse 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 LeaseTasksResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns LeaseTasksResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta2.LeaseTasksResponse;
+
+ /**
+ * Creates a plain object from a LeaseTasksResponse message. Also converts values to other types if specified.
+ * @param message LeaseTasksResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta2.LeaseTasksResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this LeaseTasksResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for LeaseTasksResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an AcknowledgeTaskRequest. */
+ interface IAcknowledgeTaskRequest {
+
+ /** AcknowledgeTaskRequest name */
+ name?: (string|null);
+
+ /** AcknowledgeTaskRequest scheduleTime */
+ scheduleTime?: (google.protobuf.ITimestamp|null);
+ }
+
+ /** Represents an AcknowledgeTaskRequest. */
+ class AcknowledgeTaskRequest implements IAcknowledgeTaskRequest {
+
+ /**
+ * Constructs a new AcknowledgeTaskRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta2.IAcknowledgeTaskRequest);
+
+ /** AcknowledgeTaskRequest name. */
+ public name: string;
+
+ /** AcknowledgeTaskRequest scheduleTime. */
+ public scheduleTime?: (google.protobuf.ITimestamp|null);
+
+ /**
+ * Creates a new AcknowledgeTaskRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AcknowledgeTaskRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta2.IAcknowledgeTaskRequest): google.cloud.tasks.v2beta2.AcknowledgeTaskRequest;
+
+ /**
+ * Encodes the specified AcknowledgeTaskRequest message. Does not implicitly {@link google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.verify|verify} messages.
+ * @param message AcknowledgeTaskRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta2.IAcknowledgeTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AcknowledgeTaskRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.verify|verify} messages.
+ * @param message AcknowledgeTaskRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta2.IAcknowledgeTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AcknowledgeTaskRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AcknowledgeTaskRequest
+ * @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.cloud.tasks.v2beta2.AcknowledgeTaskRequest;
+
+ /**
+ * Decodes an AcknowledgeTaskRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AcknowledgeTaskRequest
+ * @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.cloud.tasks.v2beta2.AcknowledgeTaskRequest;
+
+ /**
+ * Verifies an AcknowledgeTaskRequest 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 AcknowledgeTaskRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AcknowledgeTaskRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta2.AcknowledgeTaskRequest;
+
+ /**
+ * Creates a plain object from an AcknowledgeTaskRequest message. Also converts values to other types if specified.
+ * @param message AcknowledgeTaskRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta2.AcknowledgeTaskRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AcknowledgeTaskRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AcknowledgeTaskRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a RenewLeaseRequest. */
+ interface IRenewLeaseRequest {
+
+ /** RenewLeaseRequest name */
+ name?: (string|null);
+
+ /** RenewLeaseRequest scheduleTime */
+ scheduleTime?: (google.protobuf.ITimestamp|null);
+
+ /** RenewLeaseRequest leaseDuration */
+ leaseDuration?: (google.protobuf.IDuration|null);
+
+ /** RenewLeaseRequest responseView */
+ responseView?: (google.cloud.tasks.v2beta2.Task.View|keyof typeof google.cloud.tasks.v2beta2.Task.View|null);
+ }
+
+ /** Represents a RenewLeaseRequest. */
+ class RenewLeaseRequest implements IRenewLeaseRequest {
+
+ /**
+ * Constructs a new RenewLeaseRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta2.IRenewLeaseRequest);
+
+ /** RenewLeaseRequest name. */
+ public name: string;
+
+ /** RenewLeaseRequest scheduleTime. */
+ public scheduleTime?: (google.protobuf.ITimestamp|null);
+
+ /** RenewLeaseRequest leaseDuration. */
+ public leaseDuration?: (google.protobuf.IDuration|null);
+
+ /** RenewLeaseRequest responseView. */
+ public responseView: (google.cloud.tasks.v2beta2.Task.View|keyof typeof google.cloud.tasks.v2beta2.Task.View);
+
+ /**
+ * Creates a new RenewLeaseRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns RenewLeaseRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta2.IRenewLeaseRequest): google.cloud.tasks.v2beta2.RenewLeaseRequest;
+
+ /**
+ * Encodes the specified RenewLeaseRequest message. Does not implicitly {@link google.cloud.tasks.v2beta2.RenewLeaseRequest.verify|verify} messages.
+ * @param message RenewLeaseRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta2.IRenewLeaseRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified RenewLeaseRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta2.RenewLeaseRequest.verify|verify} messages.
+ * @param message RenewLeaseRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta2.IRenewLeaseRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a RenewLeaseRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns RenewLeaseRequest
+ * @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.cloud.tasks.v2beta2.RenewLeaseRequest;
+
+ /**
+ * Decodes a RenewLeaseRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns RenewLeaseRequest
+ * @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.cloud.tasks.v2beta2.RenewLeaseRequest;
+
+ /**
+ * Verifies a RenewLeaseRequest 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 RenewLeaseRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns RenewLeaseRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta2.RenewLeaseRequest;
+
+ /**
+ * Creates a plain object from a RenewLeaseRequest message. Also converts values to other types if specified.
+ * @param message RenewLeaseRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta2.RenewLeaseRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this RenewLeaseRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for RenewLeaseRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CancelLeaseRequest. */
+ interface ICancelLeaseRequest {
+
+ /** CancelLeaseRequest name */
+ name?: (string|null);
+
+ /** CancelLeaseRequest scheduleTime */
+ scheduleTime?: (google.protobuf.ITimestamp|null);
+
+ /** CancelLeaseRequest responseView */
+ responseView?: (google.cloud.tasks.v2beta2.Task.View|keyof typeof google.cloud.tasks.v2beta2.Task.View|null);
+ }
+
+ /** Represents a CancelLeaseRequest. */
+ class CancelLeaseRequest implements ICancelLeaseRequest {
+
+ /**
+ * Constructs a new CancelLeaseRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta2.ICancelLeaseRequest);
+
+ /** CancelLeaseRequest name. */
+ public name: string;
+
+ /** CancelLeaseRequest scheduleTime. */
+ public scheduleTime?: (google.protobuf.ITimestamp|null);
+
+ /** CancelLeaseRequest responseView. */
+ public responseView: (google.cloud.tasks.v2beta2.Task.View|keyof typeof google.cloud.tasks.v2beta2.Task.View);
+
+ /**
+ * Creates a new CancelLeaseRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CancelLeaseRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta2.ICancelLeaseRequest): google.cloud.tasks.v2beta2.CancelLeaseRequest;
+
+ /**
+ * Encodes the specified CancelLeaseRequest message. Does not implicitly {@link google.cloud.tasks.v2beta2.CancelLeaseRequest.verify|verify} messages.
+ * @param message CancelLeaseRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta2.ICancelLeaseRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CancelLeaseRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta2.CancelLeaseRequest.verify|verify} messages.
+ * @param message CancelLeaseRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta2.ICancelLeaseRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CancelLeaseRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CancelLeaseRequest
+ * @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.cloud.tasks.v2beta2.CancelLeaseRequest;
+
+ /**
+ * Decodes a CancelLeaseRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CancelLeaseRequest
+ * @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.cloud.tasks.v2beta2.CancelLeaseRequest;
+
+ /**
+ * Verifies a CancelLeaseRequest 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 CancelLeaseRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CancelLeaseRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta2.CancelLeaseRequest;
+
+ /**
+ * Creates a plain object from a CancelLeaseRequest message. Also converts values to other types if specified.
+ * @param message CancelLeaseRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta2.CancelLeaseRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CancelLeaseRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CancelLeaseRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a RunTaskRequest. */
+ interface IRunTaskRequest {
+
+ /** RunTaskRequest name */
+ name?: (string|null);
+
+ /** RunTaskRequest responseView */
+ responseView?: (google.cloud.tasks.v2beta2.Task.View|keyof typeof google.cloud.tasks.v2beta2.Task.View|null);
+ }
+
+ /** Represents a RunTaskRequest. */
+ class RunTaskRequest implements IRunTaskRequest {
+
+ /**
+ * Constructs a new RunTaskRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta2.IRunTaskRequest);
+
+ /** RunTaskRequest name. */
+ public name: string;
+
+ /** RunTaskRequest responseView. */
+ public responseView: (google.cloud.tasks.v2beta2.Task.View|keyof typeof google.cloud.tasks.v2beta2.Task.View);
+
+ /**
+ * Creates a new RunTaskRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns RunTaskRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta2.IRunTaskRequest): google.cloud.tasks.v2beta2.RunTaskRequest;
+
+ /**
+ * Encodes the specified RunTaskRequest message. Does not implicitly {@link google.cloud.tasks.v2beta2.RunTaskRequest.verify|verify} messages.
+ * @param message RunTaskRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta2.IRunTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified RunTaskRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta2.RunTaskRequest.verify|verify} messages.
+ * @param message RunTaskRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta2.IRunTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a RunTaskRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns RunTaskRequest
+ * @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.cloud.tasks.v2beta2.RunTaskRequest;
+
+ /**
+ * Decodes a RunTaskRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns RunTaskRequest
+ * @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.cloud.tasks.v2beta2.RunTaskRequest;
+
+ /**
+ * Verifies a RunTaskRequest 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 RunTaskRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns RunTaskRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta2.RunTaskRequest;
+
+ /**
+ * Creates a plain object from a RunTaskRequest message. Also converts values to other types if specified.
+ * @param message RunTaskRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta2.RunTaskRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this RunTaskRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for RunTaskRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Queue. */
+ interface IQueue {
+
+ /** Queue name */
+ name?: (string|null);
+
+ /** Queue appEngineHttpTarget */
+ appEngineHttpTarget?: (google.cloud.tasks.v2beta2.IAppEngineHttpTarget|null);
+
+ /** Queue pullTarget */
+ pullTarget?: (google.cloud.tasks.v2beta2.IPullTarget|null);
+
+ /** Queue rateLimits */
+ rateLimits?: (google.cloud.tasks.v2beta2.IRateLimits|null);
+
+ /** Queue retryConfig */
+ retryConfig?: (google.cloud.tasks.v2beta2.IRetryConfig|null);
+
+ /** Queue state */
+ state?: (google.cloud.tasks.v2beta2.Queue.State|keyof typeof google.cloud.tasks.v2beta2.Queue.State|null);
+
+ /** Queue purgeTime */
+ purgeTime?: (google.protobuf.ITimestamp|null);
+
+ /** Queue taskTtl */
+ taskTtl?: (google.protobuf.IDuration|null);
+
+ /** Queue tombstoneTtl */
+ tombstoneTtl?: (google.protobuf.IDuration|null);
+
+ /** Queue stats */
+ stats?: (google.cloud.tasks.v2beta2.IQueueStats|null);
+ }
+
+ /** Represents a Queue. */
+ class Queue implements IQueue {
+
+ /**
+ * Constructs a new Queue.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta2.IQueue);
+
+ /** Queue name. */
+ public name: string;
+
+ /** Queue appEngineHttpTarget. */
+ public appEngineHttpTarget?: (google.cloud.tasks.v2beta2.IAppEngineHttpTarget|null);
+
+ /** Queue pullTarget. */
+ public pullTarget?: (google.cloud.tasks.v2beta2.IPullTarget|null);
+
+ /** Queue rateLimits. */
+ public rateLimits?: (google.cloud.tasks.v2beta2.IRateLimits|null);
+
+ /** Queue retryConfig. */
+ public retryConfig?: (google.cloud.tasks.v2beta2.IRetryConfig|null);
+
+ /** Queue state. */
+ public state: (google.cloud.tasks.v2beta2.Queue.State|keyof typeof google.cloud.tasks.v2beta2.Queue.State);
+
+ /** Queue purgeTime. */
+ public purgeTime?: (google.protobuf.ITimestamp|null);
+
+ /** Queue taskTtl. */
+ public taskTtl?: (google.protobuf.IDuration|null);
+
+ /** Queue tombstoneTtl. */
+ public tombstoneTtl?: (google.protobuf.IDuration|null);
+
+ /** Queue stats. */
+ public stats?: (google.cloud.tasks.v2beta2.IQueueStats|null);
+
+ /** Queue targetType. */
+ public targetType?: ("appEngineHttpTarget"|"pullTarget");
+
+ /**
+ * Creates a new Queue instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Queue instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta2.IQueue): google.cloud.tasks.v2beta2.Queue;
+
+ /**
+ * Encodes the specified Queue message. Does not implicitly {@link google.cloud.tasks.v2beta2.Queue.verify|verify} messages.
+ * @param message Queue message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta2.IQueue, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Queue message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta2.Queue.verify|verify} messages.
+ * @param message Queue message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta2.IQueue, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Queue message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Queue
+ * @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.cloud.tasks.v2beta2.Queue;
+
+ /**
+ * Decodes a Queue message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Queue
+ * @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.cloud.tasks.v2beta2.Queue;
+
+ /**
+ * Verifies a Queue 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 Queue message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Queue
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta2.Queue;
+
+ /**
+ * Creates a plain object from a Queue message. Also converts values to other types if specified.
+ * @param message Queue
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta2.Queue, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Queue to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Queue
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace Queue {
+
+ /** State enum. */
+ enum State {
+ STATE_UNSPECIFIED = 0,
+ RUNNING = 1,
+ PAUSED = 2,
+ DISABLED = 3
+ }
+ }
+
+ /** Properties of a RateLimits. */
+ interface IRateLimits {
+
+ /** RateLimits maxTasksDispatchedPerSecond */
+ maxTasksDispatchedPerSecond?: (number|null);
+
+ /** RateLimits maxBurstSize */
+ maxBurstSize?: (number|null);
+
+ /** RateLimits maxConcurrentTasks */
+ maxConcurrentTasks?: (number|null);
+ }
+
+ /** Represents a RateLimits. */
+ class RateLimits implements IRateLimits {
+
+ /**
+ * Constructs a new RateLimits.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta2.IRateLimits);
+
+ /** RateLimits maxTasksDispatchedPerSecond. */
+ public maxTasksDispatchedPerSecond: number;
+
+ /** RateLimits maxBurstSize. */
+ public maxBurstSize: number;
+
+ /** RateLimits maxConcurrentTasks. */
+ public maxConcurrentTasks: number;
+
+ /**
+ * Creates a new RateLimits instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns RateLimits instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta2.IRateLimits): google.cloud.tasks.v2beta2.RateLimits;
+
+ /**
+ * Encodes the specified RateLimits message. Does not implicitly {@link google.cloud.tasks.v2beta2.RateLimits.verify|verify} messages.
+ * @param message RateLimits message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta2.IRateLimits, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified RateLimits message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta2.RateLimits.verify|verify} messages.
+ * @param message RateLimits message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta2.IRateLimits, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a RateLimits message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns RateLimits
+ * @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.cloud.tasks.v2beta2.RateLimits;
+
+ /**
+ * Decodes a RateLimits message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns RateLimits
+ * @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.cloud.tasks.v2beta2.RateLimits;
+
+ /**
+ * Verifies a RateLimits 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 RateLimits message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns RateLimits
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta2.RateLimits;
+
+ /**
+ * Creates a plain object from a RateLimits message. Also converts values to other types if specified.
+ * @param message RateLimits
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta2.RateLimits, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this RateLimits to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for RateLimits
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a RetryConfig. */
+ interface IRetryConfig {
+
+ /** RetryConfig maxAttempts */
+ maxAttempts?: (number|null);
+
+ /** RetryConfig unlimitedAttempts */
+ unlimitedAttempts?: (boolean|null);
+
+ /** RetryConfig maxRetryDuration */
+ maxRetryDuration?: (google.protobuf.IDuration|null);
+
+ /** RetryConfig minBackoff */
+ minBackoff?: (google.protobuf.IDuration|null);
+
+ /** RetryConfig maxBackoff */
+ maxBackoff?: (google.protobuf.IDuration|null);
+
+ /** RetryConfig maxDoublings */
+ maxDoublings?: (number|null);
+ }
+
+ /** Represents a RetryConfig. */
+ class RetryConfig implements IRetryConfig {
+
+ /**
+ * Constructs a new RetryConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta2.IRetryConfig);
+
+ /** RetryConfig maxAttempts. */
+ public maxAttempts?: (number|null);
+
+ /** RetryConfig unlimitedAttempts. */
+ public unlimitedAttempts?: (boolean|null);
+
+ /** RetryConfig maxRetryDuration. */
+ public maxRetryDuration?: (google.protobuf.IDuration|null);
+
+ /** RetryConfig minBackoff. */
+ public minBackoff?: (google.protobuf.IDuration|null);
+
+ /** RetryConfig maxBackoff. */
+ public maxBackoff?: (google.protobuf.IDuration|null);
+
+ /** RetryConfig maxDoublings. */
+ public maxDoublings: number;
+
+ /** RetryConfig numAttempts. */
+ public numAttempts?: ("maxAttempts"|"unlimitedAttempts");
+
+ /**
+ * Creates a new RetryConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns RetryConfig instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta2.IRetryConfig): google.cloud.tasks.v2beta2.RetryConfig;
+
+ /**
+ * Encodes the specified RetryConfig message. Does not implicitly {@link google.cloud.tasks.v2beta2.RetryConfig.verify|verify} messages.
+ * @param message RetryConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta2.IRetryConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified RetryConfig message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta2.RetryConfig.verify|verify} messages.
+ * @param message RetryConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta2.IRetryConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a RetryConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns RetryConfig
+ * @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.cloud.tasks.v2beta2.RetryConfig;
+
+ /**
+ * Decodes a RetryConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns RetryConfig
+ * @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.cloud.tasks.v2beta2.RetryConfig;
+
+ /**
+ * Verifies a RetryConfig 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 RetryConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns RetryConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta2.RetryConfig;
+
+ /**
+ * Creates a plain object from a RetryConfig message. Also converts values to other types if specified.
+ * @param message RetryConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta2.RetryConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this RetryConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for RetryConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a QueueStats. */
+ interface IQueueStats {
+
+ /** QueueStats tasksCount */
+ tasksCount?: (number|Long|string|null);
+
+ /** QueueStats oldestEstimatedArrivalTime */
+ oldestEstimatedArrivalTime?: (google.protobuf.ITimestamp|null);
+
+ /** QueueStats executedLastMinuteCount */
+ executedLastMinuteCount?: (number|Long|string|null);
+
+ /** QueueStats concurrentDispatchesCount */
+ concurrentDispatchesCount?: (number|Long|string|null);
+
+ /** QueueStats effectiveExecutionRate */
+ effectiveExecutionRate?: (number|null);
+ }
+
+ /** Represents a QueueStats. */
+ class QueueStats implements IQueueStats {
+
+ /**
+ * Constructs a new QueueStats.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta2.IQueueStats);
+
+ /** QueueStats tasksCount. */
+ public tasksCount: (number|Long|string);
+
+ /** QueueStats oldestEstimatedArrivalTime. */
+ public oldestEstimatedArrivalTime?: (google.protobuf.ITimestamp|null);
+
+ /** QueueStats executedLastMinuteCount. */
+ public executedLastMinuteCount: (number|Long|string);
+
+ /** QueueStats concurrentDispatchesCount. */
+ public concurrentDispatchesCount: (number|Long|string);
+
+ /** QueueStats effectiveExecutionRate. */
+ public effectiveExecutionRate: number;
+
+ /**
+ * Creates a new QueueStats instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns QueueStats instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta2.IQueueStats): google.cloud.tasks.v2beta2.QueueStats;
+
+ /**
+ * Encodes the specified QueueStats message. Does not implicitly {@link google.cloud.tasks.v2beta2.QueueStats.verify|verify} messages.
+ * @param message QueueStats message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta2.IQueueStats, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified QueueStats message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta2.QueueStats.verify|verify} messages.
+ * @param message QueueStats message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta2.IQueueStats, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a QueueStats message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns QueueStats
+ * @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.cloud.tasks.v2beta2.QueueStats;
+
+ /**
+ * Decodes a QueueStats message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns QueueStats
+ * @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.cloud.tasks.v2beta2.QueueStats;
+
+ /**
+ * Verifies a QueueStats 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 QueueStats message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns QueueStats
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta2.QueueStats;
+
+ /**
+ * Creates a plain object from a QueueStats message. Also converts values to other types if specified.
+ * @param message QueueStats
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta2.QueueStats, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this QueueStats to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for QueueStats
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PullTarget. */
+ interface IPullTarget {
+ }
+
+ /** Represents a PullTarget. */
+ class PullTarget implements IPullTarget {
+
+ /**
+ * Constructs a new PullTarget.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta2.IPullTarget);
+
+ /**
+ * Creates a new PullTarget instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PullTarget instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta2.IPullTarget): google.cloud.tasks.v2beta2.PullTarget;
+
+ /**
+ * Encodes the specified PullTarget message. Does not implicitly {@link google.cloud.tasks.v2beta2.PullTarget.verify|verify} messages.
+ * @param message PullTarget message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta2.IPullTarget, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PullTarget message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta2.PullTarget.verify|verify} messages.
+ * @param message PullTarget message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta2.IPullTarget, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PullTarget message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PullTarget
+ * @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.cloud.tasks.v2beta2.PullTarget;
+
+ /**
+ * Decodes a PullTarget message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PullTarget
+ * @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.cloud.tasks.v2beta2.PullTarget;
+
+ /**
+ * Verifies a PullTarget 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 PullTarget message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PullTarget
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta2.PullTarget;
+
+ /**
+ * Creates a plain object from a PullTarget message. Also converts values to other types if specified.
+ * @param message PullTarget
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta2.PullTarget, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PullTarget to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PullTarget
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PullMessage. */
+ interface IPullMessage {
+
+ /** PullMessage payload */
+ payload?: (Uint8Array|string|null);
+
+ /** PullMessage tag */
+ tag?: (string|null);
+ }
+
+ /** Represents a PullMessage. */
+ class PullMessage implements IPullMessage {
+
+ /**
+ * Constructs a new PullMessage.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta2.IPullMessage);
+
+ /** PullMessage payload. */
+ public payload: (Uint8Array|string);
+
+ /** PullMessage tag. */
+ public tag: string;
+
+ /**
+ * Creates a new PullMessage instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PullMessage instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta2.IPullMessage): google.cloud.tasks.v2beta2.PullMessage;
+
+ /**
+ * Encodes the specified PullMessage message. Does not implicitly {@link google.cloud.tasks.v2beta2.PullMessage.verify|verify} messages.
+ * @param message PullMessage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta2.IPullMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PullMessage message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta2.PullMessage.verify|verify} messages.
+ * @param message PullMessage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta2.IPullMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PullMessage message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PullMessage
+ * @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.cloud.tasks.v2beta2.PullMessage;
+
+ /**
+ * Decodes a PullMessage message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PullMessage
+ * @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.cloud.tasks.v2beta2.PullMessage;
+
+ /**
+ * Verifies a PullMessage 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 PullMessage message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PullMessage
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta2.PullMessage;
+
+ /**
+ * Creates a plain object from a PullMessage message. Also converts values to other types if specified.
+ * @param message PullMessage
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta2.PullMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PullMessage to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PullMessage
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an AppEngineHttpTarget. */
+ interface IAppEngineHttpTarget {
+
+ /** AppEngineHttpTarget appEngineRoutingOverride */
+ appEngineRoutingOverride?: (google.cloud.tasks.v2beta2.IAppEngineRouting|null);
+ }
+
+ /** Represents an AppEngineHttpTarget. */
+ class AppEngineHttpTarget implements IAppEngineHttpTarget {
+
+ /**
+ * Constructs a new AppEngineHttpTarget.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta2.IAppEngineHttpTarget);
+
+ /** AppEngineHttpTarget appEngineRoutingOverride. */
+ public appEngineRoutingOverride?: (google.cloud.tasks.v2beta2.IAppEngineRouting|null);
+
+ /**
+ * Creates a new AppEngineHttpTarget instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AppEngineHttpTarget instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta2.IAppEngineHttpTarget): google.cloud.tasks.v2beta2.AppEngineHttpTarget;
+
+ /**
+ * Encodes the specified AppEngineHttpTarget message. Does not implicitly {@link google.cloud.tasks.v2beta2.AppEngineHttpTarget.verify|verify} messages.
+ * @param message AppEngineHttpTarget message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta2.IAppEngineHttpTarget, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AppEngineHttpTarget message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta2.AppEngineHttpTarget.verify|verify} messages.
+ * @param message AppEngineHttpTarget message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta2.IAppEngineHttpTarget, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AppEngineHttpTarget message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AppEngineHttpTarget
+ * @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.cloud.tasks.v2beta2.AppEngineHttpTarget;
+
+ /**
+ * Decodes an AppEngineHttpTarget message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AppEngineHttpTarget
+ * @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.cloud.tasks.v2beta2.AppEngineHttpTarget;
+
+ /**
+ * Verifies an AppEngineHttpTarget 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 AppEngineHttpTarget message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AppEngineHttpTarget
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta2.AppEngineHttpTarget;
+
+ /**
+ * Creates a plain object from an AppEngineHttpTarget message. Also converts values to other types if specified.
+ * @param message AppEngineHttpTarget
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta2.AppEngineHttpTarget, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AppEngineHttpTarget to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AppEngineHttpTarget
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an AppEngineHttpRequest. */
+ interface IAppEngineHttpRequest {
+
+ /** AppEngineHttpRequest httpMethod */
+ httpMethod?: (google.cloud.tasks.v2beta2.HttpMethod|keyof typeof google.cloud.tasks.v2beta2.HttpMethod|null);
+
+ /** AppEngineHttpRequest appEngineRouting */
+ appEngineRouting?: (google.cloud.tasks.v2beta2.IAppEngineRouting|null);
+
+ /** AppEngineHttpRequest relativeUrl */
+ relativeUrl?: (string|null);
+
+ /** AppEngineHttpRequest headers */
+ headers?: ({ [k: string]: string }|null);
+
+ /** AppEngineHttpRequest payload */
+ payload?: (Uint8Array|string|null);
+ }
+
+ /** Represents an AppEngineHttpRequest. */
+ class AppEngineHttpRequest implements IAppEngineHttpRequest {
+
+ /**
+ * Constructs a new AppEngineHttpRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta2.IAppEngineHttpRequest);
+
+ /** AppEngineHttpRequest httpMethod. */
+ public httpMethod: (google.cloud.tasks.v2beta2.HttpMethod|keyof typeof google.cloud.tasks.v2beta2.HttpMethod);
+
+ /** AppEngineHttpRequest appEngineRouting. */
+ public appEngineRouting?: (google.cloud.tasks.v2beta2.IAppEngineRouting|null);
+
+ /** AppEngineHttpRequest relativeUrl. */
+ public relativeUrl: string;
+
+ /** AppEngineHttpRequest headers. */
+ public headers: { [k: string]: string };
+
+ /** AppEngineHttpRequest payload. */
+ public payload: (Uint8Array|string);
+
+ /**
+ * Creates a new AppEngineHttpRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AppEngineHttpRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta2.IAppEngineHttpRequest): google.cloud.tasks.v2beta2.AppEngineHttpRequest;
+
+ /**
+ * Encodes the specified AppEngineHttpRequest message. Does not implicitly {@link google.cloud.tasks.v2beta2.AppEngineHttpRequest.verify|verify} messages.
+ * @param message AppEngineHttpRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta2.IAppEngineHttpRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AppEngineHttpRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta2.AppEngineHttpRequest.verify|verify} messages.
+ * @param message AppEngineHttpRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta2.IAppEngineHttpRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AppEngineHttpRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AppEngineHttpRequest
+ * @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.cloud.tasks.v2beta2.AppEngineHttpRequest;
+
+ /**
+ * Decodes an AppEngineHttpRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AppEngineHttpRequest
+ * @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.cloud.tasks.v2beta2.AppEngineHttpRequest;
+
+ /**
+ * Verifies an AppEngineHttpRequest 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 AppEngineHttpRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AppEngineHttpRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta2.AppEngineHttpRequest;
+
+ /**
+ * Creates a plain object from an AppEngineHttpRequest message. Also converts values to other types if specified.
+ * @param message AppEngineHttpRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta2.AppEngineHttpRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AppEngineHttpRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AppEngineHttpRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an AppEngineRouting. */
+ interface IAppEngineRouting {
+
+ /** AppEngineRouting service */
+ service?: (string|null);
+
+ /** AppEngineRouting version */
+ version?: (string|null);
+
+ /** AppEngineRouting instance */
+ instance?: (string|null);
+
+ /** AppEngineRouting host */
+ host?: (string|null);
+ }
+
+ /** Represents an AppEngineRouting. */
+ class AppEngineRouting implements IAppEngineRouting {
+
+ /**
+ * Constructs a new AppEngineRouting.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta2.IAppEngineRouting);
+
+ /** AppEngineRouting service. */
+ public service: string;
+
+ /** AppEngineRouting version. */
+ public version: string;
+
+ /** AppEngineRouting instance. */
+ public instance: string;
+
+ /** AppEngineRouting host. */
+ public host: string;
+
+ /**
+ * Creates a new AppEngineRouting instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AppEngineRouting instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta2.IAppEngineRouting): google.cloud.tasks.v2beta2.AppEngineRouting;
+
+ /**
+ * Encodes the specified AppEngineRouting message. Does not implicitly {@link google.cloud.tasks.v2beta2.AppEngineRouting.verify|verify} messages.
+ * @param message AppEngineRouting message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta2.IAppEngineRouting, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AppEngineRouting message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta2.AppEngineRouting.verify|verify} messages.
+ * @param message AppEngineRouting message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta2.IAppEngineRouting, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AppEngineRouting message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AppEngineRouting
+ * @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.cloud.tasks.v2beta2.AppEngineRouting;
+
+ /**
+ * Decodes an AppEngineRouting message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AppEngineRouting
+ * @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.cloud.tasks.v2beta2.AppEngineRouting;
+
+ /**
+ * Verifies an AppEngineRouting 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 AppEngineRouting message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AppEngineRouting
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta2.AppEngineRouting;
+
+ /**
+ * Creates a plain object from an AppEngineRouting message. Also converts values to other types if specified.
+ * @param message AppEngineRouting
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta2.AppEngineRouting, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AppEngineRouting to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AppEngineRouting
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** HttpMethod enum. */
+ enum HttpMethod {
+ HTTP_METHOD_UNSPECIFIED = 0,
+ POST = 1,
+ GET = 2,
+ HEAD = 3,
+ PUT = 4,
+ DELETE = 5
+ }
+
+ /** Properties of a Task. */
+ interface ITask {
+
+ /** Task name */
+ name?: (string|null);
+
+ /** Task appEngineHttpRequest */
+ appEngineHttpRequest?: (google.cloud.tasks.v2beta2.IAppEngineHttpRequest|null);
+
+ /** Task pullMessage */
+ pullMessage?: (google.cloud.tasks.v2beta2.IPullMessage|null);
+
+ /** Task scheduleTime */
+ scheduleTime?: (google.protobuf.ITimestamp|null);
+
+ /** Task createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Task status */
+ status?: (google.cloud.tasks.v2beta2.ITaskStatus|null);
+
+ /** Task view */
+ view?: (google.cloud.tasks.v2beta2.Task.View|keyof typeof google.cloud.tasks.v2beta2.Task.View|null);
+ }
+
+ /** Represents a Task. */
+ class Task implements ITask {
+
+ /**
+ * Constructs a new Task.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta2.ITask);
+
+ /** Task name. */
+ public name: string;
+
+ /** Task appEngineHttpRequest. */
+ public appEngineHttpRequest?: (google.cloud.tasks.v2beta2.IAppEngineHttpRequest|null);
+
+ /** Task pullMessage. */
+ public pullMessage?: (google.cloud.tasks.v2beta2.IPullMessage|null);
+
+ /** Task scheduleTime. */
+ public scheduleTime?: (google.protobuf.ITimestamp|null);
+
+ /** Task createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Task status. */
+ public status?: (google.cloud.tasks.v2beta2.ITaskStatus|null);
+
+ /** Task view. */
+ public view: (google.cloud.tasks.v2beta2.Task.View|keyof typeof google.cloud.tasks.v2beta2.Task.View);
+
+ /** Task payloadType. */
+ public payloadType?: ("appEngineHttpRequest"|"pullMessage");
+
+ /**
+ * Creates a new Task instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Task instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta2.ITask): google.cloud.tasks.v2beta2.Task;
+
+ /**
+ * Encodes the specified Task message. Does not implicitly {@link google.cloud.tasks.v2beta2.Task.verify|verify} messages.
+ * @param message Task message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta2.ITask, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Task message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta2.Task.verify|verify} messages.
+ * @param message Task message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta2.ITask, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Task message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Task
+ * @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.cloud.tasks.v2beta2.Task;
+
+ /**
+ * Decodes a Task message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Task
+ * @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.cloud.tasks.v2beta2.Task;
+
+ /**
+ * Verifies a Task 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 Task message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Task
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta2.Task;
+
+ /**
+ * Creates a plain object from a Task message. Also converts values to other types if specified.
+ * @param message Task
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta2.Task, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Task to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Task
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace Task {
+
+ /** View enum. */
+ enum View {
+ VIEW_UNSPECIFIED = 0,
+ BASIC = 1,
+ FULL = 2
+ }
+ }
+
+ /** Properties of a TaskStatus. */
+ interface ITaskStatus {
+
+ /** TaskStatus attemptDispatchCount */
+ attemptDispatchCount?: (number|null);
+
+ /** TaskStatus attemptResponseCount */
+ attemptResponseCount?: (number|null);
+
+ /** TaskStatus firstAttemptStatus */
+ firstAttemptStatus?: (google.cloud.tasks.v2beta2.IAttemptStatus|null);
+
+ /** TaskStatus lastAttemptStatus */
+ lastAttemptStatus?: (google.cloud.tasks.v2beta2.IAttemptStatus|null);
+ }
+
+ /** Represents a TaskStatus. */
+ class TaskStatus implements ITaskStatus {
+
+ /**
+ * Constructs a new TaskStatus.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta2.ITaskStatus);
+
+ /** TaskStatus attemptDispatchCount. */
+ public attemptDispatchCount: number;
+
+ /** TaskStatus attemptResponseCount. */
+ public attemptResponseCount: number;
+
+ /** TaskStatus firstAttemptStatus. */
+ public firstAttemptStatus?: (google.cloud.tasks.v2beta2.IAttemptStatus|null);
+
+ /** TaskStatus lastAttemptStatus. */
+ public lastAttemptStatus?: (google.cloud.tasks.v2beta2.IAttemptStatus|null);
+
+ /**
+ * Creates a new TaskStatus instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TaskStatus instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta2.ITaskStatus): google.cloud.tasks.v2beta2.TaskStatus;
+
+ /**
+ * Encodes the specified TaskStatus message. Does not implicitly {@link google.cloud.tasks.v2beta2.TaskStatus.verify|verify} messages.
+ * @param message TaskStatus message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta2.ITaskStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TaskStatus message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta2.TaskStatus.verify|verify} messages.
+ * @param message TaskStatus message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta2.ITaskStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TaskStatus message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TaskStatus
+ * @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.cloud.tasks.v2beta2.TaskStatus;
+
+ /**
+ * Decodes a TaskStatus message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TaskStatus
+ * @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.cloud.tasks.v2beta2.TaskStatus;
+
+ /**
+ * Verifies a TaskStatus 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 TaskStatus message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TaskStatus
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta2.TaskStatus;
+
+ /**
+ * Creates a plain object from a TaskStatus message. Also converts values to other types if specified.
+ * @param message TaskStatus
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta2.TaskStatus, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TaskStatus to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TaskStatus
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an AttemptStatus. */
+ interface IAttemptStatus {
+
+ /** AttemptStatus scheduleTime */
+ scheduleTime?: (google.protobuf.ITimestamp|null);
+
+ /** AttemptStatus dispatchTime */
+ dispatchTime?: (google.protobuf.ITimestamp|null);
+
+ /** AttemptStatus responseTime */
+ responseTime?: (google.protobuf.ITimestamp|null);
+
+ /** AttemptStatus responseStatus */
+ responseStatus?: (google.rpc.IStatus|null);
+ }
+
+ /** Represents an AttemptStatus. */
+ class AttemptStatus implements IAttemptStatus {
+
+ /**
+ * Constructs a new AttemptStatus.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta2.IAttemptStatus);
+
+ /** AttemptStatus scheduleTime. */
+ public scheduleTime?: (google.protobuf.ITimestamp|null);
+
+ /** AttemptStatus dispatchTime. */
+ public dispatchTime?: (google.protobuf.ITimestamp|null);
+
+ /** AttemptStatus responseTime. */
+ public responseTime?: (google.protobuf.ITimestamp|null);
+
+ /** AttemptStatus responseStatus. */
+ public responseStatus?: (google.rpc.IStatus|null);
+
+ /**
+ * Creates a new AttemptStatus instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AttemptStatus instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta2.IAttemptStatus): google.cloud.tasks.v2beta2.AttemptStatus;
+
+ /**
+ * Encodes the specified AttemptStatus message. Does not implicitly {@link google.cloud.tasks.v2beta2.AttemptStatus.verify|verify} messages.
+ * @param message AttemptStatus message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta2.IAttemptStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AttemptStatus message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta2.AttemptStatus.verify|verify} messages.
+ * @param message AttemptStatus message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta2.IAttemptStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AttemptStatus message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AttemptStatus
+ * @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.cloud.tasks.v2beta2.AttemptStatus;
+
+ /**
+ * Decodes an AttemptStatus message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AttemptStatus
+ * @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.cloud.tasks.v2beta2.AttemptStatus;
+
+ /**
+ * Verifies an AttemptStatus 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 AttemptStatus message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AttemptStatus
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta2.AttemptStatus;
+
+ /**
+ * Creates a plain object from an AttemptStatus message. Also converts values to other types if specified.
+ * @param message AttemptStatus
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta2.AttemptStatus, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AttemptStatus to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AttemptStatus
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Namespace v2beta3. */
+ namespace v2beta3 {
+
+ /** Represents a CloudTasks */
+ class CloudTasks extends $protobuf.rpc.Service {
+
+ /**
+ * Constructs a new CloudTasks service.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ */
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
+
+ /**
+ * Creates new CloudTasks service using the specified rpc implementation.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ * @returns RPC service. Useful where requests and/or responses are streamed.
+ */
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): CloudTasks;
+
+ /**
+ * Calls ListQueues.
+ * @param request ListQueuesRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListQueuesResponse
+ */
+ public listQueues(request: google.cloud.tasks.v2beta3.IListQueuesRequest, callback: google.cloud.tasks.v2beta3.CloudTasks.ListQueuesCallback): void;
+
+ /**
+ * Calls ListQueues.
+ * @param request ListQueuesRequest message or plain object
+ * @returns Promise
+ */
+ public listQueues(request: google.cloud.tasks.v2beta3.IListQueuesRequest): Promise;
+
+ /**
+ * Calls GetQueue.
+ * @param request GetQueueRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Queue
+ */
+ public getQueue(request: google.cloud.tasks.v2beta3.IGetQueueRequest, callback: google.cloud.tasks.v2beta3.CloudTasks.GetQueueCallback): void;
+
+ /**
+ * Calls GetQueue.
+ * @param request GetQueueRequest message or plain object
+ * @returns Promise
+ */
+ public getQueue(request: google.cloud.tasks.v2beta3.IGetQueueRequest): Promise;
+
+ /**
+ * Calls CreateQueue.
+ * @param request CreateQueueRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Queue
+ */
+ public createQueue(request: google.cloud.tasks.v2beta3.ICreateQueueRequest, callback: google.cloud.tasks.v2beta3.CloudTasks.CreateQueueCallback): void;
+
+ /**
+ * Calls CreateQueue.
+ * @param request CreateQueueRequest message or plain object
+ * @returns Promise
+ */
+ public createQueue(request: google.cloud.tasks.v2beta3.ICreateQueueRequest): Promise;
+
+ /**
+ * Calls UpdateQueue.
+ * @param request UpdateQueueRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Queue
+ */
+ public updateQueue(request: google.cloud.tasks.v2beta3.IUpdateQueueRequest, callback: google.cloud.tasks.v2beta3.CloudTasks.UpdateQueueCallback): void;
+
+ /**
+ * Calls UpdateQueue.
+ * @param request UpdateQueueRequest message or plain object
+ * @returns Promise
+ */
+ public updateQueue(request: google.cloud.tasks.v2beta3.IUpdateQueueRequest): Promise;
+
+ /**
+ * Calls DeleteQueue.
+ * @param request DeleteQueueRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public deleteQueue(request: google.cloud.tasks.v2beta3.IDeleteQueueRequest, callback: google.cloud.tasks.v2beta3.CloudTasks.DeleteQueueCallback): void;
+
+ /**
+ * Calls DeleteQueue.
+ * @param request DeleteQueueRequest message or plain object
+ * @returns Promise
+ */
+ public deleteQueue(request: google.cloud.tasks.v2beta3.IDeleteQueueRequest): Promise;
+
+ /**
+ * Calls PurgeQueue.
+ * @param request PurgeQueueRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Queue
+ */
+ public purgeQueue(request: google.cloud.tasks.v2beta3.IPurgeQueueRequest, callback: google.cloud.tasks.v2beta3.CloudTasks.PurgeQueueCallback): void;
+
+ /**
+ * Calls PurgeQueue.
+ * @param request PurgeQueueRequest message or plain object
+ * @returns Promise
+ */
+ public purgeQueue(request: google.cloud.tasks.v2beta3.IPurgeQueueRequest): Promise;
+
+ /**
+ * Calls PauseQueue.
+ * @param request PauseQueueRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Queue
+ */
+ public pauseQueue(request: google.cloud.tasks.v2beta3.IPauseQueueRequest, callback: google.cloud.tasks.v2beta3.CloudTasks.PauseQueueCallback): void;
+
+ /**
+ * Calls PauseQueue.
+ * @param request PauseQueueRequest message or plain object
+ * @returns Promise
+ */
+ public pauseQueue(request: google.cloud.tasks.v2beta3.IPauseQueueRequest): Promise;
+
+ /**
+ * Calls ResumeQueue.
+ * @param request ResumeQueueRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Queue
+ */
+ public resumeQueue(request: google.cloud.tasks.v2beta3.IResumeQueueRequest, callback: google.cloud.tasks.v2beta3.CloudTasks.ResumeQueueCallback): void;
+
+ /**
+ * Calls ResumeQueue.
+ * @param request ResumeQueueRequest message or plain object
+ * @returns Promise
+ */
+ public resumeQueue(request: google.cloud.tasks.v2beta3.IResumeQueueRequest): Promise;
+
+ /**
+ * Calls GetIamPolicy.
+ * @param request GetIamPolicyRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Policy
+ */
+ public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest, callback: google.cloud.tasks.v2beta3.CloudTasks.GetIamPolicyCallback): void;
+
+ /**
+ * Calls GetIamPolicy.
+ * @param request GetIamPolicyRequest message or plain object
+ * @returns Promise
+ */
+ public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest): Promise;
+
+ /**
+ * Calls SetIamPolicy.
+ * @param request SetIamPolicyRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Policy
+ */
+ public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest, callback: google.cloud.tasks.v2beta3.CloudTasks.SetIamPolicyCallback): void;
+
+ /**
+ * Calls SetIamPolicy.
+ * @param request SetIamPolicyRequest message or plain object
+ * @returns Promise
+ */
+ public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest): Promise;
+
+ /**
+ * Calls TestIamPermissions.
+ * @param request TestIamPermissionsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and TestIamPermissionsResponse
+ */
+ public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest, callback: google.cloud.tasks.v2beta3.CloudTasks.TestIamPermissionsCallback): void;
+
+ /**
+ * Calls TestIamPermissions.
+ * @param request TestIamPermissionsRequest message or plain object
+ * @returns Promise
+ */
+ public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest): Promise;
+
+ /**
+ * Calls ListTasks.
+ * @param request ListTasksRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListTasksResponse
+ */
+ public listTasks(request: google.cloud.tasks.v2beta3.IListTasksRequest, callback: google.cloud.tasks.v2beta3.CloudTasks.ListTasksCallback): void;
+
+ /**
+ * Calls ListTasks.
+ * @param request ListTasksRequest message or plain object
+ * @returns Promise
+ */
+ public listTasks(request: google.cloud.tasks.v2beta3.IListTasksRequest): Promise;
+
+ /**
+ * Calls GetTask.
+ * @param request GetTaskRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Task
+ */
+ public getTask(request: google.cloud.tasks.v2beta3.IGetTaskRequest, callback: google.cloud.tasks.v2beta3.CloudTasks.GetTaskCallback): void;
+
+ /**
+ * Calls GetTask.
+ * @param request GetTaskRequest message or plain object
+ * @returns Promise
+ */
+ public getTask(request: google.cloud.tasks.v2beta3.IGetTaskRequest): Promise;
+
+ /**
+ * Calls CreateTask.
+ * @param request CreateTaskRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Task
+ */
+ public createTask(request: google.cloud.tasks.v2beta3.ICreateTaskRequest, callback: google.cloud.tasks.v2beta3.CloudTasks.CreateTaskCallback): void;
+
+ /**
+ * Calls CreateTask.
+ * @param request CreateTaskRequest message or plain object
+ * @returns Promise
+ */
+ public createTask(request: google.cloud.tasks.v2beta3.ICreateTaskRequest): Promise;
+
+ /**
+ * Calls DeleteTask.
+ * @param request DeleteTaskRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public deleteTask(request: google.cloud.tasks.v2beta3.IDeleteTaskRequest, callback: google.cloud.tasks.v2beta3.CloudTasks.DeleteTaskCallback): void;
+
+ /**
+ * Calls DeleteTask.
+ * @param request DeleteTaskRequest message or plain object
+ * @returns Promise
+ */
+ public deleteTask(request: google.cloud.tasks.v2beta3.IDeleteTaskRequest): Promise;
+
+ /**
+ * Calls RunTask.
+ * @param request RunTaskRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Task
+ */
+ public runTask(request: google.cloud.tasks.v2beta3.IRunTaskRequest, callback: google.cloud.tasks.v2beta3.CloudTasks.RunTaskCallback): void;
+
+ /**
+ * Calls RunTask.
+ * @param request RunTaskRequest message or plain object
+ * @returns Promise
+ */
+ public runTask(request: google.cloud.tasks.v2beta3.IRunTaskRequest): Promise;
+ }
+
+ namespace CloudTasks {
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta3.CloudTasks|listQueues}.
+ * @param error Error, if any
+ * @param [response] ListQueuesResponse
+ */
+ type ListQueuesCallback = (error: (Error|null), response?: google.cloud.tasks.v2beta3.ListQueuesResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta3.CloudTasks|getQueue}.
+ * @param error Error, if any
+ * @param [response] Queue
+ */
+ type GetQueueCallback = (error: (Error|null), response?: google.cloud.tasks.v2beta3.Queue) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta3.CloudTasks|createQueue}.
+ * @param error Error, if any
+ * @param [response] Queue
+ */
+ type CreateQueueCallback = (error: (Error|null), response?: google.cloud.tasks.v2beta3.Queue) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta3.CloudTasks|updateQueue}.
+ * @param error Error, if any
+ * @param [response] Queue
+ */
+ type UpdateQueueCallback = (error: (Error|null), response?: google.cloud.tasks.v2beta3.Queue) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta3.CloudTasks|deleteQueue}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type DeleteQueueCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta3.CloudTasks|purgeQueue}.
+ * @param error Error, if any
+ * @param [response] Queue
+ */
+ type PurgeQueueCallback = (error: (Error|null), response?: google.cloud.tasks.v2beta3.Queue) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta3.CloudTasks|pauseQueue}.
+ * @param error Error, if any
+ * @param [response] Queue
+ */
+ type PauseQueueCallback = (error: (Error|null), response?: google.cloud.tasks.v2beta3.Queue) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta3.CloudTasks|resumeQueue}.
+ * @param error Error, if any
+ * @param [response] Queue
+ */
+ type ResumeQueueCallback = (error: (Error|null), response?: google.cloud.tasks.v2beta3.Queue) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta3.CloudTasks|getIamPolicy}.
+ * @param error Error, if any
+ * @param [response] Policy
+ */
+ type GetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta3.CloudTasks|setIamPolicy}.
+ * @param error Error, if any
+ * @param [response] Policy
+ */
+ type SetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta3.CloudTasks|testIamPermissions}.
+ * @param error Error, if any
+ * @param [response] TestIamPermissionsResponse
+ */
+ type TestIamPermissionsCallback = (error: (Error|null), response?: google.iam.v1.TestIamPermissionsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta3.CloudTasks|listTasks}.
+ * @param error Error, if any
+ * @param [response] ListTasksResponse
+ */
+ type ListTasksCallback = (error: (Error|null), response?: google.cloud.tasks.v2beta3.ListTasksResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta3.CloudTasks|getTask}.
+ * @param error Error, if any
+ * @param [response] Task
+ */
+ type GetTaskCallback = (error: (Error|null), response?: google.cloud.tasks.v2beta3.Task) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta3.CloudTasks|createTask}.
+ * @param error Error, if any
+ * @param [response] Task
+ */
+ type CreateTaskCallback = (error: (Error|null), response?: google.cloud.tasks.v2beta3.Task) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta3.CloudTasks|deleteTask}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type DeleteTaskCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta3.CloudTasks|runTask}.
+ * @param error Error, if any
+ * @param [response] Task
+ */
+ type RunTaskCallback = (error: (Error|null), response?: google.cloud.tasks.v2beta3.Task) => void;
+ }
+
+ /** Properties of a ListQueuesRequest. */
+ interface IListQueuesRequest {
+
+ /** ListQueuesRequest parent */
+ parent?: (string|null);
+
+ /** ListQueuesRequest filter */
+ filter?: (string|null);
+
+ /** ListQueuesRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListQueuesRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListQueuesRequest readMask */
+ readMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents a ListQueuesRequest. */
+ class ListQueuesRequest implements IListQueuesRequest {
+
+ /**
+ * Constructs a new ListQueuesRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta3.IListQueuesRequest);
+
+ /** ListQueuesRequest parent. */
+ public parent: string;
+
+ /** ListQueuesRequest filter. */
+ public filter: string;
+
+ /** ListQueuesRequest pageSize. */
+ public pageSize: number;
+
+ /** ListQueuesRequest pageToken. */
+ public pageToken: string;
+
+ /** ListQueuesRequest readMask. */
+ public readMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new ListQueuesRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListQueuesRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta3.IListQueuesRequest): google.cloud.tasks.v2beta3.ListQueuesRequest;
+
+ /**
+ * Encodes the specified ListQueuesRequest message. Does not implicitly {@link google.cloud.tasks.v2beta3.ListQueuesRequest.verify|verify} messages.
+ * @param message ListQueuesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta3.IListQueuesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListQueuesRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta3.ListQueuesRequest.verify|verify} messages.
+ * @param message ListQueuesRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta3.IListQueuesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListQueuesRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListQueuesRequest
+ * @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.cloud.tasks.v2beta3.ListQueuesRequest;
+
+ /**
+ * Decodes a ListQueuesRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListQueuesRequest
+ * @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.cloud.tasks.v2beta3.ListQueuesRequest;
+
+ /**
+ * Verifies a ListQueuesRequest 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 ListQueuesRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListQueuesRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta3.ListQueuesRequest;
+
+ /**
+ * Creates a plain object from a ListQueuesRequest message. Also converts values to other types if specified.
+ * @param message ListQueuesRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta3.ListQueuesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListQueuesRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListQueuesRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListQueuesResponse. */
+ interface IListQueuesResponse {
+
+ /** ListQueuesResponse queues */
+ queues?: (google.cloud.tasks.v2beta3.IQueue[]|null);
+
+ /** ListQueuesResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListQueuesResponse. */
+ class ListQueuesResponse implements IListQueuesResponse {
+
+ /**
+ * Constructs a new ListQueuesResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta3.IListQueuesResponse);
+
+ /** ListQueuesResponse queues. */
+ public queues: google.cloud.tasks.v2beta3.IQueue[];
+
+ /** ListQueuesResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListQueuesResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListQueuesResponse instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta3.IListQueuesResponse): google.cloud.tasks.v2beta3.ListQueuesResponse;
+
+ /**
+ * Encodes the specified ListQueuesResponse message. Does not implicitly {@link google.cloud.tasks.v2beta3.ListQueuesResponse.verify|verify} messages.
+ * @param message ListQueuesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta3.IListQueuesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListQueuesResponse message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta3.ListQueuesResponse.verify|verify} messages.
+ * @param message ListQueuesResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta3.IListQueuesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListQueuesResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListQueuesResponse
+ * @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.cloud.tasks.v2beta3.ListQueuesResponse;
+
+ /**
+ * Decodes a ListQueuesResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListQueuesResponse
+ * @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.cloud.tasks.v2beta3.ListQueuesResponse;
+
+ /**
+ * Verifies a ListQueuesResponse 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 ListQueuesResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListQueuesResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta3.ListQueuesResponse;
+
+ /**
+ * Creates a plain object from a ListQueuesResponse message. Also converts values to other types if specified.
+ * @param message ListQueuesResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta3.ListQueuesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListQueuesResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListQueuesResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetQueueRequest. */
+ interface IGetQueueRequest {
+
+ /** GetQueueRequest name */
+ name?: (string|null);
+
+ /** GetQueueRequest readMask */
+ readMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents a GetQueueRequest. */
+ class GetQueueRequest implements IGetQueueRequest {
+
+ /**
+ * Constructs a new GetQueueRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta3.IGetQueueRequest);
+
+ /** GetQueueRequest name. */
+ public name: string;
+
+ /** GetQueueRequest readMask. */
+ public readMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new GetQueueRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetQueueRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta3.IGetQueueRequest): google.cloud.tasks.v2beta3.GetQueueRequest;
+
+ /**
+ * Encodes the specified GetQueueRequest message. Does not implicitly {@link google.cloud.tasks.v2beta3.GetQueueRequest.verify|verify} messages.
+ * @param message GetQueueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta3.IGetQueueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetQueueRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta3.GetQueueRequest.verify|verify} messages.
+ * @param message GetQueueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta3.IGetQueueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetQueueRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetQueueRequest
+ * @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.cloud.tasks.v2beta3.GetQueueRequest;
+
+ /**
+ * Decodes a GetQueueRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetQueueRequest
+ * @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.cloud.tasks.v2beta3.GetQueueRequest;
+
+ /**
+ * Verifies a GetQueueRequest 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 GetQueueRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetQueueRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta3.GetQueueRequest;
+
+ /**
+ * Creates a plain object from a GetQueueRequest message. Also converts values to other types if specified.
+ * @param message GetQueueRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta3.GetQueueRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetQueueRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetQueueRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateQueueRequest. */
+ interface ICreateQueueRequest {
+
+ /** CreateQueueRequest parent */
+ parent?: (string|null);
+
+ /** CreateQueueRequest queue */
+ queue?: (google.cloud.tasks.v2beta3.IQueue|null);
+ }
+
+ /** Represents a CreateQueueRequest. */
+ class CreateQueueRequest implements ICreateQueueRequest {
+
+ /**
+ * Constructs a new CreateQueueRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta3.ICreateQueueRequest);
+
+ /** CreateQueueRequest parent. */
+ public parent: string;
+
+ /** CreateQueueRequest queue. */
+ public queue?: (google.cloud.tasks.v2beta3.IQueue|null);
+
+ /**
+ * Creates a new CreateQueueRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateQueueRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta3.ICreateQueueRequest): google.cloud.tasks.v2beta3.CreateQueueRequest;
+
+ /**
+ * Encodes the specified CreateQueueRequest message. Does not implicitly {@link google.cloud.tasks.v2beta3.CreateQueueRequest.verify|verify} messages.
+ * @param message CreateQueueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta3.ICreateQueueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateQueueRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta3.CreateQueueRequest.verify|verify} messages.
+ * @param message CreateQueueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta3.ICreateQueueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateQueueRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateQueueRequest
+ * @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.cloud.tasks.v2beta3.CreateQueueRequest;
+
+ /**
+ * Decodes a CreateQueueRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateQueueRequest
+ * @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.cloud.tasks.v2beta3.CreateQueueRequest;
+
+ /**
+ * Verifies a CreateQueueRequest 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 CreateQueueRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateQueueRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta3.CreateQueueRequest;
+
+ /**
+ * Creates a plain object from a CreateQueueRequest message. Also converts values to other types if specified.
+ * @param message CreateQueueRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta3.CreateQueueRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateQueueRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateQueueRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateQueueRequest. */
+ interface IUpdateQueueRequest {
+
+ /** UpdateQueueRequest queue */
+ queue?: (google.cloud.tasks.v2beta3.IQueue|null);
+
+ /** UpdateQueueRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents an UpdateQueueRequest. */
+ class UpdateQueueRequest implements IUpdateQueueRequest {
+
+ /**
+ * Constructs a new UpdateQueueRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta3.IUpdateQueueRequest);
+
+ /** UpdateQueueRequest queue. */
+ public queue?: (google.cloud.tasks.v2beta3.IQueue|null);
+
+ /** UpdateQueueRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new UpdateQueueRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateQueueRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta3.IUpdateQueueRequest): google.cloud.tasks.v2beta3.UpdateQueueRequest;
+
+ /**
+ * Encodes the specified UpdateQueueRequest message. Does not implicitly {@link google.cloud.tasks.v2beta3.UpdateQueueRequest.verify|verify} messages.
+ * @param message UpdateQueueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta3.IUpdateQueueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateQueueRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta3.UpdateQueueRequest.verify|verify} messages.
+ * @param message UpdateQueueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta3.IUpdateQueueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateQueueRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateQueueRequest
+ * @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.cloud.tasks.v2beta3.UpdateQueueRequest;
+
+ /**
+ * Decodes an UpdateQueueRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateQueueRequest
+ * @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.cloud.tasks.v2beta3.UpdateQueueRequest;
+
+ /**
+ * Verifies an UpdateQueueRequest 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 UpdateQueueRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateQueueRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta3.UpdateQueueRequest;
+
+ /**
+ * Creates a plain object from an UpdateQueueRequest message. Also converts values to other types if specified.
+ * @param message UpdateQueueRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta3.UpdateQueueRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateQueueRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateQueueRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteQueueRequest. */
+ interface IDeleteQueueRequest {
+
+ /** DeleteQueueRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeleteQueueRequest. */
+ class DeleteQueueRequest implements IDeleteQueueRequest {
+
+ /**
+ * Constructs a new DeleteQueueRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta3.IDeleteQueueRequest);
+
+ /** DeleteQueueRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeleteQueueRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteQueueRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta3.IDeleteQueueRequest): google.cloud.tasks.v2beta3.DeleteQueueRequest;
+
+ /**
+ * Encodes the specified DeleteQueueRequest message. Does not implicitly {@link google.cloud.tasks.v2beta3.DeleteQueueRequest.verify|verify} messages.
+ * @param message DeleteQueueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta3.IDeleteQueueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteQueueRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta3.DeleteQueueRequest.verify|verify} messages.
+ * @param message DeleteQueueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta3.IDeleteQueueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteQueueRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteQueueRequest
+ * @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.cloud.tasks.v2beta3.DeleteQueueRequest;
+
+ /**
+ * Decodes a DeleteQueueRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteQueueRequest
+ * @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.cloud.tasks.v2beta3.DeleteQueueRequest;
+
+ /**
+ * Verifies a DeleteQueueRequest 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 DeleteQueueRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteQueueRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta3.DeleteQueueRequest;
+
+ /**
+ * Creates a plain object from a DeleteQueueRequest message. Also converts values to other types if specified.
+ * @param message DeleteQueueRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta3.DeleteQueueRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteQueueRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteQueueRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PurgeQueueRequest. */
+ interface IPurgeQueueRequest {
+
+ /** PurgeQueueRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a PurgeQueueRequest. */
+ class PurgeQueueRequest implements IPurgeQueueRequest {
+
+ /**
+ * Constructs a new PurgeQueueRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta3.IPurgeQueueRequest);
+
+ /** PurgeQueueRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new PurgeQueueRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PurgeQueueRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta3.IPurgeQueueRequest): google.cloud.tasks.v2beta3.PurgeQueueRequest;
+
+ /**
+ * Encodes the specified PurgeQueueRequest message. Does not implicitly {@link google.cloud.tasks.v2beta3.PurgeQueueRequest.verify|verify} messages.
+ * @param message PurgeQueueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta3.IPurgeQueueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PurgeQueueRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta3.PurgeQueueRequest.verify|verify} messages.
+ * @param message PurgeQueueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta3.IPurgeQueueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PurgeQueueRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PurgeQueueRequest
+ * @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.cloud.tasks.v2beta3.PurgeQueueRequest;
+
+ /**
+ * Decodes a PurgeQueueRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PurgeQueueRequest
+ * @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.cloud.tasks.v2beta3.PurgeQueueRequest;
+
+ /**
+ * Verifies a PurgeQueueRequest 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 PurgeQueueRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PurgeQueueRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta3.PurgeQueueRequest;
+
+ /**
+ * Creates a plain object from a PurgeQueueRequest message. Also converts values to other types if specified.
+ * @param message PurgeQueueRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta3.PurgeQueueRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PurgeQueueRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PurgeQueueRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PauseQueueRequest. */
+ interface IPauseQueueRequest {
+
+ /** PauseQueueRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a PauseQueueRequest. */
+ class PauseQueueRequest implements IPauseQueueRequest {
+
+ /**
+ * Constructs a new PauseQueueRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta3.IPauseQueueRequest);
+
+ /** PauseQueueRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new PauseQueueRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PauseQueueRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta3.IPauseQueueRequest): google.cloud.tasks.v2beta3.PauseQueueRequest;
+
+ /**
+ * Encodes the specified PauseQueueRequest message. Does not implicitly {@link google.cloud.tasks.v2beta3.PauseQueueRequest.verify|verify} messages.
+ * @param message PauseQueueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta3.IPauseQueueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PauseQueueRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta3.PauseQueueRequest.verify|verify} messages.
+ * @param message PauseQueueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta3.IPauseQueueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PauseQueueRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PauseQueueRequest
+ * @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.cloud.tasks.v2beta3.PauseQueueRequest;
+
+ /**
+ * Decodes a PauseQueueRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PauseQueueRequest
+ * @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.cloud.tasks.v2beta3.PauseQueueRequest;
+
+ /**
+ * Verifies a PauseQueueRequest 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 PauseQueueRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PauseQueueRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta3.PauseQueueRequest;
+
+ /**
+ * Creates a plain object from a PauseQueueRequest message. Also converts values to other types if specified.
+ * @param message PauseQueueRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta3.PauseQueueRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PauseQueueRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PauseQueueRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ResumeQueueRequest. */
+ interface IResumeQueueRequest {
+
+ /** ResumeQueueRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a ResumeQueueRequest. */
+ class ResumeQueueRequest implements IResumeQueueRequest {
+
+ /**
+ * Constructs a new ResumeQueueRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta3.IResumeQueueRequest);
+
+ /** ResumeQueueRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new ResumeQueueRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ResumeQueueRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta3.IResumeQueueRequest): google.cloud.tasks.v2beta3.ResumeQueueRequest;
+
+ /**
+ * Encodes the specified ResumeQueueRequest message. Does not implicitly {@link google.cloud.tasks.v2beta3.ResumeQueueRequest.verify|verify} messages.
+ * @param message ResumeQueueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta3.IResumeQueueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ResumeQueueRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta3.ResumeQueueRequest.verify|verify} messages.
+ * @param message ResumeQueueRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta3.IResumeQueueRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ResumeQueueRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ResumeQueueRequest
+ * @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.cloud.tasks.v2beta3.ResumeQueueRequest;
+
+ /**
+ * Decodes a ResumeQueueRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ResumeQueueRequest
+ * @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.cloud.tasks.v2beta3.ResumeQueueRequest;
+
+ /**
+ * Verifies a ResumeQueueRequest 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 ResumeQueueRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ResumeQueueRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta3.ResumeQueueRequest;
+
+ /**
+ * Creates a plain object from a ResumeQueueRequest message. Also converts values to other types if specified.
+ * @param message ResumeQueueRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta3.ResumeQueueRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ResumeQueueRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ResumeQueueRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListTasksRequest. */
+ interface IListTasksRequest {
+
+ /** ListTasksRequest parent */
+ parent?: (string|null);
+
+ /** ListTasksRequest responseView */
+ responseView?: (google.cloud.tasks.v2beta3.Task.View|keyof typeof google.cloud.tasks.v2beta3.Task.View|null);
+
+ /** ListTasksRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListTasksRequest pageToken */
+ pageToken?: (string|null);
+ }
+
+ /** Represents a ListTasksRequest. */
+ class ListTasksRequest implements IListTasksRequest {
+
+ /**
+ * Constructs a new ListTasksRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta3.IListTasksRequest);
+
+ /** ListTasksRequest parent. */
+ public parent: string;
+
+ /** ListTasksRequest responseView. */
+ public responseView: (google.cloud.tasks.v2beta3.Task.View|keyof typeof google.cloud.tasks.v2beta3.Task.View);
+
+ /** ListTasksRequest pageSize. */
+ public pageSize: number;
+
+ /** ListTasksRequest pageToken. */
+ public pageToken: string;
+
+ /**
+ * Creates a new ListTasksRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListTasksRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta3.IListTasksRequest): google.cloud.tasks.v2beta3.ListTasksRequest;
+
+ /**
+ * Encodes the specified ListTasksRequest message. Does not implicitly {@link google.cloud.tasks.v2beta3.ListTasksRequest.verify|verify} messages.
+ * @param message ListTasksRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta3.IListTasksRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListTasksRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta3.ListTasksRequest.verify|verify} messages.
+ * @param message ListTasksRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta3.IListTasksRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListTasksRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListTasksRequest
+ * @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.cloud.tasks.v2beta3.ListTasksRequest;
+
+ /**
+ * Decodes a ListTasksRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListTasksRequest
+ * @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.cloud.tasks.v2beta3.ListTasksRequest;
+
+ /**
+ * Verifies a ListTasksRequest 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 ListTasksRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListTasksRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta3.ListTasksRequest;
+
+ /**
+ * Creates a plain object from a ListTasksRequest message. Also converts values to other types if specified.
+ * @param message ListTasksRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta3.ListTasksRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListTasksRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListTasksRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListTasksResponse. */
+ interface IListTasksResponse {
+
+ /** ListTasksResponse tasks */
+ tasks?: (google.cloud.tasks.v2beta3.ITask[]|null);
+
+ /** ListTasksResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListTasksResponse. */
+ class ListTasksResponse implements IListTasksResponse {
+
+ /**
+ * Constructs a new ListTasksResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta3.IListTasksResponse);
+
+ /** ListTasksResponse tasks. */
+ public tasks: google.cloud.tasks.v2beta3.ITask[];
+
+ /** ListTasksResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListTasksResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListTasksResponse instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta3.IListTasksResponse): google.cloud.tasks.v2beta3.ListTasksResponse;
+
+ /**
+ * Encodes the specified ListTasksResponse message. Does not implicitly {@link google.cloud.tasks.v2beta3.ListTasksResponse.verify|verify} messages.
+ * @param message ListTasksResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta3.IListTasksResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListTasksResponse message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta3.ListTasksResponse.verify|verify} messages.
+ * @param message ListTasksResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta3.IListTasksResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListTasksResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListTasksResponse
+ * @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.cloud.tasks.v2beta3.ListTasksResponse;
+
+ /**
+ * Decodes a ListTasksResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListTasksResponse
+ * @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.cloud.tasks.v2beta3.ListTasksResponse;
+
+ /**
+ * Verifies a ListTasksResponse 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 ListTasksResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListTasksResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta3.ListTasksResponse;
+
+ /**
+ * Creates a plain object from a ListTasksResponse message. Also converts values to other types if specified.
+ * @param message ListTasksResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta3.ListTasksResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListTasksResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListTasksResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetTaskRequest. */
+ interface IGetTaskRequest {
+
+ /** GetTaskRequest name */
+ name?: (string|null);
+
+ /** GetTaskRequest responseView */
+ responseView?: (google.cloud.tasks.v2beta3.Task.View|keyof typeof google.cloud.tasks.v2beta3.Task.View|null);
+ }
+
+ /** Represents a GetTaskRequest. */
+ class GetTaskRequest implements IGetTaskRequest {
+
+ /**
+ * Constructs a new GetTaskRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta3.IGetTaskRequest);
+
+ /** GetTaskRequest name. */
+ public name: string;
+
+ /** GetTaskRequest responseView. */
+ public responseView: (google.cloud.tasks.v2beta3.Task.View|keyof typeof google.cloud.tasks.v2beta3.Task.View);
+
+ /**
+ * Creates a new GetTaskRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetTaskRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta3.IGetTaskRequest): google.cloud.tasks.v2beta3.GetTaskRequest;
+
+ /**
+ * Encodes the specified GetTaskRequest message. Does not implicitly {@link google.cloud.tasks.v2beta3.GetTaskRequest.verify|verify} messages.
+ * @param message GetTaskRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta3.IGetTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetTaskRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta3.GetTaskRequest.verify|verify} messages.
+ * @param message GetTaskRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta3.IGetTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetTaskRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetTaskRequest
+ * @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.cloud.tasks.v2beta3.GetTaskRequest;
+
+ /**
+ * Decodes a GetTaskRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetTaskRequest
+ * @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.cloud.tasks.v2beta3.GetTaskRequest;
+
+ /**
+ * Verifies a GetTaskRequest 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 GetTaskRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetTaskRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta3.GetTaskRequest;
+
+ /**
+ * Creates a plain object from a GetTaskRequest message. Also converts values to other types if specified.
+ * @param message GetTaskRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta3.GetTaskRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetTaskRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetTaskRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateTaskRequest. */
+ interface ICreateTaskRequest {
+
+ /** CreateTaskRequest parent */
+ parent?: (string|null);
+
+ /** CreateTaskRequest task */
+ task?: (google.cloud.tasks.v2beta3.ITask|null);
+
+ /** CreateTaskRequest responseView */
+ responseView?: (google.cloud.tasks.v2beta3.Task.View|keyof typeof google.cloud.tasks.v2beta3.Task.View|null);
+ }
+
+ /** Represents a CreateTaskRequest. */
+ class CreateTaskRequest implements ICreateTaskRequest {
+
+ /**
+ * Constructs a new CreateTaskRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta3.ICreateTaskRequest);
+
+ /** CreateTaskRequest parent. */
+ public parent: string;
+
+ /** CreateTaskRequest task. */
+ public task?: (google.cloud.tasks.v2beta3.ITask|null);
+
+ /** CreateTaskRequest responseView. */
+ public responseView: (google.cloud.tasks.v2beta3.Task.View|keyof typeof google.cloud.tasks.v2beta3.Task.View);
+
+ /**
+ * Creates a new CreateTaskRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateTaskRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta3.ICreateTaskRequest): google.cloud.tasks.v2beta3.CreateTaskRequest;
+
+ /**
+ * Encodes the specified CreateTaskRequest message. Does not implicitly {@link google.cloud.tasks.v2beta3.CreateTaskRequest.verify|verify} messages.
+ * @param message CreateTaskRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta3.ICreateTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateTaskRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta3.CreateTaskRequest.verify|verify} messages.
+ * @param message CreateTaskRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta3.ICreateTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateTaskRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateTaskRequest
+ * @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.cloud.tasks.v2beta3.CreateTaskRequest;
+
+ /**
+ * Decodes a CreateTaskRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateTaskRequest
+ * @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.cloud.tasks.v2beta3.CreateTaskRequest;
+
+ /**
+ * Verifies a CreateTaskRequest 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 CreateTaskRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateTaskRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta3.CreateTaskRequest;
+
+ /**
+ * Creates a plain object from a CreateTaskRequest message. Also converts values to other types if specified.
+ * @param message CreateTaskRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta3.CreateTaskRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateTaskRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateTaskRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteTaskRequest. */
+ interface IDeleteTaskRequest {
+
+ /** DeleteTaskRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeleteTaskRequest. */
+ class DeleteTaskRequest implements IDeleteTaskRequest {
+
+ /**
+ * Constructs a new DeleteTaskRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta3.IDeleteTaskRequest);
+
+ /** DeleteTaskRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeleteTaskRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteTaskRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta3.IDeleteTaskRequest): google.cloud.tasks.v2beta3.DeleteTaskRequest;
+
+ /**
+ * Encodes the specified DeleteTaskRequest message. Does not implicitly {@link google.cloud.tasks.v2beta3.DeleteTaskRequest.verify|verify} messages.
+ * @param message DeleteTaskRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta3.IDeleteTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteTaskRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta3.DeleteTaskRequest.verify|verify} messages.
+ * @param message DeleteTaskRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta3.IDeleteTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteTaskRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteTaskRequest
+ * @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.cloud.tasks.v2beta3.DeleteTaskRequest;
+
+ /**
+ * Decodes a DeleteTaskRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteTaskRequest
+ * @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.cloud.tasks.v2beta3.DeleteTaskRequest;
+
+ /**
+ * Verifies a DeleteTaskRequest 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 DeleteTaskRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteTaskRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta3.DeleteTaskRequest;
+
+ /**
+ * Creates a plain object from a DeleteTaskRequest message. Also converts values to other types if specified.
+ * @param message DeleteTaskRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta3.DeleteTaskRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteTaskRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteTaskRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a RunTaskRequest. */
+ interface IRunTaskRequest {
+
+ /** RunTaskRequest name */
+ name?: (string|null);
+
+ /** RunTaskRequest responseView */
+ responseView?: (google.cloud.tasks.v2beta3.Task.View|keyof typeof google.cloud.tasks.v2beta3.Task.View|null);
+ }
+
+ /** Represents a RunTaskRequest. */
+ class RunTaskRequest implements IRunTaskRequest {
+
+ /**
+ * Constructs a new RunTaskRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta3.IRunTaskRequest);
+
+ /** RunTaskRequest name. */
+ public name: string;
+
+ /** RunTaskRequest responseView. */
+ public responseView: (google.cloud.tasks.v2beta3.Task.View|keyof typeof google.cloud.tasks.v2beta3.Task.View);
+
+ /**
+ * Creates a new RunTaskRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns RunTaskRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta3.IRunTaskRequest): google.cloud.tasks.v2beta3.RunTaskRequest;
+
+ /**
+ * Encodes the specified RunTaskRequest message. Does not implicitly {@link google.cloud.tasks.v2beta3.RunTaskRequest.verify|verify} messages.
+ * @param message RunTaskRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta3.IRunTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified RunTaskRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta3.RunTaskRequest.verify|verify} messages.
+ * @param message RunTaskRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta3.IRunTaskRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a RunTaskRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns RunTaskRequest
+ * @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.cloud.tasks.v2beta3.RunTaskRequest;
+
+ /**
+ * Decodes a RunTaskRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns RunTaskRequest
+ * @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.cloud.tasks.v2beta3.RunTaskRequest;
+
+ /**
+ * Verifies a RunTaskRequest 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 RunTaskRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns RunTaskRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta3.RunTaskRequest;
+
+ /**
+ * Creates a plain object from a RunTaskRequest message. Also converts values to other types if specified.
+ * @param message RunTaskRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta3.RunTaskRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this RunTaskRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for RunTaskRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Queue. */
+ interface IQueue {
+
+ /** Queue name */
+ name?: (string|null);
+
+ /** Queue appEngineHttpQueue */
+ appEngineHttpQueue?: (google.cloud.tasks.v2beta3.IAppEngineHttpQueue|null);
+
+ /** Queue rateLimits */
+ rateLimits?: (google.cloud.tasks.v2beta3.IRateLimits|null);
+
+ /** Queue retryConfig */
+ retryConfig?: (google.cloud.tasks.v2beta3.IRetryConfig|null);
+
+ /** Queue state */
+ state?: (google.cloud.tasks.v2beta3.Queue.State|keyof typeof google.cloud.tasks.v2beta3.Queue.State|null);
+
+ /** Queue purgeTime */
+ purgeTime?: (google.protobuf.ITimestamp|null);
+
+ /** Queue taskTtl */
+ taskTtl?: (google.protobuf.IDuration|null);
+
+ /** Queue tombstoneTtl */
+ tombstoneTtl?: (google.protobuf.IDuration|null);
+
+ /** Queue stackdriverLoggingConfig */
+ stackdriverLoggingConfig?: (google.cloud.tasks.v2beta3.IStackdriverLoggingConfig|null);
+
+ /** Queue type */
+ type?: (google.cloud.tasks.v2beta3.Queue.Type|keyof typeof google.cloud.tasks.v2beta3.Queue.Type|null);
+
+ /** Queue stats */
+ stats?: (google.cloud.tasks.v2beta3.IQueueStats|null);
+ }
+
+ /** Represents a Queue. */
+ class Queue implements IQueue {
+
+ /**
+ * Constructs a new Queue.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta3.IQueue);
+
+ /** Queue name. */
+ public name: string;
+
+ /** Queue appEngineHttpQueue. */
+ public appEngineHttpQueue?: (google.cloud.tasks.v2beta3.IAppEngineHttpQueue|null);
+
+ /** Queue rateLimits. */
+ public rateLimits?: (google.cloud.tasks.v2beta3.IRateLimits|null);
+
+ /** Queue retryConfig. */
+ public retryConfig?: (google.cloud.tasks.v2beta3.IRetryConfig|null);
+
+ /** Queue state. */
+ public state: (google.cloud.tasks.v2beta3.Queue.State|keyof typeof google.cloud.tasks.v2beta3.Queue.State);
+
+ /** Queue purgeTime. */
+ public purgeTime?: (google.protobuf.ITimestamp|null);
+
+ /** Queue taskTtl. */
+ public taskTtl?: (google.protobuf.IDuration|null);
+
+ /** Queue tombstoneTtl. */
+ public tombstoneTtl?: (google.protobuf.IDuration|null);
+
+ /** Queue stackdriverLoggingConfig. */
+ public stackdriverLoggingConfig?: (google.cloud.tasks.v2beta3.IStackdriverLoggingConfig|null);
+
+ /** Queue type. */
+ public type: (google.cloud.tasks.v2beta3.Queue.Type|keyof typeof google.cloud.tasks.v2beta3.Queue.Type);
+
+ /** Queue stats. */
+ public stats?: (google.cloud.tasks.v2beta3.IQueueStats|null);
+
+ /** Queue queueType. */
+ public queueType?: "appEngineHttpQueue";
+
+ /**
+ * Creates a new Queue instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Queue instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta3.IQueue): google.cloud.tasks.v2beta3.Queue;
+
+ /**
+ * Encodes the specified Queue message. Does not implicitly {@link google.cloud.tasks.v2beta3.Queue.verify|verify} messages.
+ * @param message Queue message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta3.IQueue, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Queue message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta3.Queue.verify|verify} messages.
+ * @param message Queue message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta3.IQueue, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Queue message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Queue
+ * @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.cloud.tasks.v2beta3.Queue;
+
+ /**
+ * Decodes a Queue message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Queue
+ * @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.cloud.tasks.v2beta3.Queue;
+
+ /**
+ * Verifies a Queue 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 Queue message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Queue
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta3.Queue;
+
+ /**
+ * Creates a plain object from a Queue message. Also converts values to other types if specified.
+ * @param message Queue
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta3.Queue, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Queue to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Queue
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace Queue {
+
+ /** State enum. */
+ enum State {
+ STATE_UNSPECIFIED = 0,
+ RUNNING = 1,
+ PAUSED = 2,
+ DISABLED = 3
+ }
+
+ /** Type enum. */
+ enum Type {
+ TYPE_UNSPECIFIED = 0,
+ PULL = 1,
+ PUSH = 2
+ }
+ }
+
+ /** Properties of a RateLimits. */
+ interface IRateLimits {
+
+ /** RateLimits maxDispatchesPerSecond */
+ maxDispatchesPerSecond?: (number|null);
+
+ /** RateLimits maxBurstSize */
+ maxBurstSize?: (number|null);
+
+ /** RateLimits maxConcurrentDispatches */
+ maxConcurrentDispatches?: (number|null);
+ }
+
+ /** Represents a RateLimits. */
+ class RateLimits implements IRateLimits {
+
+ /**
+ * Constructs a new RateLimits.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta3.IRateLimits);
+
+ /** RateLimits maxDispatchesPerSecond. */
+ public maxDispatchesPerSecond: number;
+
+ /** RateLimits maxBurstSize. */
+ public maxBurstSize: number;
+
+ /** RateLimits maxConcurrentDispatches. */
+ public maxConcurrentDispatches: number;
+
+ /**
+ * Creates a new RateLimits instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns RateLimits instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta3.IRateLimits): google.cloud.tasks.v2beta3.RateLimits;
+
+ /**
+ * Encodes the specified RateLimits message. Does not implicitly {@link google.cloud.tasks.v2beta3.RateLimits.verify|verify} messages.
+ * @param message RateLimits message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta3.IRateLimits, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified RateLimits message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta3.RateLimits.verify|verify} messages.
+ * @param message RateLimits message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta3.IRateLimits, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a RateLimits message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns RateLimits
+ * @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.cloud.tasks.v2beta3.RateLimits;
+
+ /**
+ * Decodes a RateLimits message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns RateLimits
+ * @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.cloud.tasks.v2beta3.RateLimits;
+
+ /**
+ * Verifies a RateLimits 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 RateLimits message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns RateLimits
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta3.RateLimits;
+
+ /**
+ * Creates a plain object from a RateLimits message. Also converts values to other types if specified.
+ * @param message RateLimits
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta3.RateLimits, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this RateLimits to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for RateLimits
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a RetryConfig. */
+ interface IRetryConfig {
+
+ /** RetryConfig maxAttempts */
+ maxAttempts?: (number|null);
+
+ /** RetryConfig maxRetryDuration */
+ maxRetryDuration?: (google.protobuf.IDuration|null);
+
+ /** RetryConfig minBackoff */
+ minBackoff?: (google.protobuf.IDuration|null);
+
+ /** RetryConfig maxBackoff */
+ maxBackoff?: (google.protobuf.IDuration|null);
+
+ /** RetryConfig maxDoublings */
+ maxDoublings?: (number|null);
+ }
+
+ /** Represents a RetryConfig. */
+ class RetryConfig implements IRetryConfig {
+
+ /**
+ * Constructs a new RetryConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta3.IRetryConfig);
+
+ /** RetryConfig maxAttempts. */
+ public maxAttempts: number;
+
+ /** RetryConfig maxRetryDuration. */
+ public maxRetryDuration?: (google.protobuf.IDuration|null);
+
+ /** RetryConfig minBackoff. */
+ public minBackoff?: (google.protobuf.IDuration|null);
+
+ /** RetryConfig maxBackoff. */
+ public maxBackoff?: (google.protobuf.IDuration|null);
+
+ /** RetryConfig maxDoublings. */
+ public maxDoublings: number;
+
+ /**
+ * Creates a new RetryConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns RetryConfig instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta3.IRetryConfig): google.cloud.tasks.v2beta3.RetryConfig;
+
+ /**
+ * Encodes the specified RetryConfig message. Does not implicitly {@link google.cloud.tasks.v2beta3.RetryConfig.verify|verify} messages.
+ * @param message RetryConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta3.IRetryConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified RetryConfig message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta3.RetryConfig.verify|verify} messages.
+ * @param message RetryConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta3.IRetryConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a RetryConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns RetryConfig
+ * @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.cloud.tasks.v2beta3.RetryConfig;
+
+ /**
+ * Decodes a RetryConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns RetryConfig
+ * @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.cloud.tasks.v2beta3.RetryConfig;
+
+ /**
+ * Verifies a RetryConfig 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 RetryConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns RetryConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta3.RetryConfig;
+
+ /**
+ * Creates a plain object from a RetryConfig message. Also converts values to other types if specified.
+ * @param message RetryConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta3.RetryConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this RetryConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for RetryConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a StackdriverLoggingConfig. */
+ interface IStackdriverLoggingConfig {
+
+ /** StackdriverLoggingConfig samplingRatio */
+ samplingRatio?: (number|null);
+ }
+
+ /** Represents a StackdriverLoggingConfig. */
+ class StackdriverLoggingConfig implements IStackdriverLoggingConfig {
+
+ /**
+ * Constructs a new StackdriverLoggingConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta3.IStackdriverLoggingConfig);
+
+ /** StackdriverLoggingConfig samplingRatio. */
+ public samplingRatio: number;
+
+ /**
+ * Creates a new StackdriverLoggingConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns StackdriverLoggingConfig instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta3.IStackdriverLoggingConfig): google.cloud.tasks.v2beta3.StackdriverLoggingConfig;
+
+ /**
+ * Encodes the specified StackdriverLoggingConfig message. Does not implicitly {@link google.cloud.tasks.v2beta3.StackdriverLoggingConfig.verify|verify} messages.
+ * @param message StackdriverLoggingConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta3.IStackdriverLoggingConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified StackdriverLoggingConfig message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta3.StackdriverLoggingConfig.verify|verify} messages.
+ * @param message StackdriverLoggingConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta3.IStackdriverLoggingConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a StackdriverLoggingConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns StackdriverLoggingConfig
+ * @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.cloud.tasks.v2beta3.StackdriverLoggingConfig;
+
+ /**
+ * Decodes a StackdriverLoggingConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns StackdriverLoggingConfig
+ * @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.cloud.tasks.v2beta3.StackdriverLoggingConfig;
+
+ /**
+ * Verifies a StackdriverLoggingConfig 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 StackdriverLoggingConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns StackdriverLoggingConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta3.StackdriverLoggingConfig;
+
+ /**
+ * Creates a plain object from a StackdriverLoggingConfig message. Also converts values to other types if specified.
+ * @param message StackdriverLoggingConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta3.StackdriverLoggingConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this StackdriverLoggingConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for StackdriverLoggingConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a QueueStats. */
+ interface IQueueStats {
+
+ /** QueueStats tasksCount */
+ tasksCount?: (number|Long|string|null);
+
+ /** QueueStats oldestEstimatedArrivalTime */
+ oldestEstimatedArrivalTime?: (google.protobuf.ITimestamp|null);
+
+ /** QueueStats executedLastMinuteCount */
+ executedLastMinuteCount?: (number|Long|string|null);
+
+ /** QueueStats concurrentDispatchesCount */
+ concurrentDispatchesCount?: (number|Long|string|null);
+
+ /** QueueStats effectiveExecutionRate */
+ effectiveExecutionRate?: (number|null);
+ }
+
+ /** Represents a QueueStats. */
+ class QueueStats implements IQueueStats {
+
+ /**
+ * Constructs a new QueueStats.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta3.IQueueStats);
+
+ /** QueueStats tasksCount. */
+ public tasksCount: (number|Long|string);
+
+ /** QueueStats oldestEstimatedArrivalTime. */
+ public oldestEstimatedArrivalTime?: (google.protobuf.ITimestamp|null);
+
+ /** QueueStats executedLastMinuteCount. */
+ public executedLastMinuteCount: (number|Long|string);
+
+ /** QueueStats concurrentDispatchesCount. */
+ public concurrentDispatchesCount: (number|Long|string);
+
+ /** QueueStats effectiveExecutionRate. */
+ public effectiveExecutionRate: number;
+
+ /**
+ * Creates a new QueueStats instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns QueueStats instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta3.IQueueStats): google.cloud.tasks.v2beta3.QueueStats;
+
+ /**
+ * Encodes the specified QueueStats message. Does not implicitly {@link google.cloud.tasks.v2beta3.QueueStats.verify|verify} messages.
+ * @param message QueueStats message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta3.IQueueStats, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified QueueStats message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta3.QueueStats.verify|verify} messages.
+ * @param message QueueStats message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta3.IQueueStats, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a QueueStats message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns QueueStats
+ * @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.cloud.tasks.v2beta3.QueueStats;
+
+ /**
+ * Decodes a QueueStats message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns QueueStats
+ * @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.cloud.tasks.v2beta3.QueueStats;
+
+ /**
+ * Verifies a QueueStats 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 QueueStats message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns QueueStats
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta3.QueueStats;
+
+ /**
+ * Creates a plain object from a QueueStats message. Also converts values to other types if specified.
+ * @param message QueueStats
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta3.QueueStats, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this QueueStats to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for QueueStats
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PullMessage. */
+ interface IPullMessage {
+
+ /** PullMessage payload */
+ payload?: (Uint8Array|string|null);
+
+ /** PullMessage tag */
+ tag?: (string|null);
+ }
+
+ /** Represents a PullMessage. */
+ class PullMessage implements IPullMessage {
+
+ /**
+ * Constructs a new PullMessage.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta3.IPullMessage);
+
+ /** PullMessage payload. */
+ public payload: (Uint8Array|string);
+
+ /** PullMessage tag. */
+ public tag: string;
+
+ /**
+ * Creates a new PullMessage instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PullMessage instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta3.IPullMessage): google.cloud.tasks.v2beta3.PullMessage;
+
+ /**
+ * Encodes the specified PullMessage message. Does not implicitly {@link google.cloud.tasks.v2beta3.PullMessage.verify|verify} messages.
+ * @param message PullMessage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta3.IPullMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PullMessage message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta3.PullMessage.verify|verify} messages.
+ * @param message PullMessage message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta3.IPullMessage, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PullMessage message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PullMessage
+ * @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.cloud.tasks.v2beta3.PullMessage;
+
+ /**
+ * Decodes a PullMessage message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PullMessage
+ * @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.cloud.tasks.v2beta3.PullMessage;
+
+ /**
+ * Verifies a PullMessage 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 PullMessage message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PullMessage
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta3.PullMessage;
+
+ /**
+ * Creates a plain object from a PullMessage message. Also converts values to other types if specified.
+ * @param message PullMessage
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta3.PullMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PullMessage to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PullMessage
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a HttpRequest. */
+ interface IHttpRequest {
+
+ /** HttpRequest url */
+ url?: (string|null);
+
+ /** HttpRequest httpMethod */
+ httpMethod?: (google.cloud.tasks.v2beta3.HttpMethod|keyof typeof google.cloud.tasks.v2beta3.HttpMethod|null);
+
+ /** HttpRequest headers */
+ headers?: ({ [k: string]: string }|null);
+
+ /** HttpRequest body */
+ body?: (Uint8Array|string|null);
+
+ /** HttpRequest oauthToken */
+ oauthToken?: (google.cloud.tasks.v2beta3.IOAuthToken|null);
+
+ /** HttpRequest oidcToken */
+ oidcToken?: (google.cloud.tasks.v2beta3.IOidcToken|null);
+ }
+
+ /** Represents a HttpRequest. */
+ class HttpRequest implements IHttpRequest {
+
+ /**
+ * Constructs a new HttpRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta3.IHttpRequest);
+
+ /** HttpRequest url. */
+ public url: string;
+
+ /** HttpRequest httpMethod. */
+ public httpMethod: (google.cloud.tasks.v2beta3.HttpMethod|keyof typeof google.cloud.tasks.v2beta3.HttpMethod);
+
+ /** HttpRequest headers. */
+ public headers: { [k: string]: string };
+
+ /** HttpRequest body. */
+ public body: (Uint8Array|string);
+
+ /** HttpRequest oauthToken. */
+ public oauthToken?: (google.cloud.tasks.v2beta3.IOAuthToken|null);
+
+ /** HttpRequest oidcToken. */
+ public oidcToken?: (google.cloud.tasks.v2beta3.IOidcToken|null);
+
+ /** HttpRequest authorizationHeader. */
+ public authorizationHeader?: ("oauthToken"|"oidcToken");
+
+ /**
+ * Creates a new HttpRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns HttpRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta3.IHttpRequest): google.cloud.tasks.v2beta3.HttpRequest;
+
+ /**
+ * Encodes the specified HttpRequest message. Does not implicitly {@link google.cloud.tasks.v2beta3.HttpRequest.verify|verify} messages.
+ * @param message HttpRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta3.IHttpRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified HttpRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta3.HttpRequest.verify|verify} messages.
+ * @param message HttpRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta3.IHttpRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a HttpRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns HttpRequest
+ * @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.cloud.tasks.v2beta3.HttpRequest;
+
+ /**
+ * Decodes a HttpRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns HttpRequest
+ * @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.cloud.tasks.v2beta3.HttpRequest;
+
+ /**
+ * Verifies a HttpRequest 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 HttpRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns HttpRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta3.HttpRequest;
+
+ /**
+ * Creates a plain object from a HttpRequest message. Also converts values to other types if specified.
+ * @param message HttpRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta3.HttpRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this HttpRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for HttpRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an AppEngineHttpQueue. */
+ interface IAppEngineHttpQueue {
+
+ /** AppEngineHttpQueue appEngineRoutingOverride */
+ appEngineRoutingOverride?: (google.cloud.tasks.v2beta3.IAppEngineRouting|null);
+ }
+
+ /** Represents an AppEngineHttpQueue. */
+ class AppEngineHttpQueue implements IAppEngineHttpQueue {
+
+ /**
+ * Constructs a new AppEngineHttpQueue.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta3.IAppEngineHttpQueue);
+
+ /** AppEngineHttpQueue appEngineRoutingOverride. */
+ public appEngineRoutingOverride?: (google.cloud.tasks.v2beta3.IAppEngineRouting|null);
+
+ /**
+ * Creates a new AppEngineHttpQueue instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AppEngineHttpQueue instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta3.IAppEngineHttpQueue): google.cloud.tasks.v2beta3.AppEngineHttpQueue;
+
+ /**
+ * Encodes the specified AppEngineHttpQueue message. Does not implicitly {@link google.cloud.tasks.v2beta3.AppEngineHttpQueue.verify|verify} messages.
+ * @param message AppEngineHttpQueue message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta3.IAppEngineHttpQueue, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AppEngineHttpQueue message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta3.AppEngineHttpQueue.verify|verify} messages.
+ * @param message AppEngineHttpQueue message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta3.IAppEngineHttpQueue, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AppEngineHttpQueue message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AppEngineHttpQueue
+ * @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.cloud.tasks.v2beta3.AppEngineHttpQueue;
+
+ /**
+ * Decodes an AppEngineHttpQueue message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AppEngineHttpQueue
+ * @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.cloud.tasks.v2beta3.AppEngineHttpQueue;
+
+ /**
+ * Verifies an AppEngineHttpQueue 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 AppEngineHttpQueue message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AppEngineHttpQueue
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta3.AppEngineHttpQueue;
+
+ /**
+ * Creates a plain object from an AppEngineHttpQueue message. Also converts values to other types if specified.
+ * @param message AppEngineHttpQueue
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta3.AppEngineHttpQueue, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AppEngineHttpQueue to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AppEngineHttpQueue
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an AppEngineHttpRequest. */
+ interface IAppEngineHttpRequest {
+
+ /** AppEngineHttpRequest httpMethod */
+ httpMethod?: (google.cloud.tasks.v2beta3.HttpMethod|keyof typeof google.cloud.tasks.v2beta3.HttpMethod|null);
+
+ /** AppEngineHttpRequest appEngineRouting */
+ appEngineRouting?: (google.cloud.tasks.v2beta3.IAppEngineRouting|null);
+
+ /** AppEngineHttpRequest relativeUri */
+ relativeUri?: (string|null);
+
+ /** AppEngineHttpRequest headers */
+ headers?: ({ [k: string]: string }|null);
+
+ /** AppEngineHttpRequest body */
+ body?: (Uint8Array|string|null);
+ }
+
+ /** Represents an AppEngineHttpRequest. */
+ class AppEngineHttpRequest implements IAppEngineHttpRequest {
+
+ /**
+ * Constructs a new AppEngineHttpRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta3.IAppEngineHttpRequest);
+
+ /** AppEngineHttpRequest httpMethod. */
+ public httpMethod: (google.cloud.tasks.v2beta3.HttpMethod|keyof typeof google.cloud.tasks.v2beta3.HttpMethod);
+
+ /** AppEngineHttpRequest appEngineRouting. */
+ public appEngineRouting?: (google.cloud.tasks.v2beta3.IAppEngineRouting|null);
+
+ /** AppEngineHttpRequest relativeUri. */
+ public relativeUri: string;
+
+ /** AppEngineHttpRequest headers. */
+ public headers: { [k: string]: string };
+
+ /** AppEngineHttpRequest body. */
+ public body: (Uint8Array|string);
+
+ /**
+ * Creates a new AppEngineHttpRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AppEngineHttpRequest instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta3.IAppEngineHttpRequest): google.cloud.tasks.v2beta3.AppEngineHttpRequest;
+
+ /**
+ * Encodes the specified AppEngineHttpRequest message. Does not implicitly {@link google.cloud.tasks.v2beta3.AppEngineHttpRequest.verify|verify} messages.
+ * @param message AppEngineHttpRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta3.IAppEngineHttpRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AppEngineHttpRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta3.AppEngineHttpRequest.verify|verify} messages.
+ * @param message AppEngineHttpRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta3.IAppEngineHttpRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AppEngineHttpRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AppEngineHttpRequest
+ * @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.cloud.tasks.v2beta3.AppEngineHttpRequest;
+
+ /**
+ * Decodes an AppEngineHttpRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AppEngineHttpRequest
+ * @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.cloud.tasks.v2beta3.AppEngineHttpRequest;
+
+ /**
+ * Verifies an AppEngineHttpRequest 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 AppEngineHttpRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AppEngineHttpRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta3.AppEngineHttpRequest;
+
+ /**
+ * Creates a plain object from an AppEngineHttpRequest message. Also converts values to other types if specified.
+ * @param message AppEngineHttpRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta3.AppEngineHttpRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AppEngineHttpRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AppEngineHttpRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an AppEngineRouting. */
+ interface IAppEngineRouting {
+
+ /** AppEngineRouting service */
+ service?: (string|null);
+
+ /** AppEngineRouting version */
+ version?: (string|null);
+
+ /** AppEngineRouting instance */
+ instance?: (string|null);
+
+ /** AppEngineRouting host */
+ host?: (string|null);
+ }
+
+ /** Represents an AppEngineRouting. */
+ class AppEngineRouting implements IAppEngineRouting {
+
+ /**
+ * Constructs a new AppEngineRouting.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta3.IAppEngineRouting);
+
+ /** AppEngineRouting service. */
+ public service: string;
+
+ /** AppEngineRouting version. */
+ public version: string;
+
+ /** AppEngineRouting instance. */
+ public instance: string;
+
+ /** AppEngineRouting host. */
+ public host: string;
+
+ /**
+ * Creates a new AppEngineRouting instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AppEngineRouting instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta3.IAppEngineRouting): google.cloud.tasks.v2beta3.AppEngineRouting;
+
+ /**
+ * Encodes the specified AppEngineRouting message. Does not implicitly {@link google.cloud.tasks.v2beta3.AppEngineRouting.verify|verify} messages.
+ * @param message AppEngineRouting message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta3.IAppEngineRouting, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AppEngineRouting message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta3.AppEngineRouting.verify|verify} messages.
+ * @param message AppEngineRouting message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta3.IAppEngineRouting, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AppEngineRouting message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AppEngineRouting
+ * @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.cloud.tasks.v2beta3.AppEngineRouting;
+
+ /**
+ * Decodes an AppEngineRouting message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AppEngineRouting
+ * @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.cloud.tasks.v2beta3.AppEngineRouting;
+
+ /**
+ * Verifies an AppEngineRouting 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 AppEngineRouting message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AppEngineRouting
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta3.AppEngineRouting;
+
+ /**
+ * Creates a plain object from an AppEngineRouting message. Also converts values to other types if specified.
+ * @param message AppEngineRouting
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta3.AppEngineRouting, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AppEngineRouting to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AppEngineRouting
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** HttpMethod enum. */
+ enum HttpMethod {
+ HTTP_METHOD_UNSPECIFIED = 0,
+ POST = 1,
+ GET = 2,
+ HEAD = 3,
+ PUT = 4,
+ DELETE = 5,
+ PATCH = 6,
+ OPTIONS = 7
+ }
+
+ /** Properties of a OAuthToken. */
+ interface IOAuthToken {
+
+ /** OAuthToken serviceAccountEmail */
+ serviceAccountEmail?: (string|null);
+
+ /** OAuthToken scope */
+ scope?: (string|null);
+ }
+
+ /** Represents a OAuthToken. */
+ class OAuthToken implements IOAuthToken {
+
+ /**
+ * Constructs a new OAuthToken.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta3.IOAuthToken);
+
+ /** OAuthToken serviceAccountEmail. */
+ public serviceAccountEmail: string;
+
+ /** OAuthToken scope. */
+ public scope: string;
+
+ /**
+ * Creates a new OAuthToken instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OAuthToken instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta3.IOAuthToken): google.cloud.tasks.v2beta3.OAuthToken;
+
+ /**
+ * Encodes the specified OAuthToken message. Does not implicitly {@link google.cloud.tasks.v2beta3.OAuthToken.verify|verify} messages.
+ * @param message OAuthToken message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta3.IOAuthToken, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OAuthToken message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta3.OAuthToken.verify|verify} messages.
+ * @param message OAuthToken message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta3.IOAuthToken, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a OAuthToken message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns OAuthToken
+ * @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.cloud.tasks.v2beta3.OAuthToken;
+
+ /**
+ * Decodes a OAuthToken message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns OAuthToken
+ * @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.cloud.tasks.v2beta3.OAuthToken;
+
+ /**
+ * Verifies a OAuthToken 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 OAuthToken message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns OAuthToken
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta3.OAuthToken;
+
+ /**
+ * Creates a plain object from a OAuthToken message. Also converts values to other types if specified.
+ * @param message OAuthToken
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta3.OAuthToken, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this OAuthToken to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for OAuthToken
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an OidcToken. */
+ interface IOidcToken {
+
+ /** OidcToken serviceAccountEmail */
+ serviceAccountEmail?: (string|null);
+
+ /** OidcToken audience */
+ audience?: (string|null);
+ }
+
+ /** Represents an OidcToken. */
+ class OidcToken implements IOidcToken {
+
+ /**
+ * Constructs a new OidcToken.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta3.IOidcToken);
+
+ /** OidcToken serviceAccountEmail. */
+ public serviceAccountEmail: string;
+
+ /** OidcToken audience. */
+ public audience: string;
+
+ /**
+ * Creates a new OidcToken instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OidcToken instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta3.IOidcToken): google.cloud.tasks.v2beta3.OidcToken;
+
+ /**
+ * Encodes the specified OidcToken message. Does not implicitly {@link google.cloud.tasks.v2beta3.OidcToken.verify|verify} messages.
+ * @param message OidcToken message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta3.IOidcToken, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OidcToken message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta3.OidcToken.verify|verify} messages.
+ * @param message OidcToken message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta3.IOidcToken, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an OidcToken message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns OidcToken
+ * @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.cloud.tasks.v2beta3.OidcToken;
+
+ /**
+ * Decodes an OidcToken message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns OidcToken
+ * @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.cloud.tasks.v2beta3.OidcToken;
+
+ /**
+ * Verifies an OidcToken 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 OidcToken message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns OidcToken
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta3.OidcToken;
+
+ /**
+ * Creates a plain object from an OidcToken message. Also converts values to other types if specified.
+ * @param message OidcToken
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta3.OidcToken, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this OidcToken to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for OidcToken
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Task. */
+ interface ITask {
+
+ /** Task name */
+ name?: (string|null);
+
+ /** Task appEngineHttpRequest */
+ appEngineHttpRequest?: (google.cloud.tasks.v2beta3.IAppEngineHttpRequest|null);
+
+ /** Task httpRequest */
+ httpRequest?: (google.cloud.tasks.v2beta3.IHttpRequest|null);
+
+ /** Task pullMessage */
+ pullMessage?: (google.cloud.tasks.v2beta3.IPullMessage|null);
+
+ /** Task scheduleTime */
+ scheduleTime?: (google.protobuf.ITimestamp|null);
+
+ /** Task createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Task dispatchDeadline */
+ dispatchDeadline?: (google.protobuf.IDuration|null);
+
+ /** Task dispatchCount */
+ dispatchCount?: (number|null);
+
+ /** Task responseCount */
+ responseCount?: (number|null);
+
+ /** Task firstAttempt */
+ firstAttempt?: (google.cloud.tasks.v2beta3.IAttempt|null);
+
+ /** Task lastAttempt */
+ lastAttempt?: (google.cloud.tasks.v2beta3.IAttempt|null);
+
+ /** Task view */
+ view?: (google.cloud.tasks.v2beta3.Task.View|keyof typeof google.cloud.tasks.v2beta3.Task.View|null);
+ }
+
+ /** Represents a Task. */
+ class Task implements ITask {
+
+ /**
+ * Constructs a new Task.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta3.ITask);
+
+ /** Task name. */
+ public name: string;
+
+ /** Task appEngineHttpRequest. */
+ public appEngineHttpRequest?: (google.cloud.tasks.v2beta3.IAppEngineHttpRequest|null);
+
+ /** Task httpRequest. */
+ public httpRequest?: (google.cloud.tasks.v2beta3.IHttpRequest|null);
+
+ /** Task pullMessage. */
+ public pullMessage?: (google.cloud.tasks.v2beta3.IPullMessage|null);
+
+ /** Task scheduleTime. */
+ public scheduleTime?: (google.protobuf.ITimestamp|null);
+
+ /** Task createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Task dispatchDeadline. */
+ public dispatchDeadline?: (google.protobuf.IDuration|null);
+
+ /** Task dispatchCount. */
+ public dispatchCount: number;
+
+ /** Task responseCount. */
+ public responseCount: number;
+
+ /** Task firstAttempt. */
+ public firstAttempt?: (google.cloud.tasks.v2beta3.IAttempt|null);
+
+ /** Task lastAttempt. */
+ public lastAttempt?: (google.cloud.tasks.v2beta3.IAttempt|null);
+
+ /** Task view. */
+ public view: (google.cloud.tasks.v2beta3.Task.View|keyof typeof google.cloud.tasks.v2beta3.Task.View);
+
+ /** Task payloadType. */
+ public payloadType?: ("appEngineHttpRequest"|"httpRequest"|"pullMessage");
+
+ /**
+ * Creates a new Task instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Task instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta3.ITask): google.cloud.tasks.v2beta3.Task;
+
+ /**
+ * Encodes the specified Task message. Does not implicitly {@link google.cloud.tasks.v2beta3.Task.verify|verify} messages.
+ * @param message Task message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta3.ITask, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Task message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta3.Task.verify|verify} messages.
+ * @param message Task message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta3.ITask, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Task message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Task
+ * @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.cloud.tasks.v2beta3.Task;
+
+ /**
+ * Decodes a Task message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Task
+ * @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.cloud.tasks.v2beta3.Task;
+
+ /**
+ * Verifies a Task 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 Task message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Task
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta3.Task;
+
+ /**
+ * Creates a plain object from a Task message. Also converts values to other types if specified.
+ * @param message Task
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta3.Task, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Task to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Task
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace Task {
+
+ /** View enum. */
+ enum View {
+ VIEW_UNSPECIFIED = 0,
+ BASIC = 1,
+ FULL = 2
+ }
+ }
+
+ /** Properties of an Attempt. */
+ interface IAttempt {
+
+ /** Attempt scheduleTime */
+ scheduleTime?: (google.protobuf.ITimestamp|null);
+
+ /** Attempt dispatchTime */
+ dispatchTime?: (google.protobuf.ITimestamp|null);
+
+ /** Attempt responseTime */
+ responseTime?: (google.protobuf.ITimestamp|null);
+
+ /** Attempt responseStatus */
+ responseStatus?: (google.rpc.IStatus|null);
+ }
+
+ /** Represents an Attempt. */
+ class Attempt implements IAttempt {
+
+ /**
+ * Constructs a new Attempt.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.tasks.v2beta3.IAttempt);
+
+ /** Attempt scheduleTime. */
+ public scheduleTime?: (google.protobuf.ITimestamp|null);
+
+ /** Attempt dispatchTime. */
+ public dispatchTime?: (google.protobuf.ITimestamp|null);
+
+ /** Attempt responseTime. */
+ public responseTime?: (google.protobuf.ITimestamp|null);
+
+ /** Attempt responseStatus. */
+ public responseStatus?: (google.rpc.IStatus|null);
+
+ /**
+ * Creates a new Attempt instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Attempt instance
+ */
+ public static create(properties?: google.cloud.tasks.v2beta3.IAttempt): google.cloud.tasks.v2beta3.Attempt;
+
+ /**
+ * Encodes the specified Attempt message. Does not implicitly {@link google.cloud.tasks.v2beta3.Attempt.verify|verify} messages.
+ * @param message Attempt message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.tasks.v2beta3.IAttempt, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Attempt message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta3.Attempt.verify|verify} messages.
+ * @param message Attempt message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.tasks.v2beta3.IAttempt, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an Attempt message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Attempt
+ * @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.cloud.tasks.v2beta3.Attempt;
+
+ /**
+ * Decodes an Attempt message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Attempt
+ * @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.cloud.tasks.v2beta3.Attempt;
+
+ /**
+ * Verifies an Attempt 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 Attempt message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Attempt
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.tasks.v2beta3.Attempt;
+
+ /**
+ * Creates a plain object from an Attempt message. Also converts values to other types if specified.
+ * @param message Attempt
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.tasks.v2beta3.Attempt, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Attempt to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Attempt
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+ }
+ }
+
+ /** Namespace api. */
+ namespace api {
+
+ /** Properties of a Http. */
+ interface IHttp {
+
+ /** Http rules */
+ rules?: (google.api.IHttpRule[]|null);
+
+ /** Http fullyDecodeReservedExpansion */
+ fullyDecodeReservedExpansion?: (boolean|null);
+ }
+
+ /** Represents a Http. */
+ class Http implements IHttp {
+
+ /**
+ * Constructs a new Http.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IHttp);
+
+ /** Http rules. */
+ public rules: google.api.IHttpRule[];
+
+ /** Http fullyDecodeReservedExpansion. */
+ public fullyDecodeReservedExpansion: boolean;
+
+ /**
+ * Creates a new Http instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Http instance
+ */
+ public static create(properties?: google.api.IHttp): google.api.Http;
+
+ /**
+ * Encodes the specified Http message. Does not implicitly {@link google.api.Http.verify|verify} messages.
+ * @param message Http message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Http message, length delimited. Does not implicitly {@link google.api.Http.verify|verify} messages.
+ * @param message Http message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Http message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Http
+ * @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.Http;
+
+ /**
+ * Decodes a Http message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Http
+ * @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.Http;
+
+ /**
+ * Verifies a Http 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 Http message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Http
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.Http;
+
+ /**
+ * Creates a plain object from a Http message. Also converts values to other types if specified.
+ * @param message Http
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.Http, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Http to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Http
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a HttpRule. */
+ interface IHttpRule {
+
+ /** HttpRule selector */
+ selector?: (string|null);
+
+ /** HttpRule get */
+ get?: (string|null);
+
+ /** HttpRule put */
+ put?: (string|null);
+
+ /** HttpRule post */
+ post?: (string|null);
+
+ /** HttpRule delete */
+ "delete"?: (string|null);
+
+ /** HttpRule patch */
+ patch?: (string|null);
+
+ /** HttpRule custom */
+ custom?: (google.api.ICustomHttpPattern|null);
+
+ /** HttpRule body */
+ body?: (string|null);
+
+ /** HttpRule responseBody */
+ responseBody?: (string|null);
+
+ /** HttpRule additionalBindings */
+ additionalBindings?: (google.api.IHttpRule[]|null);
+ }
+
+ /** Represents a HttpRule. */
+ class HttpRule implements IHttpRule {
+
+ /**
+ * Constructs a new HttpRule.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IHttpRule);
+
+ /** HttpRule selector. */
+ public selector: string;
+
+ /** HttpRule get. */
+ public get?: (string|null);
+
+ /** HttpRule put. */
+ public put?: (string|null);
+
+ /** HttpRule post. */
+ public post?: (string|null);
+
+ /** HttpRule delete. */
+ public delete?: (string|null);
+
+ /** HttpRule patch. */
+ public patch?: (string|null);
+
+ /** HttpRule custom. */
+ public custom?: (google.api.ICustomHttpPattern|null);
+
+ /** HttpRule body. */
+ public body: string;
+
+ /** HttpRule responseBody. */
+ public responseBody: string;
+
+ /** HttpRule additionalBindings. */
+ public additionalBindings: google.api.IHttpRule[];
+
+ /** HttpRule pattern. */
+ public pattern?: ("get"|"put"|"post"|"delete"|"patch"|"custom");
+
+ /**
+ * Creates a new HttpRule instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns HttpRule instance
+ */
+ public static create(properties?: google.api.IHttpRule): google.api.HttpRule;
+
+ /**
+ * Encodes the specified HttpRule message. Does not implicitly {@link google.api.HttpRule.verify|verify} messages.
+ * @param message HttpRule message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified HttpRule message, length delimited. Does not implicitly {@link google.api.HttpRule.verify|verify} messages.
+ * @param message HttpRule message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a HttpRule message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns HttpRule
+ * @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.HttpRule;
+
+ /**
+ * Decodes a HttpRule message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns HttpRule
+ * @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.HttpRule;
+
+ /**
+ * Verifies a HttpRule 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 HttpRule message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns HttpRule
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.HttpRule;
+
+ /**
+ * Creates a plain object from a HttpRule message. Also converts values to other types if specified.
+ * @param message HttpRule
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.HttpRule, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this HttpRule to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for HttpRule
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CustomHttpPattern. */
+ interface ICustomHttpPattern {
+
+ /** CustomHttpPattern kind */
+ kind?: (string|null);
+
+ /** CustomHttpPattern path */
+ path?: (string|null);
+ }
+
+ /** Represents a CustomHttpPattern. */
+ class CustomHttpPattern implements ICustomHttpPattern {
+
+ /**
+ * Constructs a new CustomHttpPattern.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.ICustomHttpPattern);
+
+ /** CustomHttpPattern kind. */
+ public kind: string;
+
+ /** CustomHttpPattern path. */
+ public path: string;
+
+ /**
+ * Creates a new CustomHttpPattern instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CustomHttpPattern instance
+ */
+ public static create(properties?: google.api.ICustomHttpPattern): google.api.CustomHttpPattern;
+
+ /**
+ * Encodes the specified CustomHttpPattern message. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages.
+ * @param message CustomHttpPattern message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CustomHttpPattern message, length delimited. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages.
+ * @param message CustomHttpPattern message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CustomHttpPattern message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CustomHttpPattern
+ * @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.CustomHttpPattern;
+
+ /**
+ * Decodes a CustomHttpPattern message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CustomHttpPattern
+ * @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.CustomHttpPattern;
+
+ /**
+ * Verifies a CustomHttpPattern 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 CustomHttpPattern message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CustomHttpPattern
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.CustomHttpPattern;
+
+ /**
+ * Creates a plain object from a CustomHttpPattern message. Also converts values to other types if specified.
+ * @param message CustomHttpPattern
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.CustomHttpPattern, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CustomHttpPattern to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CustomHttpPattern
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** FieldBehavior enum. */
+ enum FieldBehavior {
+ FIELD_BEHAVIOR_UNSPECIFIED = 0,
+ OPTIONAL = 1,
+ REQUIRED = 2,
+ OUTPUT_ONLY = 3,
+ INPUT_ONLY = 4,
+ IMMUTABLE = 5,
+ UNORDERED_LIST = 6,
+ NON_EMPTY_DEFAULT = 7
+ }
+
+ /** Properties of a ResourceDescriptor. */
+ interface IResourceDescriptor {
+
+ /** ResourceDescriptor type */
+ type?: (string|null);
+
+ /** ResourceDescriptor pattern */
+ pattern?: (string[]|null);
+
+ /** ResourceDescriptor nameField */
+ nameField?: (string|null);
+
+ /** ResourceDescriptor history */
+ history?: (google.api.ResourceDescriptor.History|keyof typeof google.api.ResourceDescriptor.History|null);
+
+ /** ResourceDescriptor plural */
+ plural?: (string|null);
+
+ /** ResourceDescriptor singular */
+ singular?: (string|null);
+
+ /** ResourceDescriptor style */
+ style?: (google.api.ResourceDescriptor.Style[]|null);
+ }
+
+ /** Represents a ResourceDescriptor. */
+ class ResourceDescriptor implements IResourceDescriptor {
+
+ /**
+ * Constructs a new ResourceDescriptor.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IResourceDescriptor);
+
+ /** ResourceDescriptor type. */
+ public type: string;
+
+ /** ResourceDescriptor pattern. */
+ public pattern: string[];
+
+ /** ResourceDescriptor nameField. */
+ public nameField: string;
+
+ /** ResourceDescriptor history. */
+ public history: (google.api.ResourceDescriptor.History|keyof typeof google.api.ResourceDescriptor.History);
+
+ /** ResourceDescriptor plural. */
+ public plural: string;
+
+ /** ResourceDescriptor singular. */
+ public singular: string;
+
+ /** ResourceDescriptor style. */
+ public style: google.api.ResourceDescriptor.Style[];
+
+ /**
+ * Creates a new ResourceDescriptor instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ResourceDescriptor instance
+ */
+ public static create(properties?: google.api.IResourceDescriptor): google.api.ResourceDescriptor;
+
+ /**
+ * Encodes the specified ResourceDescriptor message. Does not implicitly {@link google.api.ResourceDescriptor.verify|verify} messages.
+ * @param message ResourceDescriptor message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IResourceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ResourceDescriptor message, length delimited. Does not implicitly {@link google.api.ResourceDescriptor.verify|verify} messages.
+ * @param message ResourceDescriptor message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IResourceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ResourceDescriptor message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ResourceDescriptor
+ * @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.ResourceDescriptor;
+
+ /**
+ * Decodes a ResourceDescriptor message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ResourceDescriptor
+ * @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.ResourceDescriptor;
+
+ /**
+ * Verifies a ResourceDescriptor 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 ResourceDescriptor message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ResourceDescriptor
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.ResourceDescriptor;
+
+ /**
+ * Creates a plain object from a ResourceDescriptor message. Also converts values to other types if specified.
+ * @param message ResourceDescriptor
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.ResourceDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ResourceDescriptor to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ResourceDescriptor
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace ResourceDescriptor {
+
+ /** History enum. */
+ enum History {
+ HISTORY_UNSPECIFIED = 0,
+ ORIGINALLY_SINGLE_PATTERN = 1,
+ FUTURE_MULTI_PATTERN = 2
+ }
+
+ /** Style enum. */
+ enum Style {
+ STYLE_UNSPECIFIED = 0,
+ DECLARATIVE_FRIENDLY = 1
+ }
+ }
+
+ /** Properties of a ResourceReference. */
+ interface IResourceReference {
+
+ /** ResourceReference type */
+ type?: (string|null);
+
+ /** ResourceReference childType */
+ childType?: (string|null);
+ }
+
+ /** Represents a ResourceReference. */
+ class ResourceReference implements IResourceReference {
+
+ /**
+ * Constructs a new ResourceReference.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IResourceReference);
+
+ /** ResourceReference type. */
+ public type: string;
+
+ /** ResourceReference childType. */
+ public childType: string;
+
+ /**
+ * Creates a new ResourceReference instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ResourceReference instance
+ */
+ public static create(properties?: google.api.IResourceReference): google.api.ResourceReference;
+
+ /**
+ * Encodes the specified ResourceReference message. Does not implicitly {@link google.api.ResourceReference.verify|verify} messages.
+ * @param message ResourceReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IResourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ResourceReference message, length delimited. Does not implicitly {@link google.api.ResourceReference.verify|verify} messages.
+ * @param message ResourceReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IResourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ResourceReference message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ResourceReference
+ * @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.ResourceReference;
+
+ /**
+ * Decodes a ResourceReference message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ResourceReference
+ * @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.ResourceReference;
+
+ /**
+ * Verifies a ResourceReference 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 ResourceReference message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ResourceReference
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.ResourceReference;
+
+ /**
+ * Creates a plain object from a ResourceReference message. Also converts values to other types if specified.
+ * @param message ResourceReference
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.ResourceReference, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ResourceReference to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ResourceReference
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Namespace protobuf. */
+ namespace protobuf {
+
+ /** Properties of a FileDescriptorSet. */
+ interface IFileDescriptorSet {
+
+ /** FileDescriptorSet file */
+ file?: (google.protobuf.IFileDescriptorProto[]|null);
+ }
+
+ /** Represents a FileDescriptorSet. */
+ class FileDescriptorSet implements IFileDescriptorSet {
+
+ /**
+ * Constructs a new FileDescriptorSet.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFileDescriptorSet);
+
+ /** FileDescriptorSet file. */
+ public file: google.protobuf.IFileDescriptorProto[];
+
+ /**
+ * Creates a new FileDescriptorSet instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FileDescriptorSet instance
+ */
+ public static create(properties?: google.protobuf.IFileDescriptorSet): google.protobuf.FileDescriptorSet;
+
+ /**
+ * Encodes the specified FileDescriptorSet message. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages.
+ * @param message FileDescriptorSet message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FileDescriptorSet message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages.
+ * @param message FileDescriptorSet message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FileDescriptorSet message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FileDescriptorSet
+ * @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.FileDescriptorSet;
+
+ /**
+ * Decodes a FileDescriptorSet message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FileDescriptorSet
+ * @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.FileDescriptorSet;
+
+ /**
+ * Verifies a FileDescriptorSet 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 FileDescriptorSet message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FileDescriptorSet
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorSet;
+
+ /**
+ * Creates a plain object from a FileDescriptorSet message. Also converts values to other types if specified.
+ * @param message FileDescriptorSet
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FileDescriptorSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FileDescriptorSet to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FileDescriptorSet
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FileDescriptorProto. */
+ interface IFileDescriptorProto {
+
+ /** FileDescriptorProto name */
+ name?: (string|null);
+
+ /** FileDescriptorProto package */
+ "package"?: (string|null);
+
+ /** FileDescriptorProto dependency */
+ dependency?: (string[]|null);
+
+ /** FileDescriptorProto publicDependency */
+ publicDependency?: (number[]|null);
+
+ /** FileDescriptorProto weakDependency */
+ weakDependency?: (number[]|null);
+
+ /** FileDescriptorProto messageType */
+ messageType?: (google.protobuf.IDescriptorProto[]|null);
+
+ /** FileDescriptorProto enumType */
+ enumType?: (google.protobuf.IEnumDescriptorProto[]|null);
+
+ /** FileDescriptorProto service */
+ service?: (google.protobuf.IServiceDescriptorProto[]|null);
+
+ /** FileDescriptorProto extension */
+ extension?: (google.protobuf.IFieldDescriptorProto[]|null);
+
+ /** FileDescriptorProto options */
+ options?: (google.protobuf.IFileOptions|null);
+
+ /** FileDescriptorProto sourceCodeInfo */
+ sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null);
+
+ /** FileDescriptorProto syntax */
+ syntax?: (string|null);
+
+ /** FileDescriptorProto edition */
+ edition?: (string|null);
+ }
+
+ /** Represents a FileDescriptorProto. */
+ class FileDescriptorProto implements IFileDescriptorProto {
+
+ /**
+ * Constructs a new FileDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFileDescriptorProto);
+
+ /** FileDescriptorProto name. */
+ public name: string;
+
+ /** FileDescriptorProto package. */
+ public package: string;
+
+ /** FileDescriptorProto dependency. */
+ public dependency: string[];
+
+ /** FileDescriptorProto publicDependency. */
+ public publicDependency: number[];
+
+ /** FileDescriptorProto weakDependency. */
+ public weakDependency: number[];
+
+ /** FileDescriptorProto messageType. */
+ public messageType: google.protobuf.IDescriptorProto[];
+
+ /** FileDescriptorProto enumType. */
+ public enumType: google.protobuf.IEnumDescriptorProto[];
+
+ /** FileDescriptorProto service. */
+ public service: google.protobuf.IServiceDescriptorProto[];
+
+ /** FileDescriptorProto extension. */
+ public extension: google.protobuf.IFieldDescriptorProto[];
+
+ /** FileDescriptorProto options. */
+ public options?: (google.protobuf.IFileOptions|null);
+
+ /** FileDescriptorProto sourceCodeInfo. */
+ public sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null);
+
+ /** FileDescriptorProto syntax. */
+ public syntax: string;
+
+ /** FileDescriptorProto edition. */
+ public edition: string;
+
+ /**
+ * Creates a new FileDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FileDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IFileDescriptorProto): google.protobuf.FileDescriptorProto;
+
+ /**
+ * Encodes the specified FileDescriptorProto message. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages.
+ * @param message FileDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FileDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages.
+ * @param message FileDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FileDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FileDescriptorProto
+ * @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.FileDescriptorProto;
+
+ /**
+ * Decodes a FileDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FileDescriptorProto
+ * @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.FileDescriptorProto;
+
+ /**
+ * Verifies a FileDescriptorProto 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 FileDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FileDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorProto;
+
+ /**
+ * Creates a plain object from a FileDescriptorProto message. Also converts values to other types if specified.
+ * @param message FileDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FileDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FileDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FileDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DescriptorProto. */
+ interface IDescriptorProto {
+
+ /** DescriptorProto name */
+ name?: (string|null);
+
+ /** DescriptorProto field */
+ field?: (google.protobuf.IFieldDescriptorProto[]|null);
+
+ /** DescriptorProto extension */
+ extension?: (google.protobuf.IFieldDescriptorProto[]|null);
+
+ /** DescriptorProto nestedType */
+ nestedType?: (google.protobuf.IDescriptorProto[]|null);
+
+ /** DescriptorProto enumType */
+ enumType?: (google.protobuf.IEnumDescriptorProto[]|null);
+
+ /** DescriptorProto extensionRange */
+ extensionRange?: (google.protobuf.DescriptorProto.IExtensionRange[]|null);
+
+ /** DescriptorProto oneofDecl */
+ oneofDecl?: (google.protobuf.IOneofDescriptorProto[]|null);
+
+ /** DescriptorProto options */
+ options?: (google.protobuf.IMessageOptions|null);
+
+ /** DescriptorProto reservedRange */
+ reservedRange?: (google.protobuf.DescriptorProto.IReservedRange[]|null);
+
+ /** DescriptorProto reservedName */
+ reservedName?: (string[]|null);
+ }
+
+ /** Represents a DescriptorProto. */
+ class DescriptorProto implements IDescriptorProto {
+
+ /**
+ * Constructs a new DescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IDescriptorProto);
+
+ /** DescriptorProto name. */
+ public name: string;
+
+ /** DescriptorProto field. */
+ public field: google.protobuf.IFieldDescriptorProto[];
+
+ /** DescriptorProto extension. */
+ public extension: google.protobuf.IFieldDescriptorProto[];
+
+ /** DescriptorProto nestedType. */
+ public nestedType: google.protobuf.IDescriptorProto[];
+
+ /** DescriptorProto enumType. */
+ public enumType: google.protobuf.IEnumDescriptorProto[];
+
+ /** DescriptorProto extensionRange. */
+ public extensionRange: google.protobuf.DescriptorProto.IExtensionRange[];
+
+ /** DescriptorProto oneofDecl. */
+ public oneofDecl: google.protobuf.IOneofDescriptorProto[];
+
+ /** DescriptorProto options. */
+ public options?: (google.protobuf.IMessageOptions|null);
+
+ /** DescriptorProto reservedRange. */
+ public reservedRange: google.protobuf.DescriptorProto.IReservedRange[];
+
+ /** DescriptorProto reservedName. */
+ public reservedName: string[];
+
+ /**
+ * Creates a new DescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IDescriptorProto): google.protobuf.DescriptorProto;
+
+ /**
+ * Encodes the specified DescriptorProto message. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages.
+ * @param message DescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages.
+ * @param message DescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DescriptorProto
+ * @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.DescriptorProto;
+
+ /**
+ * Decodes a DescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DescriptorProto
+ * @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.DescriptorProto;
+
+ /**
+ * Verifies a DescriptorProto 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 DescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto;
+
+ /**
+ * Creates a plain object from a DescriptorProto message. Also converts values to other types if specified.
+ * @param message DescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.DescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace DescriptorProto {
+
+ /** Properties of an ExtensionRange. */
+ interface IExtensionRange {
+
+ /** ExtensionRange start */
+ start?: (number|null);
+
+ /** ExtensionRange end */
+ end?: (number|null);
+
+ /** ExtensionRange options */
+ options?: (google.protobuf.IExtensionRangeOptions|null);
+ }
+
+ /** Represents an ExtensionRange. */
+ class ExtensionRange implements IExtensionRange {
+
+ /**
+ * Constructs a new ExtensionRange.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.DescriptorProto.IExtensionRange);
+
+ /** ExtensionRange start. */
+ public start: number;
+
+ /** ExtensionRange end. */
+ public end: number;
+
+ /** ExtensionRange options. */
+ public options?: (google.protobuf.IExtensionRangeOptions|null);
+
+ /**
+ * Creates a new ExtensionRange instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ExtensionRange instance
+ */
+ public static create(properties?: google.protobuf.DescriptorProto.IExtensionRange): google.protobuf.DescriptorProto.ExtensionRange;
+
+ /**
+ * Encodes the specified ExtensionRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages.
+ * @param message ExtensionRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ExtensionRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages.
+ * @param message ExtensionRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ExtensionRange message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ExtensionRange
+ * @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.DescriptorProto.ExtensionRange;
+
+ /**
+ * Decodes an ExtensionRange message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ExtensionRange
+ * @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.DescriptorProto.ExtensionRange;
+
+ /**
+ * Verifies an ExtensionRange 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 ExtensionRange message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ExtensionRange
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ExtensionRange;
+
+ /**
+ * Creates a plain object from an ExtensionRange message. Also converts values to other types if specified.
+ * @param message ExtensionRange
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.DescriptorProto.ExtensionRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ExtensionRange to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ExtensionRange
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ReservedRange. */
+ interface IReservedRange {
+
+ /** ReservedRange start */
+ start?: (number|null);
+
+ /** ReservedRange end */
+ end?: (number|null);
+ }
+
+ /** Represents a ReservedRange. */
+ class ReservedRange implements IReservedRange {
+
+ /**
+ * Constructs a new ReservedRange.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.DescriptorProto.IReservedRange);
+
+ /** ReservedRange start. */
+ public start: number;
+
+ /** ReservedRange end. */
+ public end: number;
+
+ /**
+ * Creates a new ReservedRange instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ReservedRange instance
+ */
+ public static create(properties?: google.protobuf.DescriptorProto.IReservedRange): google.protobuf.DescriptorProto.ReservedRange;
+
+ /**
+ * Encodes the specified ReservedRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages.
+ * @param message ReservedRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ReservedRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages.
+ * @param message ReservedRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ReservedRange message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ReservedRange
+ * @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.DescriptorProto.ReservedRange;
+
+ /**
+ * Decodes a ReservedRange message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ReservedRange
+ * @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.DescriptorProto.ReservedRange;
+
+ /**
+ * Verifies a ReservedRange 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 ReservedRange message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ReservedRange
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ReservedRange;
+
+ /**
+ * Creates a plain object from a ReservedRange message. Also converts values to other types if specified.
+ * @param message ReservedRange
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.DescriptorProto.ReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ReservedRange to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ReservedRange
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of an ExtensionRangeOptions. */
+ interface IExtensionRangeOptions {
+
+ /** ExtensionRangeOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+ }
+
+ /** Represents an ExtensionRangeOptions. */
+ class ExtensionRangeOptions implements IExtensionRangeOptions {
+
+ /**
+ * Constructs a new ExtensionRangeOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IExtensionRangeOptions);
+
+ /** ExtensionRangeOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new ExtensionRangeOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ExtensionRangeOptions instance
+ */
+ public static create(properties?: google.protobuf.IExtensionRangeOptions): google.protobuf.ExtensionRangeOptions;
+
+ /**
+ * Encodes the specified ExtensionRangeOptions message. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.verify|verify} messages.
+ * @param message ExtensionRangeOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IExtensionRangeOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ExtensionRangeOptions message, length delimited. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.verify|verify} messages.
+ * @param message ExtensionRangeOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IExtensionRangeOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ExtensionRangeOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ExtensionRangeOptions
+ * @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.ExtensionRangeOptions;
+
+ /**
+ * Decodes an ExtensionRangeOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ExtensionRangeOptions
+ * @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.ExtensionRangeOptions;
+
+ /**
+ * Verifies an ExtensionRangeOptions 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 ExtensionRangeOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ExtensionRangeOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.ExtensionRangeOptions;
+
+ /**
+ * Creates a plain object from an ExtensionRangeOptions message. Also converts values to other types if specified.
+ * @param message ExtensionRangeOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.ExtensionRangeOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ExtensionRangeOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ExtensionRangeOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FieldDescriptorProto. */
+ interface IFieldDescriptorProto {
+
+ /** FieldDescriptorProto name */
+ name?: (string|null);
+
+ /** FieldDescriptorProto number */
+ number?: (number|null);
+
+ /** FieldDescriptorProto label */
+ label?: (google.protobuf.FieldDescriptorProto.Label|keyof typeof google.protobuf.FieldDescriptorProto.Label|null);
+
+ /** FieldDescriptorProto type */
+ type?: (google.protobuf.FieldDescriptorProto.Type|keyof typeof google.protobuf.FieldDescriptorProto.Type|null);
+
+ /** FieldDescriptorProto typeName */
+ typeName?: (string|null);
+
+ /** FieldDescriptorProto extendee */
+ extendee?: (string|null);
+
+ /** FieldDescriptorProto defaultValue */
+ defaultValue?: (string|null);
+
+ /** FieldDescriptorProto oneofIndex */
+ oneofIndex?: (number|null);
+
+ /** FieldDescriptorProto jsonName */
+ jsonName?: (string|null);
+
+ /** FieldDescriptorProto options */
+ options?: (google.protobuf.IFieldOptions|null);
+
+ /** FieldDescriptorProto proto3Optional */
+ proto3Optional?: (boolean|null);
+ }
+
+ /** Represents a FieldDescriptorProto. */
+ class FieldDescriptorProto implements IFieldDescriptorProto {
+
+ /**
+ * Constructs a new FieldDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFieldDescriptorProto);
+
+ /** FieldDescriptorProto name. */
+ public name: string;
+
+ /** FieldDescriptorProto number. */
+ public number: number;
+
+ /** FieldDescriptorProto label. */
+ public label: (google.protobuf.FieldDescriptorProto.Label|keyof typeof google.protobuf.FieldDescriptorProto.Label);
+
+ /** FieldDescriptorProto type. */
+ public type: (google.protobuf.FieldDescriptorProto.Type|keyof typeof google.protobuf.FieldDescriptorProto.Type);
+
+ /** FieldDescriptorProto typeName. */
+ public typeName: string;
+
+ /** FieldDescriptorProto extendee. */
+ public extendee: string;
+
+ /** FieldDescriptorProto defaultValue. */
+ public defaultValue: string;
+
+ /** FieldDescriptorProto oneofIndex. */
+ public oneofIndex: number;
+
+ /** FieldDescriptorProto jsonName. */
+ public jsonName: string;
+
+ /** FieldDescriptorProto options. */
+ public options?: (google.protobuf.IFieldOptions|null);
+
+ /** FieldDescriptorProto proto3Optional. */
+ public proto3Optional: boolean;
+
+ /**
+ * Creates a new FieldDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FieldDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IFieldDescriptorProto): google.protobuf.FieldDescriptorProto;
+
+ /**
+ * Encodes the specified FieldDescriptorProto message. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages.
+ * @param message FieldDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FieldDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages.
+ * @param message FieldDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FieldDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FieldDescriptorProto
+ * @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.FieldDescriptorProto;
+
+ /**
+ * Decodes a FieldDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FieldDescriptorProto
+ * @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.FieldDescriptorProto;
+
+ /**
+ * Verifies a FieldDescriptorProto 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 FieldDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FieldDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FieldDescriptorProto;
+
+ /**
+ * Creates a plain object from a FieldDescriptorProto message. Also converts values to other types if specified.
+ * @param message FieldDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FieldDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FieldDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FieldDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace FieldDescriptorProto {
+
+ /** Type enum. */
+ enum Type {
+ TYPE_DOUBLE = 1,
+ TYPE_FLOAT = 2,
+ TYPE_INT64 = 3,
+ TYPE_UINT64 = 4,
+ TYPE_INT32 = 5,
+ TYPE_FIXED64 = 6,
+ TYPE_FIXED32 = 7,
+ TYPE_BOOL = 8,
+ TYPE_STRING = 9,
+ TYPE_GROUP = 10,
+ TYPE_MESSAGE = 11,
+ TYPE_BYTES = 12,
+ TYPE_UINT32 = 13,
+ TYPE_ENUM = 14,
+ TYPE_SFIXED32 = 15,
+ TYPE_SFIXED64 = 16,
+ TYPE_SINT32 = 17,
+ TYPE_SINT64 = 18
+ }
+
+ /** Label enum. */
+ enum Label {
+ LABEL_OPTIONAL = 1,
+ LABEL_REQUIRED = 2,
+ LABEL_REPEATED = 3
+ }
+ }
+
+ /** Properties of an OneofDescriptorProto. */
+ interface IOneofDescriptorProto {
+
+ /** OneofDescriptorProto name */
+ name?: (string|null);
+
+ /** OneofDescriptorProto options */
+ options?: (google.protobuf.IOneofOptions|null);
+ }
+
+ /** Represents an OneofDescriptorProto. */
+ class OneofDescriptorProto implements IOneofDescriptorProto {
+
+ /**
+ * Constructs a new OneofDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IOneofDescriptorProto);
+
+ /** OneofDescriptorProto name. */
+ public name: string;
+
+ /** OneofDescriptorProto options. */
+ public options?: (google.protobuf.IOneofOptions|null);
+
+ /**
+ * Creates a new OneofDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OneofDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IOneofDescriptorProto): google.protobuf.OneofDescriptorProto;
+
+ /**
+ * Encodes the specified OneofDescriptorProto message. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages.
+ * @param message OneofDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OneofDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages.
+ * @param message OneofDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an OneofDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns OneofDescriptorProto
+ * @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.OneofDescriptorProto;
+
+ /**
+ * Decodes an OneofDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns OneofDescriptorProto
+ * @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.OneofDescriptorProto;
+
+ /**
+ * Verifies an OneofDescriptorProto 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 OneofDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns OneofDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.OneofDescriptorProto;
+
+ /**
+ * Creates a plain object from an OneofDescriptorProto message. Also converts values to other types if specified.
+ * @param message OneofDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.OneofDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this OneofDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for OneofDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an EnumDescriptorProto. */
+ interface IEnumDescriptorProto {
+
+ /** EnumDescriptorProto name */
+ name?: (string|null);
+
+ /** EnumDescriptorProto value */
+ value?: (google.protobuf.IEnumValueDescriptorProto[]|null);
+
+ /** EnumDescriptorProto options */
+ options?: (google.protobuf.IEnumOptions|null);
+
+ /** EnumDescriptorProto reservedRange */
+ reservedRange?: (google.protobuf.EnumDescriptorProto.IEnumReservedRange[]|null);
+
+ /** EnumDescriptorProto reservedName */
+ reservedName?: (string[]|null);
+ }
+
+ /** Represents an EnumDescriptorProto. */
+ class EnumDescriptorProto implements IEnumDescriptorProto {
+
+ /**
+ * Constructs a new EnumDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IEnumDescriptorProto);
+
+ /** EnumDescriptorProto name. */
+ public name: string;
+
+ /** EnumDescriptorProto value. */
+ public value: google.protobuf.IEnumValueDescriptorProto[];
+
+ /** EnumDescriptorProto options. */
+ public options?: (google.protobuf.IEnumOptions|null);
+
+ /** EnumDescriptorProto reservedRange. */
+ public reservedRange: google.protobuf.EnumDescriptorProto.IEnumReservedRange[];
+
+ /** EnumDescriptorProto reservedName. */
+ public reservedName: string[];
+
+ /**
+ * Creates a new EnumDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EnumDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IEnumDescriptorProto): google.protobuf.EnumDescriptorProto;
+
+ /**
+ * Encodes the specified EnumDescriptorProto message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages.
+ * @param message EnumDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EnumDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages.
+ * @param message EnumDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EnumDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EnumDescriptorProto
+ * @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.EnumDescriptorProto;
+
+ /**
+ * Decodes an EnumDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EnumDescriptorProto
+ * @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.EnumDescriptorProto;
+
+ /**
+ * Verifies an EnumDescriptorProto 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 EnumDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EnumDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto;
+
+ /**
+ * Creates a plain object from an EnumDescriptorProto message. Also converts values to other types if specified.
+ * @param message EnumDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.EnumDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EnumDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EnumDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace EnumDescriptorProto {
+
+ /** Properties of an EnumReservedRange. */
+ interface IEnumReservedRange {
+
+ /** EnumReservedRange start */
+ start?: (number|null);
+
+ /** EnumReservedRange end */
+ end?: (number|null);
+ }
+
+ /** Represents an EnumReservedRange. */
+ class EnumReservedRange implements IEnumReservedRange {
+
+ /**
+ * Constructs a new EnumReservedRange.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.EnumDescriptorProto.IEnumReservedRange);
+
+ /** EnumReservedRange start. */
+ public start: number;
+
+ /** EnumReservedRange end. */
+ public end: number;
+
+ /**
+ * Creates a new EnumReservedRange instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EnumReservedRange instance
+ */
+ public static create(properties?: google.protobuf.EnumDescriptorProto.IEnumReservedRange): google.protobuf.EnumDescriptorProto.EnumReservedRange;
+
+ /**
+ * Encodes the specified EnumReservedRange message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.EnumReservedRange.verify|verify} messages.
+ * @param message EnumReservedRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.EnumDescriptorProto.IEnumReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EnumReservedRange message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.EnumReservedRange.verify|verify} messages.
+ * @param message EnumReservedRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.EnumDescriptorProto.IEnumReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EnumReservedRange message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EnumReservedRange
+ * @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.EnumDescriptorProto.EnumReservedRange;
+
+ /**
+ * Decodes an EnumReservedRange message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EnumReservedRange
+ * @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.EnumDescriptorProto.EnumReservedRange;
+
+ /**
+ * Verifies an EnumReservedRange 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 EnumReservedRange message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EnumReservedRange
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto.EnumReservedRange;
+
+ /**
+ * Creates a plain object from an EnumReservedRange message. Also converts values to other types if specified.
+ * @param message EnumReservedRange
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.EnumDescriptorProto.EnumReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EnumReservedRange to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EnumReservedRange
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of an EnumValueDescriptorProto. */
+ interface IEnumValueDescriptorProto {
+
+ /** EnumValueDescriptorProto name */
+ name?: (string|null);
+
+ /** EnumValueDescriptorProto number */
+ number?: (number|null);
+
+ /** EnumValueDescriptorProto options */
+ options?: (google.protobuf.IEnumValueOptions|null);
+ }
+
+ /** Represents an EnumValueDescriptorProto. */
+ class EnumValueDescriptorProto implements IEnumValueDescriptorProto {
+
+ /**
+ * Constructs a new EnumValueDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IEnumValueDescriptorProto);
+
+ /** EnumValueDescriptorProto name. */
+ public name: string;
+
+ /** EnumValueDescriptorProto number. */
+ public number: number;
+
+ /** EnumValueDescriptorProto options. */
+ public options?: (google.protobuf.IEnumValueOptions|null);
+
+ /**
+ * Creates a new EnumValueDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EnumValueDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IEnumValueDescriptorProto): google.protobuf.EnumValueDescriptorProto;
+
+ /**
+ * Encodes the specified EnumValueDescriptorProto message. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages.
+ * @param message EnumValueDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EnumValueDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages.
+ * @param message EnumValueDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EnumValueDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EnumValueDescriptorProto
+ * @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.EnumValueDescriptorProto;
+
+ /**
+ * Decodes an EnumValueDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EnumValueDescriptorProto
+ * @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.EnumValueDescriptorProto;
+
+ /**
+ * Verifies an EnumValueDescriptorProto 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 EnumValueDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EnumValueDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueDescriptorProto;
+
+ /**
+ * Creates a plain object from an EnumValueDescriptorProto message. Also converts values to other types if specified.
+ * @param message EnumValueDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.EnumValueDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EnumValueDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EnumValueDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ServiceDescriptorProto. */
+ interface IServiceDescriptorProto {
+
+ /** ServiceDescriptorProto name */
+ name?: (string|null);
+
+ /** ServiceDescriptorProto method */
+ method?: (google.protobuf.IMethodDescriptorProto[]|null);
+
+ /** ServiceDescriptorProto options */
+ options?: (google.protobuf.IServiceOptions|null);
+ }
+
+ /** Represents a ServiceDescriptorProto. */
+ class ServiceDescriptorProto implements IServiceDescriptorProto {
+
+ /**
+ * Constructs a new ServiceDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IServiceDescriptorProto);
+
+ /** ServiceDescriptorProto name. */
+ public name: string;
+
+ /** ServiceDescriptorProto method. */
+ public method: google.protobuf.IMethodDescriptorProto[];
+
+ /** ServiceDescriptorProto options. */
+ public options?: (google.protobuf.IServiceOptions|null);
+
+ /**
+ * Creates a new ServiceDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ServiceDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IServiceDescriptorProto): google.protobuf.ServiceDescriptorProto;
+
+ /**
+ * Encodes the specified ServiceDescriptorProto message. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages.
+ * @param message ServiceDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ServiceDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages.
+ * @param message ServiceDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ServiceDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ServiceDescriptorProto
+ * @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.ServiceDescriptorProto;
+
+ /**
+ * Decodes a ServiceDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ServiceDescriptorProto
+ * @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.ServiceDescriptorProto;
+
+ /**
+ * Verifies a ServiceDescriptorProto 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 ServiceDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ServiceDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceDescriptorProto;
+
+ /**
+ * Creates a plain object from a ServiceDescriptorProto message. Also converts values to other types if specified.
+ * @param message ServiceDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.ServiceDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ServiceDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ServiceDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a MethodDescriptorProto. */
+ interface IMethodDescriptorProto {
+
+ /** MethodDescriptorProto name */
+ name?: (string|null);
+
+ /** MethodDescriptorProto inputType */
+ inputType?: (string|null);
+
+ /** MethodDescriptorProto outputType */
+ outputType?: (string|null);
+
+ /** MethodDescriptorProto options */
+ options?: (google.protobuf.IMethodOptions|null);
+
+ /** MethodDescriptorProto clientStreaming */
+ clientStreaming?: (boolean|null);
+
+ /** MethodDescriptorProto serverStreaming */
+ serverStreaming?: (boolean|null);
+ }
+
+ /** Represents a MethodDescriptorProto. */
+ class MethodDescriptorProto implements IMethodDescriptorProto {
+
+ /**
+ * Constructs a new MethodDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IMethodDescriptorProto);
+
+ /** MethodDescriptorProto name. */
+ public name: string;
+
+ /** MethodDescriptorProto inputType. */
+ public inputType: string;
+
+ /** MethodDescriptorProto outputType. */
+ public outputType: string;
+
+ /** MethodDescriptorProto options. */
+ public options?: (google.protobuf.IMethodOptions|null);
+
+ /** MethodDescriptorProto clientStreaming. */
+ public clientStreaming: boolean;
+
+ /** MethodDescriptorProto serverStreaming. */
+ public serverStreaming: boolean;
+
+ /**
+ * Creates a new MethodDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns MethodDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IMethodDescriptorProto): google.protobuf.MethodDescriptorProto;
+
+ /**
+ * Encodes the specified MethodDescriptorProto message. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages.
+ * @param message MethodDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified MethodDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages.
+ * @param message MethodDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a MethodDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns MethodDescriptorProto
+ * @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.MethodDescriptorProto;
+
+ /**
+ * Decodes a MethodDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns MethodDescriptorProto
+ * @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.MethodDescriptorProto;
+
+ /**
+ * Verifies a MethodDescriptorProto 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 MethodDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns MethodDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.MethodDescriptorProto;
+
+ /**
+ * Creates a plain object from a MethodDescriptorProto message. Also converts values to other types if specified.
+ * @param message MethodDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.MethodDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this MethodDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for MethodDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FileOptions. */
+ interface IFileOptions {
+
+ /** FileOptions javaPackage */
+ javaPackage?: (string|null);
+
+ /** FileOptions javaOuterClassname */
+ javaOuterClassname?: (string|null);
+
+ /** FileOptions javaMultipleFiles */
+ javaMultipleFiles?: (boolean|null);
+
+ /** FileOptions javaGenerateEqualsAndHash */
+ javaGenerateEqualsAndHash?: (boolean|null);
+
+ /** FileOptions javaStringCheckUtf8 */
+ javaStringCheckUtf8?: (boolean|null);
+
+ /** FileOptions optimizeFor */
+ optimizeFor?: (google.protobuf.FileOptions.OptimizeMode|keyof typeof google.protobuf.FileOptions.OptimizeMode|null);
+
+ /** FileOptions goPackage */
+ goPackage?: (string|null);
+
+ /** FileOptions ccGenericServices */
+ ccGenericServices?: (boolean|null);
+
+ /** FileOptions javaGenericServices */
+ javaGenericServices?: (boolean|null);
+
+ /** FileOptions pyGenericServices */
+ pyGenericServices?: (boolean|null);
+
+ /** FileOptions phpGenericServices */
+ phpGenericServices?: (boolean|null);
+
+ /** FileOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** FileOptions ccEnableArenas */
+ ccEnableArenas?: (boolean|null);
+
+ /** FileOptions objcClassPrefix */
+ objcClassPrefix?: (string|null);
+
+ /** FileOptions csharpNamespace */
+ csharpNamespace?: (string|null);
+
+ /** FileOptions swiftPrefix */
+ swiftPrefix?: (string|null);
+
+ /** FileOptions phpClassPrefix */
+ phpClassPrefix?: (string|null);
+
+ /** FileOptions phpNamespace */
+ phpNamespace?: (string|null);
+
+ /** FileOptions phpMetadataNamespace */
+ phpMetadataNamespace?: (string|null);
+
+ /** FileOptions rubyPackage */
+ rubyPackage?: (string|null);
+
+ /** FileOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+
+ /** FileOptions .google.api.resourceDefinition */
+ ".google.api.resourceDefinition"?: (google.api.IResourceDescriptor[]|null);
+ }
+
+ /** Represents a FileOptions. */
+ class FileOptions implements IFileOptions {
+
+ /**
+ * Constructs a new FileOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFileOptions);
+
+ /** FileOptions javaPackage. */
+ public javaPackage: string;
+
+ /** FileOptions javaOuterClassname. */
+ public javaOuterClassname: string;
+
+ /** FileOptions javaMultipleFiles. */
+ public javaMultipleFiles: boolean;
+
+ /** FileOptions javaGenerateEqualsAndHash. */
+ public javaGenerateEqualsAndHash: boolean;
+
+ /** FileOptions javaStringCheckUtf8. */
+ public javaStringCheckUtf8: boolean;
+
+ /** FileOptions optimizeFor. */
+ public optimizeFor: (google.protobuf.FileOptions.OptimizeMode|keyof typeof google.protobuf.FileOptions.OptimizeMode);
+
+ /** FileOptions goPackage. */
+ public goPackage: string;
+
+ /** FileOptions ccGenericServices. */
+ public ccGenericServices: boolean;
+
+ /** FileOptions javaGenericServices. */
+ public javaGenericServices: boolean;
+
+ /** FileOptions pyGenericServices. */
+ public pyGenericServices: boolean;
+
+ /** FileOptions phpGenericServices. */
+ public phpGenericServices: boolean;
+
+ /** FileOptions deprecated. */
+ public deprecated: boolean;
+
+ /** FileOptions ccEnableArenas. */
+ public ccEnableArenas: boolean;
+
+ /** FileOptions objcClassPrefix. */
+ public objcClassPrefix: string;
+
+ /** FileOptions csharpNamespace. */
+ public csharpNamespace: string;
+
+ /** FileOptions swiftPrefix. */
+ public swiftPrefix: string;
+
+ /** FileOptions phpClassPrefix. */
+ public phpClassPrefix: string;
+
+ /** FileOptions phpNamespace. */
+ public phpNamespace: string;
+
+ /** FileOptions phpMetadataNamespace. */
+ public phpMetadataNamespace: string;
+
+ /** FileOptions rubyPackage. */
+ public rubyPackage: string;
+
+ /** FileOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new FileOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FileOptions instance
+ */
+ public static create(properties?: google.protobuf.IFileOptions): google.protobuf.FileOptions;
+
+ /**
+ * Encodes the specified FileOptions message. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages.
+ * @param message FileOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FileOptions message, length delimited. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages.
+ * @param message FileOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FileOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FileOptions
+ * @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.FileOptions;
+
+ /**
+ * Decodes a FileOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FileOptions
+ * @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.FileOptions;
+
+ /**
+ * Verifies a FileOptions 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 FileOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FileOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FileOptions;
+
+ /**
+ * Creates a plain object from a FileOptions message. Also converts values to other types if specified.
+ * @param message FileOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FileOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FileOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FileOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace FileOptions {
+
+ /** OptimizeMode enum. */
+ enum OptimizeMode {
+ SPEED = 1,
+ CODE_SIZE = 2,
+ LITE_RUNTIME = 3
+ }
+ }
+
+ /** Properties of a MessageOptions. */
+ interface IMessageOptions {
+
+ /** MessageOptions messageSetWireFormat */
+ messageSetWireFormat?: (boolean|null);
+
+ /** MessageOptions noStandardDescriptorAccessor */
+ noStandardDescriptorAccessor?: (boolean|null);
+
+ /** MessageOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** MessageOptions mapEntry */
+ mapEntry?: (boolean|null);
+
+ /** MessageOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+
+ /** MessageOptions .google.api.resource */
+ ".google.api.resource"?: (google.api.IResourceDescriptor|null);
+ }
+
+ /** Represents a MessageOptions. */
+ class MessageOptions implements IMessageOptions {
+
+ /**
+ * Constructs a new MessageOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IMessageOptions);
+
+ /** MessageOptions messageSetWireFormat. */
+ public messageSetWireFormat: boolean;
+
+ /** MessageOptions noStandardDescriptorAccessor. */
+ public noStandardDescriptorAccessor: boolean;
+
+ /** MessageOptions deprecated. */
+ public deprecated: boolean;
+
+ /** MessageOptions mapEntry. */
+ public mapEntry: boolean;
+
+ /** MessageOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new MessageOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns MessageOptions instance
+ */
+ public static create(properties?: google.protobuf.IMessageOptions): google.protobuf.MessageOptions;
+
+ /**
+ * Encodes the specified MessageOptions message. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages.
+ * @param message MessageOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified MessageOptions message, length delimited. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages.
+ * @param message MessageOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a MessageOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns MessageOptions
+ * @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.MessageOptions;
+
+ /**
+ * Decodes a MessageOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns MessageOptions
+ * @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.MessageOptions;
+
+ /**
+ * Verifies a MessageOptions 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 MessageOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns MessageOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.MessageOptions;
+
+ /**
+ * Creates a plain object from a MessageOptions message. Also converts values to other types if specified.
+ * @param message MessageOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.MessageOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this MessageOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for MessageOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FieldOptions. */
+ interface IFieldOptions {
+
+ /** FieldOptions ctype */
+ ctype?: (google.protobuf.FieldOptions.CType|keyof typeof google.protobuf.FieldOptions.CType|null);
+
+ /** FieldOptions packed */
+ packed?: (boolean|null);
+
+ /** FieldOptions jstype */
+ jstype?: (google.protobuf.FieldOptions.JSType|keyof typeof google.protobuf.FieldOptions.JSType|null);
+
+ /** FieldOptions lazy */
+ lazy?: (boolean|null);
+
+ /** FieldOptions unverifiedLazy */
+ unverifiedLazy?: (boolean|null);
+
+ /** FieldOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** FieldOptions weak */
+ weak?: (boolean|null);
+
+ /** FieldOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+
+ /** FieldOptions .google.api.fieldBehavior */
+ ".google.api.fieldBehavior"?: (google.api.FieldBehavior[]|null);
+
+ /** FieldOptions .google.api.resourceReference */
+ ".google.api.resourceReference"?: (google.api.IResourceReference|null);
+ }
+
+ /** Represents a FieldOptions. */
+ class FieldOptions implements IFieldOptions {
+
+ /**
+ * Constructs a new FieldOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFieldOptions);
+
+ /** FieldOptions ctype. */
+ public ctype: (google.protobuf.FieldOptions.CType|keyof typeof google.protobuf.FieldOptions.CType);
+
+ /** FieldOptions packed. */
+ public packed: boolean;
+
+ /** FieldOptions jstype. */
+ public jstype: (google.protobuf.FieldOptions.JSType|keyof typeof google.protobuf.FieldOptions.JSType);
+
+ /** FieldOptions lazy. */
+ public lazy: boolean;
+
+ /** FieldOptions unverifiedLazy. */
+ public unverifiedLazy: boolean;
+
+ /** FieldOptions deprecated. */
+ public deprecated: boolean;
+
+ /** FieldOptions weak. */
+ public weak: boolean;
+
+ /** FieldOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new FieldOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FieldOptions instance
+ */
+ public static create(properties?: google.protobuf.IFieldOptions): google.protobuf.FieldOptions;
+
+ /**
+ * Encodes the specified FieldOptions message. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages.
+ * @param message FieldOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FieldOptions message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages.
+ * @param message FieldOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FieldOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FieldOptions
+ * @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;
+
+ /**
+ * Decodes a FieldOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FieldOptions
+ * @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;
+
+ /**
+ * Verifies a FieldOptions 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 FieldOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FieldOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions;
+
+ /**
+ * Creates a plain object from a FieldOptions message. Also converts values to other types if specified.
+ * @param message FieldOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FieldOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FieldOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FieldOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace FieldOptions {
+
+ /** CType enum. */
+ enum CType {
+ STRING = 0,
+ CORD = 1,
+ STRING_PIECE = 2
+ }
+
+ /** JSType enum. */
+ enum JSType {
+ JS_NORMAL = 0,
+ JS_STRING = 1,
+ JS_NUMBER = 2
+ }
+ }
+
+ /** Properties of an OneofOptions. */
+ interface IOneofOptions {
+
+ /** OneofOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+ }
+
+ /** Represents an OneofOptions. */
+ class OneofOptions implements IOneofOptions {
+
+ /**
+ * Constructs a new OneofOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IOneofOptions);
+
+ /** OneofOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new OneofOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OneofOptions instance
+ */
+ public static create(properties?: google.protobuf.IOneofOptions): google.protobuf.OneofOptions;
+
+ /**
+ * Encodes the specified OneofOptions message. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages.
+ * @param message OneofOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OneofOptions message, length delimited. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages.
+ * @param message OneofOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an OneofOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns OneofOptions
+ * @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.OneofOptions;
+
+ /**
+ * Decodes an OneofOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns OneofOptions
+ * @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.OneofOptions;
+
+ /**
+ * Verifies an OneofOptions 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 OneofOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns OneofOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.OneofOptions;
+
+ /**
+ * Creates a plain object from an OneofOptions message. Also converts values to other types if specified.
+ * @param message OneofOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.OneofOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this OneofOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for OneofOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an EnumOptions. */
+ interface IEnumOptions {
+
+ /** EnumOptions allowAlias */
+ allowAlias?: (boolean|null);
+
+ /** EnumOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** EnumOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+ }
+
+ /** Represents an EnumOptions. */
+ class EnumOptions implements IEnumOptions {
+
+ /**
+ * Constructs a new EnumOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IEnumOptions);
+
+ /** EnumOptions allowAlias. */
+ public allowAlias: boolean;
+
+ /** EnumOptions deprecated. */
+ public deprecated: boolean;
+
+ /** EnumOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new EnumOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EnumOptions instance
+ */
+ public static create(properties?: google.protobuf.IEnumOptions): google.protobuf.EnumOptions;
+
+ /**
+ * Encodes the specified EnumOptions message. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages.
+ * @param message EnumOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EnumOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages.
+ * @param message EnumOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EnumOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EnumOptions
+ * @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.EnumOptions;
+
+ /**
+ * Decodes an EnumOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EnumOptions
+ * @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.EnumOptions;
+
+ /**
+ * Verifies an EnumOptions 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 EnumOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EnumOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumOptions;
+
+ /**
+ * Creates a plain object from an EnumOptions message. Also converts values to other types if specified.
+ * @param message EnumOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.EnumOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EnumOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EnumOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an EnumValueOptions. */
+ interface IEnumValueOptions {
+
+ /** EnumValueOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** EnumValueOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+ }
+
+ /** Represents an EnumValueOptions. */
+ class EnumValueOptions implements IEnumValueOptions {
+
+ /**
+ * Constructs a new EnumValueOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IEnumValueOptions);
+
+ /** EnumValueOptions deprecated. */
+ public deprecated: boolean;
+
+ /** EnumValueOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new EnumValueOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EnumValueOptions instance
+ */
+ public static create(properties?: google.protobuf.IEnumValueOptions): google.protobuf.EnumValueOptions;
+
+ /**
+ * Encodes the specified EnumValueOptions message. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages.
+ * @param message EnumValueOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EnumValueOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages.
+ * @param message EnumValueOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EnumValueOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EnumValueOptions
+ * @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.EnumValueOptions;
+
+ /**
+ * Decodes an EnumValueOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EnumValueOptions
+ * @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.EnumValueOptions;
+
+ /**
+ * Verifies an EnumValueOptions 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 EnumValueOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EnumValueOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueOptions;
+
+ /**
+ * Creates a plain object from an EnumValueOptions message. Also converts values to other types if specified.
+ * @param message EnumValueOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.EnumValueOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EnumValueOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EnumValueOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ServiceOptions. */
+ interface IServiceOptions {
+
+ /** ServiceOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** ServiceOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+
+ /** ServiceOptions .google.api.defaultHost */
+ ".google.api.defaultHost"?: (string|null);
+
+ /** ServiceOptions .google.api.oauthScopes */
+ ".google.api.oauthScopes"?: (string|null);
+ }
+
+ /** Represents a ServiceOptions. */
+ class ServiceOptions implements IServiceOptions {
+
+ /**
+ * Constructs a new ServiceOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IServiceOptions);
+
+ /** ServiceOptions deprecated. */
+ public deprecated: boolean;
+
+ /** ServiceOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new ServiceOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ServiceOptions instance
+ */
+ public static create(properties?: google.protobuf.IServiceOptions): google.protobuf.ServiceOptions;
+
+ /**
+ * Encodes the specified ServiceOptions message. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages.
+ * @param message ServiceOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ServiceOptions message, length delimited. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages.
+ * @param message ServiceOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ServiceOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ServiceOptions
+ * @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.ServiceOptions;
+
+ /**
+ * Decodes a ServiceOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ServiceOptions
+ * @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.ServiceOptions;
+
+ /**
+ * Verifies a ServiceOptions 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 ServiceOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ServiceOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceOptions;
+
+ /**
+ * Creates a plain object from a ServiceOptions message. Also converts values to other types if specified.
+ * @param message ServiceOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.ServiceOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ServiceOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ServiceOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a MethodOptions. */
+ interface IMethodOptions {
+
+ /** MethodOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** MethodOptions idempotencyLevel */
+ idempotencyLevel?: (google.protobuf.MethodOptions.IdempotencyLevel|keyof typeof google.protobuf.MethodOptions.IdempotencyLevel|null);
+
+ /** MethodOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+
+ /** MethodOptions .google.api.http */
+ ".google.api.http"?: (google.api.IHttpRule|null);
+
+ /** MethodOptions .google.api.methodSignature */
+ ".google.api.methodSignature"?: (string[]|null);
+ }
+
+ /** Represents a MethodOptions. */
+ class MethodOptions implements IMethodOptions {
+
+ /**
+ * Constructs a new MethodOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IMethodOptions);
+
+ /** MethodOptions deprecated. */
+ public deprecated: boolean;
+
+ /** MethodOptions idempotencyLevel. */
+ public idempotencyLevel: (google.protobuf.MethodOptions.IdempotencyLevel|keyof typeof google.protobuf.MethodOptions.IdempotencyLevel);
+
+ /** MethodOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new MethodOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns MethodOptions instance
+ */
+ public static create(properties?: google.protobuf.IMethodOptions): google.protobuf.MethodOptions;
+
+ /**
+ * Encodes the specified MethodOptions message. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages.
+ * @param message MethodOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified MethodOptions message, length delimited. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages.
+ * @param message MethodOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a MethodOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns MethodOptions
+ * @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.MethodOptions;
+
+ /**
+ * Decodes a MethodOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns MethodOptions
+ * @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.MethodOptions;
+
+ /**
+ * Verifies a MethodOptions 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 MethodOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns MethodOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.MethodOptions;
+
+ /**
+ * Creates a plain object from a MethodOptions message. Also converts values to other types if specified.
+ * @param message MethodOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.MethodOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this MethodOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for MethodOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace MethodOptions {
+
+ /** IdempotencyLevel enum. */
+ enum IdempotencyLevel {
+ IDEMPOTENCY_UNKNOWN = 0,
+ NO_SIDE_EFFECTS = 1,
+ IDEMPOTENT = 2
+ }
+ }
+
+ /** Properties of an UninterpretedOption. */
+ interface IUninterpretedOption {
+
+ /** UninterpretedOption name */
+ name?: (google.protobuf.UninterpretedOption.INamePart[]|null);
+
+ /** UninterpretedOption identifierValue */
+ identifierValue?: (string|null);
+
+ /** UninterpretedOption positiveIntValue */
+ positiveIntValue?: (number|Long|string|null);
+
+ /** UninterpretedOption negativeIntValue */
+ negativeIntValue?: (number|Long|string|null);
+
+ /** UninterpretedOption doubleValue */
+ doubleValue?: (number|null);
+
+ /** UninterpretedOption stringValue */
+ stringValue?: (Uint8Array|string|null);
+
+ /** UninterpretedOption aggregateValue */
+ aggregateValue?: (string|null);
+ }
+
+ /** Represents an UninterpretedOption. */
+ class UninterpretedOption implements IUninterpretedOption {
+
+ /**
+ * Constructs a new UninterpretedOption.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IUninterpretedOption);
+
+ /** UninterpretedOption name. */
+ public name: google.protobuf.UninterpretedOption.INamePart[];
+
+ /** UninterpretedOption identifierValue. */
+ public identifierValue: string;
+
+ /** UninterpretedOption positiveIntValue. */
+ public positiveIntValue: (number|Long|string);
+
+ /** UninterpretedOption negativeIntValue. */
+ public negativeIntValue: (number|Long|string);
+
+ /** UninterpretedOption doubleValue. */
+ public doubleValue: number;
+
+ /** UninterpretedOption stringValue. */
+ public stringValue: (Uint8Array|string);
+
+ /** UninterpretedOption aggregateValue. */
+ public aggregateValue: string;
+
+ /**
+ * Creates a new UninterpretedOption instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UninterpretedOption instance
+ */
+ public static create(properties?: google.protobuf.IUninterpretedOption): google.protobuf.UninterpretedOption;
+
+ /**
+ * Encodes the specified UninterpretedOption message. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages.
+ * @param message UninterpretedOption message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UninterpretedOption message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages.
+ * @param message UninterpretedOption message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UninterpretedOption message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UninterpretedOption
+ * @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.UninterpretedOption;
+
+ /**
+ * Decodes an UninterpretedOption message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UninterpretedOption
+ * @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.UninterpretedOption;
+
+ /**
+ * Verifies an UninterpretedOption 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 UninterpretedOption message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UninterpretedOption
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption;
+
+ /**
+ * Creates a plain object from an UninterpretedOption message. Also converts values to other types if specified.
+ * @param message UninterpretedOption
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.UninterpretedOption, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UninterpretedOption to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UninterpretedOption
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace UninterpretedOption {
+
+ /** Properties of a NamePart. */
+ interface INamePart {
+
+ /** NamePart namePart */
+ namePart: string;
+
+ /** NamePart isExtension */
+ isExtension: boolean;
+ }
+
+ /** Represents a NamePart. */
+ class NamePart implements INamePart {
+
+ /**
+ * Constructs a new NamePart.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.UninterpretedOption.INamePart);
+
+ /** NamePart namePart. */
+ public namePart: string;
+
+ /** NamePart isExtension. */
+ public isExtension: boolean;
+
+ /**
+ * Creates a new NamePart instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns NamePart instance
+ */
+ public static create(properties?: google.protobuf.UninterpretedOption.INamePart): google.protobuf.UninterpretedOption.NamePart;
+
+ /**
+ * Encodes the specified NamePart message. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages.
+ * @param message NamePart message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified NamePart message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages.
+ * @param message NamePart message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a NamePart message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns NamePart
+ * @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.UninterpretedOption.NamePart;
+
+ /**
+ * Decodes a NamePart message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns NamePart
+ * @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.UninterpretedOption.NamePart;
+
+ /**
+ * Verifies a NamePart 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 NamePart message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns NamePart
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption.NamePart;
+
+ /**
+ * Creates a plain object from a NamePart message. Also converts values to other types if specified.
+ * @param message NamePart
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.UninterpretedOption.NamePart, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this NamePart to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for NamePart
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a SourceCodeInfo. */
+ interface ISourceCodeInfo {
+
+ /** SourceCodeInfo location */
+ location?: (google.protobuf.SourceCodeInfo.ILocation[]|null);
+ }
+
+ /** Represents a SourceCodeInfo. */
+ class SourceCodeInfo implements ISourceCodeInfo {
+
+ /**
+ * Constructs a new SourceCodeInfo.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.ISourceCodeInfo);
+
+ /** SourceCodeInfo location. */
+ public location: google.protobuf.SourceCodeInfo.ILocation[];
+
+ /**
+ * Creates a new SourceCodeInfo instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SourceCodeInfo instance
+ */
+ public static create(properties?: google.protobuf.ISourceCodeInfo): google.protobuf.SourceCodeInfo;
+
+ /**
+ * Encodes the specified SourceCodeInfo message. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages.
+ * @param message SourceCodeInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SourceCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages.
+ * @param message SourceCodeInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SourceCodeInfo message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SourceCodeInfo
+ * @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.SourceCodeInfo;
+
+ /**
+ * Decodes a SourceCodeInfo message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SourceCodeInfo
+ * @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.SourceCodeInfo;
+
+ /**
+ * Verifies a SourceCodeInfo 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 SourceCodeInfo message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SourceCodeInfo
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo;
+
+ /**
+ * Creates a plain object from a SourceCodeInfo message. Also converts values to other types if specified.
+ * @param message SourceCodeInfo
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.SourceCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SourceCodeInfo to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SourceCodeInfo
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace SourceCodeInfo {
+
+ /** Properties of a Location. */
+ interface ILocation {
+
+ /** Location path */
+ path?: (number[]|null);
+
+ /** Location span */
+ span?: (number[]|null);
+
+ /** Location leadingComments */
+ leadingComments?: (string|null);
+
+ /** Location trailingComments */
+ trailingComments?: (string|null);
+
+ /** Location leadingDetachedComments */
+ leadingDetachedComments?: (string[]|null);
+ }
+
+ /** Represents a Location. */
+ class Location implements ILocation {
+
+ /**
+ * Constructs a new Location.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.SourceCodeInfo.ILocation);
+
+ /** Location path. */
+ public path: number[];
+
+ /** Location span. */
+ public span: number[];
+
+ /** Location leadingComments. */
+ public leadingComments: string;
+
+ /** Location trailingComments. */
+ public trailingComments: string;
+
+ /** Location leadingDetachedComments. */
+ public leadingDetachedComments: string[];
+
+ /**
+ * Creates a new Location instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Location instance
+ */
+ public static create(properties?: google.protobuf.SourceCodeInfo.ILocation): google.protobuf.SourceCodeInfo.Location;
+
+ /**
+ * Encodes the specified Location message. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages.
+ * @param message Location message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Location message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages.
+ * @param message Location message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Location message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Location
+ * @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.SourceCodeInfo.Location;
+
+ /**
+ * Decodes a Location message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Location
+ * @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.SourceCodeInfo.Location;
+
+ /**
+ * Verifies a Location 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 Location message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Location
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo.Location;
+
+ /**
+ * Creates a plain object from a Location message. Also converts values to other types if specified.
+ * @param message Location
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.SourceCodeInfo.Location, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Location to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Location
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a GeneratedCodeInfo. */
+ interface IGeneratedCodeInfo {
+
+ /** GeneratedCodeInfo annotation */
+ annotation?: (google.protobuf.GeneratedCodeInfo.IAnnotation[]|null);
+ }
+
+ /** Represents a GeneratedCodeInfo. */
+ class GeneratedCodeInfo implements IGeneratedCodeInfo {
+
+ /**
+ * Constructs a new GeneratedCodeInfo.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IGeneratedCodeInfo);
+
+ /** GeneratedCodeInfo annotation. */
+ public annotation: google.protobuf.GeneratedCodeInfo.IAnnotation[];
+
+ /**
+ * Creates a new GeneratedCodeInfo instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GeneratedCodeInfo instance
+ */
+ public static create(properties?: google.protobuf.IGeneratedCodeInfo): google.protobuf.GeneratedCodeInfo;
+
+ /**
+ * Encodes the specified GeneratedCodeInfo message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages.
+ * @param message GeneratedCodeInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GeneratedCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages.
+ * @param message GeneratedCodeInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GeneratedCodeInfo message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GeneratedCodeInfo
+ * @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.GeneratedCodeInfo;
+
+ /**
+ * Decodes a GeneratedCodeInfo message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GeneratedCodeInfo
+ * @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.GeneratedCodeInfo;
+
+ /**
+ * Verifies a GeneratedCodeInfo 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 GeneratedCodeInfo message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GeneratedCodeInfo
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo;
+
+ /**
+ * Creates a plain object from a GeneratedCodeInfo message. Also converts values to other types if specified.
+ * @param message GeneratedCodeInfo
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.GeneratedCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GeneratedCodeInfo to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GeneratedCodeInfo
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace GeneratedCodeInfo {
+
+ /** Properties of an Annotation. */
+ interface IAnnotation {
+
+ /** Annotation path */
+ path?: (number[]|null);
+
+ /** Annotation sourceFile */
+ sourceFile?: (string|null);
+
+ /** Annotation begin */
+ begin?: (number|null);
+
+ /** Annotation end */
+ end?: (number|null);
+
+ /** Annotation semantic */
+ semantic?: (google.protobuf.GeneratedCodeInfo.Annotation.Semantic|keyof typeof google.protobuf.GeneratedCodeInfo.Annotation.Semantic|null);
+ }
+
+ /** Represents an Annotation. */
+ class Annotation implements IAnnotation {
+
+ /**
+ * Constructs a new Annotation.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation);
+
+ /** Annotation path. */
+ public path: number[];
+
+ /** Annotation sourceFile. */
+ public sourceFile: string;
+
+ /** Annotation begin. */
+ public begin: number;
+
+ /** Annotation end. */
+ public end: number;
+
+ /** Annotation semantic. */
+ public semantic: (google.protobuf.GeneratedCodeInfo.Annotation.Semantic|keyof typeof google.protobuf.GeneratedCodeInfo.Annotation.Semantic);
+
+ /**
+ * Creates a new Annotation instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Annotation instance
+ */
+ public static create(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation): google.protobuf.GeneratedCodeInfo.Annotation;
+
+ /**
+ * Encodes the specified Annotation message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages.
+ * @param message Annotation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Annotation message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages.
+ * @param message Annotation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an Annotation message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Annotation
+ * @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.GeneratedCodeInfo.Annotation;
+
+ /**
+ * Decodes an Annotation message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Annotation
+ * @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.GeneratedCodeInfo.Annotation;
+
+ /**
+ * Verifies an Annotation 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 Annotation message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Annotation
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo.Annotation;
+
+ /**
+ * Creates a plain object from an Annotation message. Also converts values to other types if specified.
+ * @param message Annotation
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.GeneratedCodeInfo.Annotation, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Annotation to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Annotation
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace Annotation {
+
+ /** Semantic enum. */
+ enum Semantic {
+ NONE = 0,
+ SET = 1,
+ ALIAS = 2
+ }
+ }
+ }
+
+ /** Properties of a Duration. */
+ interface IDuration {
+
+ /** Duration seconds */
+ seconds?: (number|Long|string|null);
+
+ /** Duration nanos */
+ nanos?: (number|null);
+ }
+
+ /** Represents a Duration. */
+ class Duration implements IDuration {
+
+ /**
+ * Constructs a new Duration.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IDuration);
+
+ /** Duration seconds. */
+ public seconds: (number|Long|string);
+
+ /** Duration nanos. */
+ public nanos: number;
+
+ /**
+ * Creates a new Duration instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Duration instance
+ */
+ public static create(properties?: google.protobuf.IDuration): google.protobuf.Duration;
+
+ /**
+ * Encodes the specified Duration message. Does not implicitly {@link google.protobuf.Duration.verify|verify} messages.
+ * @param message Duration message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IDuration, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Duration message, length delimited. Does not implicitly {@link google.protobuf.Duration.verify|verify} messages.
+ * @param message Duration message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IDuration, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Duration message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Duration
+ * @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.Duration;
+
+ /**
+ * Decodes a Duration message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Duration
+ * @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.Duration;
+
+ /**
+ * Verifies a Duration 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 Duration message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Duration
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.Duration;
+
+ /**
+ * Creates a plain object from a Duration message. Also converts values to other types if specified.
+ * @param message Duration
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.Duration, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Duration to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Duration
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Timestamp. */
+ interface ITimestamp {
+
+ /** Timestamp seconds */
+ seconds?: (number|Long|string|null);
+
+ /** Timestamp nanos */
+ nanos?: (number|null);
+ }
+
+ /** Represents a Timestamp. */
+ class Timestamp implements ITimestamp {
+
+ /**
+ * Constructs a new Timestamp.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.ITimestamp);
+
+ /** Timestamp seconds. */
+ public seconds: (number|Long|string);
+
+ /** Timestamp nanos. */
+ public nanos: number;
+
+ /**
+ * Creates a new Timestamp instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Timestamp instance
+ */
+ public static create(properties?: google.protobuf.ITimestamp): google.protobuf.Timestamp;
+
+ /**
+ * Encodes the specified Timestamp message. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages.
+ * @param message Timestamp message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Timestamp message, length delimited. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages.
+ * @param message Timestamp message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Timestamp message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Timestamp
+ * @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.Timestamp;
+
+ /**
+ * Decodes a Timestamp message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Timestamp
+ * @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.Timestamp;
+
+ /**
+ * Verifies a Timestamp 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 Timestamp message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Timestamp
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.Timestamp;
+
+ /**
+ * Creates a plain object from a Timestamp message. Also converts values to other types if specified.
+ * @param message Timestamp
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.Timestamp, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Timestamp to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Timestamp
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an Any. */
+ interface IAny {
+
+ /** Any type_url */
+ type_url?: (string|null);
+
+ /** Any value */
+ value?: (Uint8Array|string|null);
+ }
+
+ /** Represents an Any. */
+ class Any implements IAny {
+
+ /**
+ * Constructs a new Any.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IAny);
+
+ /** Any type_url. */
+ public type_url: string;
+
+ /** Any value. */
+ public value: (Uint8Array|string);
+
+ /**
+ * Creates a new Any instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Any instance
+ */
+ public static create(properties?: google.protobuf.IAny): google.protobuf.Any;
+
+ /**
+ * Encodes the specified Any message. Does not implicitly {@link google.protobuf.Any.verify|verify} messages.
+ * @param message Any message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IAny, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Any message, length delimited. Does not implicitly {@link google.protobuf.Any.verify|verify} messages.
+ * @param message Any message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IAny, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an Any message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Any
+ * @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.Any;
+
+ /**
+ * Decodes an Any message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Any
+ * @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.Any;
+
+ /**
+ * Verifies an Any 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 Any message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Any
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.Any;
+
+ /**
+ * Creates a plain object from an Any message. Also converts values to other types if specified.
+ * @param message Any
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.Any, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Any to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Any
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FieldMask. */
+ interface IFieldMask {
+
+ /** FieldMask paths */
+ paths?: (string[]|null);
+ }
+
+ /** Represents a FieldMask. */
+ class FieldMask implements IFieldMask {
+
+ /**
+ * Constructs a new FieldMask.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFieldMask);
+
+ /** FieldMask paths. */
+ public paths: string[];
+
+ /**
+ * Creates a new FieldMask instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FieldMask instance
+ */
+ public static create(properties?: google.protobuf.IFieldMask): google.protobuf.FieldMask;
+
+ /**
+ * Encodes the specified FieldMask message. Does not implicitly {@link google.protobuf.FieldMask.verify|verify} messages.
+ * @param message FieldMask message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFieldMask, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FieldMask message, length delimited. Does not implicitly {@link google.protobuf.FieldMask.verify|verify} messages.
+ * @param message FieldMask message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFieldMask, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FieldMask message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FieldMask
+ * @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.FieldMask;
+
+ /**
+ * Decodes a FieldMask message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FieldMask
+ * @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.FieldMask;
+
+ /**
+ * Verifies a FieldMask 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 FieldMask message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FieldMask
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FieldMask;
+
+ /**
+ * Creates a plain object from a FieldMask message. Also converts values to other types if specified.
+ * @param message FieldMask
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FieldMask, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FieldMask to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FieldMask
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an Empty. */
+ interface IEmpty {
+ }
+
+ /** Represents an Empty. */
+ class Empty implements IEmpty {
+
+ /**
+ * Constructs a new Empty.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IEmpty);
+
+ /**
+ * Creates a new Empty instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Empty instance
+ */
+ public static create(properties?: google.protobuf.IEmpty): google.protobuf.Empty;
+
+ /**
+ * Encodes the specified Empty message. Does not implicitly {@link google.protobuf.Empty.verify|verify} messages.
+ * @param message Empty message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IEmpty, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Empty message, length delimited. Does not implicitly {@link google.protobuf.Empty.verify|verify} messages.
+ * @param message Empty message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IEmpty, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an Empty message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Empty
+ * @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.Empty;
+
+ /**
+ * Decodes an Empty message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Empty
+ * @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.Empty;
+
+ /**
+ * Verifies an Empty 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 Empty message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Empty
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.Empty;
+
+ /**
+ * Creates a plain object from an Empty message. Also converts values to other types if specified.
+ * @param message Empty
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.Empty, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Empty to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Empty
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Namespace rpc. */
+ namespace rpc {
+
+ /** Properties of a Status. */
+ interface IStatus {
+
+ /** Status code */
+ code?: (number|null);
+
+ /** Status message */
+ message?: (string|null);
+
+ /** Status details */
+ details?: (google.protobuf.IAny[]|null);
+ }
+
+ /** Represents a Status. */
+ class Status implements IStatus {
+
+ /**
+ * Constructs a new Status.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.rpc.IStatus);
+
+ /** Status code. */
+ public code: number;
+
+ /** Status message. */
+ public message: string;
+
+ /** Status details. */
+ public details: google.protobuf.IAny[];
+
+ /**
+ * Creates a new Status instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Status instance
+ */
+ public static create(properties?: google.rpc.IStatus): google.rpc.Status;
+
+ /**
+ * Encodes the specified Status message. Does not implicitly {@link google.rpc.Status.verify|verify} messages.
+ * @param message Status message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.rpc.IStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Status message, length delimited. Does not implicitly {@link google.rpc.Status.verify|verify} messages.
+ * @param message Status message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.rpc.IStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Status message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Status
+ * @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.rpc.Status;
+
+ /**
+ * Decodes a Status message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Status
+ * @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.rpc.Status;
+
+ /**
+ * Verifies a Status 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 Status message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Status
+ */
+ public static fromObject(object: { [k: string]: any }): google.rpc.Status;
+
+ /**
+ * Creates a plain object from a Status message. Also converts values to other types if specified.
+ * @param message Status
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.rpc.Status, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Status to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Status
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Namespace iam. */
+ namespace iam {
+
+ /** Namespace v1. */
+ namespace v1 {
+
+ /** Represents a IAMPolicy */
+ class IAMPolicy extends $protobuf.rpc.Service {
+
+ /**
+ * Constructs a new IAMPolicy service.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ */
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
+
+ /**
+ * Creates new IAMPolicy service using the specified rpc implementation.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ * @returns RPC service. Useful where requests and/or responses are streamed.
+ */
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): IAMPolicy;
+
+ /**
+ * Calls SetIamPolicy.
+ * @param request SetIamPolicyRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Policy
+ */
+ public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest, callback: google.iam.v1.IAMPolicy.SetIamPolicyCallback): void;
+
+ /**
+ * Calls SetIamPolicy.
+ * @param request SetIamPolicyRequest message or plain object
+ * @returns Promise
+ */
+ public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest): Promise;
+
+ /**
+ * Calls GetIamPolicy.
+ * @param request GetIamPolicyRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Policy
+ */
+ public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest, callback: google.iam.v1.IAMPolicy.GetIamPolicyCallback): void;
+
+ /**
+ * Calls GetIamPolicy.
+ * @param request GetIamPolicyRequest message or plain object
+ * @returns Promise
+ */
+ public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest): Promise;
+
+ /**
+ * Calls TestIamPermissions.
+ * @param request TestIamPermissionsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and TestIamPermissionsResponse
+ */
+ public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest, callback: google.iam.v1.IAMPolicy.TestIamPermissionsCallback): void;
+
+ /**
+ * Calls TestIamPermissions.
+ * @param request TestIamPermissionsRequest message or plain object
+ * @returns Promise
+ */
+ public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest): Promise;
+ }
+
+ namespace IAMPolicy {
+
+ /**
+ * Callback as used by {@link google.iam.v1.IAMPolicy|setIamPolicy}.
+ * @param error Error, if any
+ * @param [response] Policy
+ */
+ type SetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void;
+
+ /**
+ * Callback as used by {@link google.iam.v1.IAMPolicy|getIamPolicy}.
+ * @param error Error, if any
+ * @param [response] Policy
+ */
+ type GetIamPolicyCallback = (error: (Error|null), response?: google.iam.v1.Policy) => void;
+
+ /**
+ * Callback as used by {@link google.iam.v1.IAMPolicy|testIamPermissions}.
+ * @param error Error, if any
+ * @param [response] TestIamPermissionsResponse
+ */
+ type TestIamPermissionsCallback = (error: (Error|null), response?: google.iam.v1.TestIamPermissionsResponse) => void;
+ }
+
+ /** Properties of a SetIamPolicyRequest. */
+ interface ISetIamPolicyRequest {
+
+ /** SetIamPolicyRequest resource */
+ resource?: (string|null);
+
+ /** SetIamPolicyRequest policy */
+ policy?: (google.iam.v1.IPolicy|null);
+
+ /** SetIamPolicyRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents a SetIamPolicyRequest. */
+ class SetIamPolicyRequest implements ISetIamPolicyRequest {
+
+ /**
+ * Constructs a new SetIamPolicyRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.ISetIamPolicyRequest);
+
+ /** SetIamPolicyRequest resource. */
+ public resource: string;
+
+ /** SetIamPolicyRequest policy. */
+ public policy?: (google.iam.v1.IPolicy|null);
+
+ /** SetIamPolicyRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new SetIamPolicyRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SetIamPolicyRequest instance
+ */
+ public static create(properties?: google.iam.v1.ISetIamPolicyRequest): google.iam.v1.SetIamPolicyRequest;
+
+ /**
+ * Encodes the specified SetIamPolicyRequest message. Does not implicitly {@link google.iam.v1.SetIamPolicyRequest.verify|verify} messages.
+ * @param message SetIamPolicyRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.ISetIamPolicyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SetIamPolicyRequest message, length delimited. Does not implicitly {@link google.iam.v1.SetIamPolicyRequest.verify|verify} messages.
+ * @param message SetIamPolicyRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.ISetIamPolicyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SetIamPolicyRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SetIamPolicyRequest
+ * @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.iam.v1.SetIamPolicyRequest;
+
+ /**
+ * Decodes a SetIamPolicyRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SetIamPolicyRequest
+ * @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.iam.v1.SetIamPolicyRequest;
+
+ /**
+ * Verifies a SetIamPolicyRequest 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 SetIamPolicyRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SetIamPolicyRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.SetIamPolicyRequest;
+
+ /**
+ * Creates a plain object from a SetIamPolicyRequest message. Also converts values to other types if specified.
+ * @param message SetIamPolicyRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.SetIamPolicyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SetIamPolicyRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SetIamPolicyRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetIamPolicyRequest. */
+ interface IGetIamPolicyRequest {
+
+ /** GetIamPolicyRequest resource */
+ resource?: (string|null);
+
+ /** GetIamPolicyRequest options */
+ options?: (google.iam.v1.IGetPolicyOptions|null);
+ }
+
+ /** Represents a GetIamPolicyRequest. */
+ class GetIamPolicyRequest implements IGetIamPolicyRequest {
+
+ /**
+ * Constructs a new GetIamPolicyRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.IGetIamPolicyRequest);
+
+ /** GetIamPolicyRequest resource. */
+ public resource: string;
+
+ /** GetIamPolicyRequest options. */
+ public options?: (google.iam.v1.IGetPolicyOptions|null);
+
+ /**
+ * Creates a new GetIamPolicyRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetIamPolicyRequest instance
+ */
+ public static create(properties?: google.iam.v1.IGetIamPolicyRequest): google.iam.v1.GetIamPolicyRequest;
+
+ /**
+ * Encodes the specified GetIamPolicyRequest message. Does not implicitly {@link google.iam.v1.GetIamPolicyRequest.verify|verify} messages.
+ * @param message GetIamPolicyRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.IGetIamPolicyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetIamPolicyRequest message, length delimited. Does not implicitly {@link google.iam.v1.GetIamPolicyRequest.verify|verify} messages.
+ * @param message GetIamPolicyRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.IGetIamPolicyRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetIamPolicyRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetIamPolicyRequest
+ * @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.iam.v1.GetIamPolicyRequest;
+
+ /**
+ * Decodes a GetIamPolicyRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetIamPolicyRequest
+ * @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.iam.v1.GetIamPolicyRequest;
+
+ /**
+ * Verifies a GetIamPolicyRequest 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 GetIamPolicyRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetIamPolicyRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.GetIamPolicyRequest;
+
+ /**
+ * Creates a plain object from a GetIamPolicyRequest message. Also converts values to other types if specified.
+ * @param message GetIamPolicyRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.GetIamPolicyRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetIamPolicyRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetIamPolicyRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a TestIamPermissionsRequest. */
+ interface ITestIamPermissionsRequest {
+
+ /** TestIamPermissionsRequest resource */
+ resource?: (string|null);
+
+ /** TestIamPermissionsRequest permissions */
+ permissions?: (string[]|null);
+ }
+
+ /** Represents a TestIamPermissionsRequest. */
+ class TestIamPermissionsRequest implements ITestIamPermissionsRequest {
+
+ /**
+ * Constructs a new TestIamPermissionsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.ITestIamPermissionsRequest);
+
+ /** TestIamPermissionsRequest resource. */
+ public resource: string;
+
+ /** TestIamPermissionsRequest permissions. */
+ public permissions: string[];
+
+ /**
+ * Creates a new TestIamPermissionsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TestIamPermissionsRequest instance
+ */
+ public static create(properties?: google.iam.v1.ITestIamPermissionsRequest): google.iam.v1.TestIamPermissionsRequest;
+
+ /**
+ * Encodes the specified TestIamPermissionsRequest message. Does not implicitly {@link google.iam.v1.TestIamPermissionsRequest.verify|verify} messages.
+ * @param message TestIamPermissionsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.ITestIamPermissionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TestIamPermissionsRequest message, length delimited. Does not implicitly {@link google.iam.v1.TestIamPermissionsRequest.verify|verify} messages.
+ * @param message TestIamPermissionsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.ITestIamPermissionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TestIamPermissionsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TestIamPermissionsRequest
+ * @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.iam.v1.TestIamPermissionsRequest;
+
+ /**
+ * Decodes a TestIamPermissionsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TestIamPermissionsRequest
+ * @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.iam.v1.TestIamPermissionsRequest;
+
+ /**
+ * Verifies a TestIamPermissionsRequest 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 TestIamPermissionsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TestIamPermissionsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.TestIamPermissionsRequest;
+
+ /**
+ * Creates a plain object from a TestIamPermissionsRequest message. Also converts values to other types if specified.
+ * @param message TestIamPermissionsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.TestIamPermissionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TestIamPermissionsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TestIamPermissionsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a TestIamPermissionsResponse. */
+ interface ITestIamPermissionsResponse {
+
+ /** TestIamPermissionsResponse permissions */
+ permissions?: (string[]|null);
+ }
+
+ /** Represents a TestIamPermissionsResponse. */
+ class TestIamPermissionsResponse implements ITestIamPermissionsResponse {
+
+ /**
+ * Constructs a new TestIamPermissionsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.ITestIamPermissionsResponse);
+
+ /** TestIamPermissionsResponse permissions. */
+ public permissions: string[];
+
+ /**
+ * Creates a new TestIamPermissionsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TestIamPermissionsResponse instance
+ */
+ public static create(properties?: google.iam.v1.ITestIamPermissionsResponse): google.iam.v1.TestIamPermissionsResponse;
+
+ /**
+ * Encodes the specified TestIamPermissionsResponse message. Does not implicitly {@link google.iam.v1.TestIamPermissionsResponse.verify|verify} messages.
+ * @param message TestIamPermissionsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.ITestIamPermissionsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TestIamPermissionsResponse message, length delimited. Does not implicitly {@link google.iam.v1.TestIamPermissionsResponse.verify|verify} messages.
+ * @param message TestIamPermissionsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.ITestIamPermissionsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TestIamPermissionsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TestIamPermissionsResponse
+ * @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.iam.v1.TestIamPermissionsResponse;
+
+ /**
+ * Decodes a TestIamPermissionsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TestIamPermissionsResponse
+ * @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.iam.v1.TestIamPermissionsResponse;
+
+ /**
+ * Verifies a TestIamPermissionsResponse 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 TestIamPermissionsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TestIamPermissionsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.TestIamPermissionsResponse;
+
+ /**
+ * Creates a plain object from a TestIamPermissionsResponse message. Also converts values to other types if specified.
+ * @param message TestIamPermissionsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.TestIamPermissionsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TestIamPermissionsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TestIamPermissionsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetPolicyOptions. */
+ interface IGetPolicyOptions {
+
+ /** GetPolicyOptions requestedPolicyVersion */
+ requestedPolicyVersion?: (number|null);
+ }
+
+ /** Represents a GetPolicyOptions. */
+ class GetPolicyOptions implements IGetPolicyOptions {
+
+ /**
+ * Constructs a new GetPolicyOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.IGetPolicyOptions);
+
+ /** GetPolicyOptions requestedPolicyVersion. */
+ public requestedPolicyVersion: number;
+
+ /**
+ * Creates a new GetPolicyOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetPolicyOptions instance
+ */
+ public static create(properties?: google.iam.v1.IGetPolicyOptions): google.iam.v1.GetPolicyOptions;
+
+ /**
+ * Encodes the specified GetPolicyOptions message. Does not implicitly {@link google.iam.v1.GetPolicyOptions.verify|verify} messages.
+ * @param message GetPolicyOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.IGetPolicyOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetPolicyOptions message, length delimited. Does not implicitly {@link google.iam.v1.GetPolicyOptions.verify|verify} messages.
+ * @param message GetPolicyOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.IGetPolicyOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetPolicyOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetPolicyOptions
+ * @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.iam.v1.GetPolicyOptions;
+
+ /**
+ * Decodes a GetPolicyOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetPolicyOptions
+ * @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.iam.v1.GetPolicyOptions;
+
+ /**
+ * Verifies a GetPolicyOptions 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 GetPolicyOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetPolicyOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.GetPolicyOptions;
+
+ /**
+ * Creates a plain object from a GetPolicyOptions message. Also converts values to other types if specified.
+ * @param message GetPolicyOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.GetPolicyOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetPolicyOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetPolicyOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Policy. */
+ interface IPolicy {
+
+ /** Policy version */
+ version?: (number|null);
+
+ /** Policy bindings */
+ bindings?: (google.iam.v1.IBinding[]|null);
+
+ /** Policy auditConfigs */
+ auditConfigs?: (google.iam.v1.IAuditConfig[]|null);
+
+ /** Policy etag */
+ etag?: (Uint8Array|string|null);
+ }
+
+ /** Represents a Policy. */
+ class Policy implements IPolicy {
+
+ /**
+ * Constructs a new Policy.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.IPolicy);
+
+ /** Policy version. */
+ public version: number;
+
+ /** Policy bindings. */
+ public bindings: google.iam.v1.IBinding[];
+
+ /** Policy auditConfigs. */
+ public auditConfigs: google.iam.v1.IAuditConfig[];
+
+ /** Policy etag. */
+ public etag: (Uint8Array|string);
+
+ /**
+ * Creates a new Policy instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Policy instance
+ */
+ public static create(properties?: google.iam.v1.IPolicy): google.iam.v1.Policy;
+
+ /**
+ * Encodes the specified Policy message. Does not implicitly {@link google.iam.v1.Policy.verify|verify} messages.
+ * @param message Policy message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.IPolicy, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Policy message, length delimited. Does not implicitly {@link google.iam.v1.Policy.verify|verify} messages.
+ * @param message Policy message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.IPolicy, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Policy message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Policy
+ * @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.iam.v1.Policy;
+
+ /**
+ * Decodes a Policy message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Policy
+ * @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.iam.v1.Policy;
+
+ /**
+ * Verifies a Policy 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 Policy message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Policy
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.Policy;
+
+ /**
+ * Creates a plain object from a Policy message. Also converts values to other types if specified.
+ * @param message Policy
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.Policy, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Policy to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Policy
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Binding. */
+ interface IBinding {
+
+ /** Binding role */
+ role?: (string|null);
+
+ /** Binding members */
+ members?: (string[]|null);
+
+ /** Binding condition */
+ condition?: (google.type.IExpr|null);
+ }
+
+ /** Represents a Binding. */
+ class Binding implements IBinding {
+
+ /**
+ * Constructs a new Binding.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.IBinding);
+
+ /** Binding role. */
+ public role: string;
+
+ /** Binding members. */
+ public members: string[];
+
+ /** Binding condition. */
+ public condition?: (google.type.IExpr|null);
+
+ /**
+ * Creates a new Binding instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Binding instance
+ */
+ public static create(properties?: google.iam.v1.IBinding): google.iam.v1.Binding;
+
+ /**
+ * Encodes the specified Binding message. Does not implicitly {@link google.iam.v1.Binding.verify|verify} messages.
+ * @param message Binding message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.IBinding, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Binding message, length delimited. Does not implicitly {@link google.iam.v1.Binding.verify|verify} messages.
+ * @param message Binding message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.IBinding, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Binding message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Binding
+ * @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.iam.v1.Binding;
+
+ /**
+ * Decodes a Binding message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Binding
+ * @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.iam.v1.Binding;
+
+ /**
+ * Verifies a Binding 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 Binding message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Binding
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.Binding;
+
+ /**
+ * Creates a plain object from a Binding message. Also converts values to other types if specified.
+ * @param message Binding
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.Binding, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Binding to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Binding
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an AuditConfig. */
+ interface IAuditConfig {
+
+ /** AuditConfig service */
+ service?: (string|null);
+
+ /** AuditConfig auditLogConfigs */
+ auditLogConfigs?: (google.iam.v1.IAuditLogConfig[]|null);
+ }
+
+ /** Represents an AuditConfig. */
+ class AuditConfig implements IAuditConfig {
+
+ /**
+ * Constructs a new AuditConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.IAuditConfig);
+
+ /** AuditConfig service. */
+ public service: string;
+
+ /** AuditConfig auditLogConfigs. */
+ public auditLogConfigs: google.iam.v1.IAuditLogConfig[];
+
+ /**
+ * Creates a new AuditConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AuditConfig instance
+ */
+ public static create(properties?: google.iam.v1.IAuditConfig): google.iam.v1.AuditConfig;
+
+ /**
+ * Encodes the specified AuditConfig message. Does not implicitly {@link google.iam.v1.AuditConfig.verify|verify} messages.
+ * @param message AuditConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.IAuditConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AuditConfig message, length delimited. Does not implicitly {@link google.iam.v1.AuditConfig.verify|verify} messages.
+ * @param message AuditConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.IAuditConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AuditConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AuditConfig
+ * @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.iam.v1.AuditConfig;
+
+ /**
+ * Decodes an AuditConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AuditConfig
+ * @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.iam.v1.AuditConfig;
+
+ /**
+ * Verifies an AuditConfig 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 AuditConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AuditConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.AuditConfig;
+
+ /**
+ * Creates a plain object from an AuditConfig message. Also converts values to other types if specified.
+ * @param message AuditConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.AuditConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AuditConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AuditConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an AuditLogConfig. */
+ interface IAuditLogConfig {
+
+ /** AuditLogConfig logType */
+ logType?: (google.iam.v1.AuditLogConfig.LogType|keyof typeof google.iam.v1.AuditLogConfig.LogType|null);
+
+ /** AuditLogConfig exemptedMembers */
+ exemptedMembers?: (string[]|null);
+ }
+
+ /** Represents an AuditLogConfig. */
+ class AuditLogConfig implements IAuditLogConfig {
+
+ /**
+ * Constructs a new AuditLogConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.IAuditLogConfig);
+
+ /** AuditLogConfig logType. */
+ public logType: (google.iam.v1.AuditLogConfig.LogType|keyof typeof google.iam.v1.AuditLogConfig.LogType);
+
+ /** AuditLogConfig exemptedMembers. */
+ public exemptedMembers: string[];
+
+ /**
+ * Creates a new AuditLogConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AuditLogConfig instance
+ */
+ public static create(properties?: google.iam.v1.IAuditLogConfig): google.iam.v1.AuditLogConfig;
+
+ /**
+ * Encodes the specified AuditLogConfig message. Does not implicitly {@link google.iam.v1.AuditLogConfig.verify|verify} messages.
+ * @param message AuditLogConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.IAuditLogConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AuditLogConfig message, length delimited. Does not implicitly {@link google.iam.v1.AuditLogConfig.verify|verify} messages.
+ * @param message AuditLogConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.IAuditLogConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AuditLogConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AuditLogConfig
+ * @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.iam.v1.AuditLogConfig;
+
+ /**
+ * Decodes an AuditLogConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AuditLogConfig
+ * @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.iam.v1.AuditLogConfig;
+
+ /**
+ * Verifies an AuditLogConfig 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 AuditLogConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AuditLogConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.AuditLogConfig;
+
+ /**
+ * Creates a plain object from an AuditLogConfig message. Also converts values to other types if specified.
+ * @param message AuditLogConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.AuditLogConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AuditLogConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AuditLogConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace AuditLogConfig {
+
+ /** LogType enum. */
+ enum LogType {
+ LOG_TYPE_UNSPECIFIED = 0,
+ ADMIN_READ = 1,
+ DATA_WRITE = 2,
+ DATA_READ = 3
+ }
+ }
+
+ /** Properties of a PolicyDelta. */
+ interface IPolicyDelta {
+
+ /** PolicyDelta bindingDeltas */
+ bindingDeltas?: (google.iam.v1.IBindingDelta[]|null);
+
+ /** PolicyDelta auditConfigDeltas */
+ auditConfigDeltas?: (google.iam.v1.IAuditConfigDelta[]|null);
+ }
+
+ /** Represents a PolicyDelta. */
+ class PolicyDelta implements IPolicyDelta {
+
+ /**
+ * Constructs a new PolicyDelta.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.IPolicyDelta);
+
+ /** PolicyDelta bindingDeltas. */
+ public bindingDeltas: google.iam.v1.IBindingDelta[];
+
+ /** PolicyDelta auditConfigDeltas. */
+ public auditConfigDeltas: google.iam.v1.IAuditConfigDelta[];
+
+ /**
+ * Creates a new PolicyDelta instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PolicyDelta instance
+ */
+ public static create(properties?: google.iam.v1.IPolicyDelta): google.iam.v1.PolicyDelta;
+
+ /**
+ * Encodes the specified PolicyDelta message. Does not implicitly {@link google.iam.v1.PolicyDelta.verify|verify} messages.
+ * @param message PolicyDelta message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.IPolicyDelta, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PolicyDelta message, length delimited. Does not implicitly {@link google.iam.v1.PolicyDelta.verify|verify} messages.
+ * @param message PolicyDelta message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.IPolicyDelta, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PolicyDelta message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PolicyDelta
+ * @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.iam.v1.PolicyDelta;
+
+ /**
+ * Decodes a PolicyDelta message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PolicyDelta
+ * @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.iam.v1.PolicyDelta;
+
+ /**
+ * Verifies a PolicyDelta 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 PolicyDelta message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PolicyDelta
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.PolicyDelta;
+
+ /**
+ * Creates a plain object from a PolicyDelta message. Also converts values to other types if specified.
+ * @param message PolicyDelta
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.PolicyDelta, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PolicyDelta to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PolicyDelta
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a BindingDelta. */
+ interface IBindingDelta {
+
+ /** BindingDelta action */
+ action?: (google.iam.v1.BindingDelta.Action|keyof typeof google.iam.v1.BindingDelta.Action|null);
+
+ /** BindingDelta role */
+ role?: (string|null);
+
+ /** BindingDelta member */
+ member?: (string|null);
+
+ /** BindingDelta condition */
+ condition?: (google.type.IExpr|null);
+ }
+
+ /** Represents a BindingDelta. */
+ class BindingDelta implements IBindingDelta {
+
+ /**
+ * Constructs a new BindingDelta.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.IBindingDelta);
+
+ /** BindingDelta action. */
+ public action: (google.iam.v1.BindingDelta.Action|keyof typeof google.iam.v1.BindingDelta.Action);
+
+ /** BindingDelta role. */
+ public role: string;
+
+ /** BindingDelta member. */
+ public member: string;
+
+ /** BindingDelta condition. */
+ public condition?: (google.type.IExpr|null);
+
+ /**
+ * Creates a new BindingDelta instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns BindingDelta instance
+ */
+ public static create(properties?: google.iam.v1.IBindingDelta): google.iam.v1.BindingDelta;
+
+ /**
+ * Encodes the specified BindingDelta message. Does not implicitly {@link google.iam.v1.BindingDelta.verify|verify} messages.
+ * @param message BindingDelta message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.IBindingDelta, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified BindingDelta message, length delimited. Does not implicitly {@link google.iam.v1.BindingDelta.verify|verify} messages.
+ * @param message BindingDelta message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.IBindingDelta, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a BindingDelta message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns BindingDelta
+ * @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.iam.v1.BindingDelta;
+
+ /**
+ * Decodes a BindingDelta message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns BindingDelta
+ * @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.iam.v1.BindingDelta;
+
+ /**
+ * Verifies a BindingDelta 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 BindingDelta message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns BindingDelta
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.BindingDelta;
+
+ /**
+ * Creates a plain object from a BindingDelta message. Also converts values to other types if specified.
+ * @param message BindingDelta
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.BindingDelta, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this BindingDelta to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for BindingDelta
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace BindingDelta {
+
+ /** Action enum. */
+ enum Action {
+ ACTION_UNSPECIFIED = 0,
+ ADD = 1,
+ REMOVE = 2
+ }
+ }
+
+ /** Properties of an AuditConfigDelta. */
+ interface IAuditConfigDelta {
+
+ /** AuditConfigDelta action */
+ action?: (google.iam.v1.AuditConfigDelta.Action|keyof typeof google.iam.v1.AuditConfigDelta.Action|null);
+
+ /** AuditConfigDelta service */
+ service?: (string|null);
+
+ /** AuditConfigDelta exemptedMember */
+ exemptedMember?: (string|null);
+
+ /** AuditConfigDelta logType */
+ logType?: (string|null);
+ }
+
+ /** Represents an AuditConfigDelta. */
+ class AuditConfigDelta implements IAuditConfigDelta {
+
+ /**
+ * Constructs a new AuditConfigDelta.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.iam.v1.IAuditConfigDelta);
+
+ /** AuditConfigDelta action. */
+ public action: (google.iam.v1.AuditConfigDelta.Action|keyof typeof google.iam.v1.AuditConfigDelta.Action);
+
+ /** AuditConfigDelta service. */
+ public service: string;
+
+ /** AuditConfigDelta exemptedMember. */
+ public exemptedMember: string;
+
+ /** AuditConfigDelta logType. */
+ public logType: string;
+
+ /**
+ * Creates a new AuditConfigDelta instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns AuditConfigDelta instance
+ */
+ public static create(properties?: google.iam.v1.IAuditConfigDelta): google.iam.v1.AuditConfigDelta;
+
+ /**
+ * Encodes the specified AuditConfigDelta message. Does not implicitly {@link google.iam.v1.AuditConfigDelta.verify|verify} messages.
+ * @param message AuditConfigDelta message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.iam.v1.IAuditConfigDelta, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified AuditConfigDelta message, length delimited. Does not implicitly {@link google.iam.v1.AuditConfigDelta.verify|verify} messages.
+ * @param message AuditConfigDelta message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.iam.v1.IAuditConfigDelta, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an AuditConfigDelta message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns AuditConfigDelta
+ * @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.iam.v1.AuditConfigDelta;
+
+ /**
+ * Decodes an AuditConfigDelta message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns AuditConfigDelta
+ * @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.iam.v1.AuditConfigDelta;
+
+ /**
+ * Verifies an AuditConfigDelta 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 AuditConfigDelta message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns AuditConfigDelta
+ */
+ public static fromObject(object: { [k: string]: any }): google.iam.v1.AuditConfigDelta;
+
+ /**
+ * Creates a plain object from an AuditConfigDelta message. Also converts values to other types if specified.
+ * @param message AuditConfigDelta
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.iam.v1.AuditConfigDelta, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this AuditConfigDelta to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for AuditConfigDelta
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace AuditConfigDelta {
+
+ /** Action enum. */
+ enum Action {
+ ACTION_UNSPECIFIED = 0,
+ ADD = 1,
+ REMOVE = 2
+ }
+ }
+ }
+ }
+
+ /** Namespace type. */
+ namespace type {
+
+ /** Properties of an Expr. */
+ interface IExpr {
+
+ /** Expr expression */
+ expression?: (string|null);
+
+ /** Expr title */
+ title?: (string|null);
+
+ /** Expr description */
+ description?: (string|null);
+
+ /** Expr location */
+ location?: (string|null);
+ }
+
+ /** Represents an Expr. */
+ class Expr implements IExpr {
+
+ /**
+ * Constructs a new Expr.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.type.IExpr);
+
+ /** Expr expression. */
+ public expression: string;
+
+ /** Expr title. */
+ public title: string;
+
+ /** Expr description. */
+ public description: string;
+
+ /** Expr location. */
+ public location: string;
+
+ /**
+ * Creates a new Expr instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Expr instance
+ */
+ public static create(properties?: google.type.IExpr): google.type.Expr;
+
+ /**
+ * Encodes the specified Expr message. Does not implicitly {@link google.type.Expr.verify|verify} messages.
+ * @param message Expr message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.type.IExpr, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Expr message, length delimited. Does not implicitly {@link google.type.Expr.verify|verify} messages.
+ * @param message Expr message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.type.IExpr, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an Expr message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Expr
+ * @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.type.Expr;
+
+ /**
+ * Decodes an Expr message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Expr
+ * @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.type.Expr;
+
+ /**
+ * Verifies an Expr 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 Expr message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Expr
+ */
+ public static fromObject(object: { [k: string]: any }): google.type.Expr;
+
+ /**
+ * Creates a plain object from an Expr message. Also converts values to other types if specified.
+ * @param message Expr
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.type.Expr, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Expr to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Expr
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+}
diff --git a/packages/google-cloud-tasks/protos/protos.js b/packages/google-cloud-tasks/protos/protos.js
new file mode 100644
index 00000000000..579f239f58d
--- /dev/null
+++ b/packages/google-cloud-tasks/protos/protos.js
@@ -0,0 +1,42096 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+/*eslint-disable block-scoped-var, id-length, no-control-regex, no-magic-numbers, no-prototype-builtins, no-redeclare, no-shadow, no-var, sort-vars*/
+(function(global, factory) { /* global define, require, module */
+
+ /* AMD */ if (typeof define === 'function' && define.amd)
+ define(["protobufjs/minimal"], factory);
+
+ /* CommonJS */ else if (typeof require === 'function' && typeof module === 'object' && module && module.exports)
+ module.exports = factory(require("google-gax/build/src/protobuf").protobufMinimal);
+
+})(this, function($protobuf) {
+ "use strict";
+
+ // Common aliases
+ var $Reader = $protobuf.Reader, $Writer = $protobuf.Writer, $util = $protobuf.util;
+
+ // Exported root namespace
+ var $root = $protobuf.roots._google_cloud_tasks_protos || ($protobuf.roots._google_cloud_tasks_protos = {});
+
+ $root.google = (function() {
+
+ /**
+ * Namespace google.
+ * @exports google
+ * @namespace
+ */
+ var google = {};
+
+ google.cloud = (function() {
+
+ /**
+ * Namespace cloud.
+ * @memberof google
+ * @namespace
+ */
+ var cloud = {};
+
+ cloud.tasks = (function() {
+
+ /**
+ * Namespace tasks.
+ * @memberof google.cloud
+ * @namespace
+ */
+ var tasks = {};
+
+ tasks.v2 = (function() {
+
+ /**
+ * Namespace v2.
+ * @memberof google.cloud.tasks
+ * @namespace
+ */
+ var v2 = {};
+
+ v2.CloudTasks = (function() {
+
+ /**
+ * Constructs a new CloudTasks service.
+ * @memberof google.cloud.tasks.v2
+ * @classdesc Represents a CloudTasks
+ * @extends $protobuf.rpc.Service
+ * @constructor
+ * @param {$protobuf.RPCImpl} rpcImpl RPC implementation
+ * @param {boolean} [requestDelimited=false] Whether requests are length-delimited
+ * @param {boolean} [responseDelimited=false] Whether responses are length-delimited
+ */
+ function CloudTasks(rpcImpl, requestDelimited, responseDelimited) {
+ $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited);
+ }
+
+ (CloudTasks.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = CloudTasks;
+
+ /**
+ * Creates new CloudTasks service using the specified rpc implementation.
+ * @function create
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @static
+ * @param {$protobuf.RPCImpl} rpcImpl RPC implementation
+ * @param {boolean} [requestDelimited=false] Whether requests are length-delimited
+ * @param {boolean} [responseDelimited=false] Whether responses are length-delimited
+ * @returns {CloudTasks} RPC service. Useful where requests and/or responses are streamed.
+ */
+ CloudTasks.create = function create(rpcImpl, requestDelimited, responseDelimited) {
+ return new this(rpcImpl, requestDelimited, responseDelimited);
+ };
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2.CloudTasks|listQueues}.
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @typedef ListQueuesCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.tasks.v2.ListQueuesResponse} [response] ListQueuesResponse
+ */
+
+ /**
+ * Calls ListQueues.
+ * @function listQueues
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2.IListQueuesRequest} request ListQueuesRequest message or plain object
+ * @param {google.cloud.tasks.v2.CloudTasks.ListQueuesCallback} callback Node-style callback called with the error, if any, and ListQueuesResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudTasks.prototype.listQueues = function listQueues(request, callback) {
+ return this.rpcCall(listQueues, $root.google.cloud.tasks.v2.ListQueuesRequest, $root.google.cloud.tasks.v2.ListQueuesResponse, request, callback);
+ }, "name", { value: "ListQueues" });
+
+ /**
+ * Calls ListQueues.
+ * @function listQueues
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2.IListQueuesRequest} request ListQueuesRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2.CloudTasks|getQueue}.
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @typedef GetQueueCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.tasks.v2.Queue} [response] Queue
+ */
+
+ /**
+ * Calls GetQueue.
+ * @function getQueue
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2.IGetQueueRequest} request GetQueueRequest message or plain object
+ * @param {google.cloud.tasks.v2.CloudTasks.GetQueueCallback} callback Node-style callback called with the error, if any, and Queue
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudTasks.prototype.getQueue = function getQueue(request, callback) {
+ return this.rpcCall(getQueue, $root.google.cloud.tasks.v2.GetQueueRequest, $root.google.cloud.tasks.v2.Queue, request, callback);
+ }, "name", { value: "GetQueue" });
+
+ /**
+ * Calls GetQueue.
+ * @function getQueue
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2.IGetQueueRequest} request GetQueueRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2.CloudTasks|createQueue}.
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @typedef CreateQueueCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.tasks.v2.Queue} [response] Queue
+ */
+
+ /**
+ * Calls CreateQueue.
+ * @function createQueue
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2.ICreateQueueRequest} request CreateQueueRequest message or plain object
+ * @param {google.cloud.tasks.v2.CloudTasks.CreateQueueCallback} callback Node-style callback called with the error, if any, and Queue
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudTasks.prototype.createQueue = function createQueue(request, callback) {
+ return this.rpcCall(createQueue, $root.google.cloud.tasks.v2.CreateQueueRequest, $root.google.cloud.tasks.v2.Queue, request, callback);
+ }, "name", { value: "CreateQueue" });
+
+ /**
+ * Calls CreateQueue.
+ * @function createQueue
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2.ICreateQueueRequest} request CreateQueueRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2.CloudTasks|updateQueue}.
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @typedef UpdateQueueCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.tasks.v2.Queue} [response] Queue
+ */
+
+ /**
+ * Calls UpdateQueue.
+ * @function updateQueue
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2.IUpdateQueueRequest} request UpdateQueueRequest message or plain object
+ * @param {google.cloud.tasks.v2.CloudTasks.UpdateQueueCallback} callback Node-style callback called with the error, if any, and Queue
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudTasks.prototype.updateQueue = function updateQueue(request, callback) {
+ return this.rpcCall(updateQueue, $root.google.cloud.tasks.v2.UpdateQueueRequest, $root.google.cloud.tasks.v2.Queue, request, callback);
+ }, "name", { value: "UpdateQueue" });
+
+ /**
+ * Calls UpdateQueue.
+ * @function updateQueue
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2.IUpdateQueueRequest} request UpdateQueueRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2.CloudTasks|deleteQueue}.
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @typedef DeleteQueueCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.protobuf.Empty} [response] Empty
+ */
+
+ /**
+ * Calls DeleteQueue.
+ * @function deleteQueue
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2.IDeleteQueueRequest} request DeleteQueueRequest message or plain object
+ * @param {google.cloud.tasks.v2.CloudTasks.DeleteQueueCallback} callback Node-style callback called with the error, if any, and Empty
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudTasks.prototype.deleteQueue = function deleteQueue(request, callback) {
+ return this.rpcCall(deleteQueue, $root.google.cloud.tasks.v2.DeleteQueueRequest, $root.google.protobuf.Empty, request, callback);
+ }, "name", { value: "DeleteQueue" });
+
+ /**
+ * Calls DeleteQueue.
+ * @function deleteQueue
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2.IDeleteQueueRequest} request DeleteQueueRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2.CloudTasks|purgeQueue}.
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @typedef PurgeQueueCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.tasks.v2.Queue} [response] Queue
+ */
+
+ /**
+ * Calls PurgeQueue.
+ * @function purgeQueue
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2.IPurgeQueueRequest} request PurgeQueueRequest message or plain object
+ * @param {google.cloud.tasks.v2.CloudTasks.PurgeQueueCallback} callback Node-style callback called with the error, if any, and Queue
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudTasks.prototype.purgeQueue = function purgeQueue(request, callback) {
+ return this.rpcCall(purgeQueue, $root.google.cloud.tasks.v2.PurgeQueueRequest, $root.google.cloud.tasks.v2.Queue, request, callback);
+ }, "name", { value: "PurgeQueue" });
+
+ /**
+ * Calls PurgeQueue.
+ * @function purgeQueue
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2.IPurgeQueueRequest} request PurgeQueueRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2.CloudTasks|pauseQueue}.
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @typedef PauseQueueCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.tasks.v2.Queue} [response] Queue
+ */
+
+ /**
+ * Calls PauseQueue.
+ * @function pauseQueue
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2.IPauseQueueRequest} request PauseQueueRequest message or plain object
+ * @param {google.cloud.tasks.v2.CloudTasks.PauseQueueCallback} callback Node-style callback called with the error, if any, and Queue
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudTasks.prototype.pauseQueue = function pauseQueue(request, callback) {
+ return this.rpcCall(pauseQueue, $root.google.cloud.tasks.v2.PauseQueueRequest, $root.google.cloud.tasks.v2.Queue, request, callback);
+ }, "name", { value: "PauseQueue" });
+
+ /**
+ * Calls PauseQueue.
+ * @function pauseQueue
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2.IPauseQueueRequest} request PauseQueueRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2.CloudTasks|resumeQueue}.
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @typedef ResumeQueueCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.tasks.v2.Queue} [response] Queue
+ */
+
+ /**
+ * Calls ResumeQueue.
+ * @function resumeQueue
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2.IResumeQueueRequest} request ResumeQueueRequest message or plain object
+ * @param {google.cloud.tasks.v2.CloudTasks.ResumeQueueCallback} callback Node-style callback called with the error, if any, and Queue
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudTasks.prototype.resumeQueue = function resumeQueue(request, callback) {
+ return this.rpcCall(resumeQueue, $root.google.cloud.tasks.v2.ResumeQueueRequest, $root.google.cloud.tasks.v2.Queue, request, callback);
+ }, "name", { value: "ResumeQueue" });
+
+ /**
+ * Calls ResumeQueue.
+ * @function resumeQueue
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2.IResumeQueueRequest} request ResumeQueueRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2.CloudTasks|getIamPolicy}.
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @typedef GetIamPolicyCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.iam.v1.Policy} [response] Policy
+ */
+
+ /**
+ * Calls GetIamPolicy.
+ * @function getIamPolicy
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @instance
+ * @param {google.iam.v1.IGetIamPolicyRequest} request GetIamPolicyRequest message or plain object
+ * @param {google.cloud.tasks.v2.CloudTasks.GetIamPolicyCallback} callback Node-style callback called with the error, if any, and Policy
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudTasks.prototype.getIamPolicy = function getIamPolicy(request, callback) {
+ return this.rpcCall(getIamPolicy, $root.google.iam.v1.GetIamPolicyRequest, $root.google.iam.v1.Policy, request, callback);
+ }, "name", { value: "GetIamPolicy" });
+
+ /**
+ * Calls GetIamPolicy.
+ * @function getIamPolicy
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @instance
+ * @param {google.iam.v1.IGetIamPolicyRequest} request GetIamPolicyRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2.CloudTasks|setIamPolicy}.
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @typedef SetIamPolicyCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.iam.v1.Policy} [response] Policy
+ */
+
+ /**
+ * Calls SetIamPolicy.
+ * @function setIamPolicy
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @instance
+ * @param {google.iam.v1.ISetIamPolicyRequest} request SetIamPolicyRequest message or plain object
+ * @param {google.cloud.tasks.v2.CloudTasks.SetIamPolicyCallback} callback Node-style callback called with the error, if any, and Policy
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudTasks.prototype.setIamPolicy = function setIamPolicy(request, callback) {
+ return this.rpcCall(setIamPolicy, $root.google.iam.v1.SetIamPolicyRequest, $root.google.iam.v1.Policy, request, callback);
+ }, "name", { value: "SetIamPolicy" });
+
+ /**
+ * Calls SetIamPolicy.
+ * @function setIamPolicy
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @instance
+ * @param {google.iam.v1.ISetIamPolicyRequest} request SetIamPolicyRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2.CloudTasks|testIamPermissions}.
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @typedef TestIamPermissionsCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.iam.v1.TestIamPermissionsResponse} [response] TestIamPermissionsResponse
+ */
+
+ /**
+ * Calls TestIamPermissions.
+ * @function testIamPermissions
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @instance
+ * @param {google.iam.v1.ITestIamPermissionsRequest} request TestIamPermissionsRequest message or plain object
+ * @param {google.cloud.tasks.v2.CloudTasks.TestIamPermissionsCallback} callback Node-style callback called with the error, if any, and TestIamPermissionsResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudTasks.prototype.testIamPermissions = function testIamPermissions(request, callback) {
+ return this.rpcCall(testIamPermissions, $root.google.iam.v1.TestIamPermissionsRequest, $root.google.iam.v1.TestIamPermissionsResponse, request, callback);
+ }, "name", { value: "TestIamPermissions" });
+
+ /**
+ * Calls TestIamPermissions.
+ * @function testIamPermissions
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @instance
+ * @param {google.iam.v1.ITestIamPermissionsRequest} request TestIamPermissionsRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2.CloudTasks|listTasks}.
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @typedef ListTasksCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.tasks.v2.ListTasksResponse} [response] ListTasksResponse
+ */
+
+ /**
+ * Calls ListTasks.
+ * @function listTasks
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2.IListTasksRequest} request ListTasksRequest message or plain object
+ * @param {google.cloud.tasks.v2.CloudTasks.ListTasksCallback} callback Node-style callback called with the error, if any, and ListTasksResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudTasks.prototype.listTasks = function listTasks(request, callback) {
+ return this.rpcCall(listTasks, $root.google.cloud.tasks.v2.ListTasksRequest, $root.google.cloud.tasks.v2.ListTasksResponse, request, callback);
+ }, "name", { value: "ListTasks" });
+
+ /**
+ * Calls ListTasks.
+ * @function listTasks
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2.IListTasksRequest} request ListTasksRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2.CloudTasks|getTask}.
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @typedef GetTaskCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.tasks.v2.Task} [response] Task
+ */
+
+ /**
+ * Calls GetTask.
+ * @function getTask
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2.IGetTaskRequest} request GetTaskRequest message or plain object
+ * @param {google.cloud.tasks.v2.CloudTasks.GetTaskCallback} callback Node-style callback called with the error, if any, and Task
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudTasks.prototype.getTask = function getTask(request, callback) {
+ return this.rpcCall(getTask, $root.google.cloud.tasks.v2.GetTaskRequest, $root.google.cloud.tasks.v2.Task, request, callback);
+ }, "name", { value: "GetTask" });
+
+ /**
+ * Calls GetTask.
+ * @function getTask
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2.IGetTaskRequest} request GetTaskRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2.CloudTasks|createTask}.
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @typedef CreateTaskCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.tasks.v2.Task} [response] Task
+ */
+
+ /**
+ * Calls CreateTask.
+ * @function createTask
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2.ICreateTaskRequest} request CreateTaskRequest message or plain object
+ * @param {google.cloud.tasks.v2.CloudTasks.CreateTaskCallback} callback Node-style callback called with the error, if any, and Task
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudTasks.prototype.createTask = function createTask(request, callback) {
+ return this.rpcCall(createTask, $root.google.cloud.tasks.v2.CreateTaskRequest, $root.google.cloud.tasks.v2.Task, request, callback);
+ }, "name", { value: "CreateTask" });
+
+ /**
+ * Calls CreateTask.
+ * @function createTask
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2.ICreateTaskRequest} request CreateTaskRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2.CloudTasks|deleteTask}.
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @typedef DeleteTaskCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.protobuf.Empty} [response] Empty
+ */
+
+ /**
+ * Calls DeleteTask.
+ * @function deleteTask
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2.IDeleteTaskRequest} request DeleteTaskRequest message or plain object
+ * @param {google.cloud.tasks.v2.CloudTasks.DeleteTaskCallback} callback Node-style callback called with the error, if any, and Empty
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudTasks.prototype.deleteTask = function deleteTask(request, callback) {
+ return this.rpcCall(deleteTask, $root.google.cloud.tasks.v2.DeleteTaskRequest, $root.google.protobuf.Empty, request, callback);
+ }, "name", { value: "DeleteTask" });
+
+ /**
+ * Calls DeleteTask.
+ * @function deleteTask
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2.IDeleteTaskRequest} request DeleteTaskRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2.CloudTasks|runTask}.
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @typedef RunTaskCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.tasks.v2.Task} [response] Task
+ */
+
+ /**
+ * Calls RunTask.
+ * @function runTask
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2.IRunTaskRequest} request RunTaskRequest message or plain object
+ * @param {google.cloud.tasks.v2.CloudTasks.RunTaskCallback} callback Node-style callback called with the error, if any, and Task
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudTasks.prototype.runTask = function runTask(request, callback) {
+ return this.rpcCall(runTask, $root.google.cloud.tasks.v2.RunTaskRequest, $root.google.cloud.tasks.v2.Task, request, callback);
+ }, "name", { value: "RunTask" });
+
+ /**
+ * Calls RunTask.
+ * @function runTask
+ * @memberof google.cloud.tasks.v2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2.IRunTaskRequest} request RunTaskRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ return CloudTasks;
+ })();
+
+ v2.ListQueuesRequest = (function() {
+
+ /**
+ * Properties of a ListQueuesRequest.
+ * @memberof google.cloud.tasks.v2
+ * @interface IListQueuesRequest
+ * @property {string|null} [parent] ListQueuesRequest parent
+ * @property {string|null} [filter] ListQueuesRequest filter
+ * @property {number|null} [pageSize] ListQueuesRequest pageSize
+ * @property {string|null} [pageToken] ListQueuesRequest pageToken
+ */
+
+ /**
+ * Constructs a new ListQueuesRequest.
+ * @memberof google.cloud.tasks.v2
+ * @classdesc Represents a ListQueuesRequest.
+ * @implements IListQueuesRequest
+ * @constructor
+ * @param {google.cloud.tasks.v2.IListQueuesRequest=} [properties] Properties to set
+ */
+ function ListQueuesRequest(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]];
+ }
+
+ /**
+ * ListQueuesRequest parent.
+ * @member {string} parent
+ * @memberof google.cloud.tasks.v2.ListQueuesRequest
+ * @instance
+ */
+ ListQueuesRequest.prototype.parent = "";
+
+ /**
+ * ListQueuesRequest filter.
+ * @member {string} filter
+ * @memberof google.cloud.tasks.v2.ListQueuesRequest
+ * @instance
+ */
+ ListQueuesRequest.prototype.filter = "";
+
+ /**
+ * ListQueuesRequest pageSize.
+ * @member {number} pageSize
+ * @memberof google.cloud.tasks.v2.ListQueuesRequest
+ * @instance
+ */
+ ListQueuesRequest.prototype.pageSize = 0;
+
+ /**
+ * ListQueuesRequest pageToken.
+ * @member {string} pageToken
+ * @memberof google.cloud.tasks.v2.ListQueuesRequest
+ * @instance
+ */
+ ListQueuesRequest.prototype.pageToken = "";
+
+ /**
+ * Creates a new ListQueuesRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.tasks.v2.ListQueuesRequest
+ * @static
+ * @param {google.cloud.tasks.v2.IListQueuesRequest=} [properties] Properties to set
+ * @returns {google.cloud.tasks.v2.ListQueuesRequest} ListQueuesRequest instance
+ */
+ ListQueuesRequest.create = function create(properties) {
+ return new ListQueuesRequest(properties);
+ };
+
+ /**
+ * Encodes the specified ListQueuesRequest message. Does not implicitly {@link google.cloud.tasks.v2.ListQueuesRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.tasks.v2.ListQueuesRequest
+ * @static
+ * @param {google.cloud.tasks.v2.IListQueuesRequest} message ListQueuesRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListQueuesRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.parent != null && Object.hasOwnProperty.call(message, "parent"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.parent);
+ if (message.filter != null && Object.hasOwnProperty.call(message, "filter"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.filter);
+ if (message.pageSize != null && Object.hasOwnProperty.call(message, "pageSize"))
+ writer.uint32(/* id 3, wireType 0 =*/24).int32(message.pageSize);
+ if (message.pageToken != null && Object.hasOwnProperty.call(message, "pageToken"))
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.pageToken);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ListQueuesRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.ListQueuesRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.tasks.v2.ListQueuesRequest
+ * @static
+ * @param {google.cloud.tasks.v2.IListQueuesRequest} message ListQueuesRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListQueuesRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ListQueuesRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.tasks.v2.ListQueuesRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.tasks.v2.ListQueuesRequest} ListQueuesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListQueuesRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.tasks.v2.ListQueuesRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.parent = reader.string();
+ break;
+ }
+ case 2: {
+ message.filter = reader.string();
+ break;
+ }
+ case 3: {
+ message.pageSize = reader.int32();
+ break;
+ }
+ case 4: {
+ message.pageToken = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a ListQueuesRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.tasks.v2.ListQueuesRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.tasks.v2.ListQueuesRequest} ListQueuesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListQueuesRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ListQueuesRequest message.
+ * @function verify
+ * @memberof google.cloud.tasks.v2.ListQueuesRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ListQueuesRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ if (!$util.isString(message.parent))
+ return "parent: string expected";
+ if (message.filter != null && message.hasOwnProperty("filter"))
+ if (!$util.isString(message.filter))
+ return "filter: string expected";
+ if (message.pageSize != null && message.hasOwnProperty("pageSize"))
+ if (!$util.isInteger(message.pageSize))
+ return "pageSize: integer expected";
+ if (message.pageToken != null && message.hasOwnProperty("pageToken"))
+ if (!$util.isString(message.pageToken))
+ return "pageToken: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a ListQueuesRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.tasks.v2.ListQueuesRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.tasks.v2.ListQueuesRequest} ListQueuesRequest
+ */
+ ListQueuesRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.tasks.v2.ListQueuesRequest)
+ return object;
+ var message = new $root.google.cloud.tasks.v2.ListQueuesRequest();
+ if (object.parent != null)
+ message.parent = String(object.parent);
+ if (object.filter != null)
+ message.filter = String(object.filter);
+ if (object.pageSize != null)
+ message.pageSize = object.pageSize | 0;
+ if (object.pageToken != null)
+ message.pageToken = String(object.pageToken);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a ListQueuesRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.tasks.v2.ListQueuesRequest
+ * @static
+ * @param {google.cloud.tasks.v2.ListQueuesRequest} message ListQueuesRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ListQueuesRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.parent = "";
+ object.filter = "";
+ object.pageSize = 0;
+ object.pageToken = "";
+ }
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ object.parent = message.parent;
+ if (message.filter != null && message.hasOwnProperty("filter"))
+ object.filter = message.filter;
+ if (message.pageSize != null && message.hasOwnProperty("pageSize"))
+ object.pageSize = message.pageSize;
+ if (message.pageToken != null && message.hasOwnProperty("pageToken"))
+ object.pageToken = message.pageToken;
+ return object;
+ };
+
+ /**
+ * Converts this ListQueuesRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.tasks.v2.ListQueuesRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ListQueuesRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ListQueuesRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.tasks.v2.ListQueuesRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ListQueuesRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.tasks.v2.ListQueuesRequest";
+ };
+
+ return ListQueuesRequest;
+ })();
+
+ v2.ListQueuesResponse = (function() {
+
+ /**
+ * Properties of a ListQueuesResponse.
+ * @memberof google.cloud.tasks.v2
+ * @interface IListQueuesResponse
+ * @property {Array.|null} [queues] ListQueuesResponse queues
+ * @property {string|null} [nextPageToken] ListQueuesResponse nextPageToken
+ */
+
+ /**
+ * Constructs a new ListQueuesResponse.
+ * @memberof google.cloud.tasks.v2
+ * @classdesc Represents a ListQueuesResponse.
+ * @implements IListQueuesResponse
+ * @constructor
+ * @param {google.cloud.tasks.v2.IListQueuesResponse=} [properties] Properties to set
+ */
+ function ListQueuesResponse(properties) {
+ this.queues = [];
+ 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]];
+ }
+
+ /**
+ * ListQueuesResponse queues.
+ * @member {Array.} queues
+ * @memberof google.cloud.tasks.v2.ListQueuesResponse
+ * @instance
+ */
+ ListQueuesResponse.prototype.queues = $util.emptyArray;
+
+ /**
+ * ListQueuesResponse nextPageToken.
+ * @member {string} nextPageToken
+ * @memberof google.cloud.tasks.v2.ListQueuesResponse
+ * @instance
+ */
+ ListQueuesResponse.prototype.nextPageToken = "";
+
+ /**
+ * Creates a new ListQueuesResponse instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.tasks.v2.ListQueuesResponse
+ * @static
+ * @param {google.cloud.tasks.v2.IListQueuesResponse=} [properties] Properties to set
+ * @returns {google.cloud.tasks.v2.ListQueuesResponse} ListQueuesResponse instance
+ */
+ ListQueuesResponse.create = function create(properties) {
+ return new ListQueuesResponse(properties);
+ };
+
+ /**
+ * Encodes the specified ListQueuesResponse message. Does not implicitly {@link google.cloud.tasks.v2.ListQueuesResponse.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.tasks.v2.ListQueuesResponse
+ * @static
+ * @param {google.cloud.tasks.v2.IListQueuesResponse} message ListQueuesResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListQueuesResponse.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.queues != null && message.queues.length)
+ for (var i = 0; i < message.queues.length; ++i)
+ $root.google.cloud.tasks.v2.Queue.encode(message.queues[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.nextPageToken != null && Object.hasOwnProperty.call(message, "nextPageToken"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.nextPageToken);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ListQueuesResponse message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.ListQueuesResponse.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.tasks.v2.ListQueuesResponse
+ * @static
+ * @param {google.cloud.tasks.v2.IListQueuesResponse} message ListQueuesResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListQueuesResponse.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ListQueuesResponse message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.tasks.v2.ListQueuesResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.tasks.v2.ListQueuesResponse} ListQueuesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListQueuesResponse.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.tasks.v2.ListQueuesResponse();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ if (!(message.queues && message.queues.length))
+ message.queues = [];
+ message.queues.push($root.google.cloud.tasks.v2.Queue.decode(reader, reader.uint32()));
+ break;
+ }
+ case 2: {
+ message.nextPageToken = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a ListQueuesResponse message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.tasks.v2.ListQueuesResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.tasks.v2.ListQueuesResponse} ListQueuesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListQueuesResponse.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ListQueuesResponse message.
+ * @function verify
+ * @memberof google.cloud.tasks.v2.ListQueuesResponse
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ListQueuesResponse.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.queues != null && message.hasOwnProperty("queues")) {
+ if (!Array.isArray(message.queues))
+ return "queues: array expected";
+ for (var i = 0; i < message.queues.length; ++i) {
+ var error = $root.google.cloud.tasks.v2.Queue.verify(message.queues[i]);
+ if (error)
+ return "queues." + error;
+ }
+ }
+ if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken"))
+ if (!$util.isString(message.nextPageToken))
+ return "nextPageToken: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a ListQueuesResponse message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.tasks.v2.ListQueuesResponse
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.tasks.v2.ListQueuesResponse} ListQueuesResponse
+ */
+ ListQueuesResponse.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.tasks.v2.ListQueuesResponse)
+ return object;
+ var message = new $root.google.cloud.tasks.v2.ListQueuesResponse();
+ if (object.queues) {
+ if (!Array.isArray(object.queues))
+ throw TypeError(".google.cloud.tasks.v2.ListQueuesResponse.queues: array expected");
+ message.queues = [];
+ for (var i = 0; i < object.queues.length; ++i) {
+ if (typeof object.queues[i] !== "object")
+ throw TypeError(".google.cloud.tasks.v2.ListQueuesResponse.queues: object expected");
+ message.queues[i] = $root.google.cloud.tasks.v2.Queue.fromObject(object.queues[i]);
+ }
+ }
+ if (object.nextPageToken != null)
+ message.nextPageToken = String(object.nextPageToken);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a ListQueuesResponse message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.tasks.v2.ListQueuesResponse
+ * @static
+ * @param {google.cloud.tasks.v2.ListQueuesResponse} message ListQueuesResponse
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ListQueuesResponse.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.queues = [];
+ if (options.defaults)
+ object.nextPageToken = "";
+ if (message.queues && message.queues.length) {
+ object.queues = [];
+ for (var j = 0; j < message.queues.length; ++j)
+ object.queues[j] = $root.google.cloud.tasks.v2.Queue.toObject(message.queues[j], options);
+ }
+ if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken"))
+ object.nextPageToken = message.nextPageToken;
+ return object;
+ };
+
+ /**
+ * Converts this ListQueuesResponse to JSON.
+ * @function toJSON
+ * @memberof google.cloud.tasks.v2.ListQueuesResponse
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ListQueuesResponse.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ListQueuesResponse
+ * @function getTypeUrl
+ * @memberof google.cloud.tasks.v2.ListQueuesResponse
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ListQueuesResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.tasks.v2.ListQueuesResponse";
+ };
+
+ return ListQueuesResponse;
+ })();
+
+ v2.GetQueueRequest = (function() {
+
+ /**
+ * Properties of a GetQueueRequest.
+ * @memberof google.cloud.tasks.v2
+ * @interface IGetQueueRequest
+ * @property {string|null} [name] GetQueueRequest name
+ */
+
+ /**
+ * Constructs a new GetQueueRequest.
+ * @memberof google.cloud.tasks.v2
+ * @classdesc Represents a GetQueueRequest.
+ * @implements IGetQueueRequest
+ * @constructor
+ * @param {google.cloud.tasks.v2.IGetQueueRequest=} [properties] Properties to set
+ */
+ function GetQueueRequest(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]];
+ }
+
+ /**
+ * GetQueueRequest name.
+ * @member {string} name
+ * @memberof google.cloud.tasks.v2.GetQueueRequest
+ * @instance
+ */
+ GetQueueRequest.prototype.name = "";
+
+ /**
+ * Creates a new GetQueueRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.tasks.v2.GetQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2.IGetQueueRequest=} [properties] Properties to set
+ * @returns {google.cloud.tasks.v2.GetQueueRequest} GetQueueRequest instance
+ */
+ GetQueueRequest.create = function create(properties) {
+ return new GetQueueRequest(properties);
+ };
+
+ /**
+ * Encodes the specified GetQueueRequest message. Does not implicitly {@link google.cloud.tasks.v2.GetQueueRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.tasks.v2.GetQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2.IGetQueueRequest} message GetQueueRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GetQueueRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified GetQueueRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.GetQueueRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.tasks.v2.GetQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2.IGetQueueRequest} message GetQueueRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GetQueueRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a GetQueueRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.tasks.v2.GetQueueRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.tasks.v2.GetQueueRequest} GetQueueRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GetQueueRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.tasks.v2.GetQueueRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a GetQueueRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.tasks.v2.GetQueueRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.tasks.v2.GetQueueRequest} GetQueueRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GetQueueRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a GetQueueRequest message.
+ * @function verify
+ * @memberof google.cloud.tasks.v2.GetQueueRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ GetQueueRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.name != null && message.hasOwnProperty("name"))
+ if (!$util.isString(message.name))
+ return "name: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a GetQueueRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.tasks.v2.GetQueueRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.tasks.v2.GetQueueRequest} GetQueueRequest
+ */
+ GetQueueRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.tasks.v2.GetQueueRequest)
+ return object;
+ var message = new $root.google.cloud.tasks.v2.GetQueueRequest();
+ if (object.name != null)
+ message.name = String(object.name);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a GetQueueRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.tasks.v2.GetQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2.GetQueueRequest} message GetQueueRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ GetQueueRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ object.name = "";
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ return object;
+ };
+
+ /**
+ * Converts this GetQueueRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.tasks.v2.GetQueueRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ GetQueueRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for GetQueueRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.tasks.v2.GetQueueRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ GetQueueRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.tasks.v2.GetQueueRequest";
+ };
+
+ return GetQueueRequest;
+ })();
+
+ v2.CreateQueueRequest = (function() {
+
+ /**
+ * Properties of a CreateQueueRequest.
+ * @memberof google.cloud.tasks.v2
+ * @interface ICreateQueueRequest
+ * @property {string|null} [parent] CreateQueueRequest parent
+ * @property {google.cloud.tasks.v2.IQueue|null} [queue] CreateQueueRequest queue
+ */
+
+ /**
+ * Constructs a new CreateQueueRequest.
+ * @memberof google.cloud.tasks.v2
+ * @classdesc Represents a CreateQueueRequest.
+ * @implements ICreateQueueRequest
+ * @constructor
+ * @param {google.cloud.tasks.v2.ICreateQueueRequest=} [properties] Properties to set
+ */
+ function CreateQueueRequest(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]];
+ }
+
+ /**
+ * CreateQueueRequest parent.
+ * @member {string} parent
+ * @memberof google.cloud.tasks.v2.CreateQueueRequest
+ * @instance
+ */
+ CreateQueueRequest.prototype.parent = "";
+
+ /**
+ * CreateQueueRequest queue.
+ * @member {google.cloud.tasks.v2.IQueue|null|undefined} queue
+ * @memberof google.cloud.tasks.v2.CreateQueueRequest
+ * @instance
+ */
+ CreateQueueRequest.prototype.queue = null;
+
+ /**
+ * Creates a new CreateQueueRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.tasks.v2.CreateQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2.ICreateQueueRequest=} [properties] Properties to set
+ * @returns {google.cloud.tasks.v2.CreateQueueRequest} CreateQueueRequest instance
+ */
+ CreateQueueRequest.create = function create(properties) {
+ return new CreateQueueRequest(properties);
+ };
+
+ /**
+ * Encodes the specified CreateQueueRequest message. Does not implicitly {@link google.cloud.tasks.v2.CreateQueueRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.tasks.v2.CreateQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2.ICreateQueueRequest} message CreateQueueRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ CreateQueueRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.parent != null && Object.hasOwnProperty.call(message, "parent"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.parent);
+ if (message.queue != null && Object.hasOwnProperty.call(message, "queue"))
+ $root.google.cloud.tasks.v2.Queue.encode(message.queue, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified CreateQueueRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.CreateQueueRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.tasks.v2.CreateQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2.ICreateQueueRequest} message CreateQueueRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ CreateQueueRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a CreateQueueRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.tasks.v2.CreateQueueRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.tasks.v2.CreateQueueRequest} CreateQueueRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ CreateQueueRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.tasks.v2.CreateQueueRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.parent = reader.string();
+ break;
+ }
+ case 2: {
+ message.queue = $root.google.cloud.tasks.v2.Queue.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a CreateQueueRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.tasks.v2.CreateQueueRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.tasks.v2.CreateQueueRequest} CreateQueueRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ CreateQueueRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a CreateQueueRequest message.
+ * @function verify
+ * @memberof google.cloud.tasks.v2.CreateQueueRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ CreateQueueRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ if (!$util.isString(message.parent))
+ return "parent: string expected";
+ if (message.queue != null && message.hasOwnProperty("queue")) {
+ var error = $root.google.cloud.tasks.v2.Queue.verify(message.queue);
+ if (error)
+ return "queue." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a CreateQueueRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.tasks.v2.CreateQueueRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.tasks.v2.CreateQueueRequest} CreateQueueRequest
+ */
+ CreateQueueRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.tasks.v2.CreateQueueRequest)
+ return object;
+ var message = new $root.google.cloud.tasks.v2.CreateQueueRequest();
+ if (object.parent != null)
+ message.parent = String(object.parent);
+ if (object.queue != null) {
+ if (typeof object.queue !== "object")
+ throw TypeError(".google.cloud.tasks.v2.CreateQueueRequest.queue: object expected");
+ message.queue = $root.google.cloud.tasks.v2.Queue.fromObject(object.queue);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a CreateQueueRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.tasks.v2.CreateQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2.CreateQueueRequest} message CreateQueueRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ CreateQueueRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.parent = "";
+ object.queue = null;
+ }
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ object.parent = message.parent;
+ if (message.queue != null && message.hasOwnProperty("queue"))
+ object.queue = $root.google.cloud.tasks.v2.Queue.toObject(message.queue, options);
+ return object;
+ };
+
+ /**
+ * Converts this CreateQueueRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.tasks.v2.CreateQueueRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ CreateQueueRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for CreateQueueRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.tasks.v2.CreateQueueRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ CreateQueueRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.tasks.v2.CreateQueueRequest";
+ };
+
+ return CreateQueueRequest;
+ })();
+
+ v2.UpdateQueueRequest = (function() {
+
+ /**
+ * Properties of an UpdateQueueRequest.
+ * @memberof google.cloud.tasks.v2
+ * @interface IUpdateQueueRequest
+ * @property {google.cloud.tasks.v2.IQueue|null} [queue] UpdateQueueRequest queue
+ * @property {google.protobuf.IFieldMask|null} [updateMask] UpdateQueueRequest updateMask
+ */
+
+ /**
+ * Constructs a new UpdateQueueRequest.
+ * @memberof google.cloud.tasks.v2
+ * @classdesc Represents an UpdateQueueRequest.
+ * @implements IUpdateQueueRequest
+ * @constructor
+ * @param {google.cloud.tasks.v2.IUpdateQueueRequest=} [properties] Properties to set
+ */
+ function UpdateQueueRequest(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]];
+ }
+
+ /**
+ * UpdateQueueRequest queue.
+ * @member {google.cloud.tasks.v2.IQueue|null|undefined} queue
+ * @memberof google.cloud.tasks.v2.UpdateQueueRequest
+ * @instance
+ */
+ UpdateQueueRequest.prototype.queue = null;
+
+ /**
+ * UpdateQueueRequest updateMask.
+ * @member {google.protobuf.IFieldMask|null|undefined} updateMask
+ * @memberof google.cloud.tasks.v2.UpdateQueueRequest
+ * @instance
+ */
+ UpdateQueueRequest.prototype.updateMask = null;
+
+ /**
+ * Creates a new UpdateQueueRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.tasks.v2.UpdateQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2.IUpdateQueueRequest=} [properties] Properties to set
+ * @returns {google.cloud.tasks.v2.UpdateQueueRequest} UpdateQueueRequest instance
+ */
+ UpdateQueueRequest.create = function create(properties) {
+ return new UpdateQueueRequest(properties);
+ };
+
+ /**
+ * Encodes the specified UpdateQueueRequest message. Does not implicitly {@link google.cloud.tasks.v2.UpdateQueueRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.tasks.v2.UpdateQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2.IUpdateQueueRequest} message UpdateQueueRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ UpdateQueueRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.queue != null && Object.hasOwnProperty.call(message, "queue"))
+ $root.google.cloud.tasks.v2.Queue.encode(message.queue, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.updateMask != null && Object.hasOwnProperty.call(message, "updateMask"))
+ $root.google.protobuf.FieldMask.encode(message.updateMask, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified UpdateQueueRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.UpdateQueueRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.tasks.v2.UpdateQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2.IUpdateQueueRequest} message UpdateQueueRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ UpdateQueueRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an UpdateQueueRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.tasks.v2.UpdateQueueRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.tasks.v2.UpdateQueueRequest} UpdateQueueRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ UpdateQueueRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.tasks.v2.UpdateQueueRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.queue = $root.google.cloud.tasks.v2.Queue.decode(reader, reader.uint32());
+ break;
+ }
+ case 2: {
+ message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an UpdateQueueRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.tasks.v2.UpdateQueueRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.tasks.v2.UpdateQueueRequest} UpdateQueueRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ UpdateQueueRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an UpdateQueueRequest message.
+ * @function verify
+ * @memberof google.cloud.tasks.v2.UpdateQueueRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ UpdateQueueRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.queue != null && message.hasOwnProperty("queue")) {
+ var error = $root.google.cloud.tasks.v2.Queue.verify(message.queue);
+ if (error)
+ return "queue." + error;
+ }
+ if (message.updateMask != null && message.hasOwnProperty("updateMask")) {
+ var error = $root.google.protobuf.FieldMask.verify(message.updateMask);
+ if (error)
+ return "updateMask." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates an UpdateQueueRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.tasks.v2.UpdateQueueRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.tasks.v2.UpdateQueueRequest} UpdateQueueRequest
+ */
+ UpdateQueueRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.tasks.v2.UpdateQueueRequest)
+ return object;
+ var message = new $root.google.cloud.tasks.v2.UpdateQueueRequest();
+ if (object.queue != null) {
+ if (typeof object.queue !== "object")
+ throw TypeError(".google.cloud.tasks.v2.UpdateQueueRequest.queue: object expected");
+ message.queue = $root.google.cloud.tasks.v2.Queue.fromObject(object.queue);
+ }
+ if (object.updateMask != null) {
+ if (typeof object.updateMask !== "object")
+ throw TypeError(".google.cloud.tasks.v2.UpdateQueueRequest.updateMask: object expected");
+ message.updateMask = $root.google.protobuf.FieldMask.fromObject(object.updateMask);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an UpdateQueueRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.tasks.v2.UpdateQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2.UpdateQueueRequest} message UpdateQueueRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ UpdateQueueRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.queue = null;
+ object.updateMask = null;
+ }
+ if (message.queue != null && message.hasOwnProperty("queue"))
+ object.queue = $root.google.cloud.tasks.v2.Queue.toObject(message.queue, options);
+ if (message.updateMask != null && message.hasOwnProperty("updateMask"))
+ object.updateMask = $root.google.protobuf.FieldMask.toObject(message.updateMask, options);
+ return object;
+ };
+
+ /**
+ * Converts this UpdateQueueRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.tasks.v2.UpdateQueueRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ UpdateQueueRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for UpdateQueueRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.tasks.v2.UpdateQueueRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ UpdateQueueRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.tasks.v2.UpdateQueueRequest";
+ };
+
+ return UpdateQueueRequest;
+ })();
+
+ v2.DeleteQueueRequest = (function() {
+
+ /**
+ * Properties of a DeleteQueueRequest.
+ * @memberof google.cloud.tasks.v2
+ * @interface IDeleteQueueRequest
+ * @property {string|null} [name] DeleteQueueRequest name
+ */
+
+ /**
+ * Constructs a new DeleteQueueRequest.
+ * @memberof google.cloud.tasks.v2
+ * @classdesc Represents a DeleteQueueRequest.
+ * @implements IDeleteQueueRequest
+ * @constructor
+ * @param {google.cloud.tasks.v2.IDeleteQueueRequest=} [properties] Properties to set
+ */
+ function DeleteQueueRequest(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]];
+ }
+
+ /**
+ * DeleteQueueRequest name.
+ * @member {string} name
+ * @memberof google.cloud.tasks.v2.DeleteQueueRequest
+ * @instance
+ */
+ DeleteQueueRequest.prototype.name = "";
+
+ /**
+ * Creates a new DeleteQueueRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.tasks.v2.DeleteQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2.IDeleteQueueRequest=} [properties] Properties to set
+ * @returns {google.cloud.tasks.v2.DeleteQueueRequest} DeleteQueueRequest instance
+ */
+ DeleteQueueRequest.create = function create(properties) {
+ return new DeleteQueueRequest(properties);
+ };
+
+ /**
+ * Encodes the specified DeleteQueueRequest message. Does not implicitly {@link google.cloud.tasks.v2.DeleteQueueRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.tasks.v2.DeleteQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2.IDeleteQueueRequest} message DeleteQueueRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DeleteQueueRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified DeleteQueueRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.DeleteQueueRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.tasks.v2.DeleteQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2.IDeleteQueueRequest} message DeleteQueueRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DeleteQueueRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a DeleteQueueRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.tasks.v2.DeleteQueueRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.tasks.v2.DeleteQueueRequest} DeleteQueueRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DeleteQueueRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.tasks.v2.DeleteQueueRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a DeleteQueueRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.tasks.v2.DeleteQueueRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.tasks.v2.DeleteQueueRequest} DeleteQueueRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DeleteQueueRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a DeleteQueueRequest message.
+ * @function verify
+ * @memberof google.cloud.tasks.v2.DeleteQueueRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ DeleteQueueRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.name != null && message.hasOwnProperty("name"))
+ if (!$util.isString(message.name))
+ return "name: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a DeleteQueueRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.tasks.v2.DeleteQueueRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.tasks.v2.DeleteQueueRequest} DeleteQueueRequest
+ */
+ DeleteQueueRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.tasks.v2.DeleteQueueRequest)
+ return object;
+ var message = new $root.google.cloud.tasks.v2.DeleteQueueRequest();
+ if (object.name != null)
+ message.name = String(object.name);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a DeleteQueueRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.tasks.v2.DeleteQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2.DeleteQueueRequest} message DeleteQueueRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ DeleteQueueRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ object.name = "";
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ return object;
+ };
+
+ /**
+ * Converts this DeleteQueueRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.tasks.v2.DeleteQueueRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ DeleteQueueRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for DeleteQueueRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.tasks.v2.DeleteQueueRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ DeleteQueueRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.tasks.v2.DeleteQueueRequest";
+ };
+
+ return DeleteQueueRequest;
+ })();
+
+ v2.PurgeQueueRequest = (function() {
+
+ /**
+ * Properties of a PurgeQueueRequest.
+ * @memberof google.cloud.tasks.v2
+ * @interface IPurgeQueueRequest
+ * @property {string|null} [name] PurgeQueueRequest name
+ */
+
+ /**
+ * Constructs a new PurgeQueueRequest.
+ * @memberof google.cloud.tasks.v2
+ * @classdesc Represents a PurgeQueueRequest.
+ * @implements IPurgeQueueRequest
+ * @constructor
+ * @param {google.cloud.tasks.v2.IPurgeQueueRequest=} [properties] Properties to set
+ */
+ function PurgeQueueRequest(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]];
+ }
+
+ /**
+ * PurgeQueueRequest name.
+ * @member {string} name
+ * @memberof google.cloud.tasks.v2.PurgeQueueRequest
+ * @instance
+ */
+ PurgeQueueRequest.prototype.name = "";
+
+ /**
+ * Creates a new PurgeQueueRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.tasks.v2.PurgeQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2.IPurgeQueueRequest=} [properties] Properties to set
+ * @returns {google.cloud.tasks.v2.PurgeQueueRequest} PurgeQueueRequest instance
+ */
+ PurgeQueueRequest.create = function create(properties) {
+ return new PurgeQueueRequest(properties);
+ };
+
+ /**
+ * Encodes the specified PurgeQueueRequest message. Does not implicitly {@link google.cloud.tasks.v2.PurgeQueueRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.tasks.v2.PurgeQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2.IPurgeQueueRequest} message PurgeQueueRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ PurgeQueueRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified PurgeQueueRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.PurgeQueueRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.tasks.v2.PurgeQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2.IPurgeQueueRequest} message PurgeQueueRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ PurgeQueueRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a PurgeQueueRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.tasks.v2.PurgeQueueRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.tasks.v2.PurgeQueueRequest} PurgeQueueRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ PurgeQueueRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.tasks.v2.PurgeQueueRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a PurgeQueueRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.tasks.v2.PurgeQueueRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.tasks.v2.PurgeQueueRequest} PurgeQueueRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ PurgeQueueRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a PurgeQueueRequest message.
+ * @function verify
+ * @memberof google.cloud.tasks.v2.PurgeQueueRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ PurgeQueueRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.name != null && message.hasOwnProperty("name"))
+ if (!$util.isString(message.name))
+ return "name: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a PurgeQueueRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.tasks.v2.PurgeQueueRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.tasks.v2.PurgeQueueRequest} PurgeQueueRequest
+ */
+ PurgeQueueRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.tasks.v2.PurgeQueueRequest)
+ return object;
+ var message = new $root.google.cloud.tasks.v2.PurgeQueueRequest();
+ if (object.name != null)
+ message.name = String(object.name);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a PurgeQueueRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.tasks.v2.PurgeQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2.PurgeQueueRequest} message PurgeQueueRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ PurgeQueueRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ object.name = "";
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ return object;
+ };
+
+ /**
+ * Converts this PurgeQueueRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.tasks.v2.PurgeQueueRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ PurgeQueueRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for PurgeQueueRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.tasks.v2.PurgeQueueRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ PurgeQueueRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.tasks.v2.PurgeQueueRequest";
+ };
+
+ return PurgeQueueRequest;
+ })();
+
+ v2.PauseQueueRequest = (function() {
+
+ /**
+ * Properties of a PauseQueueRequest.
+ * @memberof google.cloud.tasks.v2
+ * @interface IPauseQueueRequest
+ * @property {string|null} [name] PauseQueueRequest name
+ */
+
+ /**
+ * Constructs a new PauseQueueRequest.
+ * @memberof google.cloud.tasks.v2
+ * @classdesc Represents a PauseQueueRequest.
+ * @implements IPauseQueueRequest
+ * @constructor
+ * @param {google.cloud.tasks.v2.IPauseQueueRequest=} [properties] Properties to set
+ */
+ function PauseQueueRequest(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]];
+ }
+
+ /**
+ * PauseQueueRequest name.
+ * @member {string} name
+ * @memberof google.cloud.tasks.v2.PauseQueueRequest
+ * @instance
+ */
+ PauseQueueRequest.prototype.name = "";
+
+ /**
+ * Creates a new PauseQueueRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.tasks.v2.PauseQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2.IPauseQueueRequest=} [properties] Properties to set
+ * @returns {google.cloud.tasks.v2.PauseQueueRequest} PauseQueueRequest instance
+ */
+ PauseQueueRequest.create = function create(properties) {
+ return new PauseQueueRequest(properties);
+ };
+
+ /**
+ * Encodes the specified PauseQueueRequest message. Does not implicitly {@link google.cloud.tasks.v2.PauseQueueRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.tasks.v2.PauseQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2.IPauseQueueRequest} message PauseQueueRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ PauseQueueRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified PauseQueueRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.PauseQueueRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.tasks.v2.PauseQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2.IPauseQueueRequest} message PauseQueueRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ PauseQueueRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a PauseQueueRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.tasks.v2.PauseQueueRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.tasks.v2.PauseQueueRequest} PauseQueueRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ PauseQueueRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.tasks.v2.PauseQueueRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a PauseQueueRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.tasks.v2.PauseQueueRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.tasks.v2.PauseQueueRequest} PauseQueueRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ PauseQueueRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a PauseQueueRequest message.
+ * @function verify
+ * @memberof google.cloud.tasks.v2.PauseQueueRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ PauseQueueRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.name != null && message.hasOwnProperty("name"))
+ if (!$util.isString(message.name))
+ return "name: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a PauseQueueRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.tasks.v2.PauseQueueRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.tasks.v2.PauseQueueRequest} PauseQueueRequest
+ */
+ PauseQueueRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.tasks.v2.PauseQueueRequest)
+ return object;
+ var message = new $root.google.cloud.tasks.v2.PauseQueueRequest();
+ if (object.name != null)
+ message.name = String(object.name);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a PauseQueueRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.tasks.v2.PauseQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2.PauseQueueRequest} message PauseQueueRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ PauseQueueRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ object.name = "";
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ return object;
+ };
+
+ /**
+ * Converts this PauseQueueRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.tasks.v2.PauseQueueRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ PauseQueueRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for PauseQueueRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.tasks.v2.PauseQueueRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ PauseQueueRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.tasks.v2.PauseQueueRequest";
+ };
+
+ return PauseQueueRequest;
+ })();
+
+ v2.ResumeQueueRequest = (function() {
+
+ /**
+ * Properties of a ResumeQueueRequest.
+ * @memberof google.cloud.tasks.v2
+ * @interface IResumeQueueRequest
+ * @property {string|null} [name] ResumeQueueRequest name
+ */
+
+ /**
+ * Constructs a new ResumeQueueRequest.
+ * @memberof google.cloud.tasks.v2
+ * @classdesc Represents a ResumeQueueRequest.
+ * @implements IResumeQueueRequest
+ * @constructor
+ * @param {google.cloud.tasks.v2.IResumeQueueRequest=} [properties] Properties to set
+ */
+ function ResumeQueueRequest(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]];
+ }
+
+ /**
+ * ResumeQueueRequest name.
+ * @member {string} name
+ * @memberof google.cloud.tasks.v2.ResumeQueueRequest
+ * @instance
+ */
+ ResumeQueueRequest.prototype.name = "";
+
+ /**
+ * Creates a new ResumeQueueRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.tasks.v2.ResumeQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2.IResumeQueueRequest=} [properties] Properties to set
+ * @returns {google.cloud.tasks.v2.ResumeQueueRequest} ResumeQueueRequest instance
+ */
+ ResumeQueueRequest.create = function create(properties) {
+ return new ResumeQueueRequest(properties);
+ };
+
+ /**
+ * Encodes the specified ResumeQueueRequest message. Does not implicitly {@link google.cloud.tasks.v2.ResumeQueueRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.tasks.v2.ResumeQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2.IResumeQueueRequest} message ResumeQueueRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ResumeQueueRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ResumeQueueRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.ResumeQueueRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.tasks.v2.ResumeQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2.IResumeQueueRequest} message ResumeQueueRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ResumeQueueRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ResumeQueueRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.tasks.v2.ResumeQueueRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.tasks.v2.ResumeQueueRequest} ResumeQueueRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ResumeQueueRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.tasks.v2.ResumeQueueRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a ResumeQueueRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.tasks.v2.ResumeQueueRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.tasks.v2.ResumeQueueRequest} ResumeQueueRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ResumeQueueRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ResumeQueueRequest message.
+ * @function verify
+ * @memberof google.cloud.tasks.v2.ResumeQueueRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ResumeQueueRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.name != null && message.hasOwnProperty("name"))
+ if (!$util.isString(message.name))
+ return "name: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a ResumeQueueRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.tasks.v2.ResumeQueueRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.tasks.v2.ResumeQueueRequest} ResumeQueueRequest
+ */
+ ResumeQueueRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.tasks.v2.ResumeQueueRequest)
+ return object;
+ var message = new $root.google.cloud.tasks.v2.ResumeQueueRequest();
+ if (object.name != null)
+ message.name = String(object.name);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a ResumeQueueRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.tasks.v2.ResumeQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2.ResumeQueueRequest} message ResumeQueueRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ResumeQueueRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ object.name = "";
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ return object;
+ };
+
+ /**
+ * Converts this ResumeQueueRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.tasks.v2.ResumeQueueRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ResumeQueueRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ResumeQueueRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.tasks.v2.ResumeQueueRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ResumeQueueRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.tasks.v2.ResumeQueueRequest";
+ };
+
+ return ResumeQueueRequest;
+ })();
+
+ v2.ListTasksRequest = (function() {
+
+ /**
+ * Properties of a ListTasksRequest.
+ * @memberof google.cloud.tasks.v2
+ * @interface IListTasksRequest
+ * @property {string|null} [parent] ListTasksRequest parent
+ * @property {google.cloud.tasks.v2.Task.View|null} [responseView] ListTasksRequest responseView
+ * @property {number|null} [pageSize] ListTasksRequest pageSize
+ * @property {string|null} [pageToken] ListTasksRequest pageToken
+ */
+
+ /**
+ * Constructs a new ListTasksRequest.
+ * @memberof google.cloud.tasks.v2
+ * @classdesc Represents a ListTasksRequest.
+ * @implements IListTasksRequest
+ * @constructor
+ * @param {google.cloud.tasks.v2.IListTasksRequest=} [properties] Properties to set
+ */
+ function ListTasksRequest(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]];
+ }
+
+ /**
+ * ListTasksRequest parent.
+ * @member {string} parent
+ * @memberof google.cloud.tasks.v2.ListTasksRequest
+ * @instance
+ */
+ ListTasksRequest.prototype.parent = "";
+
+ /**
+ * ListTasksRequest responseView.
+ * @member {google.cloud.tasks.v2.Task.View} responseView
+ * @memberof google.cloud.tasks.v2.ListTasksRequest
+ * @instance
+ */
+ ListTasksRequest.prototype.responseView = 0;
+
+ /**
+ * ListTasksRequest pageSize.
+ * @member {number} pageSize
+ * @memberof google.cloud.tasks.v2.ListTasksRequest
+ * @instance
+ */
+ ListTasksRequest.prototype.pageSize = 0;
+
+ /**
+ * ListTasksRequest pageToken.
+ * @member {string} pageToken
+ * @memberof google.cloud.tasks.v2.ListTasksRequest
+ * @instance
+ */
+ ListTasksRequest.prototype.pageToken = "";
+
+ /**
+ * Creates a new ListTasksRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.tasks.v2.ListTasksRequest
+ * @static
+ * @param {google.cloud.tasks.v2.IListTasksRequest=} [properties] Properties to set
+ * @returns {google.cloud.tasks.v2.ListTasksRequest} ListTasksRequest instance
+ */
+ ListTasksRequest.create = function create(properties) {
+ return new ListTasksRequest(properties);
+ };
+
+ /**
+ * Encodes the specified ListTasksRequest message. Does not implicitly {@link google.cloud.tasks.v2.ListTasksRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.tasks.v2.ListTasksRequest
+ * @static
+ * @param {google.cloud.tasks.v2.IListTasksRequest} message ListTasksRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListTasksRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.parent != null && Object.hasOwnProperty.call(message, "parent"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.parent);
+ if (message.responseView != null && Object.hasOwnProperty.call(message, "responseView"))
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.responseView);
+ if (message.pageSize != null && Object.hasOwnProperty.call(message, "pageSize"))
+ writer.uint32(/* id 3, wireType 0 =*/24).int32(message.pageSize);
+ if (message.pageToken != null && Object.hasOwnProperty.call(message, "pageToken"))
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.pageToken);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ListTasksRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.ListTasksRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.tasks.v2.ListTasksRequest
+ * @static
+ * @param {google.cloud.tasks.v2.IListTasksRequest} message ListTasksRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListTasksRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ListTasksRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.tasks.v2.ListTasksRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.tasks.v2.ListTasksRequest} ListTasksRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListTasksRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.tasks.v2.ListTasksRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.parent = reader.string();
+ break;
+ }
+ case 2: {
+ message.responseView = reader.int32();
+ break;
+ }
+ case 3: {
+ message.pageSize = reader.int32();
+ break;
+ }
+ case 4: {
+ message.pageToken = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a ListTasksRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.tasks.v2.ListTasksRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.tasks.v2.ListTasksRequest} ListTasksRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListTasksRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ListTasksRequest message.
+ * @function verify
+ * @memberof google.cloud.tasks.v2.ListTasksRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ListTasksRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ if (!$util.isString(message.parent))
+ return "parent: string expected";
+ if (message.responseView != null && message.hasOwnProperty("responseView"))
+ switch (message.responseView) {
+ default:
+ return "responseView: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ break;
+ }
+ if (message.pageSize != null && message.hasOwnProperty("pageSize"))
+ if (!$util.isInteger(message.pageSize))
+ return "pageSize: integer expected";
+ if (message.pageToken != null && message.hasOwnProperty("pageToken"))
+ if (!$util.isString(message.pageToken))
+ return "pageToken: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a ListTasksRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.tasks.v2.ListTasksRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.tasks.v2.ListTasksRequest} ListTasksRequest
+ */
+ ListTasksRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.tasks.v2.ListTasksRequest)
+ return object;
+ var message = new $root.google.cloud.tasks.v2.ListTasksRequest();
+ if (object.parent != null)
+ message.parent = String(object.parent);
+ switch (object.responseView) {
+ default:
+ if (typeof object.responseView === "number") {
+ message.responseView = object.responseView;
+ break;
+ }
+ break;
+ case "VIEW_UNSPECIFIED":
+ case 0:
+ message.responseView = 0;
+ break;
+ case "BASIC":
+ case 1:
+ message.responseView = 1;
+ break;
+ case "FULL":
+ case 2:
+ message.responseView = 2;
+ break;
+ }
+ if (object.pageSize != null)
+ message.pageSize = object.pageSize | 0;
+ if (object.pageToken != null)
+ message.pageToken = String(object.pageToken);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a ListTasksRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.tasks.v2.ListTasksRequest
+ * @static
+ * @param {google.cloud.tasks.v2.ListTasksRequest} message ListTasksRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ListTasksRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.parent = "";
+ object.responseView = options.enums === String ? "VIEW_UNSPECIFIED" : 0;
+ object.pageSize = 0;
+ object.pageToken = "";
+ }
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ object.parent = message.parent;
+ if (message.responseView != null && message.hasOwnProperty("responseView"))
+ object.responseView = options.enums === String ? $root.google.cloud.tasks.v2.Task.View[message.responseView] === undefined ? message.responseView : $root.google.cloud.tasks.v2.Task.View[message.responseView] : message.responseView;
+ if (message.pageSize != null && message.hasOwnProperty("pageSize"))
+ object.pageSize = message.pageSize;
+ if (message.pageToken != null && message.hasOwnProperty("pageToken"))
+ object.pageToken = message.pageToken;
+ return object;
+ };
+
+ /**
+ * Converts this ListTasksRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.tasks.v2.ListTasksRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ListTasksRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ListTasksRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.tasks.v2.ListTasksRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ListTasksRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.tasks.v2.ListTasksRequest";
+ };
+
+ return ListTasksRequest;
+ })();
+
+ v2.ListTasksResponse = (function() {
+
+ /**
+ * Properties of a ListTasksResponse.
+ * @memberof google.cloud.tasks.v2
+ * @interface IListTasksResponse
+ * @property {Array.|null} [tasks] ListTasksResponse tasks
+ * @property {string|null} [nextPageToken] ListTasksResponse nextPageToken
+ */
+
+ /**
+ * Constructs a new ListTasksResponse.
+ * @memberof google.cloud.tasks.v2
+ * @classdesc Represents a ListTasksResponse.
+ * @implements IListTasksResponse
+ * @constructor
+ * @param {google.cloud.tasks.v2.IListTasksResponse=} [properties] Properties to set
+ */
+ function ListTasksResponse(properties) {
+ this.tasks = [];
+ 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]];
+ }
+
+ /**
+ * ListTasksResponse tasks.
+ * @member {Array.} tasks
+ * @memberof google.cloud.tasks.v2.ListTasksResponse
+ * @instance
+ */
+ ListTasksResponse.prototype.tasks = $util.emptyArray;
+
+ /**
+ * ListTasksResponse nextPageToken.
+ * @member {string} nextPageToken
+ * @memberof google.cloud.tasks.v2.ListTasksResponse
+ * @instance
+ */
+ ListTasksResponse.prototype.nextPageToken = "";
+
+ /**
+ * Creates a new ListTasksResponse instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.tasks.v2.ListTasksResponse
+ * @static
+ * @param {google.cloud.tasks.v2.IListTasksResponse=} [properties] Properties to set
+ * @returns {google.cloud.tasks.v2.ListTasksResponse} ListTasksResponse instance
+ */
+ ListTasksResponse.create = function create(properties) {
+ return new ListTasksResponse(properties);
+ };
+
+ /**
+ * Encodes the specified ListTasksResponse message. Does not implicitly {@link google.cloud.tasks.v2.ListTasksResponse.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.tasks.v2.ListTasksResponse
+ * @static
+ * @param {google.cloud.tasks.v2.IListTasksResponse} message ListTasksResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListTasksResponse.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.tasks != null && message.tasks.length)
+ for (var i = 0; i < message.tasks.length; ++i)
+ $root.google.cloud.tasks.v2.Task.encode(message.tasks[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.nextPageToken != null && Object.hasOwnProperty.call(message, "nextPageToken"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.nextPageToken);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ListTasksResponse message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.ListTasksResponse.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.tasks.v2.ListTasksResponse
+ * @static
+ * @param {google.cloud.tasks.v2.IListTasksResponse} message ListTasksResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListTasksResponse.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ListTasksResponse message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.tasks.v2.ListTasksResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.tasks.v2.ListTasksResponse} ListTasksResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListTasksResponse.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.tasks.v2.ListTasksResponse();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ if (!(message.tasks && message.tasks.length))
+ message.tasks = [];
+ message.tasks.push($root.google.cloud.tasks.v2.Task.decode(reader, reader.uint32()));
+ break;
+ }
+ case 2: {
+ message.nextPageToken = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a ListTasksResponse message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.tasks.v2.ListTasksResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.tasks.v2.ListTasksResponse} ListTasksResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListTasksResponse.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ListTasksResponse message.
+ * @function verify
+ * @memberof google.cloud.tasks.v2.ListTasksResponse
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ListTasksResponse.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.tasks != null && message.hasOwnProperty("tasks")) {
+ if (!Array.isArray(message.tasks))
+ return "tasks: array expected";
+ for (var i = 0; i < message.tasks.length; ++i) {
+ var error = $root.google.cloud.tasks.v2.Task.verify(message.tasks[i]);
+ if (error)
+ return "tasks." + error;
+ }
+ }
+ if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken"))
+ if (!$util.isString(message.nextPageToken))
+ return "nextPageToken: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a ListTasksResponse message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.tasks.v2.ListTasksResponse
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.tasks.v2.ListTasksResponse} ListTasksResponse
+ */
+ ListTasksResponse.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.tasks.v2.ListTasksResponse)
+ return object;
+ var message = new $root.google.cloud.tasks.v2.ListTasksResponse();
+ if (object.tasks) {
+ if (!Array.isArray(object.tasks))
+ throw TypeError(".google.cloud.tasks.v2.ListTasksResponse.tasks: array expected");
+ message.tasks = [];
+ for (var i = 0; i < object.tasks.length; ++i) {
+ if (typeof object.tasks[i] !== "object")
+ throw TypeError(".google.cloud.tasks.v2.ListTasksResponse.tasks: object expected");
+ message.tasks[i] = $root.google.cloud.tasks.v2.Task.fromObject(object.tasks[i]);
+ }
+ }
+ if (object.nextPageToken != null)
+ message.nextPageToken = String(object.nextPageToken);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a ListTasksResponse message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.tasks.v2.ListTasksResponse
+ * @static
+ * @param {google.cloud.tasks.v2.ListTasksResponse} message ListTasksResponse
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ListTasksResponse.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.tasks = [];
+ if (options.defaults)
+ object.nextPageToken = "";
+ if (message.tasks && message.tasks.length) {
+ object.tasks = [];
+ for (var j = 0; j < message.tasks.length; ++j)
+ object.tasks[j] = $root.google.cloud.tasks.v2.Task.toObject(message.tasks[j], options);
+ }
+ if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken"))
+ object.nextPageToken = message.nextPageToken;
+ return object;
+ };
+
+ /**
+ * Converts this ListTasksResponse to JSON.
+ * @function toJSON
+ * @memberof google.cloud.tasks.v2.ListTasksResponse
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ListTasksResponse.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ListTasksResponse
+ * @function getTypeUrl
+ * @memberof google.cloud.tasks.v2.ListTasksResponse
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ListTasksResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.tasks.v2.ListTasksResponse";
+ };
+
+ return ListTasksResponse;
+ })();
+
+ v2.GetTaskRequest = (function() {
+
+ /**
+ * Properties of a GetTaskRequest.
+ * @memberof google.cloud.tasks.v2
+ * @interface IGetTaskRequest
+ * @property {string|null} [name] GetTaskRequest name
+ * @property {google.cloud.tasks.v2.Task.View|null} [responseView] GetTaskRequest responseView
+ */
+
+ /**
+ * Constructs a new GetTaskRequest.
+ * @memberof google.cloud.tasks.v2
+ * @classdesc Represents a GetTaskRequest.
+ * @implements IGetTaskRequest
+ * @constructor
+ * @param {google.cloud.tasks.v2.IGetTaskRequest=} [properties] Properties to set
+ */
+ function GetTaskRequest(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]];
+ }
+
+ /**
+ * GetTaskRequest name.
+ * @member {string} name
+ * @memberof google.cloud.tasks.v2.GetTaskRequest
+ * @instance
+ */
+ GetTaskRequest.prototype.name = "";
+
+ /**
+ * GetTaskRequest responseView.
+ * @member {google.cloud.tasks.v2.Task.View} responseView
+ * @memberof google.cloud.tasks.v2.GetTaskRequest
+ * @instance
+ */
+ GetTaskRequest.prototype.responseView = 0;
+
+ /**
+ * Creates a new GetTaskRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.tasks.v2.GetTaskRequest
+ * @static
+ * @param {google.cloud.tasks.v2.IGetTaskRequest=} [properties] Properties to set
+ * @returns {google.cloud.tasks.v2.GetTaskRequest} GetTaskRequest instance
+ */
+ GetTaskRequest.create = function create(properties) {
+ return new GetTaskRequest(properties);
+ };
+
+ /**
+ * Encodes the specified GetTaskRequest message. Does not implicitly {@link google.cloud.tasks.v2.GetTaskRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.tasks.v2.GetTaskRequest
+ * @static
+ * @param {google.cloud.tasks.v2.IGetTaskRequest} message GetTaskRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GetTaskRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
+ if (message.responseView != null && Object.hasOwnProperty.call(message, "responseView"))
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.responseView);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified GetTaskRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.GetTaskRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.tasks.v2.GetTaskRequest
+ * @static
+ * @param {google.cloud.tasks.v2.IGetTaskRequest} message GetTaskRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GetTaskRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a GetTaskRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.tasks.v2.GetTaskRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.tasks.v2.GetTaskRequest} GetTaskRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GetTaskRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.tasks.v2.GetTaskRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ case 2: {
+ message.responseView = reader.int32();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a GetTaskRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.tasks.v2.GetTaskRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.tasks.v2.GetTaskRequest} GetTaskRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GetTaskRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a GetTaskRequest message.
+ * @function verify
+ * @memberof google.cloud.tasks.v2.GetTaskRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ GetTaskRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.name != null && message.hasOwnProperty("name"))
+ if (!$util.isString(message.name))
+ return "name: string expected";
+ if (message.responseView != null && message.hasOwnProperty("responseView"))
+ switch (message.responseView) {
+ default:
+ return "responseView: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ break;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a GetTaskRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.tasks.v2.GetTaskRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.tasks.v2.GetTaskRequest} GetTaskRequest
+ */
+ GetTaskRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.tasks.v2.GetTaskRequest)
+ return object;
+ var message = new $root.google.cloud.tasks.v2.GetTaskRequest();
+ if (object.name != null)
+ message.name = String(object.name);
+ switch (object.responseView) {
+ default:
+ if (typeof object.responseView === "number") {
+ message.responseView = object.responseView;
+ break;
+ }
+ break;
+ case "VIEW_UNSPECIFIED":
+ case 0:
+ message.responseView = 0;
+ break;
+ case "BASIC":
+ case 1:
+ message.responseView = 1;
+ break;
+ case "FULL":
+ case 2:
+ message.responseView = 2;
+ break;
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a GetTaskRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.tasks.v2.GetTaskRequest
+ * @static
+ * @param {google.cloud.tasks.v2.GetTaskRequest} message GetTaskRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ GetTaskRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.name = "";
+ object.responseView = options.enums === String ? "VIEW_UNSPECIFIED" : 0;
+ }
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ if (message.responseView != null && message.hasOwnProperty("responseView"))
+ object.responseView = options.enums === String ? $root.google.cloud.tasks.v2.Task.View[message.responseView] === undefined ? message.responseView : $root.google.cloud.tasks.v2.Task.View[message.responseView] : message.responseView;
+ return object;
+ };
+
+ /**
+ * Converts this GetTaskRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.tasks.v2.GetTaskRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ GetTaskRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for GetTaskRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.tasks.v2.GetTaskRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ GetTaskRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.tasks.v2.GetTaskRequest";
+ };
+
+ return GetTaskRequest;
+ })();
+
+ v2.CreateTaskRequest = (function() {
+
+ /**
+ * Properties of a CreateTaskRequest.
+ * @memberof google.cloud.tasks.v2
+ * @interface ICreateTaskRequest
+ * @property {string|null} [parent] CreateTaskRequest parent
+ * @property {google.cloud.tasks.v2.ITask|null} [task] CreateTaskRequest task
+ * @property {google.cloud.tasks.v2.Task.View|null} [responseView] CreateTaskRequest responseView
+ */
+
+ /**
+ * Constructs a new CreateTaskRequest.
+ * @memberof google.cloud.tasks.v2
+ * @classdesc Represents a CreateTaskRequest.
+ * @implements ICreateTaskRequest
+ * @constructor
+ * @param {google.cloud.tasks.v2.ICreateTaskRequest=} [properties] Properties to set
+ */
+ function CreateTaskRequest(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]];
+ }
+
+ /**
+ * CreateTaskRequest parent.
+ * @member {string} parent
+ * @memberof google.cloud.tasks.v2.CreateTaskRequest
+ * @instance
+ */
+ CreateTaskRequest.prototype.parent = "";
+
+ /**
+ * CreateTaskRequest task.
+ * @member {google.cloud.tasks.v2.ITask|null|undefined} task
+ * @memberof google.cloud.tasks.v2.CreateTaskRequest
+ * @instance
+ */
+ CreateTaskRequest.prototype.task = null;
+
+ /**
+ * CreateTaskRequest responseView.
+ * @member {google.cloud.tasks.v2.Task.View} responseView
+ * @memberof google.cloud.tasks.v2.CreateTaskRequest
+ * @instance
+ */
+ CreateTaskRequest.prototype.responseView = 0;
+
+ /**
+ * Creates a new CreateTaskRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.tasks.v2.CreateTaskRequest
+ * @static
+ * @param {google.cloud.tasks.v2.ICreateTaskRequest=} [properties] Properties to set
+ * @returns {google.cloud.tasks.v2.CreateTaskRequest} CreateTaskRequest instance
+ */
+ CreateTaskRequest.create = function create(properties) {
+ return new CreateTaskRequest(properties);
+ };
+
+ /**
+ * Encodes the specified CreateTaskRequest message. Does not implicitly {@link google.cloud.tasks.v2.CreateTaskRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.tasks.v2.CreateTaskRequest
+ * @static
+ * @param {google.cloud.tasks.v2.ICreateTaskRequest} message CreateTaskRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ CreateTaskRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.parent != null && Object.hasOwnProperty.call(message, "parent"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.parent);
+ if (message.task != null && Object.hasOwnProperty.call(message, "task"))
+ $root.google.cloud.tasks.v2.Task.encode(message.task, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ if (message.responseView != null && Object.hasOwnProperty.call(message, "responseView"))
+ writer.uint32(/* id 3, wireType 0 =*/24).int32(message.responseView);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified CreateTaskRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.CreateTaskRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.tasks.v2.CreateTaskRequest
+ * @static
+ * @param {google.cloud.tasks.v2.ICreateTaskRequest} message CreateTaskRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ CreateTaskRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a CreateTaskRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.tasks.v2.CreateTaskRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.tasks.v2.CreateTaskRequest} CreateTaskRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ CreateTaskRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.tasks.v2.CreateTaskRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.parent = reader.string();
+ break;
+ }
+ case 2: {
+ message.task = $root.google.cloud.tasks.v2.Task.decode(reader, reader.uint32());
+ break;
+ }
+ case 3: {
+ message.responseView = reader.int32();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a CreateTaskRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.tasks.v2.CreateTaskRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.tasks.v2.CreateTaskRequest} CreateTaskRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ CreateTaskRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a CreateTaskRequest message.
+ * @function verify
+ * @memberof google.cloud.tasks.v2.CreateTaskRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ CreateTaskRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ if (!$util.isString(message.parent))
+ return "parent: string expected";
+ if (message.task != null && message.hasOwnProperty("task")) {
+ var error = $root.google.cloud.tasks.v2.Task.verify(message.task);
+ if (error)
+ return "task." + error;
+ }
+ if (message.responseView != null && message.hasOwnProperty("responseView"))
+ switch (message.responseView) {
+ default:
+ return "responseView: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ break;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a CreateTaskRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.tasks.v2.CreateTaskRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.tasks.v2.CreateTaskRequest} CreateTaskRequest
+ */
+ CreateTaskRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.tasks.v2.CreateTaskRequest)
+ return object;
+ var message = new $root.google.cloud.tasks.v2.CreateTaskRequest();
+ if (object.parent != null)
+ message.parent = String(object.parent);
+ if (object.task != null) {
+ if (typeof object.task !== "object")
+ throw TypeError(".google.cloud.tasks.v2.CreateTaskRequest.task: object expected");
+ message.task = $root.google.cloud.tasks.v2.Task.fromObject(object.task);
+ }
+ switch (object.responseView) {
+ default:
+ if (typeof object.responseView === "number") {
+ message.responseView = object.responseView;
+ break;
+ }
+ break;
+ case "VIEW_UNSPECIFIED":
+ case 0:
+ message.responseView = 0;
+ break;
+ case "BASIC":
+ case 1:
+ message.responseView = 1;
+ break;
+ case "FULL":
+ case 2:
+ message.responseView = 2;
+ break;
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a CreateTaskRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.tasks.v2.CreateTaskRequest
+ * @static
+ * @param {google.cloud.tasks.v2.CreateTaskRequest} message CreateTaskRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ CreateTaskRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.parent = "";
+ object.task = null;
+ object.responseView = options.enums === String ? "VIEW_UNSPECIFIED" : 0;
+ }
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ object.parent = message.parent;
+ if (message.task != null && message.hasOwnProperty("task"))
+ object.task = $root.google.cloud.tasks.v2.Task.toObject(message.task, options);
+ if (message.responseView != null && message.hasOwnProperty("responseView"))
+ object.responseView = options.enums === String ? $root.google.cloud.tasks.v2.Task.View[message.responseView] === undefined ? message.responseView : $root.google.cloud.tasks.v2.Task.View[message.responseView] : message.responseView;
+ return object;
+ };
+
+ /**
+ * Converts this CreateTaskRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.tasks.v2.CreateTaskRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ CreateTaskRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for CreateTaskRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.tasks.v2.CreateTaskRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ CreateTaskRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.tasks.v2.CreateTaskRequest";
+ };
+
+ return CreateTaskRequest;
+ })();
+
+ v2.DeleteTaskRequest = (function() {
+
+ /**
+ * Properties of a DeleteTaskRequest.
+ * @memberof google.cloud.tasks.v2
+ * @interface IDeleteTaskRequest
+ * @property {string|null} [name] DeleteTaskRequest name
+ */
+
+ /**
+ * Constructs a new DeleteTaskRequest.
+ * @memberof google.cloud.tasks.v2
+ * @classdesc Represents a DeleteTaskRequest.
+ * @implements IDeleteTaskRequest
+ * @constructor
+ * @param {google.cloud.tasks.v2.IDeleteTaskRequest=} [properties] Properties to set
+ */
+ function DeleteTaskRequest(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]];
+ }
+
+ /**
+ * DeleteTaskRequest name.
+ * @member {string} name
+ * @memberof google.cloud.tasks.v2.DeleteTaskRequest
+ * @instance
+ */
+ DeleteTaskRequest.prototype.name = "";
+
+ /**
+ * Creates a new DeleteTaskRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.tasks.v2.DeleteTaskRequest
+ * @static
+ * @param {google.cloud.tasks.v2.IDeleteTaskRequest=} [properties] Properties to set
+ * @returns {google.cloud.tasks.v2.DeleteTaskRequest} DeleteTaskRequest instance
+ */
+ DeleteTaskRequest.create = function create(properties) {
+ return new DeleteTaskRequest(properties);
+ };
+
+ /**
+ * Encodes the specified DeleteTaskRequest message. Does not implicitly {@link google.cloud.tasks.v2.DeleteTaskRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.tasks.v2.DeleteTaskRequest
+ * @static
+ * @param {google.cloud.tasks.v2.IDeleteTaskRequest} message DeleteTaskRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DeleteTaskRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified DeleteTaskRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.DeleteTaskRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.tasks.v2.DeleteTaskRequest
+ * @static
+ * @param {google.cloud.tasks.v2.IDeleteTaskRequest} message DeleteTaskRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DeleteTaskRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a DeleteTaskRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.tasks.v2.DeleteTaskRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.tasks.v2.DeleteTaskRequest} DeleteTaskRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DeleteTaskRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.tasks.v2.DeleteTaskRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a DeleteTaskRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.tasks.v2.DeleteTaskRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.tasks.v2.DeleteTaskRequest} DeleteTaskRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DeleteTaskRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a DeleteTaskRequest message.
+ * @function verify
+ * @memberof google.cloud.tasks.v2.DeleteTaskRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ DeleteTaskRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.name != null && message.hasOwnProperty("name"))
+ if (!$util.isString(message.name))
+ return "name: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a DeleteTaskRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.tasks.v2.DeleteTaskRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.tasks.v2.DeleteTaskRequest} DeleteTaskRequest
+ */
+ DeleteTaskRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.tasks.v2.DeleteTaskRequest)
+ return object;
+ var message = new $root.google.cloud.tasks.v2.DeleteTaskRequest();
+ if (object.name != null)
+ message.name = String(object.name);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a DeleteTaskRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.tasks.v2.DeleteTaskRequest
+ * @static
+ * @param {google.cloud.tasks.v2.DeleteTaskRequest} message DeleteTaskRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ DeleteTaskRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ object.name = "";
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ return object;
+ };
+
+ /**
+ * Converts this DeleteTaskRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.tasks.v2.DeleteTaskRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ DeleteTaskRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for DeleteTaskRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.tasks.v2.DeleteTaskRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ DeleteTaskRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.tasks.v2.DeleteTaskRequest";
+ };
+
+ return DeleteTaskRequest;
+ })();
+
+ v2.RunTaskRequest = (function() {
+
+ /**
+ * Properties of a RunTaskRequest.
+ * @memberof google.cloud.tasks.v2
+ * @interface IRunTaskRequest
+ * @property {string|null} [name] RunTaskRequest name
+ * @property {google.cloud.tasks.v2.Task.View|null} [responseView] RunTaskRequest responseView
+ */
+
+ /**
+ * Constructs a new RunTaskRequest.
+ * @memberof google.cloud.tasks.v2
+ * @classdesc Represents a RunTaskRequest.
+ * @implements IRunTaskRequest
+ * @constructor
+ * @param {google.cloud.tasks.v2.IRunTaskRequest=} [properties] Properties to set
+ */
+ function RunTaskRequest(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]];
+ }
+
+ /**
+ * RunTaskRequest name.
+ * @member {string} name
+ * @memberof google.cloud.tasks.v2.RunTaskRequest
+ * @instance
+ */
+ RunTaskRequest.prototype.name = "";
+
+ /**
+ * RunTaskRequest responseView.
+ * @member {google.cloud.tasks.v2.Task.View} responseView
+ * @memberof google.cloud.tasks.v2.RunTaskRequest
+ * @instance
+ */
+ RunTaskRequest.prototype.responseView = 0;
+
+ /**
+ * Creates a new RunTaskRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.tasks.v2.RunTaskRequest
+ * @static
+ * @param {google.cloud.tasks.v2.IRunTaskRequest=} [properties] Properties to set
+ * @returns {google.cloud.tasks.v2.RunTaskRequest} RunTaskRequest instance
+ */
+ RunTaskRequest.create = function create(properties) {
+ return new RunTaskRequest(properties);
+ };
+
+ /**
+ * Encodes the specified RunTaskRequest message. Does not implicitly {@link google.cloud.tasks.v2.RunTaskRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.tasks.v2.RunTaskRequest
+ * @static
+ * @param {google.cloud.tasks.v2.IRunTaskRequest} message RunTaskRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ RunTaskRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
+ if (message.responseView != null && Object.hasOwnProperty.call(message, "responseView"))
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.responseView);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified RunTaskRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.RunTaskRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.tasks.v2.RunTaskRequest
+ * @static
+ * @param {google.cloud.tasks.v2.IRunTaskRequest} message RunTaskRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ RunTaskRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a RunTaskRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.tasks.v2.RunTaskRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.tasks.v2.RunTaskRequest} RunTaskRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ RunTaskRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.tasks.v2.RunTaskRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ case 2: {
+ message.responseView = reader.int32();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a RunTaskRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.tasks.v2.RunTaskRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.tasks.v2.RunTaskRequest} RunTaskRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ RunTaskRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a RunTaskRequest message.
+ * @function verify
+ * @memberof google.cloud.tasks.v2.RunTaskRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ RunTaskRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.name != null && message.hasOwnProperty("name"))
+ if (!$util.isString(message.name))
+ return "name: string expected";
+ if (message.responseView != null && message.hasOwnProperty("responseView"))
+ switch (message.responseView) {
+ default:
+ return "responseView: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ break;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a RunTaskRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.tasks.v2.RunTaskRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.tasks.v2.RunTaskRequest} RunTaskRequest
+ */
+ RunTaskRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.tasks.v2.RunTaskRequest)
+ return object;
+ var message = new $root.google.cloud.tasks.v2.RunTaskRequest();
+ if (object.name != null)
+ message.name = String(object.name);
+ switch (object.responseView) {
+ default:
+ if (typeof object.responseView === "number") {
+ message.responseView = object.responseView;
+ break;
+ }
+ break;
+ case "VIEW_UNSPECIFIED":
+ case 0:
+ message.responseView = 0;
+ break;
+ case "BASIC":
+ case 1:
+ message.responseView = 1;
+ break;
+ case "FULL":
+ case 2:
+ message.responseView = 2;
+ break;
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a RunTaskRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.tasks.v2.RunTaskRequest
+ * @static
+ * @param {google.cloud.tasks.v2.RunTaskRequest} message RunTaskRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ RunTaskRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.name = "";
+ object.responseView = options.enums === String ? "VIEW_UNSPECIFIED" : 0;
+ }
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ if (message.responseView != null && message.hasOwnProperty("responseView"))
+ object.responseView = options.enums === String ? $root.google.cloud.tasks.v2.Task.View[message.responseView] === undefined ? message.responseView : $root.google.cloud.tasks.v2.Task.View[message.responseView] : message.responseView;
+ return object;
+ };
+
+ /**
+ * Converts this RunTaskRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.tasks.v2.RunTaskRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ RunTaskRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for RunTaskRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.tasks.v2.RunTaskRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ RunTaskRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.tasks.v2.RunTaskRequest";
+ };
+
+ return RunTaskRequest;
+ })();
+
+ v2.Queue = (function() {
+
+ /**
+ * Properties of a Queue.
+ * @memberof google.cloud.tasks.v2
+ * @interface IQueue
+ * @property {string|null} [name] Queue name
+ * @property {google.cloud.tasks.v2.IAppEngineRouting|null} [appEngineRoutingOverride] Queue appEngineRoutingOverride
+ * @property {google.cloud.tasks.v2.IRateLimits|null} [rateLimits] Queue rateLimits
+ * @property {google.cloud.tasks.v2.IRetryConfig|null} [retryConfig] Queue retryConfig
+ * @property {google.cloud.tasks.v2.Queue.State|null} [state] Queue state
+ * @property {google.protobuf.ITimestamp|null} [purgeTime] Queue purgeTime
+ * @property {google.cloud.tasks.v2.IStackdriverLoggingConfig|null} [stackdriverLoggingConfig] Queue stackdriverLoggingConfig
+ */
+
+ /**
+ * Constructs a new Queue.
+ * @memberof google.cloud.tasks.v2
+ * @classdesc Represents a Queue.
+ * @implements IQueue
+ * @constructor
+ * @param {google.cloud.tasks.v2.IQueue=} [properties] Properties to set
+ */
+ function Queue(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]];
+ }
+
+ /**
+ * Queue name.
+ * @member {string} name
+ * @memberof google.cloud.tasks.v2.Queue
+ * @instance
+ */
+ Queue.prototype.name = "";
+
+ /**
+ * Queue appEngineRoutingOverride.
+ * @member {google.cloud.tasks.v2.IAppEngineRouting|null|undefined} appEngineRoutingOverride
+ * @memberof google.cloud.tasks.v2.Queue
+ * @instance
+ */
+ Queue.prototype.appEngineRoutingOverride = null;
+
+ /**
+ * Queue rateLimits.
+ * @member {google.cloud.tasks.v2.IRateLimits|null|undefined} rateLimits
+ * @memberof google.cloud.tasks.v2.Queue
+ * @instance
+ */
+ Queue.prototype.rateLimits = null;
+
+ /**
+ * Queue retryConfig.
+ * @member {google.cloud.tasks.v2.IRetryConfig|null|undefined} retryConfig
+ * @memberof google.cloud.tasks.v2.Queue
+ * @instance
+ */
+ Queue.prototype.retryConfig = null;
+
+ /**
+ * Queue state.
+ * @member {google.cloud.tasks.v2.Queue.State} state
+ * @memberof google.cloud.tasks.v2.Queue
+ * @instance
+ */
+ Queue.prototype.state = 0;
+
+ /**
+ * Queue purgeTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} purgeTime
+ * @memberof google.cloud.tasks.v2.Queue
+ * @instance
+ */
+ Queue.prototype.purgeTime = null;
+
+ /**
+ * Queue stackdriverLoggingConfig.
+ * @member {google.cloud.tasks.v2.IStackdriverLoggingConfig|null|undefined} stackdriverLoggingConfig
+ * @memberof google.cloud.tasks.v2.Queue
+ * @instance
+ */
+ Queue.prototype.stackdriverLoggingConfig = null;
+
+ /**
+ * Creates a new Queue instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.tasks.v2.Queue
+ * @static
+ * @param {google.cloud.tasks.v2.IQueue=} [properties] Properties to set
+ * @returns {google.cloud.tasks.v2.Queue} Queue instance
+ */
+ Queue.create = function create(properties) {
+ return new Queue(properties);
+ };
+
+ /**
+ * Encodes the specified Queue message. Does not implicitly {@link google.cloud.tasks.v2.Queue.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.tasks.v2.Queue
+ * @static
+ * @param {google.cloud.tasks.v2.IQueue} message Queue message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Queue.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
+ if (message.appEngineRoutingOverride != null && Object.hasOwnProperty.call(message, "appEngineRoutingOverride"))
+ $root.google.cloud.tasks.v2.AppEngineRouting.encode(message.appEngineRoutingOverride, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ if (message.rateLimits != null && Object.hasOwnProperty.call(message, "rateLimits"))
+ $root.google.cloud.tasks.v2.RateLimits.encode(message.rateLimits, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ if (message.retryConfig != null && Object.hasOwnProperty.call(message, "retryConfig"))
+ $root.google.cloud.tasks.v2.RetryConfig.encode(message.retryConfig, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
+ if (message.state != null && Object.hasOwnProperty.call(message, "state"))
+ writer.uint32(/* id 5, wireType 0 =*/40).int32(message.state);
+ if (message.purgeTime != null && Object.hasOwnProperty.call(message, "purgeTime"))
+ $root.google.protobuf.Timestamp.encode(message.purgeTime, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
+ if (message.stackdriverLoggingConfig != null && Object.hasOwnProperty.call(message, "stackdriverLoggingConfig"))
+ $root.google.cloud.tasks.v2.StackdriverLoggingConfig.encode(message.stackdriverLoggingConfig, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Queue message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.Queue.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.tasks.v2.Queue
+ * @static
+ * @param {google.cloud.tasks.v2.IQueue} message Queue message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Queue.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a Queue message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.tasks.v2.Queue
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.tasks.v2.Queue} Queue
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Queue.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.tasks.v2.Queue();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ case 2: {
+ message.appEngineRoutingOverride = $root.google.cloud.tasks.v2.AppEngineRouting.decode(reader, reader.uint32());
+ break;
+ }
+ case 3: {
+ message.rateLimits = $root.google.cloud.tasks.v2.RateLimits.decode(reader, reader.uint32());
+ break;
+ }
+ case 4: {
+ message.retryConfig = $root.google.cloud.tasks.v2.RetryConfig.decode(reader, reader.uint32());
+ break;
+ }
+ case 5: {
+ message.state = reader.int32();
+ break;
+ }
+ case 6: {
+ message.purgeTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 9: {
+ message.stackdriverLoggingConfig = $root.google.cloud.tasks.v2.StackdriverLoggingConfig.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a Queue message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.tasks.v2.Queue
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.tasks.v2.Queue} Queue
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Queue.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a Queue message.
+ * @function verify
+ * @memberof google.cloud.tasks.v2.Queue
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Queue.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.name != null && message.hasOwnProperty("name"))
+ if (!$util.isString(message.name))
+ return "name: string expected";
+ if (message.appEngineRoutingOverride != null && message.hasOwnProperty("appEngineRoutingOverride")) {
+ var error = $root.google.cloud.tasks.v2.AppEngineRouting.verify(message.appEngineRoutingOverride);
+ if (error)
+ return "appEngineRoutingOverride." + error;
+ }
+ if (message.rateLimits != null && message.hasOwnProperty("rateLimits")) {
+ var error = $root.google.cloud.tasks.v2.RateLimits.verify(message.rateLimits);
+ if (error)
+ return "rateLimits." + error;
+ }
+ if (message.retryConfig != null && message.hasOwnProperty("retryConfig")) {
+ var error = $root.google.cloud.tasks.v2.RetryConfig.verify(message.retryConfig);
+ if (error)
+ return "retryConfig." + error;
+ }
+ if (message.state != null && message.hasOwnProperty("state"))
+ switch (message.state) {
+ default:
+ return "state: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ case 3:
+ break;
+ }
+ if (message.purgeTime != null && message.hasOwnProperty("purgeTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.purgeTime);
+ if (error)
+ return "purgeTime." + error;
+ }
+ if (message.stackdriverLoggingConfig != null && message.hasOwnProperty("stackdriverLoggingConfig")) {
+ var error = $root.google.cloud.tasks.v2.StackdriverLoggingConfig.verify(message.stackdriverLoggingConfig);
+ if (error)
+ return "stackdriverLoggingConfig." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a Queue message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.tasks.v2.Queue
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.tasks.v2.Queue} Queue
+ */
+ Queue.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.tasks.v2.Queue)
+ return object;
+ var message = new $root.google.cloud.tasks.v2.Queue();
+ if (object.name != null)
+ message.name = String(object.name);
+ if (object.appEngineRoutingOverride != null) {
+ if (typeof object.appEngineRoutingOverride !== "object")
+ throw TypeError(".google.cloud.tasks.v2.Queue.appEngineRoutingOverride: object expected");
+ message.appEngineRoutingOverride = $root.google.cloud.tasks.v2.AppEngineRouting.fromObject(object.appEngineRoutingOverride);
+ }
+ if (object.rateLimits != null) {
+ if (typeof object.rateLimits !== "object")
+ throw TypeError(".google.cloud.tasks.v2.Queue.rateLimits: object expected");
+ message.rateLimits = $root.google.cloud.tasks.v2.RateLimits.fromObject(object.rateLimits);
+ }
+ if (object.retryConfig != null) {
+ if (typeof object.retryConfig !== "object")
+ throw TypeError(".google.cloud.tasks.v2.Queue.retryConfig: object expected");
+ message.retryConfig = $root.google.cloud.tasks.v2.RetryConfig.fromObject(object.retryConfig);
+ }
+ switch (object.state) {
+ default:
+ if (typeof object.state === "number") {
+ message.state = object.state;
+ break;
+ }
+ break;
+ case "STATE_UNSPECIFIED":
+ case 0:
+ message.state = 0;
+ break;
+ case "RUNNING":
+ case 1:
+ message.state = 1;
+ break;
+ case "PAUSED":
+ case 2:
+ message.state = 2;
+ break;
+ case "DISABLED":
+ case 3:
+ message.state = 3;
+ break;
+ }
+ if (object.purgeTime != null) {
+ if (typeof object.purgeTime !== "object")
+ throw TypeError(".google.cloud.tasks.v2.Queue.purgeTime: object expected");
+ message.purgeTime = $root.google.protobuf.Timestamp.fromObject(object.purgeTime);
+ }
+ if (object.stackdriverLoggingConfig != null) {
+ if (typeof object.stackdriverLoggingConfig !== "object")
+ throw TypeError(".google.cloud.tasks.v2.Queue.stackdriverLoggingConfig: object expected");
+ message.stackdriverLoggingConfig = $root.google.cloud.tasks.v2.StackdriverLoggingConfig.fromObject(object.stackdriverLoggingConfig);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a Queue message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.tasks.v2.Queue
+ * @static
+ * @param {google.cloud.tasks.v2.Queue} message Queue
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Queue.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.name = "";
+ object.appEngineRoutingOverride = null;
+ object.rateLimits = null;
+ object.retryConfig = null;
+ object.state = options.enums === String ? "STATE_UNSPECIFIED" : 0;
+ object.purgeTime = null;
+ object.stackdriverLoggingConfig = null;
+ }
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ if (message.appEngineRoutingOverride != null && message.hasOwnProperty("appEngineRoutingOverride"))
+ object.appEngineRoutingOverride = $root.google.cloud.tasks.v2.AppEngineRouting.toObject(message.appEngineRoutingOverride, options);
+ if (message.rateLimits != null && message.hasOwnProperty("rateLimits"))
+ object.rateLimits = $root.google.cloud.tasks.v2.RateLimits.toObject(message.rateLimits, options);
+ if (message.retryConfig != null && message.hasOwnProperty("retryConfig"))
+ object.retryConfig = $root.google.cloud.tasks.v2.RetryConfig.toObject(message.retryConfig, options);
+ if (message.state != null && message.hasOwnProperty("state"))
+ object.state = options.enums === String ? $root.google.cloud.tasks.v2.Queue.State[message.state] === undefined ? message.state : $root.google.cloud.tasks.v2.Queue.State[message.state] : message.state;
+ if (message.purgeTime != null && message.hasOwnProperty("purgeTime"))
+ object.purgeTime = $root.google.protobuf.Timestamp.toObject(message.purgeTime, options);
+ if (message.stackdriverLoggingConfig != null && message.hasOwnProperty("stackdriverLoggingConfig"))
+ object.stackdriverLoggingConfig = $root.google.cloud.tasks.v2.StackdriverLoggingConfig.toObject(message.stackdriverLoggingConfig, options);
+ return object;
+ };
+
+ /**
+ * Converts this Queue to JSON.
+ * @function toJSON
+ * @memberof google.cloud.tasks.v2.Queue
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Queue.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for Queue
+ * @function getTypeUrl
+ * @memberof google.cloud.tasks.v2.Queue
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ Queue.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.tasks.v2.Queue";
+ };
+
+ /**
+ * State enum.
+ * @name google.cloud.tasks.v2.Queue.State
+ * @enum {number}
+ * @property {number} STATE_UNSPECIFIED=0 STATE_UNSPECIFIED value
+ * @property {number} RUNNING=1 RUNNING value
+ * @property {number} PAUSED=2 PAUSED value
+ * @property {number} DISABLED=3 DISABLED value
+ */
+ Queue.State = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "STATE_UNSPECIFIED"] = 0;
+ values[valuesById[1] = "RUNNING"] = 1;
+ values[valuesById[2] = "PAUSED"] = 2;
+ values[valuesById[3] = "DISABLED"] = 3;
+ return values;
+ })();
+
+ return Queue;
+ })();
+
+ v2.RateLimits = (function() {
+
+ /**
+ * Properties of a RateLimits.
+ * @memberof google.cloud.tasks.v2
+ * @interface IRateLimits
+ * @property {number|null} [maxDispatchesPerSecond] RateLimits maxDispatchesPerSecond
+ * @property {number|null} [maxBurstSize] RateLimits maxBurstSize
+ * @property {number|null} [maxConcurrentDispatches] RateLimits maxConcurrentDispatches
+ */
+
+ /**
+ * Constructs a new RateLimits.
+ * @memberof google.cloud.tasks.v2
+ * @classdesc Represents a RateLimits.
+ * @implements IRateLimits
+ * @constructor
+ * @param {google.cloud.tasks.v2.IRateLimits=} [properties] Properties to set
+ */
+ function RateLimits(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]];
+ }
+
+ /**
+ * RateLimits maxDispatchesPerSecond.
+ * @member {number} maxDispatchesPerSecond
+ * @memberof google.cloud.tasks.v2.RateLimits
+ * @instance
+ */
+ RateLimits.prototype.maxDispatchesPerSecond = 0;
+
+ /**
+ * RateLimits maxBurstSize.
+ * @member {number} maxBurstSize
+ * @memberof google.cloud.tasks.v2.RateLimits
+ * @instance
+ */
+ RateLimits.prototype.maxBurstSize = 0;
+
+ /**
+ * RateLimits maxConcurrentDispatches.
+ * @member {number} maxConcurrentDispatches
+ * @memberof google.cloud.tasks.v2.RateLimits
+ * @instance
+ */
+ RateLimits.prototype.maxConcurrentDispatches = 0;
+
+ /**
+ * Creates a new RateLimits instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.tasks.v2.RateLimits
+ * @static
+ * @param {google.cloud.tasks.v2.IRateLimits=} [properties] Properties to set
+ * @returns {google.cloud.tasks.v2.RateLimits} RateLimits instance
+ */
+ RateLimits.create = function create(properties) {
+ return new RateLimits(properties);
+ };
+
+ /**
+ * Encodes the specified RateLimits message. Does not implicitly {@link google.cloud.tasks.v2.RateLimits.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.tasks.v2.RateLimits
+ * @static
+ * @param {google.cloud.tasks.v2.IRateLimits} message RateLimits message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ RateLimits.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.maxDispatchesPerSecond != null && Object.hasOwnProperty.call(message, "maxDispatchesPerSecond"))
+ writer.uint32(/* id 1, wireType 1 =*/9).double(message.maxDispatchesPerSecond);
+ if (message.maxBurstSize != null && Object.hasOwnProperty.call(message, "maxBurstSize"))
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.maxBurstSize);
+ if (message.maxConcurrentDispatches != null && Object.hasOwnProperty.call(message, "maxConcurrentDispatches"))
+ writer.uint32(/* id 3, wireType 0 =*/24).int32(message.maxConcurrentDispatches);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified RateLimits message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.RateLimits.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.tasks.v2.RateLimits
+ * @static
+ * @param {google.cloud.tasks.v2.IRateLimits} message RateLimits message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ RateLimits.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a RateLimits message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.tasks.v2.RateLimits
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.tasks.v2.RateLimits} RateLimits
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ RateLimits.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.tasks.v2.RateLimits();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.maxDispatchesPerSecond = reader.double();
+ break;
+ }
+ case 2: {
+ message.maxBurstSize = reader.int32();
+ break;
+ }
+ case 3: {
+ message.maxConcurrentDispatches = reader.int32();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a RateLimits message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.tasks.v2.RateLimits
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.tasks.v2.RateLimits} RateLimits
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ RateLimits.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a RateLimits message.
+ * @function verify
+ * @memberof google.cloud.tasks.v2.RateLimits
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ RateLimits.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.maxDispatchesPerSecond != null && message.hasOwnProperty("maxDispatchesPerSecond"))
+ if (typeof message.maxDispatchesPerSecond !== "number")
+ return "maxDispatchesPerSecond: number expected";
+ if (message.maxBurstSize != null && message.hasOwnProperty("maxBurstSize"))
+ if (!$util.isInteger(message.maxBurstSize))
+ return "maxBurstSize: integer expected";
+ if (message.maxConcurrentDispatches != null && message.hasOwnProperty("maxConcurrentDispatches"))
+ if (!$util.isInteger(message.maxConcurrentDispatches))
+ return "maxConcurrentDispatches: integer expected";
+ return null;
+ };
+
+ /**
+ * Creates a RateLimits message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.tasks.v2.RateLimits
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.tasks.v2.RateLimits} RateLimits
+ */
+ RateLimits.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.tasks.v2.RateLimits)
+ return object;
+ var message = new $root.google.cloud.tasks.v2.RateLimits();
+ if (object.maxDispatchesPerSecond != null)
+ message.maxDispatchesPerSecond = Number(object.maxDispatchesPerSecond);
+ if (object.maxBurstSize != null)
+ message.maxBurstSize = object.maxBurstSize | 0;
+ if (object.maxConcurrentDispatches != null)
+ message.maxConcurrentDispatches = object.maxConcurrentDispatches | 0;
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a RateLimits message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.tasks.v2.RateLimits
+ * @static
+ * @param {google.cloud.tasks.v2.RateLimits} message RateLimits
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ RateLimits.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.maxDispatchesPerSecond = 0;
+ object.maxBurstSize = 0;
+ object.maxConcurrentDispatches = 0;
+ }
+ if (message.maxDispatchesPerSecond != null && message.hasOwnProperty("maxDispatchesPerSecond"))
+ object.maxDispatchesPerSecond = options.json && !isFinite(message.maxDispatchesPerSecond) ? String(message.maxDispatchesPerSecond) : message.maxDispatchesPerSecond;
+ if (message.maxBurstSize != null && message.hasOwnProperty("maxBurstSize"))
+ object.maxBurstSize = message.maxBurstSize;
+ if (message.maxConcurrentDispatches != null && message.hasOwnProperty("maxConcurrentDispatches"))
+ object.maxConcurrentDispatches = message.maxConcurrentDispatches;
+ return object;
+ };
+
+ /**
+ * Converts this RateLimits to JSON.
+ * @function toJSON
+ * @memberof google.cloud.tasks.v2.RateLimits
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ RateLimits.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for RateLimits
+ * @function getTypeUrl
+ * @memberof google.cloud.tasks.v2.RateLimits
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ RateLimits.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.tasks.v2.RateLimits";
+ };
+
+ return RateLimits;
+ })();
+
+ v2.RetryConfig = (function() {
+
+ /**
+ * Properties of a RetryConfig.
+ * @memberof google.cloud.tasks.v2
+ * @interface IRetryConfig
+ * @property {number|null} [maxAttempts] RetryConfig maxAttempts
+ * @property {google.protobuf.IDuration|null} [maxRetryDuration] RetryConfig maxRetryDuration
+ * @property {google.protobuf.IDuration|null} [minBackoff] RetryConfig minBackoff
+ * @property {google.protobuf.IDuration|null} [maxBackoff] RetryConfig maxBackoff
+ * @property {number|null} [maxDoublings] RetryConfig maxDoublings
+ */
+
+ /**
+ * Constructs a new RetryConfig.
+ * @memberof google.cloud.tasks.v2
+ * @classdesc Represents a RetryConfig.
+ * @implements IRetryConfig
+ * @constructor
+ * @param {google.cloud.tasks.v2.IRetryConfig=} [properties] Properties to set
+ */
+ function RetryConfig(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]];
+ }
+
+ /**
+ * RetryConfig maxAttempts.
+ * @member {number} maxAttempts
+ * @memberof google.cloud.tasks.v2.RetryConfig
+ * @instance
+ */
+ RetryConfig.prototype.maxAttempts = 0;
+
+ /**
+ * RetryConfig maxRetryDuration.
+ * @member {google.protobuf.IDuration|null|undefined} maxRetryDuration
+ * @memberof google.cloud.tasks.v2.RetryConfig
+ * @instance
+ */
+ RetryConfig.prototype.maxRetryDuration = null;
+
+ /**
+ * RetryConfig minBackoff.
+ * @member {google.protobuf.IDuration|null|undefined} minBackoff
+ * @memberof google.cloud.tasks.v2.RetryConfig
+ * @instance
+ */
+ RetryConfig.prototype.minBackoff = null;
+
+ /**
+ * RetryConfig maxBackoff.
+ * @member {google.protobuf.IDuration|null|undefined} maxBackoff
+ * @memberof google.cloud.tasks.v2.RetryConfig
+ * @instance
+ */
+ RetryConfig.prototype.maxBackoff = null;
+
+ /**
+ * RetryConfig maxDoublings.
+ * @member {number} maxDoublings
+ * @memberof google.cloud.tasks.v2.RetryConfig
+ * @instance
+ */
+ RetryConfig.prototype.maxDoublings = 0;
+
+ /**
+ * Creates a new RetryConfig instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.tasks.v2.RetryConfig
+ * @static
+ * @param {google.cloud.tasks.v2.IRetryConfig=} [properties] Properties to set
+ * @returns {google.cloud.tasks.v2.RetryConfig} RetryConfig instance
+ */
+ RetryConfig.create = function create(properties) {
+ return new RetryConfig(properties);
+ };
+
+ /**
+ * Encodes the specified RetryConfig message. Does not implicitly {@link google.cloud.tasks.v2.RetryConfig.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.tasks.v2.RetryConfig
+ * @static
+ * @param {google.cloud.tasks.v2.IRetryConfig} message RetryConfig message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ RetryConfig.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.maxAttempts != null && Object.hasOwnProperty.call(message, "maxAttempts"))
+ writer.uint32(/* id 1, wireType 0 =*/8).int32(message.maxAttempts);
+ if (message.maxRetryDuration != null && Object.hasOwnProperty.call(message, "maxRetryDuration"))
+ $root.google.protobuf.Duration.encode(message.maxRetryDuration, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ if (message.minBackoff != null && Object.hasOwnProperty.call(message, "minBackoff"))
+ $root.google.protobuf.Duration.encode(message.minBackoff, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ if (message.maxBackoff != null && Object.hasOwnProperty.call(message, "maxBackoff"))
+ $root.google.protobuf.Duration.encode(message.maxBackoff, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
+ if (message.maxDoublings != null && Object.hasOwnProperty.call(message, "maxDoublings"))
+ writer.uint32(/* id 5, wireType 0 =*/40).int32(message.maxDoublings);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified RetryConfig message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.RetryConfig.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.tasks.v2.RetryConfig
+ * @static
+ * @param {google.cloud.tasks.v2.IRetryConfig} message RetryConfig message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ RetryConfig.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a RetryConfig message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.tasks.v2.RetryConfig
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.tasks.v2.RetryConfig} RetryConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ RetryConfig.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.tasks.v2.RetryConfig();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.maxAttempts = reader.int32();
+ break;
+ }
+ case 2: {
+ message.maxRetryDuration = $root.google.protobuf.Duration.decode(reader, reader.uint32());
+ break;
+ }
+ case 3: {
+ message.minBackoff = $root.google.protobuf.Duration.decode(reader, reader.uint32());
+ break;
+ }
+ case 4: {
+ message.maxBackoff = $root.google.protobuf.Duration.decode(reader, reader.uint32());
+ break;
+ }
+ case 5: {
+ message.maxDoublings = reader.int32();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a RetryConfig message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.tasks.v2.RetryConfig
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.tasks.v2.RetryConfig} RetryConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ RetryConfig.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a RetryConfig message.
+ * @function verify
+ * @memberof google.cloud.tasks.v2.RetryConfig
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ RetryConfig.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.maxAttempts != null && message.hasOwnProperty("maxAttempts"))
+ if (!$util.isInteger(message.maxAttempts))
+ return "maxAttempts: integer expected";
+ if (message.maxRetryDuration != null && message.hasOwnProperty("maxRetryDuration")) {
+ var error = $root.google.protobuf.Duration.verify(message.maxRetryDuration);
+ if (error)
+ return "maxRetryDuration." + error;
+ }
+ if (message.minBackoff != null && message.hasOwnProperty("minBackoff")) {
+ var error = $root.google.protobuf.Duration.verify(message.minBackoff);
+ if (error)
+ return "minBackoff." + error;
+ }
+ if (message.maxBackoff != null && message.hasOwnProperty("maxBackoff")) {
+ var error = $root.google.protobuf.Duration.verify(message.maxBackoff);
+ if (error)
+ return "maxBackoff." + error;
+ }
+ if (message.maxDoublings != null && message.hasOwnProperty("maxDoublings"))
+ if (!$util.isInteger(message.maxDoublings))
+ return "maxDoublings: integer expected";
+ return null;
+ };
+
+ /**
+ * Creates a RetryConfig message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.tasks.v2.RetryConfig
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.tasks.v2.RetryConfig} RetryConfig
+ */
+ RetryConfig.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.tasks.v2.RetryConfig)
+ return object;
+ var message = new $root.google.cloud.tasks.v2.RetryConfig();
+ if (object.maxAttempts != null)
+ message.maxAttempts = object.maxAttempts | 0;
+ if (object.maxRetryDuration != null) {
+ if (typeof object.maxRetryDuration !== "object")
+ throw TypeError(".google.cloud.tasks.v2.RetryConfig.maxRetryDuration: object expected");
+ message.maxRetryDuration = $root.google.protobuf.Duration.fromObject(object.maxRetryDuration);
+ }
+ if (object.minBackoff != null) {
+ if (typeof object.minBackoff !== "object")
+ throw TypeError(".google.cloud.tasks.v2.RetryConfig.minBackoff: object expected");
+ message.minBackoff = $root.google.protobuf.Duration.fromObject(object.minBackoff);
+ }
+ if (object.maxBackoff != null) {
+ if (typeof object.maxBackoff !== "object")
+ throw TypeError(".google.cloud.tasks.v2.RetryConfig.maxBackoff: object expected");
+ message.maxBackoff = $root.google.protobuf.Duration.fromObject(object.maxBackoff);
+ }
+ if (object.maxDoublings != null)
+ message.maxDoublings = object.maxDoublings | 0;
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a RetryConfig message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.tasks.v2.RetryConfig
+ * @static
+ * @param {google.cloud.tasks.v2.RetryConfig} message RetryConfig
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ RetryConfig.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.maxAttempts = 0;
+ object.maxRetryDuration = null;
+ object.minBackoff = null;
+ object.maxBackoff = null;
+ object.maxDoublings = 0;
+ }
+ if (message.maxAttempts != null && message.hasOwnProperty("maxAttempts"))
+ object.maxAttempts = message.maxAttempts;
+ if (message.maxRetryDuration != null && message.hasOwnProperty("maxRetryDuration"))
+ object.maxRetryDuration = $root.google.protobuf.Duration.toObject(message.maxRetryDuration, options);
+ if (message.minBackoff != null && message.hasOwnProperty("minBackoff"))
+ object.minBackoff = $root.google.protobuf.Duration.toObject(message.minBackoff, options);
+ if (message.maxBackoff != null && message.hasOwnProperty("maxBackoff"))
+ object.maxBackoff = $root.google.protobuf.Duration.toObject(message.maxBackoff, options);
+ if (message.maxDoublings != null && message.hasOwnProperty("maxDoublings"))
+ object.maxDoublings = message.maxDoublings;
+ return object;
+ };
+
+ /**
+ * Converts this RetryConfig to JSON.
+ * @function toJSON
+ * @memberof google.cloud.tasks.v2.RetryConfig
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ RetryConfig.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for RetryConfig
+ * @function getTypeUrl
+ * @memberof google.cloud.tasks.v2.RetryConfig
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ RetryConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.tasks.v2.RetryConfig";
+ };
+
+ return RetryConfig;
+ })();
+
+ v2.StackdriverLoggingConfig = (function() {
+
+ /**
+ * Properties of a StackdriverLoggingConfig.
+ * @memberof google.cloud.tasks.v2
+ * @interface IStackdriverLoggingConfig
+ * @property {number|null} [samplingRatio] StackdriverLoggingConfig samplingRatio
+ */
+
+ /**
+ * Constructs a new StackdriverLoggingConfig.
+ * @memberof google.cloud.tasks.v2
+ * @classdesc Represents a StackdriverLoggingConfig.
+ * @implements IStackdriverLoggingConfig
+ * @constructor
+ * @param {google.cloud.tasks.v2.IStackdriverLoggingConfig=} [properties] Properties to set
+ */
+ function StackdriverLoggingConfig(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]];
+ }
+
+ /**
+ * StackdriverLoggingConfig samplingRatio.
+ * @member {number} samplingRatio
+ * @memberof google.cloud.tasks.v2.StackdriverLoggingConfig
+ * @instance
+ */
+ StackdriverLoggingConfig.prototype.samplingRatio = 0;
+
+ /**
+ * Creates a new StackdriverLoggingConfig instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.tasks.v2.StackdriverLoggingConfig
+ * @static
+ * @param {google.cloud.tasks.v2.IStackdriverLoggingConfig=} [properties] Properties to set
+ * @returns {google.cloud.tasks.v2.StackdriverLoggingConfig} StackdriverLoggingConfig instance
+ */
+ StackdriverLoggingConfig.create = function create(properties) {
+ return new StackdriverLoggingConfig(properties);
+ };
+
+ /**
+ * Encodes the specified StackdriverLoggingConfig message. Does not implicitly {@link google.cloud.tasks.v2.StackdriverLoggingConfig.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.tasks.v2.StackdriverLoggingConfig
+ * @static
+ * @param {google.cloud.tasks.v2.IStackdriverLoggingConfig} message StackdriverLoggingConfig message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ StackdriverLoggingConfig.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.samplingRatio != null && Object.hasOwnProperty.call(message, "samplingRatio"))
+ writer.uint32(/* id 1, wireType 1 =*/9).double(message.samplingRatio);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified StackdriverLoggingConfig message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.StackdriverLoggingConfig.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.tasks.v2.StackdriverLoggingConfig
+ * @static
+ * @param {google.cloud.tasks.v2.IStackdriverLoggingConfig} message StackdriverLoggingConfig message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ StackdriverLoggingConfig.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a StackdriverLoggingConfig message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.tasks.v2.StackdriverLoggingConfig
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.tasks.v2.StackdriverLoggingConfig} StackdriverLoggingConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ StackdriverLoggingConfig.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.tasks.v2.StackdriverLoggingConfig();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.samplingRatio = reader.double();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a StackdriverLoggingConfig message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.tasks.v2.StackdriverLoggingConfig
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.tasks.v2.StackdriverLoggingConfig} StackdriverLoggingConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ StackdriverLoggingConfig.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a StackdriverLoggingConfig message.
+ * @function verify
+ * @memberof google.cloud.tasks.v2.StackdriverLoggingConfig
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ StackdriverLoggingConfig.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.samplingRatio != null && message.hasOwnProperty("samplingRatio"))
+ if (typeof message.samplingRatio !== "number")
+ return "samplingRatio: number expected";
+ return null;
+ };
+
+ /**
+ * Creates a StackdriverLoggingConfig message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.tasks.v2.StackdriverLoggingConfig
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.tasks.v2.StackdriverLoggingConfig} StackdriverLoggingConfig
+ */
+ StackdriverLoggingConfig.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.tasks.v2.StackdriverLoggingConfig)
+ return object;
+ var message = new $root.google.cloud.tasks.v2.StackdriverLoggingConfig();
+ if (object.samplingRatio != null)
+ message.samplingRatio = Number(object.samplingRatio);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a StackdriverLoggingConfig message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.tasks.v2.StackdriverLoggingConfig
+ * @static
+ * @param {google.cloud.tasks.v2.StackdriverLoggingConfig} message StackdriverLoggingConfig
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ StackdriverLoggingConfig.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ object.samplingRatio = 0;
+ if (message.samplingRatio != null && message.hasOwnProperty("samplingRatio"))
+ object.samplingRatio = options.json && !isFinite(message.samplingRatio) ? String(message.samplingRatio) : message.samplingRatio;
+ return object;
+ };
+
+ /**
+ * Converts this StackdriverLoggingConfig to JSON.
+ * @function toJSON
+ * @memberof google.cloud.tasks.v2.StackdriverLoggingConfig
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ StackdriverLoggingConfig.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for StackdriverLoggingConfig
+ * @function getTypeUrl
+ * @memberof google.cloud.tasks.v2.StackdriverLoggingConfig
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ StackdriverLoggingConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.tasks.v2.StackdriverLoggingConfig";
+ };
+
+ return StackdriverLoggingConfig;
+ })();
+
+ v2.HttpRequest = (function() {
+
+ /**
+ * Properties of a HttpRequest.
+ * @memberof google.cloud.tasks.v2
+ * @interface IHttpRequest
+ * @property {string|null} [url] HttpRequest url
+ * @property {google.cloud.tasks.v2.HttpMethod|null} [httpMethod] HttpRequest httpMethod
+ * @property {Object.|null} [headers] HttpRequest headers
+ * @property {Uint8Array|null} [body] HttpRequest body
+ * @property {google.cloud.tasks.v2.IOAuthToken|null} [oauthToken] HttpRequest oauthToken
+ * @property {google.cloud.tasks.v2.IOidcToken|null} [oidcToken] HttpRequest oidcToken
+ */
+
+ /**
+ * Constructs a new HttpRequest.
+ * @memberof google.cloud.tasks.v2
+ * @classdesc Represents a HttpRequest.
+ * @implements IHttpRequest
+ * @constructor
+ * @param {google.cloud.tasks.v2.IHttpRequest=} [properties] Properties to set
+ */
+ function HttpRequest(properties) {
+ this.headers = {};
+ 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]];
+ }
+
+ /**
+ * HttpRequest url.
+ * @member {string} url
+ * @memberof google.cloud.tasks.v2.HttpRequest
+ * @instance
+ */
+ HttpRequest.prototype.url = "";
+
+ /**
+ * HttpRequest httpMethod.
+ * @member {google.cloud.tasks.v2.HttpMethod} httpMethod
+ * @memberof google.cloud.tasks.v2.HttpRequest
+ * @instance
+ */
+ HttpRequest.prototype.httpMethod = 0;
+
+ /**
+ * HttpRequest headers.
+ * @member {Object.} headers
+ * @memberof google.cloud.tasks.v2.HttpRequest
+ * @instance
+ */
+ HttpRequest.prototype.headers = $util.emptyObject;
+
+ /**
+ * HttpRequest body.
+ * @member {Uint8Array} body
+ * @memberof google.cloud.tasks.v2.HttpRequest
+ * @instance
+ */
+ HttpRequest.prototype.body = $util.newBuffer([]);
+
+ /**
+ * HttpRequest oauthToken.
+ * @member {google.cloud.tasks.v2.IOAuthToken|null|undefined} oauthToken
+ * @memberof google.cloud.tasks.v2.HttpRequest
+ * @instance
+ */
+ HttpRequest.prototype.oauthToken = null;
+
+ /**
+ * HttpRequest oidcToken.
+ * @member {google.cloud.tasks.v2.IOidcToken|null|undefined} oidcToken
+ * @memberof google.cloud.tasks.v2.HttpRequest
+ * @instance
+ */
+ HttpRequest.prototype.oidcToken = null;
+
+ // OneOf field names bound to virtual getters and setters
+ var $oneOfFields;
+
+ /**
+ * HttpRequest authorizationHeader.
+ * @member {"oauthToken"|"oidcToken"|undefined} authorizationHeader
+ * @memberof google.cloud.tasks.v2.HttpRequest
+ * @instance
+ */
+ Object.defineProperty(HttpRequest.prototype, "authorizationHeader", {
+ get: $util.oneOfGetter($oneOfFields = ["oauthToken", "oidcToken"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
+
+ /**
+ * Creates a new HttpRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.tasks.v2.HttpRequest
+ * @static
+ * @param {google.cloud.tasks.v2.IHttpRequest=} [properties] Properties to set
+ * @returns {google.cloud.tasks.v2.HttpRequest} HttpRequest instance
+ */
+ HttpRequest.create = function create(properties) {
+ return new HttpRequest(properties);
+ };
+
+ /**
+ * Encodes the specified HttpRequest message. Does not implicitly {@link google.cloud.tasks.v2.HttpRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.tasks.v2.HttpRequest
+ * @static
+ * @param {google.cloud.tasks.v2.IHttpRequest} message HttpRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ HttpRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.url != null && Object.hasOwnProperty.call(message, "url"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.url);
+ if (message.httpMethod != null && Object.hasOwnProperty.call(message, "httpMethod"))
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.httpMethod);
+ if (message.headers != null && Object.hasOwnProperty.call(message, "headers"))
+ for (var keys = Object.keys(message.headers), i = 0; i < keys.length; ++i)
+ writer.uint32(/* id 3, wireType 2 =*/26).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.headers[keys[i]]).ldelim();
+ if (message.body != null && Object.hasOwnProperty.call(message, "body"))
+ writer.uint32(/* id 4, wireType 2 =*/34).bytes(message.body);
+ if (message.oauthToken != null && Object.hasOwnProperty.call(message, "oauthToken"))
+ $root.google.cloud.tasks.v2.OAuthToken.encode(message.oauthToken, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
+ if (message.oidcToken != null && Object.hasOwnProperty.call(message, "oidcToken"))
+ $root.google.cloud.tasks.v2.OidcToken.encode(message.oidcToken, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified HttpRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.HttpRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.tasks.v2.HttpRequest
+ * @static
+ * @param {google.cloud.tasks.v2.IHttpRequest} message HttpRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ HttpRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a HttpRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.tasks.v2.HttpRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.tasks.v2.HttpRequest} HttpRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ HttpRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.tasks.v2.HttpRequest(), key, value;
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.url = reader.string();
+ break;
+ }
+ case 2: {
+ message.httpMethod = reader.int32();
+ break;
+ }
+ case 3: {
+ if (message.headers === $util.emptyObject)
+ message.headers = {};
+ 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.headers[key] = value;
+ break;
+ }
+ case 4: {
+ message.body = reader.bytes();
+ break;
+ }
+ case 5: {
+ message.oauthToken = $root.google.cloud.tasks.v2.OAuthToken.decode(reader, reader.uint32());
+ break;
+ }
+ case 6: {
+ message.oidcToken = $root.google.cloud.tasks.v2.OidcToken.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a HttpRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.tasks.v2.HttpRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.tasks.v2.HttpRequest} HttpRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ HttpRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a HttpRequest message.
+ * @function verify
+ * @memberof google.cloud.tasks.v2.HttpRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ HttpRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ var properties = {};
+ if (message.url != null && message.hasOwnProperty("url"))
+ if (!$util.isString(message.url))
+ return "url: string expected";
+ if (message.httpMethod != null && message.hasOwnProperty("httpMethod"))
+ switch (message.httpMethod) {
+ default:
+ return "httpMethod: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ case 3:
+ case 4:
+ case 5:
+ case 6:
+ case 7:
+ break;
+ }
+ if (message.headers != null && message.hasOwnProperty("headers")) {
+ if (!$util.isObject(message.headers))
+ return "headers: object expected";
+ var key = Object.keys(message.headers);
+ for (var i = 0; i < key.length; ++i)
+ if (!$util.isString(message.headers[key[i]]))
+ return "headers: string{k:string} expected";
+ }
+ if (message.body != null && message.hasOwnProperty("body"))
+ if (!(message.body && typeof message.body.length === "number" || $util.isString(message.body)))
+ return "body: buffer expected";
+ if (message.oauthToken != null && message.hasOwnProperty("oauthToken")) {
+ properties.authorizationHeader = 1;
+ {
+ var error = $root.google.cloud.tasks.v2.OAuthToken.verify(message.oauthToken);
+ if (error)
+ return "oauthToken." + error;
+ }
+ }
+ if (message.oidcToken != null && message.hasOwnProperty("oidcToken")) {
+ if (properties.authorizationHeader === 1)
+ return "authorizationHeader: multiple values";
+ properties.authorizationHeader = 1;
+ {
+ var error = $root.google.cloud.tasks.v2.OidcToken.verify(message.oidcToken);
+ if (error)
+ return "oidcToken." + error;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * Creates a HttpRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.tasks.v2.HttpRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.tasks.v2.HttpRequest} HttpRequest
+ */
+ HttpRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.tasks.v2.HttpRequest)
+ return object;
+ var message = new $root.google.cloud.tasks.v2.HttpRequest();
+ if (object.url != null)
+ message.url = String(object.url);
+ switch (object.httpMethod) {
+ default:
+ if (typeof object.httpMethod === "number") {
+ message.httpMethod = object.httpMethod;
+ break;
+ }
+ break;
+ case "HTTP_METHOD_UNSPECIFIED":
+ case 0:
+ message.httpMethod = 0;
+ break;
+ case "POST":
+ case 1:
+ message.httpMethod = 1;
+ break;
+ case "GET":
+ case 2:
+ message.httpMethod = 2;
+ break;
+ case "HEAD":
+ case 3:
+ message.httpMethod = 3;
+ break;
+ case "PUT":
+ case 4:
+ message.httpMethod = 4;
+ break;
+ case "DELETE":
+ case 5:
+ message.httpMethod = 5;
+ break;
+ case "PATCH":
+ case 6:
+ message.httpMethod = 6;
+ break;
+ case "OPTIONS":
+ case 7:
+ message.httpMethod = 7;
+ break;
+ }
+ if (object.headers) {
+ if (typeof object.headers !== "object")
+ throw TypeError(".google.cloud.tasks.v2.HttpRequest.headers: object expected");
+ message.headers = {};
+ for (var keys = Object.keys(object.headers), i = 0; i < keys.length; ++i)
+ message.headers[keys[i]] = String(object.headers[keys[i]]);
+ }
+ if (object.body != null)
+ if (typeof object.body === "string")
+ $util.base64.decode(object.body, message.body = $util.newBuffer($util.base64.length(object.body)), 0);
+ else if (object.body.length >= 0)
+ message.body = object.body;
+ if (object.oauthToken != null) {
+ if (typeof object.oauthToken !== "object")
+ throw TypeError(".google.cloud.tasks.v2.HttpRequest.oauthToken: object expected");
+ message.oauthToken = $root.google.cloud.tasks.v2.OAuthToken.fromObject(object.oauthToken);
+ }
+ if (object.oidcToken != null) {
+ if (typeof object.oidcToken !== "object")
+ throw TypeError(".google.cloud.tasks.v2.HttpRequest.oidcToken: object expected");
+ message.oidcToken = $root.google.cloud.tasks.v2.OidcToken.fromObject(object.oidcToken);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a HttpRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.tasks.v2.HttpRequest
+ * @static
+ * @param {google.cloud.tasks.v2.HttpRequest} message HttpRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ HttpRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.objects || options.defaults)
+ object.headers = {};
+ if (options.defaults) {
+ object.url = "";
+ object.httpMethod = options.enums === String ? "HTTP_METHOD_UNSPECIFIED" : 0;
+ if (options.bytes === String)
+ object.body = "";
+ else {
+ object.body = [];
+ if (options.bytes !== Array)
+ object.body = $util.newBuffer(object.body);
+ }
+ }
+ if (message.url != null && message.hasOwnProperty("url"))
+ object.url = message.url;
+ if (message.httpMethod != null && message.hasOwnProperty("httpMethod"))
+ object.httpMethod = options.enums === String ? $root.google.cloud.tasks.v2.HttpMethod[message.httpMethod] === undefined ? message.httpMethod : $root.google.cloud.tasks.v2.HttpMethod[message.httpMethod] : message.httpMethod;
+ var keys2;
+ if (message.headers && (keys2 = Object.keys(message.headers)).length) {
+ object.headers = {};
+ for (var j = 0; j < keys2.length; ++j)
+ object.headers[keys2[j]] = message.headers[keys2[j]];
+ }
+ if (message.body != null && message.hasOwnProperty("body"))
+ object.body = options.bytes === String ? $util.base64.encode(message.body, 0, message.body.length) : options.bytes === Array ? Array.prototype.slice.call(message.body) : message.body;
+ if (message.oauthToken != null && message.hasOwnProperty("oauthToken")) {
+ object.oauthToken = $root.google.cloud.tasks.v2.OAuthToken.toObject(message.oauthToken, options);
+ if (options.oneofs)
+ object.authorizationHeader = "oauthToken";
+ }
+ if (message.oidcToken != null && message.hasOwnProperty("oidcToken")) {
+ object.oidcToken = $root.google.cloud.tasks.v2.OidcToken.toObject(message.oidcToken, options);
+ if (options.oneofs)
+ object.authorizationHeader = "oidcToken";
+ }
+ return object;
+ };
+
+ /**
+ * Converts this HttpRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.tasks.v2.HttpRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ HttpRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for HttpRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.tasks.v2.HttpRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ HttpRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.tasks.v2.HttpRequest";
+ };
+
+ return HttpRequest;
+ })();
+
+ v2.AppEngineHttpRequest = (function() {
+
+ /**
+ * Properties of an AppEngineHttpRequest.
+ * @memberof google.cloud.tasks.v2
+ * @interface IAppEngineHttpRequest
+ * @property {google.cloud.tasks.v2.HttpMethod|null} [httpMethod] AppEngineHttpRequest httpMethod
+ * @property {google.cloud.tasks.v2.IAppEngineRouting|null} [appEngineRouting] AppEngineHttpRequest appEngineRouting
+ * @property {string|null} [relativeUri] AppEngineHttpRequest relativeUri
+ * @property {Object.|null} [headers] AppEngineHttpRequest headers
+ * @property {Uint8Array|null} [body] AppEngineHttpRequest body
+ */
+
+ /**
+ * Constructs a new AppEngineHttpRequest.
+ * @memberof google.cloud.tasks.v2
+ * @classdesc Represents an AppEngineHttpRequest.
+ * @implements IAppEngineHttpRequest
+ * @constructor
+ * @param {google.cloud.tasks.v2.IAppEngineHttpRequest=} [properties] Properties to set
+ */
+ function AppEngineHttpRequest(properties) {
+ this.headers = {};
+ 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]];
+ }
+
+ /**
+ * AppEngineHttpRequest httpMethod.
+ * @member {google.cloud.tasks.v2.HttpMethod} httpMethod
+ * @memberof google.cloud.tasks.v2.AppEngineHttpRequest
+ * @instance
+ */
+ AppEngineHttpRequest.prototype.httpMethod = 0;
+
+ /**
+ * AppEngineHttpRequest appEngineRouting.
+ * @member {google.cloud.tasks.v2.IAppEngineRouting|null|undefined} appEngineRouting
+ * @memberof google.cloud.tasks.v2.AppEngineHttpRequest
+ * @instance
+ */
+ AppEngineHttpRequest.prototype.appEngineRouting = null;
+
+ /**
+ * AppEngineHttpRequest relativeUri.
+ * @member {string} relativeUri
+ * @memberof google.cloud.tasks.v2.AppEngineHttpRequest
+ * @instance
+ */
+ AppEngineHttpRequest.prototype.relativeUri = "";
+
+ /**
+ * AppEngineHttpRequest headers.
+ * @member {Object.} headers
+ * @memberof google.cloud.tasks.v2.AppEngineHttpRequest
+ * @instance
+ */
+ AppEngineHttpRequest.prototype.headers = $util.emptyObject;
+
+ /**
+ * AppEngineHttpRequest body.
+ * @member {Uint8Array} body
+ * @memberof google.cloud.tasks.v2.AppEngineHttpRequest
+ * @instance
+ */
+ AppEngineHttpRequest.prototype.body = $util.newBuffer([]);
+
+ /**
+ * Creates a new AppEngineHttpRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.tasks.v2.AppEngineHttpRequest
+ * @static
+ * @param {google.cloud.tasks.v2.IAppEngineHttpRequest=} [properties] Properties to set
+ * @returns {google.cloud.tasks.v2.AppEngineHttpRequest} AppEngineHttpRequest instance
+ */
+ AppEngineHttpRequest.create = function create(properties) {
+ return new AppEngineHttpRequest(properties);
+ };
+
+ /**
+ * Encodes the specified AppEngineHttpRequest message. Does not implicitly {@link google.cloud.tasks.v2.AppEngineHttpRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.tasks.v2.AppEngineHttpRequest
+ * @static
+ * @param {google.cloud.tasks.v2.IAppEngineHttpRequest} message AppEngineHttpRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ AppEngineHttpRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.httpMethod != null && Object.hasOwnProperty.call(message, "httpMethod"))
+ writer.uint32(/* id 1, wireType 0 =*/8).int32(message.httpMethod);
+ if (message.appEngineRouting != null && Object.hasOwnProperty.call(message, "appEngineRouting"))
+ $root.google.cloud.tasks.v2.AppEngineRouting.encode(message.appEngineRouting, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ if (message.relativeUri != null && Object.hasOwnProperty.call(message, "relativeUri"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.relativeUri);
+ if (message.headers != null && Object.hasOwnProperty.call(message, "headers"))
+ for (var keys = Object.keys(message.headers), i = 0; i < keys.length; ++i)
+ writer.uint32(/* id 4, wireType 2 =*/34).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.headers[keys[i]]).ldelim();
+ if (message.body != null && Object.hasOwnProperty.call(message, "body"))
+ writer.uint32(/* id 5, wireType 2 =*/42).bytes(message.body);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified AppEngineHttpRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.AppEngineHttpRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.tasks.v2.AppEngineHttpRequest
+ * @static
+ * @param {google.cloud.tasks.v2.IAppEngineHttpRequest} message AppEngineHttpRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ AppEngineHttpRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an AppEngineHttpRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.tasks.v2.AppEngineHttpRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.tasks.v2.AppEngineHttpRequest} AppEngineHttpRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ AppEngineHttpRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.tasks.v2.AppEngineHttpRequest(), key, value;
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.httpMethod = reader.int32();
+ break;
+ }
+ case 2: {
+ message.appEngineRouting = $root.google.cloud.tasks.v2.AppEngineRouting.decode(reader, reader.uint32());
+ break;
+ }
+ case 3: {
+ message.relativeUri = reader.string();
+ break;
+ }
+ case 4: {
+ if (message.headers === $util.emptyObject)
+ message.headers = {};
+ 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.headers[key] = value;
+ break;
+ }
+ case 5: {
+ message.body = reader.bytes();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an AppEngineHttpRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.tasks.v2.AppEngineHttpRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.tasks.v2.AppEngineHttpRequest} AppEngineHttpRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ AppEngineHttpRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an AppEngineHttpRequest message.
+ * @function verify
+ * @memberof google.cloud.tasks.v2.AppEngineHttpRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ AppEngineHttpRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.httpMethod != null && message.hasOwnProperty("httpMethod"))
+ switch (message.httpMethod) {
+ default:
+ return "httpMethod: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ case 3:
+ case 4:
+ case 5:
+ case 6:
+ case 7:
+ break;
+ }
+ if (message.appEngineRouting != null && message.hasOwnProperty("appEngineRouting")) {
+ var error = $root.google.cloud.tasks.v2.AppEngineRouting.verify(message.appEngineRouting);
+ if (error)
+ return "appEngineRouting." + error;
+ }
+ if (message.relativeUri != null && message.hasOwnProperty("relativeUri"))
+ if (!$util.isString(message.relativeUri))
+ return "relativeUri: string expected";
+ if (message.headers != null && message.hasOwnProperty("headers")) {
+ if (!$util.isObject(message.headers))
+ return "headers: object expected";
+ var key = Object.keys(message.headers);
+ for (var i = 0; i < key.length; ++i)
+ if (!$util.isString(message.headers[key[i]]))
+ return "headers: string{k:string} expected";
+ }
+ if (message.body != null && message.hasOwnProperty("body"))
+ if (!(message.body && typeof message.body.length === "number" || $util.isString(message.body)))
+ return "body: buffer expected";
+ return null;
+ };
+
+ /**
+ * Creates an AppEngineHttpRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.tasks.v2.AppEngineHttpRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.tasks.v2.AppEngineHttpRequest} AppEngineHttpRequest
+ */
+ AppEngineHttpRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.tasks.v2.AppEngineHttpRequest)
+ return object;
+ var message = new $root.google.cloud.tasks.v2.AppEngineHttpRequest();
+ switch (object.httpMethod) {
+ default:
+ if (typeof object.httpMethod === "number") {
+ message.httpMethod = object.httpMethod;
+ break;
+ }
+ break;
+ case "HTTP_METHOD_UNSPECIFIED":
+ case 0:
+ message.httpMethod = 0;
+ break;
+ case "POST":
+ case 1:
+ message.httpMethod = 1;
+ break;
+ case "GET":
+ case 2:
+ message.httpMethod = 2;
+ break;
+ case "HEAD":
+ case 3:
+ message.httpMethod = 3;
+ break;
+ case "PUT":
+ case 4:
+ message.httpMethod = 4;
+ break;
+ case "DELETE":
+ case 5:
+ message.httpMethod = 5;
+ break;
+ case "PATCH":
+ case 6:
+ message.httpMethod = 6;
+ break;
+ case "OPTIONS":
+ case 7:
+ message.httpMethod = 7;
+ break;
+ }
+ if (object.appEngineRouting != null) {
+ if (typeof object.appEngineRouting !== "object")
+ throw TypeError(".google.cloud.tasks.v2.AppEngineHttpRequest.appEngineRouting: object expected");
+ message.appEngineRouting = $root.google.cloud.tasks.v2.AppEngineRouting.fromObject(object.appEngineRouting);
+ }
+ if (object.relativeUri != null)
+ message.relativeUri = String(object.relativeUri);
+ if (object.headers) {
+ if (typeof object.headers !== "object")
+ throw TypeError(".google.cloud.tasks.v2.AppEngineHttpRequest.headers: object expected");
+ message.headers = {};
+ for (var keys = Object.keys(object.headers), i = 0; i < keys.length; ++i)
+ message.headers[keys[i]] = String(object.headers[keys[i]]);
+ }
+ if (object.body != null)
+ if (typeof object.body === "string")
+ $util.base64.decode(object.body, message.body = $util.newBuffer($util.base64.length(object.body)), 0);
+ else if (object.body.length >= 0)
+ message.body = object.body;
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an AppEngineHttpRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.tasks.v2.AppEngineHttpRequest
+ * @static
+ * @param {google.cloud.tasks.v2.AppEngineHttpRequest} message AppEngineHttpRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ AppEngineHttpRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.objects || options.defaults)
+ object.headers = {};
+ if (options.defaults) {
+ object.httpMethod = options.enums === String ? "HTTP_METHOD_UNSPECIFIED" : 0;
+ object.appEngineRouting = null;
+ object.relativeUri = "";
+ if (options.bytes === String)
+ object.body = "";
+ else {
+ object.body = [];
+ if (options.bytes !== Array)
+ object.body = $util.newBuffer(object.body);
+ }
+ }
+ if (message.httpMethod != null && message.hasOwnProperty("httpMethod"))
+ object.httpMethod = options.enums === String ? $root.google.cloud.tasks.v2.HttpMethod[message.httpMethod] === undefined ? message.httpMethod : $root.google.cloud.tasks.v2.HttpMethod[message.httpMethod] : message.httpMethod;
+ if (message.appEngineRouting != null && message.hasOwnProperty("appEngineRouting"))
+ object.appEngineRouting = $root.google.cloud.tasks.v2.AppEngineRouting.toObject(message.appEngineRouting, options);
+ if (message.relativeUri != null && message.hasOwnProperty("relativeUri"))
+ object.relativeUri = message.relativeUri;
+ var keys2;
+ if (message.headers && (keys2 = Object.keys(message.headers)).length) {
+ object.headers = {};
+ for (var j = 0; j < keys2.length; ++j)
+ object.headers[keys2[j]] = message.headers[keys2[j]];
+ }
+ if (message.body != null && message.hasOwnProperty("body"))
+ object.body = options.bytes === String ? $util.base64.encode(message.body, 0, message.body.length) : options.bytes === Array ? Array.prototype.slice.call(message.body) : message.body;
+ return object;
+ };
+
+ /**
+ * Converts this AppEngineHttpRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.tasks.v2.AppEngineHttpRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ AppEngineHttpRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for AppEngineHttpRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.tasks.v2.AppEngineHttpRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ AppEngineHttpRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.tasks.v2.AppEngineHttpRequest";
+ };
+
+ return AppEngineHttpRequest;
+ })();
+
+ v2.AppEngineRouting = (function() {
+
+ /**
+ * Properties of an AppEngineRouting.
+ * @memberof google.cloud.tasks.v2
+ * @interface IAppEngineRouting
+ * @property {string|null} [service] AppEngineRouting service
+ * @property {string|null} [version] AppEngineRouting version
+ * @property {string|null} [instance] AppEngineRouting instance
+ * @property {string|null} [host] AppEngineRouting host
+ */
+
+ /**
+ * Constructs a new AppEngineRouting.
+ * @memberof google.cloud.tasks.v2
+ * @classdesc Represents an AppEngineRouting.
+ * @implements IAppEngineRouting
+ * @constructor
+ * @param {google.cloud.tasks.v2.IAppEngineRouting=} [properties] Properties to set
+ */
+ function AppEngineRouting(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]];
+ }
+
+ /**
+ * AppEngineRouting service.
+ * @member {string} service
+ * @memberof google.cloud.tasks.v2.AppEngineRouting
+ * @instance
+ */
+ AppEngineRouting.prototype.service = "";
+
+ /**
+ * AppEngineRouting version.
+ * @member {string} version
+ * @memberof google.cloud.tasks.v2.AppEngineRouting
+ * @instance
+ */
+ AppEngineRouting.prototype.version = "";
+
+ /**
+ * AppEngineRouting instance.
+ * @member {string} instance
+ * @memberof google.cloud.tasks.v2.AppEngineRouting
+ * @instance
+ */
+ AppEngineRouting.prototype.instance = "";
+
+ /**
+ * AppEngineRouting host.
+ * @member {string} host
+ * @memberof google.cloud.tasks.v2.AppEngineRouting
+ * @instance
+ */
+ AppEngineRouting.prototype.host = "";
+
+ /**
+ * Creates a new AppEngineRouting instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.tasks.v2.AppEngineRouting
+ * @static
+ * @param {google.cloud.tasks.v2.IAppEngineRouting=} [properties] Properties to set
+ * @returns {google.cloud.tasks.v2.AppEngineRouting} AppEngineRouting instance
+ */
+ AppEngineRouting.create = function create(properties) {
+ return new AppEngineRouting(properties);
+ };
+
+ /**
+ * Encodes the specified AppEngineRouting message. Does not implicitly {@link google.cloud.tasks.v2.AppEngineRouting.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.tasks.v2.AppEngineRouting
+ * @static
+ * @param {google.cloud.tasks.v2.IAppEngineRouting} message AppEngineRouting message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ AppEngineRouting.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.service != null && Object.hasOwnProperty.call(message, "service"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.service);
+ if (message.version != null && Object.hasOwnProperty.call(message, "version"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.version);
+ if (message.instance != null && Object.hasOwnProperty.call(message, "instance"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.instance);
+ if (message.host != null && Object.hasOwnProperty.call(message, "host"))
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.host);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified AppEngineRouting message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.AppEngineRouting.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.tasks.v2.AppEngineRouting
+ * @static
+ * @param {google.cloud.tasks.v2.IAppEngineRouting} message AppEngineRouting message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ AppEngineRouting.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an AppEngineRouting message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.tasks.v2.AppEngineRouting
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.tasks.v2.AppEngineRouting} AppEngineRouting
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ AppEngineRouting.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.tasks.v2.AppEngineRouting();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.service = reader.string();
+ break;
+ }
+ case 2: {
+ message.version = reader.string();
+ break;
+ }
+ case 3: {
+ message.instance = reader.string();
+ break;
+ }
+ case 4: {
+ message.host = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an AppEngineRouting message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.tasks.v2.AppEngineRouting
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.tasks.v2.AppEngineRouting} AppEngineRouting
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ AppEngineRouting.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an AppEngineRouting message.
+ * @function verify
+ * @memberof google.cloud.tasks.v2.AppEngineRouting
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ AppEngineRouting.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.service != null && message.hasOwnProperty("service"))
+ if (!$util.isString(message.service))
+ return "service: string expected";
+ if (message.version != null && message.hasOwnProperty("version"))
+ if (!$util.isString(message.version))
+ return "version: string expected";
+ if (message.instance != null && message.hasOwnProperty("instance"))
+ if (!$util.isString(message.instance))
+ return "instance: string expected";
+ if (message.host != null && message.hasOwnProperty("host"))
+ if (!$util.isString(message.host))
+ return "host: string expected";
+ return null;
+ };
+
+ /**
+ * Creates an AppEngineRouting message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.tasks.v2.AppEngineRouting
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.tasks.v2.AppEngineRouting} AppEngineRouting
+ */
+ AppEngineRouting.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.tasks.v2.AppEngineRouting)
+ return object;
+ var message = new $root.google.cloud.tasks.v2.AppEngineRouting();
+ if (object.service != null)
+ message.service = String(object.service);
+ if (object.version != null)
+ message.version = String(object.version);
+ if (object.instance != null)
+ message.instance = String(object.instance);
+ if (object.host != null)
+ message.host = String(object.host);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an AppEngineRouting message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.tasks.v2.AppEngineRouting
+ * @static
+ * @param {google.cloud.tasks.v2.AppEngineRouting} message AppEngineRouting
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ AppEngineRouting.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.service = "";
+ object.version = "";
+ object.instance = "";
+ object.host = "";
+ }
+ if (message.service != null && message.hasOwnProperty("service"))
+ object.service = message.service;
+ if (message.version != null && message.hasOwnProperty("version"))
+ object.version = message.version;
+ if (message.instance != null && message.hasOwnProperty("instance"))
+ object.instance = message.instance;
+ if (message.host != null && message.hasOwnProperty("host"))
+ object.host = message.host;
+ return object;
+ };
+
+ /**
+ * Converts this AppEngineRouting to JSON.
+ * @function toJSON
+ * @memberof google.cloud.tasks.v2.AppEngineRouting
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ AppEngineRouting.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for AppEngineRouting
+ * @function getTypeUrl
+ * @memberof google.cloud.tasks.v2.AppEngineRouting
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ AppEngineRouting.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.tasks.v2.AppEngineRouting";
+ };
+
+ return AppEngineRouting;
+ })();
+
+ /**
+ * HttpMethod enum.
+ * @name google.cloud.tasks.v2.HttpMethod
+ * @enum {number}
+ * @property {number} HTTP_METHOD_UNSPECIFIED=0 HTTP_METHOD_UNSPECIFIED value
+ * @property {number} POST=1 POST value
+ * @property {number} GET=2 GET value
+ * @property {number} HEAD=3 HEAD value
+ * @property {number} PUT=4 PUT value
+ * @property {number} DELETE=5 DELETE value
+ * @property {number} PATCH=6 PATCH value
+ * @property {number} OPTIONS=7 OPTIONS value
+ */
+ v2.HttpMethod = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "HTTP_METHOD_UNSPECIFIED"] = 0;
+ values[valuesById[1] = "POST"] = 1;
+ values[valuesById[2] = "GET"] = 2;
+ values[valuesById[3] = "HEAD"] = 3;
+ values[valuesById[4] = "PUT"] = 4;
+ values[valuesById[5] = "DELETE"] = 5;
+ values[valuesById[6] = "PATCH"] = 6;
+ values[valuesById[7] = "OPTIONS"] = 7;
+ return values;
+ })();
+
+ v2.OAuthToken = (function() {
+
+ /**
+ * Properties of a OAuthToken.
+ * @memberof google.cloud.tasks.v2
+ * @interface IOAuthToken
+ * @property {string|null} [serviceAccountEmail] OAuthToken serviceAccountEmail
+ * @property {string|null} [scope] OAuthToken scope
+ */
+
+ /**
+ * Constructs a new OAuthToken.
+ * @memberof google.cloud.tasks.v2
+ * @classdesc Represents a OAuthToken.
+ * @implements IOAuthToken
+ * @constructor
+ * @param {google.cloud.tasks.v2.IOAuthToken=} [properties] Properties to set
+ */
+ function OAuthToken(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]];
+ }
+
+ /**
+ * OAuthToken serviceAccountEmail.
+ * @member {string} serviceAccountEmail
+ * @memberof google.cloud.tasks.v2.OAuthToken
+ * @instance
+ */
+ OAuthToken.prototype.serviceAccountEmail = "";
+
+ /**
+ * OAuthToken scope.
+ * @member {string} scope
+ * @memberof google.cloud.tasks.v2.OAuthToken
+ * @instance
+ */
+ OAuthToken.prototype.scope = "";
+
+ /**
+ * Creates a new OAuthToken instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.tasks.v2.OAuthToken
+ * @static
+ * @param {google.cloud.tasks.v2.IOAuthToken=} [properties] Properties to set
+ * @returns {google.cloud.tasks.v2.OAuthToken} OAuthToken instance
+ */
+ OAuthToken.create = function create(properties) {
+ return new OAuthToken(properties);
+ };
+
+ /**
+ * Encodes the specified OAuthToken message. Does not implicitly {@link google.cloud.tasks.v2.OAuthToken.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.tasks.v2.OAuthToken
+ * @static
+ * @param {google.cloud.tasks.v2.IOAuthToken} message OAuthToken message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ OAuthToken.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.serviceAccountEmail != null && Object.hasOwnProperty.call(message, "serviceAccountEmail"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.serviceAccountEmail);
+ if (message.scope != null && Object.hasOwnProperty.call(message, "scope"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.scope);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified OAuthToken message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.OAuthToken.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.tasks.v2.OAuthToken
+ * @static
+ * @param {google.cloud.tasks.v2.IOAuthToken} message OAuthToken message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ OAuthToken.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a OAuthToken message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.tasks.v2.OAuthToken
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.tasks.v2.OAuthToken} OAuthToken
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ OAuthToken.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.tasks.v2.OAuthToken();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.serviceAccountEmail = reader.string();
+ break;
+ }
+ case 2: {
+ message.scope = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a OAuthToken message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.tasks.v2.OAuthToken
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.tasks.v2.OAuthToken} OAuthToken
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ OAuthToken.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a OAuthToken message.
+ * @function verify
+ * @memberof google.cloud.tasks.v2.OAuthToken
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ OAuthToken.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.serviceAccountEmail != null && message.hasOwnProperty("serviceAccountEmail"))
+ if (!$util.isString(message.serviceAccountEmail))
+ return "serviceAccountEmail: string expected";
+ if (message.scope != null && message.hasOwnProperty("scope"))
+ if (!$util.isString(message.scope))
+ return "scope: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a OAuthToken message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.tasks.v2.OAuthToken
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.tasks.v2.OAuthToken} OAuthToken
+ */
+ OAuthToken.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.tasks.v2.OAuthToken)
+ return object;
+ var message = new $root.google.cloud.tasks.v2.OAuthToken();
+ if (object.serviceAccountEmail != null)
+ message.serviceAccountEmail = String(object.serviceAccountEmail);
+ if (object.scope != null)
+ message.scope = String(object.scope);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a OAuthToken message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.tasks.v2.OAuthToken
+ * @static
+ * @param {google.cloud.tasks.v2.OAuthToken} message OAuthToken
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ OAuthToken.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.serviceAccountEmail = "";
+ object.scope = "";
+ }
+ if (message.serviceAccountEmail != null && message.hasOwnProperty("serviceAccountEmail"))
+ object.serviceAccountEmail = message.serviceAccountEmail;
+ if (message.scope != null && message.hasOwnProperty("scope"))
+ object.scope = message.scope;
+ return object;
+ };
+
+ /**
+ * Converts this OAuthToken to JSON.
+ * @function toJSON
+ * @memberof google.cloud.tasks.v2.OAuthToken
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ OAuthToken.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for OAuthToken
+ * @function getTypeUrl
+ * @memberof google.cloud.tasks.v2.OAuthToken
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ OAuthToken.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.tasks.v2.OAuthToken";
+ };
+
+ return OAuthToken;
+ })();
+
+ v2.OidcToken = (function() {
+
+ /**
+ * Properties of an OidcToken.
+ * @memberof google.cloud.tasks.v2
+ * @interface IOidcToken
+ * @property {string|null} [serviceAccountEmail] OidcToken serviceAccountEmail
+ * @property {string|null} [audience] OidcToken audience
+ */
+
+ /**
+ * Constructs a new OidcToken.
+ * @memberof google.cloud.tasks.v2
+ * @classdesc Represents an OidcToken.
+ * @implements IOidcToken
+ * @constructor
+ * @param {google.cloud.tasks.v2.IOidcToken=} [properties] Properties to set
+ */
+ function OidcToken(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]];
+ }
+
+ /**
+ * OidcToken serviceAccountEmail.
+ * @member {string} serviceAccountEmail
+ * @memberof google.cloud.tasks.v2.OidcToken
+ * @instance
+ */
+ OidcToken.prototype.serviceAccountEmail = "";
+
+ /**
+ * OidcToken audience.
+ * @member {string} audience
+ * @memberof google.cloud.tasks.v2.OidcToken
+ * @instance
+ */
+ OidcToken.prototype.audience = "";
+
+ /**
+ * Creates a new OidcToken instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.tasks.v2.OidcToken
+ * @static
+ * @param {google.cloud.tasks.v2.IOidcToken=} [properties] Properties to set
+ * @returns {google.cloud.tasks.v2.OidcToken} OidcToken instance
+ */
+ OidcToken.create = function create(properties) {
+ return new OidcToken(properties);
+ };
+
+ /**
+ * Encodes the specified OidcToken message. Does not implicitly {@link google.cloud.tasks.v2.OidcToken.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.tasks.v2.OidcToken
+ * @static
+ * @param {google.cloud.tasks.v2.IOidcToken} message OidcToken message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ OidcToken.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.serviceAccountEmail != null && Object.hasOwnProperty.call(message, "serviceAccountEmail"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.serviceAccountEmail);
+ if (message.audience != null && Object.hasOwnProperty.call(message, "audience"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.audience);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified OidcToken message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.OidcToken.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.tasks.v2.OidcToken
+ * @static
+ * @param {google.cloud.tasks.v2.IOidcToken} message OidcToken message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ OidcToken.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an OidcToken message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.tasks.v2.OidcToken
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.tasks.v2.OidcToken} OidcToken
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ OidcToken.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.tasks.v2.OidcToken();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.serviceAccountEmail = reader.string();
+ break;
+ }
+ case 2: {
+ message.audience = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an OidcToken message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.tasks.v2.OidcToken
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.tasks.v2.OidcToken} OidcToken
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ OidcToken.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an OidcToken message.
+ * @function verify
+ * @memberof google.cloud.tasks.v2.OidcToken
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ OidcToken.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.serviceAccountEmail != null && message.hasOwnProperty("serviceAccountEmail"))
+ if (!$util.isString(message.serviceAccountEmail))
+ return "serviceAccountEmail: string expected";
+ if (message.audience != null && message.hasOwnProperty("audience"))
+ if (!$util.isString(message.audience))
+ return "audience: string expected";
+ return null;
+ };
+
+ /**
+ * Creates an OidcToken message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.tasks.v2.OidcToken
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.tasks.v2.OidcToken} OidcToken
+ */
+ OidcToken.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.tasks.v2.OidcToken)
+ return object;
+ var message = new $root.google.cloud.tasks.v2.OidcToken();
+ if (object.serviceAccountEmail != null)
+ message.serviceAccountEmail = String(object.serviceAccountEmail);
+ if (object.audience != null)
+ message.audience = String(object.audience);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an OidcToken message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.tasks.v2.OidcToken
+ * @static
+ * @param {google.cloud.tasks.v2.OidcToken} message OidcToken
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ OidcToken.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.serviceAccountEmail = "";
+ object.audience = "";
+ }
+ if (message.serviceAccountEmail != null && message.hasOwnProperty("serviceAccountEmail"))
+ object.serviceAccountEmail = message.serviceAccountEmail;
+ if (message.audience != null && message.hasOwnProperty("audience"))
+ object.audience = message.audience;
+ return object;
+ };
+
+ /**
+ * Converts this OidcToken to JSON.
+ * @function toJSON
+ * @memberof google.cloud.tasks.v2.OidcToken
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ OidcToken.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for OidcToken
+ * @function getTypeUrl
+ * @memberof google.cloud.tasks.v2.OidcToken
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ OidcToken.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.tasks.v2.OidcToken";
+ };
+
+ return OidcToken;
+ })();
+
+ v2.Task = (function() {
+
+ /**
+ * Properties of a Task.
+ * @memberof google.cloud.tasks.v2
+ * @interface ITask
+ * @property {string|null} [name] Task name
+ * @property {google.cloud.tasks.v2.IAppEngineHttpRequest|null} [appEngineHttpRequest] Task appEngineHttpRequest
+ * @property {google.cloud.tasks.v2.IHttpRequest|null} [httpRequest] Task httpRequest
+ * @property {google.protobuf.ITimestamp|null} [scheduleTime] Task scheduleTime
+ * @property {google.protobuf.ITimestamp|null} [createTime] Task createTime
+ * @property {google.protobuf.IDuration|null} [dispatchDeadline] Task dispatchDeadline
+ * @property {number|null} [dispatchCount] Task dispatchCount
+ * @property {number|null} [responseCount] Task responseCount
+ * @property {google.cloud.tasks.v2.IAttempt|null} [firstAttempt] Task firstAttempt
+ * @property {google.cloud.tasks.v2.IAttempt|null} [lastAttempt] Task lastAttempt
+ * @property {google.cloud.tasks.v2.Task.View|null} [view] Task view
+ */
+
+ /**
+ * Constructs a new Task.
+ * @memberof google.cloud.tasks.v2
+ * @classdesc Represents a Task.
+ * @implements ITask
+ * @constructor
+ * @param {google.cloud.tasks.v2.ITask=} [properties] Properties to set
+ */
+ function Task(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]];
+ }
+
+ /**
+ * Task name.
+ * @member {string} name
+ * @memberof google.cloud.tasks.v2.Task
+ * @instance
+ */
+ Task.prototype.name = "";
+
+ /**
+ * Task appEngineHttpRequest.
+ * @member {google.cloud.tasks.v2.IAppEngineHttpRequest|null|undefined} appEngineHttpRequest
+ * @memberof google.cloud.tasks.v2.Task
+ * @instance
+ */
+ Task.prototype.appEngineHttpRequest = null;
+
+ /**
+ * Task httpRequest.
+ * @member {google.cloud.tasks.v2.IHttpRequest|null|undefined} httpRequest
+ * @memberof google.cloud.tasks.v2.Task
+ * @instance
+ */
+ Task.prototype.httpRequest = null;
+
+ /**
+ * Task scheduleTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} scheduleTime
+ * @memberof google.cloud.tasks.v2.Task
+ * @instance
+ */
+ Task.prototype.scheduleTime = null;
+
+ /**
+ * Task createTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} createTime
+ * @memberof google.cloud.tasks.v2.Task
+ * @instance
+ */
+ Task.prototype.createTime = null;
+
+ /**
+ * Task dispatchDeadline.
+ * @member {google.protobuf.IDuration|null|undefined} dispatchDeadline
+ * @memberof google.cloud.tasks.v2.Task
+ * @instance
+ */
+ Task.prototype.dispatchDeadline = null;
+
+ /**
+ * Task dispatchCount.
+ * @member {number} dispatchCount
+ * @memberof google.cloud.tasks.v2.Task
+ * @instance
+ */
+ Task.prototype.dispatchCount = 0;
+
+ /**
+ * Task responseCount.
+ * @member {number} responseCount
+ * @memberof google.cloud.tasks.v2.Task
+ * @instance
+ */
+ Task.prototype.responseCount = 0;
+
+ /**
+ * Task firstAttempt.
+ * @member {google.cloud.tasks.v2.IAttempt|null|undefined} firstAttempt
+ * @memberof google.cloud.tasks.v2.Task
+ * @instance
+ */
+ Task.prototype.firstAttempt = null;
+
+ /**
+ * Task lastAttempt.
+ * @member {google.cloud.tasks.v2.IAttempt|null|undefined} lastAttempt
+ * @memberof google.cloud.tasks.v2.Task
+ * @instance
+ */
+ Task.prototype.lastAttempt = null;
+
+ /**
+ * Task view.
+ * @member {google.cloud.tasks.v2.Task.View} view
+ * @memberof google.cloud.tasks.v2.Task
+ * @instance
+ */
+ Task.prototype.view = 0;
+
+ // OneOf field names bound to virtual getters and setters
+ var $oneOfFields;
+
+ /**
+ * Task messageType.
+ * @member {"appEngineHttpRequest"|"httpRequest"|undefined} messageType
+ * @memberof google.cloud.tasks.v2.Task
+ * @instance
+ */
+ Object.defineProperty(Task.prototype, "messageType", {
+ get: $util.oneOfGetter($oneOfFields = ["appEngineHttpRequest", "httpRequest"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
+
+ /**
+ * Creates a new Task instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.tasks.v2.Task
+ * @static
+ * @param {google.cloud.tasks.v2.ITask=} [properties] Properties to set
+ * @returns {google.cloud.tasks.v2.Task} Task instance
+ */
+ Task.create = function create(properties) {
+ return new Task(properties);
+ };
+
+ /**
+ * Encodes the specified Task message. Does not implicitly {@link google.cloud.tasks.v2.Task.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.tasks.v2.Task
+ * @static
+ * @param {google.cloud.tasks.v2.ITask} message Task message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Task.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
+ if (message.appEngineHttpRequest != null && Object.hasOwnProperty.call(message, "appEngineHttpRequest"))
+ $root.google.cloud.tasks.v2.AppEngineHttpRequest.encode(message.appEngineHttpRequest, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ if (message.httpRequest != null && Object.hasOwnProperty.call(message, "httpRequest"))
+ $root.google.cloud.tasks.v2.HttpRequest.encode(message.httpRequest, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ if (message.scheduleTime != null && Object.hasOwnProperty.call(message, "scheduleTime"))
+ $root.google.protobuf.Timestamp.encode(message.scheduleTime, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
+ if (message.createTime != null && Object.hasOwnProperty.call(message, "createTime"))
+ $root.google.protobuf.Timestamp.encode(message.createTime, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
+ if (message.dispatchDeadline != null && Object.hasOwnProperty.call(message, "dispatchDeadline"))
+ $root.google.protobuf.Duration.encode(message.dispatchDeadline, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
+ if (message.dispatchCount != null && Object.hasOwnProperty.call(message, "dispatchCount"))
+ writer.uint32(/* id 7, wireType 0 =*/56).int32(message.dispatchCount);
+ if (message.responseCount != null && Object.hasOwnProperty.call(message, "responseCount"))
+ writer.uint32(/* id 8, wireType 0 =*/64).int32(message.responseCount);
+ if (message.firstAttempt != null && Object.hasOwnProperty.call(message, "firstAttempt"))
+ $root.google.cloud.tasks.v2.Attempt.encode(message.firstAttempt, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim();
+ if (message.lastAttempt != null && Object.hasOwnProperty.call(message, "lastAttempt"))
+ $root.google.cloud.tasks.v2.Attempt.encode(message.lastAttempt, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
+ if (message.view != null && Object.hasOwnProperty.call(message, "view"))
+ writer.uint32(/* id 11, wireType 0 =*/88).int32(message.view);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Task message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.Task.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.tasks.v2.Task
+ * @static
+ * @param {google.cloud.tasks.v2.ITask} message Task message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Task.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a Task message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.tasks.v2.Task
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.tasks.v2.Task} Task
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Task.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.tasks.v2.Task();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ case 2: {
+ message.appEngineHttpRequest = $root.google.cloud.tasks.v2.AppEngineHttpRequest.decode(reader, reader.uint32());
+ break;
+ }
+ case 3: {
+ message.httpRequest = $root.google.cloud.tasks.v2.HttpRequest.decode(reader, reader.uint32());
+ break;
+ }
+ case 4: {
+ message.scheduleTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 5: {
+ message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 6: {
+ message.dispatchDeadline = $root.google.protobuf.Duration.decode(reader, reader.uint32());
+ break;
+ }
+ case 7: {
+ message.dispatchCount = reader.int32();
+ break;
+ }
+ case 8: {
+ message.responseCount = reader.int32();
+ break;
+ }
+ case 9: {
+ message.firstAttempt = $root.google.cloud.tasks.v2.Attempt.decode(reader, reader.uint32());
+ break;
+ }
+ case 10: {
+ message.lastAttempt = $root.google.cloud.tasks.v2.Attempt.decode(reader, reader.uint32());
+ break;
+ }
+ case 11: {
+ message.view = reader.int32();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a Task message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.tasks.v2.Task
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.tasks.v2.Task} Task
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Task.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a Task message.
+ * @function verify
+ * @memberof google.cloud.tasks.v2.Task
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Task.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ var properties = {};
+ if (message.name != null && message.hasOwnProperty("name"))
+ if (!$util.isString(message.name))
+ return "name: string expected";
+ if (message.appEngineHttpRequest != null && message.hasOwnProperty("appEngineHttpRequest")) {
+ properties.messageType = 1;
+ {
+ var error = $root.google.cloud.tasks.v2.AppEngineHttpRequest.verify(message.appEngineHttpRequest);
+ if (error)
+ return "appEngineHttpRequest." + error;
+ }
+ }
+ if (message.httpRequest != null && message.hasOwnProperty("httpRequest")) {
+ if (properties.messageType === 1)
+ return "messageType: multiple values";
+ properties.messageType = 1;
+ {
+ var error = $root.google.cloud.tasks.v2.HttpRequest.verify(message.httpRequest);
+ if (error)
+ return "httpRequest." + error;
+ }
+ }
+ if (message.scheduleTime != null && message.hasOwnProperty("scheduleTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.scheduleTime);
+ if (error)
+ return "scheduleTime." + error;
+ }
+ if (message.createTime != null && message.hasOwnProperty("createTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.createTime);
+ if (error)
+ return "createTime." + error;
+ }
+ if (message.dispatchDeadline != null && message.hasOwnProperty("dispatchDeadline")) {
+ var error = $root.google.protobuf.Duration.verify(message.dispatchDeadline);
+ if (error)
+ return "dispatchDeadline." + error;
+ }
+ if (message.dispatchCount != null && message.hasOwnProperty("dispatchCount"))
+ if (!$util.isInteger(message.dispatchCount))
+ return "dispatchCount: integer expected";
+ if (message.responseCount != null && message.hasOwnProperty("responseCount"))
+ if (!$util.isInteger(message.responseCount))
+ return "responseCount: integer expected";
+ if (message.firstAttempt != null && message.hasOwnProperty("firstAttempt")) {
+ var error = $root.google.cloud.tasks.v2.Attempt.verify(message.firstAttempt);
+ if (error)
+ return "firstAttempt." + error;
+ }
+ if (message.lastAttempt != null && message.hasOwnProperty("lastAttempt")) {
+ var error = $root.google.cloud.tasks.v2.Attempt.verify(message.lastAttempt);
+ if (error)
+ return "lastAttempt." + error;
+ }
+ if (message.view != null && message.hasOwnProperty("view"))
+ switch (message.view) {
+ default:
+ return "view: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ break;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a Task message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.tasks.v2.Task
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.tasks.v2.Task} Task
+ */
+ Task.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.tasks.v2.Task)
+ return object;
+ var message = new $root.google.cloud.tasks.v2.Task();
+ if (object.name != null)
+ message.name = String(object.name);
+ if (object.appEngineHttpRequest != null) {
+ if (typeof object.appEngineHttpRequest !== "object")
+ throw TypeError(".google.cloud.tasks.v2.Task.appEngineHttpRequest: object expected");
+ message.appEngineHttpRequest = $root.google.cloud.tasks.v2.AppEngineHttpRequest.fromObject(object.appEngineHttpRequest);
+ }
+ if (object.httpRequest != null) {
+ if (typeof object.httpRequest !== "object")
+ throw TypeError(".google.cloud.tasks.v2.Task.httpRequest: object expected");
+ message.httpRequest = $root.google.cloud.tasks.v2.HttpRequest.fromObject(object.httpRequest);
+ }
+ if (object.scheduleTime != null) {
+ if (typeof object.scheduleTime !== "object")
+ throw TypeError(".google.cloud.tasks.v2.Task.scheduleTime: object expected");
+ message.scheduleTime = $root.google.protobuf.Timestamp.fromObject(object.scheduleTime);
+ }
+ if (object.createTime != null) {
+ if (typeof object.createTime !== "object")
+ throw TypeError(".google.cloud.tasks.v2.Task.createTime: object expected");
+ message.createTime = $root.google.protobuf.Timestamp.fromObject(object.createTime);
+ }
+ if (object.dispatchDeadline != null) {
+ if (typeof object.dispatchDeadline !== "object")
+ throw TypeError(".google.cloud.tasks.v2.Task.dispatchDeadline: object expected");
+ message.dispatchDeadline = $root.google.protobuf.Duration.fromObject(object.dispatchDeadline);
+ }
+ if (object.dispatchCount != null)
+ message.dispatchCount = object.dispatchCount | 0;
+ if (object.responseCount != null)
+ message.responseCount = object.responseCount | 0;
+ if (object.firstAttempt != null) {
+ if (typeof object.firstAttempt !== "object")
+ throw TypeError(".google.cloud.tasks.v2.Task.firstAttempt: object expected");
+ message.firstAttempt = $root.google.cloud.tasks.v2.Attempt.fromObject(object.firstAttempt);
+ }
+ if (object.lastAttempt != null) {
+ if (typeof object.lastAttempt !== "object")
+ throw TypeError(".google.cloud.tasks.v2.Task.lastAttempt: object expected");
+ message.lastAttempt = $root.google.cloud.tasks.v2.Attempt.fromObject(object.lastAttempt);
+ }
+ switch (object.view) {
+ default:
+ if (typeof object.view === "number") {
+ message.view = object.view;
+ break;
+ }
+ break;
+ case "VIEW_UNSPECIFIED":
+ case 0:
+ message.view = 0;
+ break;
+ case "BASIC":
+ case 1:
+ message.view = 1;
+ break;
+ case "FULL":
+ case 2:
+ message.view = 2;
+ break;
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a Task message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.tasks.v2.Task
+ * @static
+ * @param {google.cloud.tasks.v2.Task} message Task
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Task.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.name = "";
+ object.scheduleTime = null;
+ object.createTime = null;
+ object.dispatchDeadline = null;
+ object.dispatchCount = 0;
+ object.responseCount = 0;
+ object.firstAttempt = null;
+ object.lastAttempt = null;
+ object.view = options.enums === String ? "VIEW_UNSPECIFIED" : 0;
+ }
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ if (message.appEngineHttpRequest != null && message.hasOwnProperty("appEngineHttpRequest")) {
+ object.appEngineHttpRequest = $root.google.cloud.tasks.v2.AppEngineHttpRequest.toObject(message.appEngineHttpRequest, options);
+ if (options.oneofs)
+ object.messageType = "appEngineHttpRequest";
+ }
+ if (message.httpRequest != null && message.hasOwnProperty("httpRequest")) {
+ object.httpRequest = $root.google.cloud.tasks.v2.HttpRequest.toObject(message.httpRequest, options);
+ if (options.oneofs)
+ object.messageType = "httpRequest";
+ }
+ if (message.scheduleTime != null && message.hasOwnProperty("scheduleTime"))
+ object.scheduleTime = $root.google.protobuf.Timestamp.toObject(message.scheduleTime, options);
+ if (message.createTime != null && message.hasOwnProperty("createTime"))
+ object.createTime = $root.google.protobuf.Timestamp.toObject(message.createTime, options);
+ if (message.dispatchDeadline != null && message.hasOwnProperty("dispatchDeadline"))
+ object.dispatchDeadline = $root.google.protobuf.Duration.toObject(message.dispatchDeadline, options);
+ if (message.dispatchCount != null && message.hasOwnProperty("dispatchCount"))
+ object.dispatchCount = message.dispatchCount;
+ if (message.responseCount != null && message.hasOwnProperty("responseCount"))
+ object.responseCount = message.responseCount;
+ if (message.firstAttempt != null && message.hasOwnProperty("firstAttempt"))
+ object.firstAttempt = $root.google.cloud.tasks.v2.Attempt.toObject(message.firstAttempt, options);
+ if (message.lastAttempt != null && message.hasOwnProperty("lastAttempt"))
+ object.lastAttempt = $root.google.cloud.tasks.v2.Attempt.toObject(message.lastAttempt, options);
+ if (message.view != null && message.hasOwnProperty("view"))
+ object.view = options.enums === String ? $root.google.cloud.tasks.v2.Task.View[message.view] === undefined ? message.view : $root.google.cloud.tasks.v2.Task.View[message.view] : message.view;
+ return object;
+ };
+
+ /**
+ * Converts this Task to JSON.
+ * @function toJSON
+ * @memberof google.cloud.tasks.v2.Task
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Task.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for Task
+ * @function getTypeUrl
+ * @memberof google.cloud.tasks.v2.Task
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ Task.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.tasks.v2.Task";
+ };
+
+ /**
+ * View enum.
+ * @name google.cloud.tasks.v2.Task.View
+ * @enum {number}
+ * @property {number} VIEW_UNSPECIFIED=0 VIEW_UNSPECIFIED value
+ * @property {number} BASIC=1 BASIC value
+ * @property {number} FULL=2 FULL value
+ */
+ Task.View = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "VIEW_UNSPECIFIED"] = 0;
+ values[valuesById[1] = "BASIC"] = 1;
+ values[valuesById[2] = "FULL"] = 2;
+ return values;
+ })();
+
+ return Task;
+ })();
+
+ v2.Attempt = (function() {
+
+ /**
+ * Properties of an Attempt.
+ * @memberof google.cloud.tasks.v2
+ * @interface IAttempt
+ * @property {google.protobuf.ITimestamp|null} [scheduleTime] Attempt scheduleTime
+ * @property {google.protobuf.ITimestamp|null} [dispatchTime] Attempt dispatchTime
+ * @property {google.protobuf.ITimestamp|null} [responseTime] Attempt responseTime
+ * @property {google.rpc.IStatus|null} [responseStatus] Attempt responseStatus
+ */
+
+ /**
+ * Constructs a new Attempt.
+ * @memberof google.cloud.tasks.v2
+ * @classdesc Represents an Attempt.
+ * @implements IAttempt
+ * @constructor
+ * @param {google.cloud.tasks.v2.IAttempt=} [properties] Properties to set
+ */
+ function Attempt(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]];
+ }
+
+ /**
+ * Attempt scheduleTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} scheduleTime
+ * @memberof google.cloud.tasks.v2.Attempt
+ * @instance
+ */
+ Attempt.prototype.scheduleTime = null;
+
+ /**
+ * Attempt dispatchTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} dispatchTime
+ * @memberof google.cloud.tasks.v2.Attempt
+ * @instance
+ */
+ Attempt.prototype.dispatchTime = null;
+
+ /**
+ * Attempt responseTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} responseTime
+ * @memberof google.cloud.tasks.v2.Attempt
+ * @instance
+ */
+ Attempt.prototype.responseTime = null;
+
+ /**
+ * Attempt responseStatus.
+ * @member {google.rpc.IStatus|null|undefined} responseStatus
+ * @memberof google.cloud.tasks.v2.Attempt
+ * @instance
+ */
+ Attempt.prototype.responseStatus = null;
+
+ /**
+ * Creates a new Attempt instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.tasks.v2.Attempt
+ * @static
+ * @param {google.cloud.tasks.v2.IAttempt=} [properties] Properties to set
+ * @returns {google.cloud.tasks.v2.Attempt} Attempt instance
+ */
+ Attempt.create = function create(properties) {
+ return new Attempt(properties);
+ };
+
+ /**
+ * Encodes the specified Attempt message. Does not implicitly {@link google.cloud.tasks.v2.Attempt.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.tasks.v2.Attempt
+ * @static
+ * @param {google.cloud.tasks.v2.IAttempt} message Attempt message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Attempt.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.scheduleTime != null && Object.hasOwnProperty.call(message, "scheduleTime"))
+ $root.google.protobuf.Timestamp.encode(message.scheduleTime, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.dispatchTime != null && Object.hasOwnProperty.call(message, "dispatchTime"))
+ $root.google.protobuf.Timestamp.encode(message.dispatchTime, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ if (message.responseTime != null && Object.hasOwnProperty.call(message, "responseTime"))
+ $root.google.protobuf.Timestamp.encode(message.responseTime, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ if (message.responseStatus != null && Object.hasOwnProperty.call(message, "responseStatus"))
+ $root.google.rpc.Status.encode(message.responseStatus, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Attempt message, length delimited. Does not implicitly {@link google.cloud.tasks.v2.Attempt.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.tasks.v2.Attempt
+ * @static
+ * @param {google.cloud.tasks.v2.IAttempt} message Attempt message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Attempt.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an Attempt message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.tasks.v2.Attempt
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.tasks.v2.Attempt} Attempt
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Attempt.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.tasks.v2.Attempt();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.scheduleTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 2: {
+ message.dispatchTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 3: {
+ message.responseTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 4: {
+ message.responseStatus = $root.google.rpc.Status.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an Attempt message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.tasks.v2.Attempt
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.tasks.v2.Attempt} Attempt
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Attempt.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an Attempt message.
+ * @function verify
+ * @memberof google.cloud.tasks.v2.Attempt
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Attempt.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.scheduleTime != null && message.hasOwnProperty("scheduleTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.scheduleTime);
+ if (error)
+ return "scheduleTime." + error;
+ }
+ if (message.dispatchTime != null && message.hasOwnProperty("dispatchTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.dispatchTime);
+ if (error)
+ return "dispatchTime." + error;
+ }
+ if (message.responseTime != null && message.hasOwnProperty("responseTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.responseTime);
+ if (error)
+ return "responseTime." + error;
+ }
+ if (message.responseStatus != null && message.hasOwnProperty("responseStatus")) {
+ var error = $root.google.rpc.Status.verify(message.responseStatus);
+ if (error)
+ return "responseStatus." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates an Attempt message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.tasks.v2.Attempt
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.tasks.v2.Attempt} Attempt
+ */
+ Attempt.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.tasks.v2.Attempt)
+ return object;
+ var message = new $root.google.cloud.tasks.v2.Attempt();
+ if (object.scheduleTime != null) {
+ if (typeof object.scheduleTime !== "object")
+ throw TypeError(".google.cloud.tasks.v2.Attempt.scheduleTime: object expected");
+ message.scheduleTime = $root.google.protobuf.Timestamp.fromObject(object.scheduleTime);
+ }
+ if (object.dispatchTime != null) {
+ if (typeof object.dispatchTime !== "object")
+ throw TypeError(".google.cloud.tasks.v2.Attempt.dispatchTime: object expected");
+ message.dispatchTime = $root.google.protobuf.Timestamp.fromObject(object.dispatchTime);
+ }
+ if (object.responseTime != null) {
+ if (typeof object.responseTime !== "object")
+ throw TypeError(".google.cloud.tasks.v2.Attempt.responseTime: object expected");
+ message.responseTime = $root.google.protobuf.Timestamp.fromObject(object.responseTime);
+ }
+ if (object.responseStatus != null) {
+ if (typeof object.responseStatus !== "object")
+ throw TypeError(".google.cloud.tasks.v2.Attempt.responseStatus: object expected");
+ message.responseStatus = $root.google.rpc.Status.fromObject(object.responseStatus);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an Attempt message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.tasks.v2.Attempt
+ * @static
+ * @param {google.cloud.tasks.v2.Attempt} message Attempt
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Attempt.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.scheduleTime = null;
+ object.dispatchTime = null;
+ object.responseTime = null;
+ object.responseStatus = null;
+ }
+ if (message.scheduleTime != null && message.hasOwnProperty("scheduleTime"))
+ object.scheduleTime = $root.google.protobuf.Timestamp.toObject(message.scheduleTime, options);
+ if (message.dispatchTime != null && message.hasOwnProperty("dispatchTime"))
+ object.dispatchTime = $root.google.protobuf.Timestamp.toObject(message.dispatchTime, options);
+ if (message.responseTime != null && message.hasOwnProperty("responseTime"))
+ object.responseTime = $root.google.protobuf.Timestamp.toObject(message.responseTime, options);
+ if (message.responseStatus != null && message.hasOwnProperty("responseStatus"))
+ object.responseStatus = $root.google.rpc.Status.toObject(message.responseStatus, options);
+ return object;
+ };
+
+ /**
+ * Converts this Attempt to JSON.
+ * @function toJSON
+ * @memberof google.cloud.tasks.v2.Attempt
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Attempt.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for Attempt
+ * @function getTypeUrl
+ * @memberof google.cloud.tasks.v2.Attempt
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ Attempt.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.tasks.v2.Attempt";
+ };
+
+ return Attempt;
+ })();
+
+ return v2;
+ })();
+
+ tasks.v2beta2 = (function() {
+
+ /**
+ * Namespace v2beta2.
+ * @memberof google.cloud.tasks
+ * @namespace
+ */
+ var v2beta2 = {};
+
+ v2beta2.CloudTasks = (function() {
+
+ /**
+ * Constructs a new CloudTasks service.
+ * @memberof google.cloud.tasks.v2beta2
+ * @classdesc Represents a CloudTasks
+ * @extends $protobuf.rpc.Service
+ * @constructor
+ * @param {$protobuf.RPCImpl} rpcImpl RPC implementation
+ * @param {boolean} [requestDelimited=false] Whether requests are length-delimited
+ * @param {boolean} [responseDelimited=false] Whether responses are length-delimited
+ */
+ function CloudTasks(rpcImpl, requestDelimited, responseDelimited) {
+ $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited);
+ }
+
+ (CloudTasks.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = CloudTasks;
+
+ /**
+ * Creates new CloudTasks service using the specified rpc implementation.
+ * @function create
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @static
+ * @param {$protobuf.RPCImpl} rpcImpl RPC implementation
+ * @param {boolean} [requestDelimited=false] Whether requests are length-delimited
+ * @param {boolean} [responseDelimited=false] Whether responses are length-delimited
+ * @returns {CloudTasks} RPC service. Useful where requests and/or responses are streamed.
+ */
+ CloudTasks.create = function create(rpcImpl, requestDelimited, responseDelimited) {
+ return new this(rpcImpl, requestDelimited, responseDelimited);
+ };
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta2.CloudTasks|listQueues}.
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @typedef ListQueuesCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.tasks.v2beta2.ListQueuesResponse} [response] ListQueuesResponse
+ */
+
+ /**
+ * Calls ListQueues.
+ * @function listQueues
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2beta2.IListQueuesRequest} request ListQueuesRequest message or plain object
+ * @param {google.cloud.tasks.v2beta2.CloudTasks.ListQueuesCallback} callback Node-style callback called with the error, if any, and ListQueuesResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudTasks.prototype.listQueues = function listQueues(request, callback) {
+ return this.rpcCall(listQueues, $root.google.cloud.tasks.v2beta2.ListQueuesRequest, $root.google.cloud.tasks.v2beta2.ListQueuesResponse, request, callback);
+ }, "name", { value: "ListQueues" });
+
+ /**
+ * Calls ListQueues.
+ * @function listQueues
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2beta2.IListQueuesRequest} request ListQueuesRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta2.CloudTasks|getQueue}.
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @typedef GetQueueCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.tasks.v2beta2.Queue} [response] Queue
+ */
+
+ /**
+ * Calls GetQueue.
+ * @function getQueue
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2beta2.IGetQueueRequest} request GetQueueRequest message or plain object
+ * @param {google.cloud.tasks.v2beta2.CloudTasks.GetQueueCallback} callback Node-style callback called with the error, if any, and Queue
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudTasks.prototype.getQueue = function getQueue(request, callback) {
+ return this.rpcCall(getQueue, $root.google.cloud.tasks.v2beta2.GetQueueRequest, $root.google.cloud.tasks.v2beta2.Queue, request, callback);
+ }, "name", { value: "GetQueue" });
+
+ /**
+ * Calls GetQueue.
+ * @function getQueue
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2beta2.IGetQueueRequest} request GetQueueRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta2.CloudTasks|createQueue}.
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @typedef CreateQueueCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.tasks.v2beta2.Queue} [response] Queue
+ */
+
+ /**
+ * Calls CreateQueue.
+ * @function createQueue
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2beta2.ICreateQueueRequest} request CreateQueueRequest message or plain object
+ * @param {google.cloud.tasks.v2beta2.CloudTasks.CreateQueueCallback} callback Node-style callback called with the error, if any, and Queue
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudTasks.prototype.createQueue = function createQueue(request, callback) {
+ return this.rpcCall(createQueue, $root.google.cloud.tasks.v2beta2.CreateQueueRequest, $root.google.cloud.tasks.v2beta2.Queue, request, callback);
+ }, "name", { value: "CreateQueue" });
+
+ /**
+ * Calls CreateQueue.
+ * @function createQueue
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2beta2.ICreateQueueRequest} request CreateQueueRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta2.CloudTasks|updateQueue}.
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @typedef UpdateQueueCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.tasks.v2beta2.Queue} [response] Queue
+ */
+
+ /**
+ * Calls UpdateQueue.
+ * @function updateQueue
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2beta2.IUpdateQueueRequest} request UpdateQueueRequest message or plain object
+ * @param {google.cloud.tasks.v2beta2.CloudTasks.UpdateQueueCallback} callback Node-style callback called with the error, if any, and Queue
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudTasks.prototype.updateQueue = function updateQueue(request, callback) {
+ return this.rpcCall(updateQueue, $root.google.cloud.tasks.v2beta2.UpdateQueueRequest, $root.google.cloud.tasks.v2beta2.Queue, request, callback);
+ }, "name", { value: "UpdateQueue" });
+
+ /**
+ * Calls UpdateQueue.
+ * @function updateQueue
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2beta2.IUpdateQueueRequest} request UpdateQueueRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta2.CloudTasks|deleteQueue}.
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @typedef DeleteQueueCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.protobuf.Empty} [response] Empty
+ */
+
+ /**
+ * Calls DeleteQueue.
+ * @function deleteQueue
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2beta2.IDeleteQueueRequest} request DeleteQueueRequest message or plain object
+ * @param {google.cloud.tasks.v2beta2.CloudTasks.DeleteQueueCallback} callback Node-style callback called with the error, if any, and Empty
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudTasks.prototype.deleteQueue = function deleteQueue(request, callback) {
+ return this.rpcCall(deleteQueue, $root.google.cloud.tasks.v2beta2.DeleteQueueRequest, $root.google.protobuf.Empty, request, callback);
+ }, "name", { value: "DeleteQueue" });
+
+ /**
+ * Calls DeleteQueue.
+ * @function deleteQueue
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2beta2.IDeleteQueueRequest} request DeleteQueueRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta2.CloudTasks|purgeQueue}.
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @typedef PurgeQueueCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.tasks.v2beta2.Queue} [response] Queue
+ */
+
+ /**
+ * Calls PurgeQueue.
+ * @function purgeQueue
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2beta2.IPurgeQueueRequest} request PurgeQueueRequest message or plain object
+ * @param {google.cloud.tasks.v2beta2.CloudTasks.PurgeQueueCallback} callback Node-style callback called with the error, if any, and Queue
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudTasks.prototype.purgeQueue = function purgeQueue(request, callback) {
+ return this.rpcCall(purgeQueue, $root.google.cloud.tasks.v2beta2.PurgeQueueRequest, $root.google.cloud.tasks.v2beta2.Queue, request, callback);
+ }, "name", { value: "PurgeQueue" });
+
+ /**
+ * Calls PurgeQueue.
+ * @function purgeQueue
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2beta2.IPurgeQueueRequest} request PurgeQueueRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta2.CloudTasks|pauseQueue}.
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @typedef PauseQueueCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.tasks.v2beta2.Queue} [response] Queue
+ */
+
+ /**
+ * Calls PauseQueue.
+ * @function pauseQueue
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2beta2.IPauseQueueRequest} request PauseQueueRequest message or plain object
+ * @param {google.cloud.tasks.v2beta2.CloudTasks.PauseQueueCallback} callback Node-style callback called with the error, if any, and Queue
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudTasks.prototype.pauseQueue = function pauseQueue(request, callback) {
+ return this.rpcCall(pauseQueue, $root.google.cloud.tasks.v2beta2.PauseQueueRequest, $root.google.cloud.tasks.v2beta2.Queue, request, callback);
+ }, "name", { value: "PauseQueue" });
+
+ /**
+ * Calls PauseQueue.
+ * @function pauseQueue
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2beta2.IPauseQueueRequest} request PauseQueueRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta2.CloudTasks|resumeQueue}.
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @typedef ResumeQueueCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.tasks.v2beta2.Queue} [response] Queue
+ */
+
+ /**
+ * Calls ResumeQueue.
+ * @function resumeQueue
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2beta2.IResumeQueueRequest} request ResumeQueueRequest message or plain object
+ * @param {google.cloud.tasks.v2beta2.CloudTasks.ResumeQueueCallback} callback Node-style callback called with the error, if any, and Queue
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudTasks.prototype.resumeQueue = function resumeQueue(request, callback) {
+ return this.rpcCall(resumeQueue, $root.google.cloud.tasks.v2beta2.ResumeQueueRequest, $root.google.cloud.tasks.v2beta2.Queue, request, callback);
+ }, "name", { value: "ResumeQueue" });
+
+ /**
+ * Calls ResumeQueue.
+ * @function resumeQueue
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2beta2.IResumeQueueRequest} request ResumeQueueRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta2.CloudTasks|getIamPolicy}.
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @typedef GetIamPolicyCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.iam.v1.Policy} [response] Policy
+ */
+
+ /**
+ * Calls GetIamPolicy.
+ * @function getIamPolicy
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @instance
+ * @param {google.iam.v1.IGetIamPolicyRequest} request GetIamPolicyRequest message or plain object
+ * @param {google.cloud.tasks.v2beta2.CloudTasks.GetIamPolicyCallback} callback Node-style callback called with the error, if any, and Policy
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudTasks.prototype.getIamPolicy = function getIamPolicy(request, callback) {
+ return this.rpcCall(getIamPolicy, $root.google.iam.v1.GetIamPolicyRequest, $root.google.iam.v1.Policy, request, callback);
+ }, "name", { value: "GetIamPolicy" });
+
+ /**
+ * Calls GetIamPolicy.
+ * @function getIamPolicy
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @instance
+ * @param {google.iam.v1.IGetIamPolicyRequest} request GetIamPolicyRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta2.CloudTasks|setIamPolicy}.
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @typedef SetIamPolicyCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.iam.v1.Policy} [response] Policy
+ */
+
+ /**
+ * Calls SetIamPolicy.
+ * @function setIamPolicy
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @instance
+ * @param {google.iam.v1.ISetIamPolicyRequest} request SetIamPolicyRequest message or plain object
+ * @param {google.cloud.tasks.v2beta2.CloudTasks.SetIamPolicyCallback} callback Node-style callback called with the error, if any, and Policy
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudTasks.prototype.setIamPolicy = function setIamPolicy(request, callback) {
+ return this.rpcCall(setIamPolicy, $root.google.iam.v1.SetIamPolicyRequest, $root.google.iam.v1.Policy, request, callback);
+ }, "name", { value: "SetIamPolicy" });
+
+ /**
+ * Calls SetIamPolicy.
+ * @function setIamPolicy
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @instance
+ * @param {google.iam.v1.ISetIamPolicyRequest} request SetIamPolicyRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta2.CloudTasks|testIamPermissions}.
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @typedef TestIamPermissionsCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.iam.v1.TestIamPermissionsResponse} [response] TestIamPermissionsResponse
+ */
+
+ /**
+ * Calls TestIamPermissions.
+ * @function testIamPermissions
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @instance
+ * @param {google.iam.v1.ITestIamPermissionsRequest} request TestIamPermissionsRequest message or plain object
+ * @param {google.cloud.tasks.v2beta2.CloudTasks.TestIamPermissionsCallback} callback Node-style callback called with the error, if any, and TestIamPermissionsResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudTasks.prototype.testIamPermissions = function testIamPermissions(request, callback) {
+ return this.rpcCall(testIamPermissions, $root.google.iam.v1.TestIamPermissionsRequest, $root.google.iam.v1.TestIamPermissionsResponse, request, callback);
+ }, "name", { value: "TestIamPermissions" });
+
+ /**
+ * Calls TestIamPermissions.
+ * @function testIamPermissions
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @instance
+ * @param {google.iam.v1.ITestIamPermissionsRequest} request TestIamPermissionsRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta2.CloudTasks|listTasks}.
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @typedef ListTasksCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.tasks.v2beta2.ListTasksResponse} [response] ListTasksResponse
+ */
+
+ /**
+ * Calls ListTasks.
+ * @function listTasks
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2beta2.IListTasksRequest} request ListTasksRequest message or plain object
+ * @param {google.cloud.tasks.v2beta2.CloudTasks.ListTasksCallback} callback Node-style callback called with the error, if any, and ListTasksResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudTasks.prototype.listTasks = function listTasks(request, callback) {
+ return this.rpcCall(listTasks, $root.google.cloud.tasks.v2beta2.ListTasksRequest, $root.google.cloud.tasks.v2beta2.ListTasksResponse, request, callback);
+ }, "name", { value: "ListTasks" });
+
+ /**
+ * Calls ListTasks.
+ * @function listTasks
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2beta2.IListTasksRequest} request ListTasksRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta2.CloudTasks|getTask}.
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @typedef GetTaskCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.tasks.v2beta2.Task} [response] Task
+ */
+
+ /**
+ * Calls GetTask.
+ * @function getTask
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2beta2.IGetTaskRequest} request GetTaskRequest message or plain object
+ * @param {google.cloud.tasks.v2beta2.CloudTasks.GetTaskCallback} callback Node-style callback called with the error, if any, and Task
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudTasks.prototype.getTask = function getTask(request, callback) {
+ return this.rpcCall(getTask, $root.google.cloud.tasks.v2beta2.GetTaskRequest, $root.google.cloud.tasks.v2beta2.Task, request, callback);
+ }, "name", { value: "GetTask" });
+
+ /**
+ * Calls GetTask.
+ * @function getTask
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2beta2.IGetTaskRequest} request GetTaskRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta2.CloudTasks|createTask}.
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @typedef CreateTaskCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.tasks.v2beta2.Task} [response] Task
+ */
+
+ /**
+ * Calls CreateTask.
+ * @function createTask
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2beta2.ICreateTaskRequest} request CreateTaskRequest message or plain object
+ * @param {google.cloud.tasks.v2beta2.CloudTasks.CreateTaskCallback} callback Node-style callback called with the error, if any, and Task
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudTasks.prototype.createTask = function createTask(request, callback) {
+ return this.rpcCall(createTask, $root.google.cloud.tasks.v2beta2.CreateTaskRequest, $root.google.cloud.tasks.v2beta2.Task, request, callback);
+ }, "name", { value: "CreateTask" });
+
+ /**
+ * Calls CreateTask.
+ * @function createTask
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2beta2.ICreateTaskRequest} request CreateTaskRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta2.CloudTasks|deleteTask}.
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @typedef DeleteTaskCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.protobuf.Empty} [response] Empty
+ */
+
+ /**
+ * Calls DeleteTask.
+ * @function deleteTask
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2beta2.IDeleteTaskRequest} request DeleteTaskRequest message or plain object
+ * @param {google.cloud.tasks.v2beta2.CloudTasks.DeleteTaskCallback} callback Node-style callback called with the error, if any, and Empty
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudTasks.prototype.deleteTask = function deleteTask(request, callback) {
+ return this.rpcCall(deleteTask, $root.google.cloud.tasks.v2beta2.DeleteTaskRequest, $root.google.protobuf.Empty, request, callback);
+ }, "name", { value: "DeleteTask" });
+
+ /**
+ * Calls DeleteTask.
+ * @function deleteTask
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2beta2.IDeleteTaskRequest} request DeleteTaskRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta2.CloudTasks|leaseTasks}.
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @typedef LeaseTasksCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.tasks.v2beta2.LeaseTasksResponse} [response] LeaseTasksResponse
+ */
+
+ /**
+ * Calls LeaseTasks.
+ * @function leaseTasks
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2beta2.ILeaseTasksRequest} request LeaseTasksRequest message or plain object
+ * @param {google.cloud.tasks.v2beta2.CloudTasks.LeaseTasksCallback} callback Node-style callback called with the error, if any, and LeaseTasksResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudTasks.prototype.leaseTasks = function leaseTasks(request, callback) {
+ return this.rpcCall(leaseTasks, $root.google.cloud.tasks.v2beta2.LeaseTasksRequest, $root.google.cloud.tasks.v2beta2.LeaseTasksResponse, request, callback);
+ }, "name", { value: "LeaseTasks" });
+
+ /**
+ * Calls LeaseTasks.
+ * @function leaseTasks
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2beta2.ILeaseTasksRequest} request LeaseTasksRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta2.CloudTasks|acknowledgeTask}.
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @typedef AcknowledgeTaskCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.protobuf.Empty} [response] Empty
+ */
+
+ /**
+ * Calls AcknowledgeTask.
+ * @function acknowledgeTask
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2beta2.IAcknowledgeTaskRequest} request AcknowledgeTaskRequest message or plain object
+ * @param {google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTaskCallback} callback Node-style callback called with the error, if any, and Empty
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudTasks.prototype.acknowledgeTask = function acknowledgeTask(request, callback) {
+ return this.rpcCall(acknowledgeTask, $root.google.cloud.tasks.v2beta2.AcknowledgeTaskRequest, $root.google.protobuf.Empty, request, callback);
+ }, "name", { value: "AcknowledgeTask" });
+
+ /**
+ * Calls AcknowledgeTask.
+ * @function acknowledgeTask
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2beta2.IAcknowledgeTaskRequest} request AcknowledgeTaskRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta2.CloudTasks|renewLease}.
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @typedef RenewLeaseCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.tasks.v2beta2.Task} [response] Task
+ */
+
+ /**
+ * Calls RenewLease.
+ * @function renewLease
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2beta2.IRenewLeaseRequest} request RenewLeaseRequest message or plain object
+ * @param {google.cloud.tasks.v2beta2.CloudTasks.RenewLeaseCallback} callback Node-style callback called with the error, if any, and Task
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudTasks.prototype.renewLease = function renewLease(request, callback) {
+ return this.rpcCall(renewLease, $root.google.cloud.tasks.v2beta2.RenewLeaseRequest, $root.google.cloud.tasks.v2beta2.Task, request, callback);
+ }, "name", { value: "RenewLease" });
+
+ /**
+ * Calls RenewLease.
+ * @function renewLease
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2beta2.IRenewLeaseRequest} request RenewLeaseRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta2.CloudTasks|cancelLease}.
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @typedef CancelLeaseCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.tasks.v2beta2.Task} [response] Task
+ */
+
+ /**
+ * Calls CancelLease.
+ * @function cancelLease
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2beta2.ICancelLeaseRequest} request CancelLeaseRequest message or plain object
+ * @param {google.cloud.tasks.v2beta2.CloudTasks.CancelLeaseCallback} callback Node-style callback called with the error, if any, and Task
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudTasks.prototype.cancelLease = function cancelLease(request, callback) {
+ return this.rpcCall(cancelLease, $root.google.cloud.tasks.v2beta2.CancelLeaseRequest, $root.google.cloud.tasks.v2beta2.Task, request, callback);
+ }, "name", { value: "CancelLease" });
+
+ /**
+ * Calls CancelLease.
+ * @function cancelLease
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2beta2.ICancelLeaseRequest} request CancelLeaseRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.tasks.v2beta2.CloudTasks|runTask}.
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @typedef RunTaskCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.tasks.v2beta2.Task} [response] Task
+ */
+
+ /**
+ * Calls RunTask.
+ * @function runTask
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2beta2.IRunTaskRequest} request RunTaskRequest message or plain object
+ * @param {google.cloud.tasks.v2beta2.CloudTasks.RunTaskCallback} callback Node-style callback called with the error, if any, and Task
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(CloudTasks.prototype.runTask = function runTask(request, callback) {
+ return this.rpcCall(runTask, $root.google.cloud.tasks.v2beta2.RunTaskRequest, $root.google.cloud.tasks.v2beta2.Task, request, callback);
+ }, "name", { value: "RunTask" });
+
+ /**
+ * Calls RunTask.
+ * @function runTask
+ * @memberof google.cloud.tasks.v2beta2.CloudTasks
+ * @instance
+ * @param {google.cloud.tasks.v2beta2.IRunTaskRequest} request RunTaskRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ return CloudTasks;
+ })();
+
+ v2beta2.ListQueuesRequest = (function() {
+
+ /**
+ * Properties of a ListQueuesRequest.
+ * @memberof google.cloud.tasks.v2beta2
+ * @interface IListQueuesRequest
+ * @property {string|null} [parent] ListQueuesRequest parent
+ * @property {string|null} [filter] ListQueuesRequest filter
+ * @property {number|null} [pageSize] ListQueuesRequest pageSize
+ * @property {string|null} [pageToken] ListQueuesRequest pageToken
+ * @property {google.protobuf.IFieldMask|null} [readMask] ListQueuesRequest readMask
+ */
+
+ /**
+ * Constructs a new ListQueuesRequest.
+ * @memberof google.cloud.tasks.v2beta2
+ * @classdesc Represents a ListQueuesRequest.
+ * @implements IListQueuesRequest
+ * @constructor
+ * @param {google.cloud.tasks.v2beta2.IListQueuesRequest=} [properties] Properties to set
+ */
+ function ListQueuesRequest(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]];
+ }
+
+ /**
+ * ListQueuesRequest parent.
+ * @member {string} parent
+ * @memberof google.cloud.tasks.v2beta2.ListQueuesRequest
+ * @instance
+ */
+ ListQueuesRequest.prototype.parent = "";
+
+ /**
+ * ListQueuesRequest filter.
+ * @member {string} filter
+ * @memberof google.cloud.tasks.v2beta2.ListQueuesRequest
+ * @instance
+ */
+ ListQueuesRequest.prototype.filter = "";
+
+ /**
+ * ListQueuesRequest pageSize.
+ * @member {number} pageSize
+ * @memberof google.cloud.tasks.v2beta2.ListQueuesRequest
+ * @instance
+ */
+ ListQueuesRequest.prototype.pageSize = 0;
+
+ /**
+ * ListQueuesRequest pageToken.
+ * @member {string} pageToken
+ * @memberof google.cloud.tasks.v2beta2.ListQueuesRequest
+ * @instance
+ */
+ ListQueuesRequest.prototype.pageToken = "";
+
+ /**
+ * ListQueuesRequest readMask.
+ * @member {google.protobuf.IFieldMask|null|undefined} readMask
+ * @memberof google.cloud.tasks.v2beta2.ListQueuesRequest
+ * @instance
+ */
+ ListQueuesRequest.prototype.readMask = null;
+
+ /**
+ * Creates a new ListQueuesRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.tasks.v2beta2.ListQueuesRequest
+ * @static
+ * @param {google.cloud.tasks.v2beta2.IListQueuesRequest=} [properties] Properties to set
+ * @returns {google.cloud.tasks.v2beta2.ListQueuesRequest} ListQueuesRequest instance
+ */
+ ListQueuesRequest.create = function create(properties) {
+ return new ListQueuesRequest(properties);
+ };
+
+ /**
+ * Encodes the specified ListQueuesRequest message. Does not implicitly {@link google.cloud.tasks.v2beta2.ListQueuesRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.tasks.v2beta2.ListQueuesRequest
+ * @static
+ * @param {google.cloud.tasks.v2beta2.IListQueuesRequest} message ListQueuesRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListQueuesRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.parent != null && Object.hasOwnProperty.call(message, "parent"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.parent);
+ if (message.filter != null && Object.hasOwnProperty.call(message, "filter"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.filter);
+ if (message.pageSize != null && Object.hasOwnProperty.call(message, "pageSize"))
+ writer.uint32(/* id 3, wireType 0 =*/24).int32(message.pageSize);
+ if (message.pageToken != null && Object.hasOwnProperty.call(message, "pageToken"))
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.pageToken);
+ if (message.readMask != null && Object.hasOwnProperty.call(message, "readMask"))
+ $root.google.protobuf.FieldMask.encode(message.readMask, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ListQueuesRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta2.ListQueuesRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.tasks.v2beta2.ListQueuesRequest
+ * @static
+ * @param {google.cloud.tasks.v2beta2.IListQueuesRequest} message ListQueuesRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListQueuesRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ListQueuesRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.tasks.v2beta2.ListQueuesRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.tasks.v2beta2.ListQueuesRequest} ListQueuesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListQueuesRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.tasks.v2beta2.ListQueuesRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.parent = reader.string();
+ break;
+ }
+ case 2: {
+ message.filter = reader.string();
+ break;
+ }
+ case 3: {
+ message.pageSize = reader.int32();
+ break;
+ }
+ case 4: {
+ message.pageToken = reader.string();
+ break;
+ }
+ case 5: {
+ message.readMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a ListQueuesRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.tasks.v2beta2.ListQueuesRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.tasks.v2beta2.ListQueuesRequest} ListQueuesRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListQueuesRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ListQueuesRequest message.
+ * @function verify
+ * @memberof google.cloud.tasks.v2beta2.ListQueuesRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ListQueuesRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ if (!$util.isString(message.parent))
+ return "parent: string expected";
+ if (message.filter != null && message.hasOwnProperty("filter"))
+ if (!$util.isString(message.filter))
+ return "filter: string expected";
+ if (message.pageSize != null && message.hasOwnProperty("pageSize"))
+ if (!$util.isInteger(message.pageSize))
+ return "pageSize: integer expected";
+ if (message.pageToken != null && message.hasOwnProperty("pageToken"))
+ if (!$util.isString(message.pageToken))
+ return "pageToken: string expected";
+ if (message.readMask != null && message.hasOwnProperty("readMask")) {
+ var error = $root.google.protobuf.FieldMask.verify(message.readMask);
+ if (error)
+ return "readMask." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a ListQueuesRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.tasks.v2beta2.ListQueuesRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.tasks.v2beta2.ListQueuesRequest} ListQueuesRequest
+ */
+ ListQueuesRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.tasks.v2beta2.ListQueuesRequest)
+ return object;
+ var message = new $root.google.cloud.tasks.v2beta2.ListQueuesRequest();
+ if (object.parent != null)
+ message.parent = String(object.parent);
+ if (object.filter != null)
+ message.filter = String(object.filter);
+ if (object.pageSize != null)
+ message.pageSize = object.pageSize | 0;
+ if (object.pageToken != null)
+ message.pageToken = String(object.pageToken);
+ if (object.readMask != null) {
+ if (typeof object.readMask !== "object")
+ throw TypeError(".google.cloud.tasks.v2beta2.ListQueuesRequest.readMask: object expected");
+ message.readMask = $root.google.protobuf.FieldMask.fromObject(object.readMask);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a ListQueuesRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.tasks.v2beta2.ListQueuesRequest
+ * @static
+ * @param {google.cloud.tasks.v2beta2.ListQueuesRequest} message ListQueuesRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ListQueuesRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.parent = "";
+ object.filter = "";
+ object.pageSize = 0;
+ object.pageToken = "";
+ object.readMask = null;
+ }
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ object.parent = message.parent;
+ if (message.filter != null && message.hasOwnProperty("filter"))
+ object.filter = message.filter;
+ if (message.pageSize != null && message.hasOwnProperty("pageSize"))
+ object.pageSize = message.pageSize;
+ if (message.pageToken != null && message.hasOwnProperty("pageToken"))
+ object.pageToken = message.pageToken;
+ if (message.readMask != null && message.hasOwnProperty("readMask"))
+ object.readMask = $root.google.protobuf.FieldMask.toObject(message.readMask, options);
+ return object;
+ };
+
+ /**
+ * Converts this ListQueuesRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.tasks.v2beta2.ListQueuesRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ListQueuesRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ListQueuesRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.tasks.v2beta2.ListQueuesRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ListQueuesRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.tasks.v2beta2.ListQueuesRequest";
+ };
+
+ return ListQueuesRequest;
+ })();
+
+ v2beta2.ListQueuesResponse = (function() {
+
+ /**
+ * Properties of a ListQueuesResponse.
+ * @memberof google.cloud.tasks.v2beta2
+ * @interface IListQueuesResponse
+ * @property {Array.|null} [queues] ListQueuesResponse queues
+ * @property {string|null} [nextPageToken] ListQueuesResponse nextPageToken
+ */
+
+ /**
+ * Constructs a new ListQueuesResponse.
+ * @memberof google.cloud.tasks.v2beta2
+ * @classdesc Represents a ListQueuesResponse.
+ * @implements IListQueuesResponse
+ * @constructor
+ * @param {google.cloud.tasks.v2beta2.IListQueuesResponse=} [properties] Properties to set
+ */
+ function ListQueuesResponse(properties) {
+ this.queues = [];
+ 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]];
+ }
+
+ /**
+ * ListQueuesResponse queues.
+ * @member {Array.} queues
+ * @memberof google.cloud.tasks.v2beta2.ListQueuesResponse
+ * @instance
+ */
+ ListQueuesResponse.prototype.queues = $util.emptyArray;
+
+ /**
+ * ListQueuesResponse nextPageToken.
+ * @member {string} nextPageToken
+ * @memberof google.cloud.tasks.v2beta2.ListQueuesResponse
+ * @instance
+ */
+ ListQueuesResponse.prototype.nextPageToken = "";
+
+ /**
+ * Creates a new ListQueuesResponse instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.tasks.v2beta2.ListQueuesResponse
+ * @static
+ * @param {google.cloud.tasks.v2beta2.IListQueuesResponse=} [properties] Properties to set
+ * @returns {google.cloud.tasks.v2beta2.ListQueuesResponse} ListQueuesResponse instance
+ */
+ ListQueuesResponse.create = function create(properties) {
+ return new ListQueuesResponse(properties);
+ };
+
+ /**
+ * Encodes the specified ListQueuesResponse message. Does not implicitly {@link google.cloud.tasks.v2beta2.ListQueuesResponse.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.tasks.v2beta2.ListQueuesResponse
+ * @static
+ * @param {google.cloud.tasks.v2beta2.IListQueuesResponse} message ListQueuesResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListQueuesResponse.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.queues != null && message.queues.length)
+ for (var i = 0; i < message.queues.length; ++i)
+ $root.google.cloud.tasks.v2beta2.Queue.encode(message.queues[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.nextPageToken != null && Object.hasOwnProperty.call(message, "nextPageToken"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.nextPageToken);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ListQueuesResponse message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta2.ListQueuesResponse.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.tasks.v2beta2.ListQueuesResponse
+ * @static
+ * @param {google.cloud.tasks.v2beta2.IListQueuesResponse} message ListQueuesResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListQueuesResponse.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ListQueuesResponse message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.tasks.v2beta2.ListQueuesResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.tasks.v2beta2.ListQueuesResponse} ListQueuesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListQueuesResponse.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.tasks.v2beta2.ListQueuesResponse();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ if (!(message.queues && message.queues.length))
+ message.queues = [];
+ message.queues.push($root.google.cloud.tasks.v2beta2.Queue.decode(reader, reader.uint32()));
+ break;
+ }
+ case 2: {
+ message.nextPageToken = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a ListQueuesResponse message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.tasks.v2beta2.ListQueuesResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.tasks.v2beta2.ListQueuesResponse} ListQueuesResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListQueuesResponse.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ListQueuesResponse message.
+ * @function verify
+ * @memberof google.cloud.tasks.v2beta2.ListQueuesResponse
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ListQueuesResponse.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.queues != null && message.hasOwnProperty("queues")) {
+ if (!Array.isArray(message.queues))
+ return "queues: array expected";
+ for (var i = 0; i < message.queues.length; ++i) {
+ var error = $root.google.cloud.tasks.v2beta2.Queue.verify(message.queues[i]);
+ if (error)
+ return "queues." + error;
+ }
+ }
+ if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken"))
+ if (!$util.isString(message.nextPageToken))
+ return "nextPageToken: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a ListQueuesResponse message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.tasks.v2beta2.ListQueuesResponse
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.tasks.v2beta2.ListQueuesResponse} ListQueuesResponse
+ */
+ ListQueuesResponse.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.tasks.v2beta2.ListQueuesResponse)
+ return object;
+ var message = new $root.google.cloud.tasks.v2beta2.ListQueuesResponse();
+ if (object.queues) {
+ if (!Array.isArray(object.queues))
+ throw TypeError(".google.cloud.tasks.v2beta2.ListQueuesResponse.queues: array expected");
+ message.queues = [];
+ for (var i = 0; i < object.queues.length; ++i) {
+ if (typeof object.queues[i] !== "object")
+ throw TypeError(".google.cloud.tasks.v2beta2.ListQueuesResponse.queues: object expected");
+ message.queues[i] = $root.google.cloud.tasks.v2beta2.Queue.fromObject(object.queues[i]);
+ }
+ }
+ if (object.nextPageToken != null)
+ message.nextPageToken = String(object.nextPageToken);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a ListQueuesResponse message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.tasks.v2beta2.ListQueuesResponse
+ * @static
+ * @param {google.cloud.tasks.v2beta2.ListQueuesResponse} message ListQueuesResponse
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ListQueuesResponse.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.queues = [];
+ if (options.defaults)
+ object.nextPageToken = "";
+ if (message.queues && message.queues.length) {
+ object.queues = [];
+ for (var j = 0; j < message.queues.length; ++j)
+ object.queues[j] = $root.google.cloud.tasks.v2beta2.Queue.toObject(message.queues[j], options);
+ }
+ if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken"))
+ object.nextPageToken = message.nextPageToken;
+ return object;
+ };
+
+ /**
+ * Converts this ListQueuesResponse to JSON.
+ * @function toJSON
+ * @memberof google.cloud.tasks.v2beta2.ListQueuesResponse
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ListQueuesResponse.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ListQueuesResponse
+ * @function getTypeUrl
+ * @memberof google.cloud.tasks.v2beta2.ListQueuesResponse
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ListQueuesResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.tasks.v2beta2.ListQueuesResponse";
+ };
+
+ return ListQueuesResponse;
+ })();
+
+ v2beta2.GetQueueRequest = (function() {
+
+ /**
+ * Properties of a GetQueueRequest.
+ * @memberof google.cloud.tasks.v2beta2
+ * @interface IGetQueueRequest
+ * @property {string|null} [name] GetQueueRequest name
+ * @property {google.protobuf.IFieldMask|null} [readMask] GetQueueRequest readMask
+ */
+
+ /**
+ * Constructs a new GetQueueRequest.
+ * @memberof google.cloud.tasks.v2beta2
+ * @classdesc Represents a GetQueueRequest.
+ * @implements IGetQueueRequest
+ * @constructor
+ * @param {google.cloud.tasks.v2beta2.IGetQueueRequest=} [properties] Properties to set
+ */
+ function GetQueueRequest(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]];
+ }
+
+ /**
+ * GetQueueRequest name.
+ * @member {string} name
+ * @memberof google.cloud.tasks.v2beta2.GetQueueRequest
+ * @instance
+ */
+ GetQueueRequest.prototype.name = "";
+
+ /**
+ * GetQueueRequest readMask.
+ * @member {google.protobuf.IFieldMask|null|undefined} readMask
+ * @memberof google.cloud.tasks.v2beta2.GetQueueRequest
+ * @instance
+ */
+ GetQueueRequest.prototype.readMask = null;
+
+ /**
+ * Creates a new GetQueueRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.tasks.v2beta2.GetQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2beta2.IGetQueueRequest=} [properties] Properties to set
+ * @returns {google.cloud.tasks.v2beta2.GetQueueRequest} GetQueueRequest instance
+ */
+ GetQueueRequest.create = function create(properties) {
+ return new GetQueueRequest(properties);
+ };
+
+ /**
+ * Encodes the specified GetQueueRequest message. Does not implicitly {@link google.cloud.tasks.v2beta2.GetQueueRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.tasks.v2beta2.GetQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2beta2.IGetQueueRequest} message GetQueueRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GetQueueRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
+ if (message.readMask != null && Object.hasOwnProperty.call(message, "readMask"))
+ $root.google.protobuf.FieldMask.encode(message.readMask, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified GetQueueRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta2.GetQueueRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.tasks.v2beta2.GetQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2beta2.IGetQueueRequest} message GetQueueRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GetQueueRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a GetQueueRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.tasks.v2beta2.GetQueueRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.tasks.v2beta2.GetQueueRequest} GetQueueRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GetQueueRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.tasks.v2beta2.GetQueueRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ case 2: {
+ message.readMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a GetQueueRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.tasks.v2beta2.GetQueueRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.tasks.v2beta2.GetQueueRequest} GetQueueRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GetQueueRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a GetQueueRequest message.
+ * @function verify
+ * @memberof google.cloud.tasks.v2beta2.GetQueueRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ GetQueueRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.name != null && message.hasOwnProperty("name"))
+ if (!$util.isString(message.name))
+ return "name: string expected";
+ if (message.readMask != null && message.hasOwnProperty("readMask")) {
+ var error = $root.google.protobuf.FieldMask.verify(message.readMask);
+ if (error)
+ return "readMask." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a GetQueueRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.tasks.v2beta2.GetQueueRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.tasks.v2beta2.GetQueueRequest} GetQueueRequest
+ */
+ GetQueueRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.tasks.v2beta2.GetQueueRequest)
+ return object;
+ var message = new $root.google.cloud.tasks.v2beta2.GetQueueRequest();
+ if (object.name != null)
+ message.name = String(object.name);
+ if (object.readMask != null) {
+ if (typeof object.readMask !== "object")
+ throw TypeError(".google.cloud.tasks.v2beta2.GetQueueRequest.readMask: object expected");
+ message.readMask = $root.google.protobuf.FieldMask.fromObject(object.readMask);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a GetQueueRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.tasks.v2beta2.GetQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2beta2.GetQueueRequest} message GetQueueRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ GetQueueRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.name = "";
+ object.readMask = null;
+ }
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ if (message.readMask != null && message.hasOwnProperty("readMask"))
+ object.readMask = $root.google.protobuf.FieldMask.toObject(message.readMask, options);
+ return object;
+ };
+
+ /**
+ * Converts this GetQueueRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.tasks.v2beta2.GetQueueRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ GetQueueRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for GetQueueRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.tasks.v2beta2.GetQueueRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ GetQueueRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.tasks.v2beta2.GetQueueRequest";
+ };
+
+ return GetQueueRequest;
+ })();
+
+ v2beta2.CreateQueueRequest = (function() {
+
+ /**
+ * Properties of a CreateQueueRequest.
+ * @memberof google.cloud.tasks.v2beta2
+ * @interface ICreateQueueRequest
+ * @property {string|null} [parent] CreateQueueRequest parent
+ * @property {google.cloud.tasks.v2beta2.IQueue|null} [queue] CreateQueueRequest queue
+ */
+
+ /**
+ * Constructs a new CreateQueueRequest.
+ * @memberof google.cloud.tasks.v2beta2
+ * @classdesc Represents a CreateQueueRequest.
+ * @implements ICreateQueueRequest
+ * @constructor
+ * @param {google.cloud.tasks.v2beta2.ICreateQueueRequest=} [properties] Properties to set
+ */
+ function CreateQueueRequest(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]];
+ }
+
+ /**
+ * CreateQueueRequest parent.
+ * @member {string} parent
+ * @memberof google.cloud.tasks.v2beta2.CreateQueueRequest
+ * @instance
+ */
+ CreateQueueRequest.prototype.parent = "";
+
+ /**
+ * CreateQueueRequest queue.
+ * @member {google.cloud.tasks.v2beta2.IQueue|null|undefined} queue
+ * @memberof google.cloud.tasks.v2beta2.CreateQueueRequest
+ * @instance
+ */
+ CreateQueueRequest.prototype.queue = null;
+
+ /**
+ * Creates a new CreateQueueRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.tasks.v2beta2.CreateQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2beta2.ICreateQueueRequest=} [properties] Properties to set
+ * @returns {google.cloud.tasks.v2beta2.CreateQueueRequest} CreateQueueRequest instance
+ */
+ CreateQueueRequest.create = function create(properties) {
+ return new CreateQueueRequest(properties);
+ };
+
+ /**
+ * Encodes the specified CreateQueueRequest message. Does not implicitly {@link google.cloud.tasks.v2beta2.CreateQueueRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.tasks.v2beta2.CreateQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2beta2.ICreateQueueRequest} message CreateQueueRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ CreateQueueRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.parent != null && Object.hasOwnProperty.call(message, "parent"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.parent);
+ if (message.queue != null && Object.hasOwnProperty.call(message, "queue"))
+ $root.google.cloud.tasks.v2beta2.Queue.encode(message.queue, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified CreateQueueRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta2.CreateQueueRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.tasks.v2beta2.CreateQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2beta2.ICreateQueueRequest} message CreateQueueRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ CreateQueueRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a CreateQueueRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.tasks.v2beta2.CreateQueueRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.tasks.v2beta2.CreateQueueRequest} CreateQueueRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ CreateQueueRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.tasks.v2beta2.CreateQueueRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.parent = reader.string();
+ break;
+ }
+ case 2: {
+ message.queue = $root.google.cloud.tasks.v2beta2.Queue.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a CreateQueueRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.tasks.v2beta2.CreateQueueRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.tasks.v2beta2.CreateQueueRequest} CreateQueueRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ CreateQueueRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a CreateQueueRequest message.
+ * @function verify
+ * @memberof google.cloud.tasks.v2beta2.CreateQueueRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ CreateQueueRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ if (!$util.isString(message.parent))
+ return "parent: string expected";
+ if (message.queue != null && message.hasOwnProperty("queue")) {
+ var error = $root.google.cloud.tasks.v2beta2.Queue.verify(message.queue);
+ if (error)
+ return "queue." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a CreateQueueRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.tasks.v2beta2.CreateQueueRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.tasks.v2beta2.CreateQueueRequest} CreateQueueRequest
+ */
+ CreateQueueRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.tasks.v2beta2.CreateQueueRequest)
+ return object;
+ var message = new $root.google.cloud.tasks.v2beta2.CreateQueueRequest();
+ if (object.parent != null)
+ message.parent = String(object.parent);
+ if (object.queue != null) {
+ if (typeof object.queue !== "object")
+ throw TypeError(".google.cloud.tasks.v2beta2.CreateQueueRequest.queue: object expected");
+ message.queue = $root.google.cloud.tasks.v2beta2.Queue.fromObject(object.queue);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a CreateQueueRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.tasks.v2beta2.CreateQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2beta2.CreateQueueRequest} message CreateQueueRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ CreateQueueRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.parent = "";
+ object.queue = null;
+ }
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ object.parent = message.parent;
+ if (message.queue != null && message.hasOwnProperty("queue"))
+ object.queue = $root.google.cloud.tasks.v2beta2.Queue.toObject(message.queue, options);
+ return object;
+ };
+
+ /**
+ * Converts this CreateQueueRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.tasks.v2beta2.CreateQueueRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ CreateQueueRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for CreateQueueRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.tasks.v2beta2.CreateQueueRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ CreateQueueRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.tasks.v2beta2.CreateQueueRequest";
+ };
+
+ return CreateQueueRequest;
+ })();
+
+ v2beta2.UpdateQueueRequest = (function() {
+
+ /**
+ * Properties of an UpdateQueueRequest.
+ * @memberof google.cloud.tasks.v2beta2
+ * @interface IUpdateQueueRequest
+ * @property {google.cloud.tasks.v2beta2.IQueue|null} [queue] UpdateQueueRequest queue
+ * @property {google.protobuf.IFieldMask|null} [updateMask] UpdateQueueRequest updateMask
+ */
+
+ /**
+ * Constructs a new UpdateQueueRequest.
+ * @memberof google.cloud.tasks.v2beta2
+ * @classdesc Represents an UpdateQueueRequest.
+ * @implements IUpdateQueueRequest
+ * @constructor
+ * @param {google.cloud.tasks.v2beta2.IUpdateQueueRequest=} [properties] Properties to set
+ */
+ function UpdateQueueRequest(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]];
+ }
+
+ /**
+ * UpdateQueueRequest queue.
+ * @member {google.cloud.tasks.v2beta2.IQueue|null|undefined} queue
+ * @memberof google.cloud.tasks.v2beta2.UpdateQueueRequest
+ * @instance
+ */
+ UpdateQueueRequest.prototype.queue = null;
+
+ /**
+ * UpdateQueueRequest updateMask.
+ * @member {google.protobuf.IFieldMask|null|undefined} updateMask
+ * @memberof google.cloud.tasks.v2beta2.UpdateQueueRequest
+ * @instance
+ */
+ UpdateQueueRequest.prototype.updateMask = null;
+
+ /**
+ * Creates a new UpdateQueueRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.tasks.v2beta2.UpdateQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2beta2.IUpdateQueueRequest=} [properties] Properties to set
+ * @returns {google.cloud.tasks.v2beta2.UpdateQueueRequest} UpdateQueueRequest instance
+ */
+ UpdateQueueRequest.create = function create(properties) {
+ return new UpdateQueueRequest(properties);
+ };
+
+ /**
+ * Encodes the specified UpdateQueueRequest message. Does not implicitly {@link google.cloud.tasks.v2beta2.UpdateQueueRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.tasks.v2beta2.UpdateQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2beta2.IUpdateQueueRequest} message UpdateQueueRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ UpdateQueueRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.queue != null && Object.hasOwnProperty.call(message, "queue"))
+ $root.google.cloud.tasks.v2beta2.Queue.encode(message.queue, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.updateMask != null && Object.hasOwnProperty.call(message, "updateMask"))
+ $root.google.protobuf.FieldMask.encode(message.updateMask, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified UpdateQueueRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta2.UpdateQueueRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.tasks.v2beta2.UpdateQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2beta2.IUpdateQueueRequest} message UpdateQueueRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ UpdateQueueRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an UpdateQueueRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.tasks.v2beta2.UpdateQueueRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.tasks.v2beta2.UpdateQueueRequest} UpdateQueueRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ UpdateQueueRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.tasks.v2beta2.UpdateQueueRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.queue = $root.google.cloud.tasks.v2beta2.Queue.decode(reader, reader.uint32());
+ break;
+ }
+ case 2: {
+ message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an UpdateQueueRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.tasks.v2beta2.UpdateQueueRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.tasks.v2beta2.UpdateQueueRequest} UpdateQueueRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ UpdateQueueRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an UpdateQueueRequest message.
+ * @function verify
+ * @memberof google.cloud.tasks.v2beta2.UpdateQueueRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ UpdateQueueRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.queue != null && message.hasOwnProperty("queue")) {
+ var error = $root.google.cloud.tasks.v2beta2.Queue.verify(message.queue);
+ if (error)
+ return "queue." + error;
+ }
+ if (message.updateMask != null && message.hasOwnProperty("updateMask")) {
+ var error = $root.google.protobuf.FieldMask.verify(message.updateMask);
+ if (error)
+ return "updateMask." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates an UpdateQueueRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.tasks.v2beta2.UpdateQueueRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.tasks.v2beta2.UpdateQueueRequest} UpdateQueueRequest
+ */
+ UpdateQueueRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.tasks.v2beta2.UpdateQueueRequest)
+ return object;
+ var message = new $root.google.cloud.tasks.v2beta2.UpdateQueueRequest();
+ if (object.queue != null) {
+ if (typeof object.queue !== "object")
+ throw TypeError(".google.cloud.tasks.v2beta2.UpdateQueueRequest.queue: object expected");
+ message.queue = $root.google.cloud.tasks.v2beta2.Queue.fromObject(object.queue);
+ }
+ if (object.updateMask != null) {
+ if (typeof object.updateMask !== "object")
+ throw TypeError(".google.cloud.tasks.v2beta2.UpdateQueueRequest.updateMask: object expected");
+ message.updateMask = $root.google.protobuf.FieldMask.fromObject(object.updateMask);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an UpdateQueueRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.tasks.v2beta2.UpdateQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2beta2.UpdateQueueRequest} message UpdateQueueRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ UpdateQueueRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.queue = null;
+ object.updateMask = null;
+ }
+ if (message.queue != null && message.hasOwnProperty("queue"))
+ object.queue = $root.google.cloud.tasks.v2beta2.Queue.toObject(message.queue, options);
+ if (message.updateMask != null && message.hasOwnProperty("updateMask"))
+ object.updateMask = $root.google.protobuf.FieldMask.toObject(message.updateMask, options);
+ return object;
+ };
+
+ /**
+ * Converts this UpdateQueueRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.tasks.v2beta2.UpdateQueueRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ UpdateQueueRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for UpdateQueueRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.tasks.v2beta2.UpdateQueueRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ UpdateQueueRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.tasks.v2beta2.UpdateQueueRequest";
+ };
+
+ return UpdateQueueRequest;
+ })();
+
+ v2beta2.DeleteQueueRequest = (function() {
+
+ /**
+ * Properties of a DeleteQueueRequest.
+ * @memberof google.cloud.tasks.v2beta2
+ * @interface IDeleteQueueRequest
+ * @property {string|null} [name] DeleteQueueRequest name
+ */
+
+ /**
+ * Constructs a new DeleteQueueRequest.
+ * @memberof google.cloud.tasks.v2beta2
+ * @classdesc Represents a DeleteQueueRequest.
+ * @implements IDeleteQueueRequest
+ * @constructor
+ * @param {google.cloud.tasks.v2beta2.IDeleteQueueRequest=} [properties] Properties to set
+ */
+ function DeleteQueueRequest(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]];
+ }
+
+ /**
+ * DeleteQueueRequest name.
+ * @member {string} name
+ * @memberof google.cloud.tasks.v2beta2.DeleteQueueRequest
+ * @instance
+ */
+ DeleteQueueRequest.prototype.name = "";
+
+ /**
+ * Creates a new DeleteQueueRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.tasks.v2beta2.DeleteQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2beta2.IDeleteQueueRequest=} [properties] Properties to set
+ * @returns {google.cloud.tasks.v2beta2.DeleteQueueRequest} DeleteQueueRequest instance
+ */
+ DeleteQueueRequest.create = function create(properties) {
+ return new DeleteQueueRequest(properties);
+ };
+
+ /**
+ * Encodes the specified DeleteQueueRequest message. Does not implicitly {@link google.cloud.tasks.v2beta2.DeleteQueueRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.tasks.v2beta2.DeleteQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2beta2.IDeleteQueueRequest} message DeleteQueueRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DeleteQueueRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified DeleteQueueRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta2.DeleteQueueRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.tasks.v2beta2.DeleteQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2beta2.IDeleteQueueRequest} message DeleteQueueRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DeleteQueueRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a DeleteQueueRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.tasks.v2beta2.DeleteQueueRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.tasks.v2beta2.DeleteQueueRequest} DeleteQueueRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DeleteQueueRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.tasks.v2beta2.DeleteQueueRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a DeleteQueueRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.tasks.v2beta2.DeleteQueueRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.tasks.v2beta2.DeleteQueueRequest} DeleteQueueRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DeleteQueueRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a DeleteQueueRequest message.
+ * @function verify
+ * @memberof google.cloud.tasks.v2beta2.DeleteQueueRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ DeleteQueueRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.name != null && message.hasOwnProperty("name"))
+ if (!$util.isString(message.name))
+ return "name: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a DeleteQueueRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.tasks.v2beta2.DeleteQueueRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.tasks.v2beta2.DeleteQueueRequest} DeleteQueueRequest
+ */
+ DeleteQueueRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.tasks.v2beta2.DeleteQueueRequest)
+ return object;
+ var message = new $root.google.cloud.tasks.v2beta2.DeleteQueueRequest();
+ if (object.name != null)
+ message.name = String(object.name);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a DeleteQueueRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.tasks.v2beta2.DeleteQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2beta2.DeleteQueueRequest} message DeleteQueueRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ DeleteQueueRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ object.name = "";
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ return object;
+ };
+
+ /**
+ * Converts this DeleteQueueRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.tasks.v2beta2.DeleteQueueRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ DeleteQueueRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for DeleteQueueRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.tasks.v2beta2.DeleteQueueRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ DeleteQueueRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.tasks.v2beta2.DeleteQueueRequest";
+ };
+
+ return DeleteQueueRequest;
+ })();
+
+ v2beta2.PurgeQueueRequest = (function() {
+
+ /**
+ * Properties of a PurgeQueueRequest.
+ * @memberof google.cloud.tasks.v2beta2
+ * @interface IPurgeQueueRequest
+ * @property {string|null} [name] PurgeQueueRequest name
+ */
+
+ /**
+ * Constructs a new PurgeQueueRequest.
+ * @memberof google.cloud.tasks.v2beta2
+ * @classdesc Represents a PurgeQueueRequest.
+ * @implements IPurgeQueueRequest
+ * @constructor
+ * @param {google.cloud.tasks.v2beta2.IPurgeQueueRequest=} [properties] Properties to set
+ */
+ function PurgeQueueRequest(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]];
+ }
+
+ /**
+ * PurgeQueueRequest name.
+ * @member {string} name
+ * @memberof google.cloud.tasks.v2beta2.PurgeQueueRequest
+ * @instance
+ */
+ PurgeQueueRequest.prototype.name = "";
+
+ /**
+ * Creates a new PurgeQueueRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.tasks.v2beta2.PurgeQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2beta2.IPurgeQueueRequest=} [properties] Properties to set
+ * @returns {google.cloud.tasks.v2beta2.PurgeQueueRequest} PurgeQueueRequest instance
+ */
+ PurgeQueueRequest.create = function create(properties) {
+ return new PurgeQueueRequest(properties);
+ };
+
+ /**
+ * Encodes the specified PurgeQueueRequest message. Does not implicitly {@link google.cloud.tasks.v2beta2.PurgeQueueRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.tasks.v2beta2.PurgeQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2beta2.IPurgeQueueRequest} message PurgeQueueRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ PurgeQueueRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified PurgeQueueRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta2.PurgeQueueRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.tasks.v2beta2.PurgeQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2beta2.IPurgeQueueRequest} message PurgeQueueRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ PurgeQueueRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a PurgeQueueRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.tasks.v2beta2.PurgeQueueRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.tasks.v2beta2.PurgeQueueRequest} PurgeQueueRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ PurgeQueueRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.tasks.v2beta2.PurgeQueueRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a PurgeQueueRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.tasks.v2beta2.PurgeQueueRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.tasks.v2beta2.PurgeQueueRequest} PurgeQueueRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ PurgeQueueRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a PurgeQueueRequest message.
+ * @function verify
+ * @memberof google.cloud.tasks.v2beta2.PurgeQueueRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ PurgeQueueRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.name != null && message.hasOwnProperty("name"))
+ if (!$util.isString(message.name))
+ return "name: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a PurgeQueueRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.tasks.v2beta2.PurgeQueueRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.tasks.v2beta2.PurgeQueueRequest} PurgeQueueRequest
+ */
+ PurgeQueueRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.tasks.v2beta2.PurgeQueueRequest)
+ return object;
+ var message = new $root.google.cloud.tasks.v2beta2.PurgeQueueRequest();
+ if (object.name != null)
+ message.name = String(object.name);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a PurgeQueueRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.tasks.v2beta2.PurgeQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2beta2.PurgeQueueRequest} message PurgeQueueRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ PurgeQueueRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ object.name = "";
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ return object;
+ };
+
+ /**
+ * Converts this PurgeQueueRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.tasks.v2beta2.PurgeQueueRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ PurgeQueueRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for PurgeQueueRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.tasks.v2beta2.PurgeQueueRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ PurgeQueueRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.tasks.v2beta2.PurgeQueueRequest";
+ };
+
+ return PurgeQueueRequest;
+ })();
+
+ v2beta2.PauseQueueRequest = (function() {
+
+ /**
+ * Properties of a PauseQueueRequest.
+ * @memberof google.cloud.tasks.v2beta2
+ * @interface IPauseQueueRequest
+ * @property {string|null} [name] PauseQueueRequest name
+ */
+
+ /**
+ * Constructs a new PauseQueueRequest.
+ * @memberof google.cloud.tasks.v2beta2
+ * @classdesc Represents a PauseQueueRequest.
+ * @implements IPauseQueueRequest
+ * @constructor
+ * @param {google.cloud.tasks.v2beta2.IPauseQueueRequest=} [properties] Properties to set
+ */
+ function PauseQueueRequest(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]];
+ }
+
+ /**
+ * PauseQueueRequest name.
+ * @member {string} name
+ * @memberof google.cloud.tasks.v2beta2.PauseQueueRequest
+ * @instance
+ */
+ PauseQueueRequest.prototype.name = "";
+
+ /**
+ * Creates a new PauseQueueRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.tasks.v2beta2.PauseQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2beta2.IPauseQueueRequest=} [properties] Properties to set
+ * @returns {google.cloud.tasks.v2beta2.PauseQueueRequest} PauseQueueRequest instance
+ */
+ PauseQueueRequest.create = function create(properties) {
+ return new PauseQueueRequest(properties);
+ };
+
+ /**
+ * Encodes the specified PauseQueueRequest message. Does not implicitly {@link google.cloud.tasks.v2beta2.PauseQueueRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.tasks.v2beta2.PauseQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2beta2.IPauseQueueRequest} message PauseQueueRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ PauseQueueRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified PauseQueueRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta2.PauseQueueRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.tasks.v2beta2.PauseQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2beta2.IPauseQueueRequest} message PauseQueueRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ PauseQueueRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a PauseQueueRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.tasks.v2beta2.PauseQueueRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.tasks.v2beta2.PauseQueueRequest} PauseQueueRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ PauseQueueRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.tasks.v2beta2.PauseQueueRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a PauseQueueRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.tasks.v2beta2.PauseQueueRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.tasks.v2beta2.PauseQueueRequest} PauseQueueRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ PauseQueueRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a PauseQueueRequest message.
+ * @function verify
+ * @memberof google.cloud.tasks.v2beta2.PauseQueueRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ PauseQueueRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.name != null && message.hasOwnProperty("name"))
+ if (!$util.isString(message.name))
+ return "name: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a PauseQueueRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.tasks.v2beta2.PauseQueueRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.tasks.v2beta2.PauseQueueRequest} PauseQueueRequest
+ */
+ PauseQueueRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.tasks.v2beta2.PauseQueueRequest)
+ return object;
+ var message = new $root.google.cloud.tasks.v2beta2.PauseQueueRequest();
+ if (object.name != null)
+ message.name = String(object.name);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a PauseQueueRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.tasks.v2beta2.PauseQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2beta2.PauseQueueRequest} message PauseQueueRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ PauseQueueRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ object.name = "";
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ return object;
+ };
+
+ /**
+ * Converts this PauseQueueRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.tasks.v2beta2.PauseQueueRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ PauseQueueRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for PauseQueueRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.tasks.v2beta2.PauseQueueRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ PauseQueueRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.tasks.v2beta2.PauseQueueRequest";
+ };
+
+ return PauseQueueRequest;
+ })();
+
+ v2beta2.ResumeQueueRequest = (function() {
+
+ /**
+ * Properties of a ResumeQueueRequest.
+ * @memberof google.cloud.tasks.v2beta2
+ * @interface IResumeQueueRequest
+ * @property {string|null} [name] ResumeQueueRequest name
+ */
+
+ /**
+ * Constructs a new ResumeQueueRequest.
+ * @memberof google.cloud.tasks.v2beta2
+ * @classdesc Represents a ResumeQueueRequest.
+ * @implements IResumeQueueRequest
+ * @constructor
+ * @param {google.cloud.tasks.v2beta2.IResumeQueueRequest=} [properties] Properties to set
+ */
+ function ResumeQueueRequest(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]];
+ }
+
+ /**
+ * ResumeQueueRequest name.
+ * @member {string} name
+ * @memberof google.cloud.tasks.v2beta2.ResumeQueueRequest
+ * @instance
+ */
+ ResumeQueueRequest.prototype.name = "";
+
+ /**
+ * Creates a new ResumeQueueRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.tasks.v2beta2.ResumeQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2beta2.IResumeQueueRequest=} [properties] Properties to set
+ * @returns {google.cloud.tasks.v2beta2.ResumeQueueRequest} ResumeQueueRequest instance
+ */
+ ResumeQueueRequest.create = function create(properties) {
+ return new ResumeQueueRequest(properties);
+ };
+
+ /**
+ * Encodes the specified ResumeQueueRequest message. Does not implicitly {@link google.cloud.tasks.v2beta2.ResumeQueueRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.tasks.v2beta2.ResumeQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2beta2.IResumeQueueRequest} message ResumeQueueRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ResumeQueueRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ResumeQueueRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta2.ResumeQueueRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.tasks.v2beta2.ResumeQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2beta2.IResumeQueueRequest} message ResumeQueueRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ResumeQueueRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ResumeQueueRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.tasks.v2beta2.ResumeQueueRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.tasks.v2beta2.ResumeQueueRequest} ResumeQueueRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ResumeQueueRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.tasks.v2beta2.ResumeQueueRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a ResumeQueueRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.tasks.v2beta2.ResumeQueueRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.tasks.v2beta2.ResumeQueueRequest} ResumeQueueRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ResumeQueueRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ResumeQueueRequest message.
+ * @function verify
+ * @memberof google.cloud.tasks.v2beta2.ResumeQueueRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ResumeQueueRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.name != null && message.hasOwnProperty("name"))
+ if (!$util.isString(message.name))
+ return "name: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a ResumeQueueRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.tasks.v2beta2.ResumeQueueRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.tasks.v2beta2.ResumeQueueRequest} ResumeQueueRequest
+ */
+ ResumeQueueRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.tasks.v2beta2.ResumeQueueRequest)
+ return object;
+ var message = new $root.google.cloud.tasks.v2beta2.ResumeQueueRequest();
+ if (object.name != null)
+ message.name = String(object.name);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a ResumeQueueRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.tasks.v2beta2.ResumeQueueRequest
+ * @static
+ * @param {google.cloud.tasks.v2beta2.ResumeQueueRequest} message ResumeQueueRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ResumeQueueRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ object.name = "";
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ return object;
+ };
+
+ /**
+ * Converts this ResumeQueueRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.tasks.v2beta2.ResumeQueueRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ResumeQueueRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ResumeQueueRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.tasks.v2beta2.ResumeQueueRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ResumeQueueRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.tasks.v2beta2.ResumeQueueRequest";
+ };
+
+ return ResumeQueueRequest;
+ })();
+
+ v2beta2.ListTasksRequest = (function() {
+
+ /**
+ * Properties of a ListTasksRequest.
+ * @memberof google.cloud.tasks.v2beta2
+ * @interface IListTasksRequest
+ * @property {string|null} [parent] ListTasksRequest parent
+ * @property {google.cloud.tasks.v2beta2.Task.View|null} [responseView] ListTasksRequest responseView
+ * @property {number|null} [pageSize] ListTasksRequest pageSize
+ * @property {string|null} [pageToken] ListTasksRequest pageToken
+ */
+
+ /**
+ * Constructs a new ListTasksRequest.
+ * @memberof google.cloud.tasks.v2beta2
+ * @classdesc Represents a ListTasksRequest.
+ * @implements IListTasksRequest
+ * @constructor
+ * @param {google.cloud.tasks.v2beta2.IListTasksRequest=} [properties] Properties to set
+ */
+ function ListTasksRequest(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]];
+ }
+
+ /**
+ * ListTasksRequest parent.
+ * @member {string} parent
+ * @memberof google.cloud.tasks.v2beta2.ListTasksRequest
+ * @instance
+ */
+ ListTasksRequest.prototype.parent = "";
+
+ /**
+ * ListTasksRequest responseView.
+ * @member {google.cloud.tasks.v2beta2.Task.View} responseView
+ * @memberof google.cloud.tasks.v2beta2.ListTasksRequest
+ * @instance
+ */
+ ListTasksRequest.prototype.responseView = 0;
+
+ /**
+ * ListTasksRequest pageSize.
+ * @member {number} pageSize
+ * @memberof google.cloud.tasks.v2beta2.ListTasksRequest
+ * @instance
+ */
+ ListTasksRequest.prototype.pageSize = 0;
+
+ /**
+ * ListTasksRequest pageToken.
+ * @member {string} pageToken
+ * @memberof google.cloud.tasks.v2beta2.ListTasksRequest
+ * @instance
+ */
+ ListTasksRequest.prototype.pageToken = "";
+
+ /**
+ * Creates a new ListTasksRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.tasks.v2beta2.ListTasksRequest
+ * @static
+ * @param {google.cloud.tasks.v2beta2.IListTasksRequest=} [properties] Properties to set
+ * @returns {google.cloud.tasks.v2beta2.ListTasksRequest} ListTasksRequest instance
+ */
+ ListTasksRequest.create = function create(properties) {
+ return new ListTasksRequest(properties);
+ };
+
+ /**
+ * Encodes the specified ListTasksRequest message. Does not implicitly {@link google.cloud.tasks.v2beta2.ListTasksRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.tasks.v2beta2.ListTasksRequest
+ * @static
+ * @param {google.cloud.tasks.v2beta2.IListTasksRequest} message ListTasksRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListTasksRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.parent != null && Object.hasOwnProperty.call(message, "parent"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.parent);
+ if (message.responseView != null && Object.hasOwnProperty.call(message, "responseView"))
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.responseView);
+ if (message.pageSize != null && Object.hasOwnProperty.call(message, "pageSize"))
+ writer.uint32(/* id 4, wireType 0 =*/32).int32(message.pageSize);
+ if (message.pageToken != null && Object.hasOwnProperty.call(message, "pageToken"))
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.pageToken);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ListTasksRequest message, length delimited. Does not implicitly {@link google.cloud.tasks.v2beta2.ListTasksRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.tasks.v2beta2.ListTasksRequest
+ * @static
+ * @param {google.cloud.tasks.v2beta2.IListTasksRequest} message ListTasksRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListTasksRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ListTasksRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.tasks.v2beta2.ListTasksRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.tasks.v2beta2.ListTasksRequest} ListTasksRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListTasksRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.tasks.v2beta2.ListTasksRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.parent = reader.string();
+ break;
+ }
+ case 2: {
+ message.responseView = reader.int32();
+ break;
+ }
+ case 4: {
+ message.pageSize = reader.int32();
+ break;
+ }
+ case 5: {
+ message.pageToken = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a ListTasksRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.tasks.v2beta2.ListTasksRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.tasks.v2beta2.ListTasksRequest} ListTasksRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListTasksRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ListTasksRequest message.
+ * @function verify
+ * @memberof google.cloud.tasks.v2beta2.ListTasksRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ListTasksRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ if (!$util.isString(message.parent))
+ return "parent: string expected";
+ if (message.responseView != null && message.hasOwnProperty("responseView"))
+ switch (message.responseView) {
+ default:
+ return "responseView: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ break;
+ }
+ if (message.pageSize != null && message.hasOwnProperty("pageSize"))
+ if (!$util.isInteger(message.pageSize))
+ return "pageSize: integer expected";
+ if (message.pageToken != null && message.hasOwnProperty("pageToken"))
+ if (!$util.isString(message.pageToken))
+ return "pageToken: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a ListTasksRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.tasks.v2beta2.ListTasksRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.tasks.v2beta2.ListTasksRequest} ListTasksRequest
+ */
+ ListTasksRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.tasks.v2beta2.ListTasksRequest)
+ return object;
+ var message = new $root.google.cloud.tasks.v2beta2.ListTasksRequest();
+ if (object.parent != null)
+ message.parent = String(object.parent);
+ switch (object.responseView) {
+ default:
+ if (typeof object.responseView === "number") {
+ message.responseView = object.responseView;
+ break;
+ }
+ break;
+ case "VIEW_UNSPECIFIED":
+ case 0:
+ message.responseView = 0;
+ break;
+ case "BASIC":
+ case 1:
+ message.responseView = 1;
+ break;
+ case "FULL":
+ case 2:
+ message.responseView = 2;
+ break;
+ }
+ if (object.pageSize != null)
+ message.pageSize = object.pageSize | 0;
+ if (object.pageToken != null)
+ message.pageToken = String(object.pageToken);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a ListTasksRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.tasks.v2beta2.ListTasksRequest
+ * @static
+ * @param {google.cloud.tasks.v2beta2.ListTasksRequest} message ListTasksRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.