Socket
Socket
Sign inDemoInstall

@google-cloud/tasks

Package Overview
Dependencies
141
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.1.2 to 3.2.0

build/protos/google/cloud/tasks/v2beta2/old_target.proto

32

build/src/v2/cloud_tasks_client_config.json

@@ -33,3 +33,3 @@ {

"ListQueues": {
"timeout_millis": 10000,
"timeout_millis": 20000,
"retry_codes_name": "idempotent",

@@ -39,3 +39,3 @@ "retry_params_name": "2607cc7256ff9acb2ee9b232c5722dbbaab18846"

"GetQueue": {
"timeout_millis": 10000,
"timeout_millis": 20000,
"retry_codes_name": "idempotent",

@@ -45,3 +45,3 @@ "retry_params_name": "2607cc7256ff9acb2ee9b232c5722dbbaab18846"

"CreateQueue": {
"timeout_millis": 10000,
"timeout_millis": 20000,
"retry_codes_name": "non_idempotent",

@@ -51,3 +51,3 @@ "retry_params_name": "default"

"UpdateQueue": {
"timeout_millis": 10000,
"timeout_millis": 20000,
"retry_codes_name": "non_idempotent",

@@ -57,3 +57,3 @@ "retry_params_name": "default"

"DeleteQueue": {
"timeout_millis": 10000,
"timeout_millis": 20000,
"retry_codes_name": "idempotent",

@@ -63,3 +63,3 @@ "retry_params_name": "2607cc7256ff9acb2ee9b232c5722dbbaab18846"

"PurgeQueue": {
"timeout_millis": 10000,
"timeout_millis": 20000,
"retry_codes_name": "non_idempotent",

@@ -69,3 +69,3 @@ "retry_params_name": "default"

"PauseQueue": {
"timeout_millis": 10000,
"timeout_millis": 20000,
"retry_codes_name": "non_idempotent",

@@ -75,3 +75,3 @@ "retry_params_name": "default"

"ResumeQueue": {
"timeout_millis": 10000,
"timeout_millis": 20000,
"retry_codes_name": "non_idempotent",

@@ -81,3 +81,3 @@ "retry_params_name": "default"

"GetIamPolicy": {
"timeout_millis": 10000,
"timeout_millis": 20000,
"retry_codes_name": "idempotent",

@@ -87,3 +87,3 @@ "retry_params_name": "2607cc7256ff9acb2ee9b232c5722dbbaab18846"

"SetIamPolicy": {
"timeout_millis": 10000,
"timeout_millis": 20000,
"retry_codes_name": "non_idempotent",

@@ -93,3 +93,3 @@ "retry_params_name": "default"

"TestIamPermissions": {
"timeout_millis": 10000,
"timeout_millis": 20000,
"retry_codes_name": "idempotent",

@@ -99,3 +99,3 @@ "retry_params_name": "2607cc7256ff9acb2ee9b232c5722dbbaab18846"

"ListTasks": {
"timeout_millis": 10000,
"timeout_millis": 20000,
"retry_codes_name": "idempotent",

@@ -105,3 +105,3 @@ "retry_params_name": "2607cc7256ff9acb2ee9b232c5722dbbaab18846"

"GetTask": {
"timeout_millis": 10000,
"timeout_millis": 20000,
"retry_codes_name": "idempotent",

@@ -111,3 +111,3 @@ "retry_params_name": "2607cc7256ff9acb2ee9b232c5722dbbaab18846"

"CreateTask": {
"timeout_millis": 10000,
"timeout_millis": 20000,
"retry_codes_name": "non_idempotent",

@@ -117,3 +117,3 @@ "retry_params_name": "default"

"DeleteTask": {
"timeout_millis": 10000,
"timeout_millis": 20000,
"retry_codes_name": "idempotent",

@@ -123,3 +123,3 @@ "retry_params_name": "2607cc7256ff9acb2ee9b232c5722dbbaab18846"

"RunTask": {
"timeout_millis": 10000,
"timeout_millis": 20000,
"retry_codes_name": "non_idempotent",

@@ -126,0 +126,0 @@ "retry_params_name": "default"

@@ -119,2 +119,3 @@ "use strict";

}
this.locationsClient = new this._gaxModule.LocationsClient(this._gaxGrpc, opts);
// Determine the client header string.

@@ -586,7 +587,6 @@ const clientHeader = [`gax/${this._gaxModule.version}`, `gapic/${version}`];

* @param {string} request.filter
* `filter` can be used to specify a subset of queues. Any {@link google.cloud.tasks.v2.Queue|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
* `filter` can be used to specify a subset of queues. Any
* {@link google.cloud.tasks.v2.Queue|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).

@@ -604,4 +604,4 @@ *

* even if more queues exist; use the
* {@link google.cloud.tasks.v2.ListQueuesResponse.next_page_token|next_page_token} in the
* response to determine if more queues exist.
* {@link google.cloud.tasks.v2.ListQueuesResponse.next_page_token|next_page_token}
* in the response to determine if more queues exist.
* @param {string} request.pageToken

@@ -612,6 +612,8 @@ * A token identifying the page of results to return.

* request the next page of results, page_token must be the value of
* {@link google.cloud.tasks.v2.ListQueuesResponse.next_page_token|next_page_token} returned
* from the previous call to {@link google.cloud.tasks.v2.CloudTasks.ListQueues|ListQueues}
* method. It is an error to switch the value of the
* {@link google.cloud.tasks.v2.ListQueuesRequest.filter|filter} while iterating through pages.
* {@link google.cloud.tasks.v2.ListQueuesResponse.next_page_token|next_page_token}
* returned from the previous call to
* {@link google.cloud.tasks.v2.CloudTasks.ListQueues|ListQueues} method. It is an
* error to switch the value of the
* {@link google.cloud.tasks.v2.ListQueuesRequest.filter|filter} while iterating
* through pages.
* @param {object} [options]

@@ -654,7 +656,6 @@ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.

* @param {string} request.filter
* `filter` can be used to specify a subset of queues. Any {@link google.cloud.tasks.v2.Queue|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
* `filter` can be used to specify a subset of queues. Any
* {@link google.cloud.tasks.v2.Queue|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).

@@ -672,4 +673,4 @@ *

* even if more queues exist; use the
* {@link google.cloud.tasks.v2.ListQueuesResponse.next_page_token|next_page_token} in the
* response to determine if more queues exist.
* {@link google.cloud.tasks.v2.ListQueuesResponse.next_page_token|next_page_token}
* in the response to determine if more queues exist.
* @param {string} request.pageToken

@@ -680,6 +681,8 @@ * A token identifying the page of results to return.

* request the next page of results, page_token must be the value of
* {@link google.cloud.tasks.v2.ListQueuesResponse.next_page_token|next_page_token} returned
* from the previous call to {@link google.cloud.tasks.v2.CloudTasks.ListQueues|ListQueues}
* method. It is an error to switch the value of the
* {@link google.cloud.tasks.v2.ListQueuesRequest.filter|filter} while iterating through pages.
* {@link google.cloud.tasks.v2.ListQueuesResponse.next_page_token|next_page_token}
* returned from the previous call to
* {@link google.cloud.tasks.v2.CloudTasks.ListQueues|ListQueues} method. It is an
* error to switch the value of the
* {@link google.cloud.tasks.v2.ListQueuesRequest.filter|filter} while iterating
* through pages.
* @param {object} [options]

@@ -742,7 +745,7 @@ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.

* @param {google.cloud.tasks.v2.Task.View} request.responseView
* The response_view specifies which subset of the {@link google.cloud.tasks.v2.Task|Task} will be
* returned.
* The response_view specifies which subset of the
* {@link google.cloud.tasks.v2.Task|Task} will be returned.
*
* By default response_view is {@link google.cloud.tasks.v2.Task.View.BASIC|BASIC}; not all
* information is retrieved by default because some data, such as
* By default response_view is {@link google.cloud.tasks.v2.Task.View.BASIC|BASIC};
* not all information is retrieved by default because some data, such as
* payloads, might be desirable to return only when needed because

@@ -759,4 +762,4 @@ * of its large size or because of the sensitivity of data that it

* Fewer tasks than requested might be returned, even if more tasks exist; use
* {@link google.cloud.tasks.v2.ListTasksResponse.next_page_token|next_page_token} in the response to
* determine if more tasks exist.
* {@link google.cloud.tasks.v2.ListTasksResponse.next_page_token|next_page_token}
* in the response to determine if more tasks exist.
*

@@ -770,5 +773,5 @@ * The maximum page size is 1000. If unspecified, the page size will be the

* request the next page of results, page_token must be the value of
* {@link google.cloud.tasks.v2.ListTasksResponse.next_page_token|next_page_token} returned
* from the previous call to {@link google.cloud.tasks.v2.CloudTasks.ListTasks|ListTasks}
* method.
* {@link google.cloud.tasks.v2.ListTasksResponse.next_page_token|next_page_token}
* returned from the previous call to
* {@link google.cloud.tasks.v2.CloudTasks.ListTasks|ListTasks} method.
*

@@ -813,7 +816,7 @@ * The page token is valid for only 2 hours.

* @param {google.cloud.tasks.v2.Task.View} request.responseView
* The response_view specifies which subset of the {@link google.cloud.tasks.v2.Task|Task} will be
* returned.
* The response_view specifies which subset of the
* {@link google.cloud.tasks.v2.Task|Task} will be returned.
*
* By default response_view is {@link google.cloud.tasks.v2.Task.View.BASIC|BASIC}; not all
* information is retrieved by default because some data, such as
* By default response_view is {@link google.cloud.tasks.v2.Task.View.BASIC|BASIC};
* not all information is retrieved by default because some data, such as
* payloads, might be desirable to return only when needed because

@@ -830,4 +833,4 @@ * of its large size or because of the sensitivity of data that it

* Fewer tasks than requested might be returned, even if more tasks exist; use
* {@link google.cloud.tasks.v2.ListTasksResponse.next_page_token|next_page_token} in the response to
* determine if more tasks exist.
* {@link google.cloud.tasks.v2.ListTasksResponse.next_page_token|next_page_token}
* in the response to determine if more tasks exist.
*

@@ -841,5 +844,5 @@ * The maximum page size is 1000. If unspecified, the page size will be the

* request the next page of results, page_token must be the value of
* {@link google.cloud.tasks.v2.ListTasksResponse.next_page_token|next_page_token} returned
* from the previous call to {@link google.cloud.tasks.v2.CloudTasks.ListTasks|ListTasks}
* method.
* {@link google.cloud.tasks.v2.ListTasksResponse.next_page_token|next_page_token}
* returned from the previous call to
* {@link google.cloud.tasks.v2.CloudTasks.ListTasks|ListTasks} method.
*

@@ -875,2 +878,59 @@ * The page token is valid for only 2 hours.

}
/**
* Gets information about a location.
*
* @param {Object} request
* The request object that will be sent.
* @param {string} request.name
* Resource name for the location.
* @param {object} [options]
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html | CallOptions} for more details.
* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link google.cloud.location.Location | Location}.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
* for more details and examples.
* @example
* ```
* const [response] = await client.getLocation(request);
* ```
*/
getLocation(request, options, callback) {
return this.locationsClient.getLocation(request, options, callback);
}
/**
* Lists information about the supported locations for this service. Returns an iterable object.
*
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
* @param {Object} request
* The request object that will be sent.
* @param {string} request.name
* The resource that owns the locations collection, if applicable.
* @param {string} request.filter
* The standard list filter.
* @param {number} request.pageSize
* The standard list page size.
* @param {string} request.pageToken
* The standard list page token.
* @param {object} [options]
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
* @returns {Object}
* An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
* When you iterate the returned iterable, each element will be an object representing
* {@link google.cloud.location.Location | Location}. The API will be called under the hood as needed, once per the page,
* so you can stop the iteration when you don't need more results.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
* for more details and examples.
* @example
* ```
* const iterable = client.listLocationsAsync(request);
* for await (const response of iterable) {
* // process response
* }
* ```
*/
listLocationsAsync(request, options) {
return this.locationsClient.listLocationsAsync(request, options);
}
// --------------------

@@ -1046,2 +1106,3 @@ // -- Path templates --

stub.close();
this.locationsClient.close();
});

@@ -1048,0 +1109,0 @@ }

@@ -72,2 +72,7 @@ {

},
"UploadQueueYaml": {
"timeout_millis": 20000,
"retry_codes_name": "non_idempotent",
"retry_params_name": "default"
},
"GetIamPolicy": {

@@ -132,2 +137,7 @@ "timeout_millis": 20000,

"retry_params_name": "default"
},
"BufferTask": {
"timeout_millis": 20000,
"retry_codes_name": "non_idempotent",
"retry_params_name": "default"
}

@@ -134,0 +144,0 @@ }

@@ -119,2 +119,3 @@ "use strict";

}
this.locationsClient = new this._gaxModule.LocationsClient(this._gaxGrpc, opts);
// Determine the client header string.

@@ -197,2 +198,3 @@ const clientHeader = [`gax/${this._gaxModule.version}`, `gapic/${version}`];

'resumeQueue',
'uploadQueueYaml',
'getIamPolicy',

@@ -210,2 +212,3 @@ 'setIamPolicy',

'runTask',
'bufferTask',
];

@@ -416,2 +419,18 @@ for (const methodName of cloudTasksStubMethods) {

}
uploadQueueYaml(request, optionsOrCallback, callback) {
request = request || {};
let options;
if (typeof optionsOrCallback === 'function' && callback === undefined) {
callback = optionsOrCallback;
options = {};
}
else {
options = optionsOrCallback;
}
options = options || {};
options.otherArgs = options.otherArgs || {};
options.otherArgs.headers = options.otherArgs.headers || {};
this.initialize();
return this.innerApiCalls.uploadQueueYaml(request, options, callback);
}
getIamPolicy(request, optionsOrCallback, callback) {

@@ -648,2 +667,24 @@ var _a;

}
bufferTask(request, optionsOrCallback, callback) {
var _a, _b;
request = request || {};
let options;
if (typeof optionsOrCallback === 'function' && callback === undefined) {
callback = optionsOrCallback;
options = {};
}
else {
options = optionsOrCallback;
}
options = options || {};
options.otherArgs = options.otherArgs || {};
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
queue: (_a = request.queue) !== null && _a !== void 0 ? _a : '',
task_id: (_b = request.taskId) !== null && _b !== void 0 ? _b : '',
});
this.initialize();
return this.innerApiCalls.bufferTask(request, options, callback);
}
listQueues(request, optionsOrCallback, callback) {

@@ -678,7 +719,6 @@ var _a;

* @param {string} request.filter
* `filter` can be used to specify a subset of queues. Any {@link google.cloud.tasks.v2beta2.Queue|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
* `filter` can be used to specify a subset of queues. Any
* {@link google.cloud.tasks.v2beta2.Queue|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).

@@ -696,4 +736,4 @@ *

* even if more queues exist; use the
* {@link google.cloud.tasks.v2beta2.ListQueuesResponse.next_page_token|next_page_token} in the
* response to determine if more queues exist.
* {@link google.cloud.tasks.v2beta2.ListQueuesResponse.next_page_token|next_page_token}
* in the response to determine if more queues exist.
* @param {string} request.pageToken

@@ -704,9 +744,11 @@ * A token identifying the page of results to return.

* request the next page of results, page_token must be the value of
* {@link google.cloud.tasks.v2beta2.ListQueuesResponse.next_page_token|next_page_token} returned
* from the previous call to {@link google.cloud.tasks.v2beta2.CloudTasks.ListQueues|ListQueues}
* method. It is an error to switch the value of the
* {@link google.cloud.tasks.v2beta2.ListQueuesRequest.filter|filter} while iterating through pages.
* {@link google.cloud.tasks.v2beta2.ListQueuesResponse.next_page_token|next_page_token}
* returned from the previous call to
* {@link google.cloud.tasks.v2beta2.CloudTasks.ListQueues|ListQueues} method. It
* is an error to switch the value of the
* {@link google.cloud.tasks.v2beta2.ListQueuesRequest.filter|filter} while
* iterating through pages.
* @param {google.protobuf.FieldMask} [request.readMask]
* 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
* 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

@@ -751,7 +793,6 @@ * specified in the mask.

* @param {string} request.filter
* `filter` can be used to specify a subset of queues. Any {@link google.cloud.tasks.v2beta2.Queue|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
* `filter` can be used to specify a subset of queues. Any
* {@link google.cloud.tasks.v2beta2.Queue|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).

@@ -769,4 +810,4 @@ *

* even if more queues exist; use the
* {@link google.cloud.tasks.v2beta2.ListQueuesResponse.next_page_token|next_page_token} in the
* response to determine if more queues exist.
* {@link google.cloud.tasks.v2beta2.ListQueuesResponse.next_page_token|next_page_token}
* in the response to determine if more queues exist.
* @param {string} request.pageToken

@@ -777,9 +818,11 @@ * A token identifying the page of results to return.

* request the next page of results, page_token must be the value of
* {@link google.cloud.tasks.v2beta2.ListQueuesResponse.next_page_token|next_page_token} returned
* from the previous call to {@link google.cloud.tasks.v2beta2.CloudTasks.ListQueues|ListQueues}
* method. It is an error to switch the value of the
* {@link google.cloud.tasks.v2beta2.ListQueuesRequest.filter|filter} while iterating through pages.
* {@link google.cloud.tasks.v2beta2.ListQueuesResponse.next_page_token|next_page_token}
* returned from the previous call to
* {@link google.cloud.tasks.v2beta2.CloudTasks.ListQueues|ListQueues} method. It
* is an error to switch the value of the
* {@link google.cloud.tasks.v2beta2.ListQueuesRequest.filter|filter} while
* iterating through pages.
* @param {google.protobuf.FieldMask} [request.readMask]
* 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
* 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

@@ -844,14 +887,15 @@ * specified in the mask.

* @param {google.cloud.tasks.v2beta2.Task.View} request.responseView
* The response_view specifies which subset of the {@link google.cloud.tasks.v2beta2.Task|Task} will be
* returned.
* The response_view specifies which subset of the
* {@link google.cloud.tasks.v2beta2.Task|Task} will be returned.
*
* By default response_view is {@link google.cloud.tasks.v2beta2.Task.View.BASIC|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.
* By default response_view is
* {@link google.cloud.tasks.v2beta2.Task.View.BASIC|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 {@link google.cloud.tasks.v2beta2.Task.View.FULL|FULL} requires
* `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
* permission on the {@link google.cloud.tasks.v2beta2.Task|Task} resource.
* Authorization for {@link google.cloud.tasks.v2beta2.Task.View.FULL|FULL}
* requires `cloudtasks.tasks.fullView` [Google
* IAM](https://cloud.google.com/iam/) permission on the
* {@link google.cloud.tasks.v2beta2.Task|Task} resource.
* @param {number} request.pageSize

@@ -861,4 +905,4 @@ * Maximum page size.

* Fewer tasks than requested might be returned, even if more tasks exist; use
* {@link google.cloud.tasks.v2beta2.ListTasksResponse.next_page_token|next_page_token} in the response to
* determine if more tasks exist.
* {@link google.cloud.tasks.v2beta2.ListTasksResponse.next_page_token|next_page_token}
* in the response to determine if more tasks exist.
*

@@ -872,5 +916,5 @@ * The maximum page size is 1000. If unspecified, the page size will be the

* request the next page of results, page_token must be the value of
* {@link google.cloud.tasks.v2beta2.ListTasksResponse.next_page_token|next_page_token} returned
* from the previous call to {@link google.cloud.tasks.v2beta2.CloudTasks.ListTasks|ListTasks}
* method.
* {@link google.cloud.tasks.v2beta2.ListTasksResponse.next_page_token|next_page_token}
* returned from the previous call to
* {@link google.cloud.tasks.v2beta2.CloudTasks.ListTasks|ListTasks} method.
*

@@ -915,14 +959,15 @@ * The page token is valid for only 2 hours.

* @param {google.cloud.tasks.v2beta2.Task.View} request.responseView
* The response_view specifies which subset of the {@link google.cloud.tasks.v2beta2.Task|Task} will be
* returned.
* The response_view specifies which subset of the
* {@link google.cloud.tasks.v2beta2.Task|Task} will be returned.
*
* By default response_view is {@link google.cloud.tasks.v2beta2.Task.View.BASIC|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.
* By default response_view is
* {@link google.cloud.tasks.v2beta2.Task.View.BASIC|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 {@link google.cloud.tasks.v2beta2.Task.View.FULL|FULL} requires
* `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
* permission on the {@link google.cloud.tasks.v2beta2.Task|Task} resource.
* Authorization for {@link google.cloud.tasks.v2beta2.Task.View.FULL|FULL}
* requires `cloudtasks.tasks.fullView` [Google
* IAM](https://cloud.google.com/iam/) permission on the
* {@link google.cloud.tasks.v2beta2.Task|Task} resource.
* @param {number} request.pageSize

@@ -932,4 +977,4 @@ * Maximum page size.

* Fewer tasks than requested might be returned, even if more tasks exist; use
* {@link google.cloud.tasks.v2beta2.ListTasksResponse.next_page_token|next_page_token} in the response to
* determine if more tasks exist.
* {@link google.cloud.tasks.v2beta2.ListTasksResponse.next_page_token|next_page_token}
* in the response to determine if more tasks exist.
*

@@ -943,5 +988,5 @@ * The maximum page size is 1000. If unspecified, the page size will be the

* request the next page of results, page_token must be the value of
* {@link google.cloud.tasks.v2beta2.ListTasksResponse.next_page_token|next_page_token} returned
* from the previous call to {@link google.cloud.tasks.v2beta2.CloudTasks.ListTasks|ListTasks}
* method.
* {@link google.cloud.tasks.v2beta2.ListTasksResponse.next_page_token|next_page_token}
* returned from the previous call to
* {@link google.cloud.tasks.v2beta2.CloudTasks.ListTasks|ListTasks} method.
*

@@ -977,2 +1022,59 @@ * The page token is valid for only 2 hours.

}
/**
* Gets information about a location.
*
* @param {Object} request
* The request object that will be sent.
* @param {string} request.name
* Resource name for the location.
* @param {object} [options]
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html | CallOptions} for more details.
* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link google.cloud.location.Location | Location}.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
* for more details and examples.
* @example
* ```
* const [response] = await client.getLocation(request);
* ```
*/
getLocation(request, options, callback) {
return this.locationsClient.getLocation(request, options, callback);
}
/**
* Lists information about the supported locations for this service. Returns an iterable object.
*
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
* @param {Object} request
* The request object that will be sent.
* @param {string} request.name
* The resource that owns the locations collection, if applicable.
* @param {string} request.filter
* The standard list filter.
* @param {number} request.pageSize
* The standard list page size.
* @param {string} request.pageToken
* The standard list page token.
* @param {object} [options]
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
* @returns {Object}
* An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
* When you iterate the returned iterable, each element will be an object representing
* {@link google.cloud.location.Location | Location}. The API will be called under the hood as needed, once per the page,
* so you can stop the iteration when you don't need more results.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
* for more details and examples.
* @example
* ```
* const iterable = client.listLocationsAsync(request);
* for await (const response of iterable) {
* // process response
* }
* ```
*/
listLocationsAsync(request, options) {
return this.locationsClient.listLocationsAsync(request, options);
}
// --------------------

@@ -1148,2 +1250,3 @@ // -- Path templates --

stub.close();
this.locationsClient.close();
});

@@ -1150,0 +1253,0 @@ }

@@ -111,2 +111,7 @@ {

"retry_params_name": "default"
},
"BufferTask": {
"timeout_millis": 20000,
"retry_codes_name": "non_idempotent",
"retry_params_name": "default"
}

@@ -113,0 +118,0 @@ }

@@ -119,2 +119,3 @@ "use strict";

}
this.locationsClient = new this._gaxModule.LocationsClient(this._gaxGrpc, opts);
// Determine the client header string.

@@ -205,2 +206,3 @@ const clientHeader = [`gax/${this._gaxModule.version}`, `gapic/${version}`];

'runTask',
'bufferTask',
];

@@ -558,2 +560,24 @@ for (const methodName of cloudTasksStubMethods) {

}
bufferTask(request, optionsOrCallback, callback) {
var _a, _b;
request = request || {};
let options;
if (typeof optionsOrCallback === 'function' && callback === undefined) {
callback = optionsOrCallback;
options = {};
}
else {
options = optionsOrCallback;
}
options = options || {};
options.otherArgs = options.otherArgs || {};
options.otherArgs.headers = options.otherArgs.headers || {};
options.otherArgs.headers['x-goog-request-params'] =
this._gaxModule.routingHeader.fromParams({
queue: (_a = request.queue) !== null && _a !== void 0 ? _a : '',
task_id: (_b = request.taskId) !== null && _b !== void 0 ? _b : '',
});
this.initialize();
return this.innerApiCalls.bufferTask(request, options, callback);
}
listQueues(request, optionsOrCallback, callback) {

@@ -588,7 +612,6 @@ var _a;

* @param {string} request.filter
* `filter` can be used to specify a subset of queues. Any {@link google.cloud.tasks.v2beta3.Queue|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
* `filter` can be used to specify a subset of queues. Any
* {@link google.cloud.tasks.v2beta3.Queue|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).

@@ -606,4 +629,4 @@ *

* even if more queues exist; use the
* {@link google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token|next_page_token} in the
* response to determine if more queues exist.
* {@link google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token|next_page_token}
* in the response to determine if more queues exist.
* @param {string} request.pageToken

@@ -614,9 +637,11 @@ * A token identifying the page of results to return.

* request the next page of results, page_token must be the value of
* {@link google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token|next_page_token} returned
* from the previous call to {@link google.cloud.tasks.v2beta3.CloudTasks.ListQueues|ListQueues}
* method. It is an error to switch the value of the
* {@link google.cloud.tasks.v2beta3.ListQueuesRequest.filter|filter} while iterating through pages.
* {@link google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token|next_page_token}
* returned from the previous call to
* {@link google.cloud.tasks.v2beta3.CloudTasks.ListQueues|ListQueues} method. It
* is an error to switch the value of the
* {@link google.cloud.tasks.v2beta3.ListQueuesRequest.filter|filter} while
* iterating through pages.
* @param {google.protobuf.FieldMask} [request.readMask]
* 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
* 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

@@ -661,7 +686,6 @@ * specified in the mask.

* @param {string} request.filter
* `filter` can be used to specify a subset of queues. Any {@link google.cloud.tasks.v2beta3.Queue|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
* `filter` can be used to specify a subset of queues. Any
* {@link google.cloud.tasks.v2beta3.Queue|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).

@@ -679,4 +703,4 @@ *

* even if more queues exist; use the
* {@link google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token|next_page_token} in the
* response to determine if more queues exist.
* {@link google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token|next_page_token}
* in the response to determine if more queues exist.
* @param {string} request.pageToken

@@ -687,9 +711,11 @@ * A token identifying the page of results to return.

* request the next page of results, page_token must be the value of
* {@link google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token|next_page_token} returned
* from the previous call to {@link google.cloud.tasks.v2beta3.CloudTasks.ListQueues|ListQueues}
* method. It is an error to switch the value of the
* {@link google.cloud.tasks.v2beta3.ListQueuesRequest.filter|filter} while iterating through pages.
* {@link google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token|next_page_token}
* returned from the previous call to
* {@link google.cloud.tasks.v2beta3.CloudTasks.ListQueues|ListQueues} method. It
* is an error to switch the value of the
* {@link google.cloud.tasks.v2beta3.ListQueuesRequest.filter|filter} while
* iterating through pages.
* @param {google.protobuf.FieldMask} [request.readMask]
* 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
* 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

@@ -754,14 +780,15 @@ * specified in the mask.

* @param {google.cloud.tasks.v2beta3.Task.View} request.responseView
* The response_view specifies which subset of the {@link google.cloud.tasks.v2beta3.Task|Task} will be
* returned.
* The response_view specifies which subset of the
* {@link google.cloud.tasks.v2beta3.Task|Task} will be returned.
*
* By default response_view is {@link google.cloud.tasks.v2beta3.Task.View.BASIC|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.
* By default response_view is
* {@link google.cloud.tasks.v2beta3.Task.View.BASIC|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 {@link google.cloud.tasks.v2beta3.Task.View.FULL|FULL} requires
* `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
* permission on the {@link google.cloud.tasks.v2beta3.Task|Task} resource.
* Authorization for {@link google.cloud.tasks.v2beta3.Task.View.FULL|FULL}
* requires `cloudtasks.tasks.fullView` [Google
* IAM](https://cloud.google.com/iam/) permission on the
* {@link google.cloud.tasks.v2beta3.Task|Task} resource.
* @param {number} request.pageSize

@@ -771,4 +798,4 @@ * Maximum page size.

* Fewer tasks than requested might be returned, even if more tasks exist; use
* {@link google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token|next_page_token} in the response to
* determine if more tasks exist.
* {@link google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token|next_page_token}
* in the response to determine if more tasks exist.
*

@@ -782,5 +809,5 @@ * The maximum page size is 1000. If unspecified, the page size will be the

* request the next page of results, page_token must be the value of
* {@link google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token|next_page_token} returned
* from the previous call to {@link google.cloud.tasks.v2beta3.CloudTasks.ListTasks|ListTasks}
* method.
* {@link google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token|next_page_token}
* returned from the previous call to
* {@link google.cloud.tasks.v2beta3.CloudTasks.ListTasks|ListTasks} method.
*

@@ -825,14 +852,15 @@ * The page token is valid for only 2 hours.

* @param {google.cloud.tasks.v2beta3.Task.View} request.responseView
* The response_view specifies which subset of the {@link google.cloud.tasks.v2beta3.Task|Task} will be
* returned.
* The response_view specifies which subset of the
* {@link google.cloud.tasks.v2beta3.Task|Task} will be returned.
*
* By default response_view is {@link google.cloud.tasks.v2beta3.Task.View.BASIC|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.
* By default response_view is
* {@link google.cloud.tasks.v2beta3.Task.View.BASIC|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 {@link google.cloud.tasks.v2beta3.Task.View.FULL|FULL} requires
* `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
* permission on the {@link google.cloud.tasks.v2beta3.Task|Task} resource.
* Authorization for {@link google.cloud.tasks.v2beta3.Task.View.FULL|FULL}
* requires `cloudtasks.tasks.fullView` [Google
* IAM](https://cloud.google.com/iam/) permission on the
* {@link google.cloud.tasks.v2beta3.Task|Task} resource.
* @param {number} request.pageSize

@@ -842,4 +870,4 @@ * Maximum page size.

* Fewer tasks than requested might be returned, even if more tasks exist; use
* {@link google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token|next_page_token} in the response to
* determine if more tasks exist.
* {@link google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token|next_page_token}
* in the response to determine if more tasks exist.
*

@@ -853,5 +881,5 @@ * The maximum page size is 1000. If unspecified, the page size will be the

* request the next page of results, page_token must be the value of
* {@link google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token|next_page_token} returned
* from the previous call to {@link google.cloud.tasks.v2beta3.CloudTasks.ListTasks|ListTasks}
* method.
* {@link google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token|next_page_token}
* returned from the previous call to
* {@link google.cloud.tasks.v2beta3.CloudTasks.ListTasks|ListTasks} method.
*

@@ -887,2 +915,59 @@ * The page token is valid for only 2 hours.

}
/**
* Gets information about a location.
*
* @param {Object} request
* The request object that will be sent.
* @param {string} request.name
* Resource name for the location.
* @param {object} [options]
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html | CallOptions} for more details.
* @returns {Promise} - The promise which resolves to an array.
* The first element of the array is an object representing {@link google.cloud.location.Location | Location}.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods)
* for more details and examples.
* @example
* ```
* const [response] = await client.getLocation(request);
* ```
*/
getLocation(request, options, callback) {
return this.locationsClient.getLocation(request, options, callback);
}
/**
* Lists information about the supported locations for this service. Returns an iterable object.
*
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
* @param {Object} request
* The request object that will be sent.
* @param {string} request.name
* The resource that owns the locations collection, if applicable.
* @param {string} request.filter
* The standard list filter.
* @param {number} request.pageSize
* The standard list page size.
* @param {string} request.pageToken
* The standard list page token.
* @param {object} [options]
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
* @returns {Object}
* An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
* When you iterate the returned iterable, each element will be an object representing
* {@link google.cloud.location.Location | Location}. The API will be called under the hood as needed, once per the page,
* so you can stop the iteration when you don't need more results.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
* for more details and examples.
* @example
* ```
* const iterable = client.listLocationsAsync(request);
* for await (const response of iterable) {
* // process response
* }
* ```
*/
listLocationsAsync(request, options) {
return this.locationsClient.listLocationsAsync(request, options);
}
// --------------------

@@ -1058,2 +1143,3 @@ // -- Path templates --

stub.close();
this.locationsClient.close();
});

@@ -1060,0 +1146,0 @@ }

@@ -7,2 +7,9 @@ # Changelog

## [3.2.0](https://github.com/googleapis/google-cloud-node/compare/tasks-v3.1.2...tasks-v3.2.0) (2023-07-24)
### Features
* [tasks] increase timeout of RPC methods to 20s for v2 ([#4425](https://github.com/googleapis/google-cloud-node/issues/4425)) ([dcb6f87](https://github.com/googleapis/google-cloud-node/commit/dcb6f87303bea503867b5ccc5af9c57d0c2f993e))
## [3.1.2](https://github.com/googleapis/google-cloud-node/compare/tasks-v3.1.1...tasks-v3.1.2) (2023-04-13)

@@ -9,0 +16,0 @@

{
"name": "@google-cloud/tasks",
"description": "Cloud Tasks API client for Node.js",
"version": "3.1.2",
"version": "3.2.0",
"license": "Apache-2.0",

@@ -35,16 +35,16 @@ "author": "Google LLC",

"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/ && minifyProtoJson",
"compile": "tsc -p . && cp -r protos build/",
"compile-protos": "compileProtos src",
"docs": "jsdoc -c .jsdoc.js",
"predocs-test": "npm run docs",
"prepare": "npm run compile",
"prelint": "cd samples; npm link ../; npm install",
"precompile": "gts clean"
"docs-test": "linkinator docs",
"fix": "gts fix",
"lint": "gts check",
"prepare": "npm run compile-protos && npm run compile",
"prelint": "cd samples; npm link ../; npm i",
"postpack": "minifyProtoJson",
"samples-test": "cd samples/ && npm link ../ && npm i && npm test",
"system-test": "c8 mocha build/system-test",
"test": "c8 mocha build/test"
},

@@ -64,3 +64,4 @@ "dependencies": {

"jsdoc-region-tag": "^2.0.0",
"linkinator": "^4.0.0",
"linkinator": "4.1.2",
"long": "^5.2.3",
"mocha": "^9.2.2",

@@ -67,0 +68,0 @@ "null-loader": "^4.0.0",

@@ -5,3 +5,3 @@ [//]: # "This README.md file is auto-generated, all changes to this file will be lost."

# [Cloud Tasks: Node.js Client](https://github.com/googleapis/google-cloud-node)
# [Cloud Tasks: Node.js Client](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-tasks)

@@ -62,60 +62,62 @@ [![release level](https://img.shields.io/badge/release%20level-stable-brightgreen.svg?style=flat)](https://cloud.google.com/terms/launch-stages)

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.
Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-tasks/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) |
| 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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/samples/README.md) |
| Cloud_tasks.buffer_task | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2beta2/cloud_tasks.buffer_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.buffer_task.js,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/samples/README.md) |
| Cloud_tasks.upload_queue_yaml | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2beta2/cloud_tasks.upload_queue_yaml.js) | [![Open in Cloud Shell][shell_img]](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.upload_queue_yaml.js,packages/google-cloud-tasks/samples/README.md) |
| Cloud_tasks.buffer_task | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-tasks/samples/generated/v2beta3/cloud_tasks.buffer_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.buffer_task.js,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/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,packages/google-cloud-tasks/samples/README.md) |

@@ -122,0 +124,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc