Socket
Socket
Sign inDemoInstall

@google-cloud/tasks

Package Overview
Dependencies
90
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.2.0 to 4.0.0

80

build/src/v2/cloud_tasks_client.js

@@ -587,3 +587,3 @@ "use strict";

* `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
* {@link protos.google.cloud.tasks.v2.Queue|Queue} field can be used as a filter and
* several operators as supported. For example: `<=, <, >=, >, !=, =, :`. The

@@ -603,3 +603,3 @@ * filter syntax is the same as described in [Stackdriver's Advanced Logs

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

@@ -611,7 +611,7 @@ * @param {string} request.pageToken

* 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}
* {@link protos.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
* {@link protos.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
* {@link protos.google.cloud.tasks.v2.ListQueuesRequest.filter|filter} while iterating
* through pages.

@@ -621,3 +621,3 @@ * @param {object} [options]

* @returns {Stream}
* An object stream which emits an object representing {@link google.cloud.tasks.v2.Queue | Queue} on 'data' event.
* An object stream which emits an object representing {@link protos.google.cloud.tasks.v2.Queue|Queue} on 'data' event.
* The client library will perform auto-pagination by default: it will call the API as many

@@ -627,4 +627,3 @@ * times as needed. Note that it can affect your quota.

* method described below for async iteration which you can stop as needed.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
* for more details and examples.

@@ -658,3 +657,3 @@ */

* `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
* {@link protos.google.cloud.tasks.v2.Queue|Queue} field can be used as a filter and
* several operators as supported. For example: `<=, <, >=, >, !=, =, :`. The

@@ -674,3 +673,3 @@ * filter syntax is the same as described in [Stackdriver's Advanced Logs

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

@@ -682,7 +681,7 @@ * @param {string} request.pageToken

* 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}
* {@link protos.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
* {@link protos.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
* {@link protos.google.cloud.tasks.v2.ListQueuesRequest.filter|filter} while iterating
* through pages.

@@ -692,8 +691,7 @@ * @param {object} [options]

* @returns {Object}
* An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
* An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
* When you iterate the returned iterable, each element will be an object representing
* {@link google.cloud.tasks.v2.Queue | Queue}. The API will be called under the hood as needed, once per the page,
* {@link protos.google.cloud.tasks.v2.Queue|Queue}. 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)
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
* for more details and examples.

@@ -748,5 +746,5 @@ * @example <caption>include:samples/generated/v2/cloud_tasks.list_queues.js</caption>

* The response_view specifies which subset of the
* {@link google.cloud.tasks.v2.Task|Task} will be returned.
* {@link protos.google.cloud.tasks.v2.Task|Task} will be returned.
*
* By default response_view is {@link google.cloud.tasks.v2.Task.View.BASIC|BASIC};
* By default response_view is {@link protos.google.cloud.tasks.v2.Task.View.BASIC|BASIC};
* not all information is retrieved by default because some data, such as

@@ -757,5 +755,5 @@ * payloads, might be desirable to return only when needed because

*
* Authorization for {@link google.cloud.tasks.v2.Task.View.FULL|FULL} requires
* Authorization for {@link protos.google.cloud.tasks.v2.Task.View.FULL|FULL} requires
* `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
* permission on the {@link google.cloud.tasks.v2.Task|Task} resource.
* permission on the {@link protos.google.cloud.tasks.v2.Task|Task} resource.
* @param {number} request.pageSize

@@ -765,3 +763,3 @@ * Maximum page size.

* 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}
* {@link protos.google.cloud.tasks.v2.ListTasksResponse.next_page_token|next_page_token}
* in the response to determine if more tasks exist.

@@ -776,5 +774,5 @@ *

* 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}
* {@link protos.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 protos.google.cloud.tasks.v2.CloudTasks.ListTasks|ListTasks} method.
*

@@ -785,3 +783,3 @@ * The page token is valid for only 2 hours.

* @returns {Stream}
* An object stream which emits an object representing {@link google.cloud.tasks.v2.Task | Task} on 'data' event.
* An object stream which emits an object representing {@link protos.google.cloud.tasks.v2.Task|Task} on 'data' event.
* The client library will perform auto-pagination by default: it will call the API as many

@@ -791,4 +789,3 @@ * times as needed. Note that it can affect your quota.

* method described below for async iteration which you can stop as needed.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
* for more details and examples.

@@ -822,5 +819,5 @@ */

* The response_view specifies which subset of the
* {@link google.cloud.tasks.v2.Task|Task} will be returned.
* {@link protos.google.cloud.tasks.v2.Task|Task} will be returned.
*
* By default response_view is {@link google.cloud.tasks.v2.Task.View.BASIC|BASIC};
* By default response_view is {@link protos.google.cloud.tasks.v2.Task.View.BASIC|BASIC};
* not all information is retrieved by default because some data, such as

@@ -831,5 +828,5 @@ * payloads, might be desirable to return only when needed because

*
* Authorization for {@link google.cloud.tasks.v2.Task.View.FULL|FULL} requires
* Authorization for {@link protos.google.cloud.tasks.v2.Task.View.FULL|FULL} requires
* `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
* permission on the {@link google.cloud.tasks.v2.Task|Task} resource.
* permission on the {@link protos.google.cloud.tasks.v2.Task|Task} resource.
* @param {number} request.pageSize

@@ -839,3 +836,3 @@ * Maximum page size.

* 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}
* {@link protos.google.cloud.tasks.v2.ListTasksResponse.next_page_token|next_page_token}
* in the response to determine if more tasks exist.

@@ -850,5 +847,5 @@ *

* 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}
* {@link protos.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 protos.google.cloud.tasks.v2.CloudTasks.ListTasks|ListTasks} method.
*

@@ -859,8 +856,7 @@ * The page token is valid for only 2 hours.

* @returns {Object}
* An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
* An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
* When you iterate the returned iterable, each element will be an object representing
* {@link google.cloud.tasks.v2.Task | Task}. The API will be called under the hood as needed, once per the page,
* {@link protos.google.cloud.tasks.v2.Task|Task}. 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)
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
* for more details and examples.

@@ -896,4 +892,3 @@ * @example <caption>include:samples/generated/v2/cloud_tasks.list_tasks.js</caption>

* 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)
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.

@@ -925,8 +920,7 @@ * @example

* @returns {Object}
* An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
* An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
* 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)
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
* for more details and examples.

@@ -933,0 +927,0 @@ * @example

@@ -715,3 +715,3 @@ "use strict";

* `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
* {@link protos.google.cloud.tasks.v2beta2.Queue|Queue} field can be used as a filter and
* several operators as supported. For example: `<=, <, >=, >, !=, =, :`. The

@@ -731,3 +731,3 @@ * filter syntax is the same as described in [Stackdriver's Advanced Logs

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

@@ -739,7 +739,7 @@ * @param {string} request.pageToken

* 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}
* {@link protos.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
* {@link protos.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
* {@link protos.google.cloud.tasks.v2beta2.ListQueuesRequest.filter|filter} while
* iterating through pages.

@@ -754,3 +754,3 @@ * @param {google.protobuf.FieldMask} [request.readMask]

* @returns {Stream}
* An object stream which emits an object representing {@link google.cloud.tasks.v2beta2.Queue | Queue} on 'data' event.
* An object stream which emits an object representing {@link protos.google.cloud.tasks.v2beta2.Queue|Queue} on 'data' event.
* The client library will perform auto-pagination by default: it will call the API as many

@@ -760,4 +760,3 @@ * times as needed. Note that it can affect your quota.

* method described below for async iteration which you can stop as needed.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
* for more details and examples.

@@ -791,3 +790,3 @@ */

* `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
* {@link protos.google.cloud.tasks.v2beta2.Queue|Queue} field can be used as a filter and
* several operators as supported. For example: `<=, <, >=, >, !=, =, :`. The

@@ -807,3 +806,3 @@ * filter syntax is the same as described in [Stackdriver's Advanced Logs

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

@@ -815,7 +814,7 @@ * @param {string} request.pageToken

* 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}
* {@link protos.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
* {@link protos.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
* {@link protos.google.cloud.tasks.v2beta2.ListQueuesRequest.filter|filter} while
* iterating through pages.

@@ -830,8 +829,7 @@ * @param {google.protobuf.FieldMask} [request.readMask]

* @returns {Object}
* An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
* An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
* When you iterate the returned iterable, each element will be an object representing
* {@link google.cloud.tasks.v2beta2.Queue | Queue}. The API will be called under the hood as needed, once per the page,
* {@link protos.google.cloud.tasks.v2beta2.Queue|Queue}. 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)
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
* for more details and examples.

@@ -886,6 +884,6 @@ * @example <caption>include:samples/generated/v2beta2/cloud_tasks.list_queues.js</caption>

* The response_view specifies which subset of the
* {@link google.cloud.tasks.v2beta2.Task|Task} will be returned.
* {@link protos.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
* {@link protos.google.cloud.tasks.v2beta2.Task.View.BASIC|BASIC}; not all information is
* retrieved by default because some data, such as payloads, might be

@@ -895,6 +893,6 @@ * desirable to return only when needed because of its large size or because

*
* Authorization for {@link google.cloud.tasks.v2beta2.Task.View.FULL|FULL}
* Authorization for {@link protos.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.
* {@link protos.google.cloud.tasks.v2beta2.Task|Task} resource.
* @param {number} request.pageSize

@@ -904,3 +902,3 @@ * 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}
* {@link protos.google.cloud.tasks.v2beta2.ListTasksResponse.next_page_token|next_page_token}
* in the response to determine if more tasks exist.

@@ -915,5 +913,5 @@ *

* 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}
* {@link protos.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 protos.google.cloud.tasks.v2beta2.CloudTasks.ListTasks|ListTasks} method.
*

@@ -924,3 +922,3 @@ * The page token is valid for only 2 hours.

* @returns {Stream}
* An object stream which emits an object representing {@link google.cloud.tasks.v2beta2.Task | Task} on 'data' event.
* An object stream which emits an object representing {@link protos.google.cloud.tasks.v2beta2.Task|Task} on 'data' event.
* The client library will perform auto-pagination by default: it will call the API as many

@@ -930,4 +928,3 @@ * times as needed. Note that it can affect your quota.

* method described below for async iteration which you can stop as needed.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
* for more details and examples.

@@ -961,6 +958,6 @@ */

* The response_view specifies which subset of the
* {@link google.cloud.tasks.v2beta2.Task|Task} will be returned.
* {@link protos.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
* {@link protos.google.cloud.tasks.v2beta2.Task.View.BASIC|BASIC}; not all information is
* retrieved by default because some data, such as payloads, might be

@@ -970,6 +967,6 @@ * desirable to return only when needed because of its large size or because

*
* Authorization for {@link google.cloud.tasks.v2beta2.Task.View.FULL|FULL}
* Authorization for {@link protos.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.
* {@link protos.google.cloud.tasks.v2beta2.Task|Task} resource.
* @param {number} request.pageSize

@@ -979,3 +976,3 @@ * 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}
* {@link protos.google.cloud.tasks.v2beta2.ListTasksResponse.next_page_token|next_page_token}
* in the response to determine if more tasks exist.

@@ -990,5 +987,5 @@ *

* 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}
* {@link protos.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 protos.google.cloud.tasks.v2beta2.CloudTasks.ListTasks|ListTasks} method.
*

@@ -999,8 +996,7 @@ * The page token is valid for only 2 hours.

* @returns {Object}
* An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
* An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
* When you iterate the returned iterable, each element will be an object representing
* {@link google.cloud.tasks.v2beta2.Task | Task}. The API will be called under the hood as needed, once per the page,
* {@link protos.google.cloud.tasks.v2beta2.Task|Task}. 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)
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
* for more details and examples.

@@ -1036,4 +1032,3 @@ * @example <caption>include:samples/generated/v2beta2/cloud_tasks.list_tasks.js</caption>

* 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)
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.

@@ -1065,8 +1060,7 @@ * @example

* @returns {Object}
* An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
* An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
* 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)
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
* for more details and examples.

@@ -1073,0 +1067,0 @@ * @example

@@ -610,3 +610,3 @@ "use strict";

* `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
* {@link protos.google.cloud.tasks.v2beta3.Queue|Queue} field can be used as a filter and
* several operators as supported. For example: `<=, <, >=, >, !=, =, :`. The

@@ -626,3 +626,3 @@ * filter syntax is the same as described in [Stackdriver's Advanced Logs

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

@@ -634,7 +634,7 @@ * @param {string} request.pageToken

* 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}
* {@link protos.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
* {@link protos.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
* {@link protos.google.cloud.tasks.v2beta3.ListQueuesRequest.filter|filter} while
* iterating through pages.

@@ -649,3 +649,3 @@ * @param {google.protobuf.FieldMask} [request.readMask]

* @returns {Stream}
* An object stream which emits an object representing {@link google.cloud.tasks.v2beta3.Queue | Queue} on 'data' event.
* An object stream which emits an object representing {@link protos.google.cloud.tasks.v2beta3.Queue|Queue} on 'data' event.
* The client library will perform auto-pagination by default: it will call the API as many

@@ -655,4 +655,3 @@ * times as needed. Note that it can affect your quota.

* method described below for async iteration which you can stop as needed.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
* for more details and examples.

@@ -686,3 +685,3 @@ */

* `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
* {@link protos.google.cloud.tasks.v2beta3.Queue|Queue} field can be used as a filter and
* several operators as supported. For example: `<=, <, >=, >, !=, =, :`. The

@@ -702,3 +701,3 @@ * filter syntax is the same as described in [Stackdriver's Advanced Logs

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

@@ -710,7 +709,7 @@ * @param {string} request.pageToken

* 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}
* {@link protos.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
* {@link protos.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
* {@link protos.google.cloud.tasks.v2beta3.ListQueuesRequest.filter|filter} while
* iterating through pages.

@@ -725,8 +724,7 @@ * @param {google.protobuf.FieldMask} [request.readMask]

* @returns {Object}
* An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
* An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
* When you iterate the returned iterable, each element will be an object representing
* {@link google.cloud.tasks.v2beta3.Queue | Queue}. The API will be called under the hood as needed, once per the page,
* {@link protos.google.cloud.tasks.v2beta3.Queue|Queue}. 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)
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
* for more details and examples.

@@ -781,6 +779,6 @@ * @example <caption>include:samples/generated/v2beta3/cloud_tasks.list_queues.js</caption>

* The response_view specifies which subset of the
* {@link google.cloud.tasks.v2beta3.Task|Task} will be returned.
* {@link protos.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
* {@link protos.google.cloud.tasks.v2beta3.Task.View.BASIC|BASIC}; not all information is
* retrieved by default because some data, such as payloads, might be

@@ -790,6 +788,6 @@ * desirable to return only when needed because of its large size or because

*
* Authorization for {@link google.cloud.tasks.v2beta3.Task.View.FULL|FULL}
* Authorization for {@link protos.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.
* {@link protos.google.cloud.tasks.v2beta3.Task|Task} resource.
* @param {number} request.pageSize

@@ -799,3 +797,3 @@ * 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}
* {@link protos.google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token|next_page_token}
* in the response to determine if more tasks exist.

@@ -810,5 +808,5 @@ *

* 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}
* {@link protos.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 protos.google.cloud.tasks.v2beta3.CloudTasks.ListTasks|ListTasks} method.
*

@@ -819,3 +817,3 @@ * The page token is valid for only 2 hours.

* @returns {Stream}
* An object stream which emits an object representing {@link google.cloud.tasks.v2beta3.Task | Task} on 'data' event.
* An object stream which emits an object representing {@link protos.google.cloud.tasks.v2beta3.Task|Task} on 'data' event.
* The client library will perform auto-pagination by default: it will call the API as many

@@ -825,4 +823,3 @@ * times as needed. Note that it can affect your quota.

* method described below for async iteration which you can stop as needed.
* Please see the
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
* for more details and examples.

@@ -856,6 +853,6 @@ */

* The response_view specifies which subset of the
* {@link google.cloud.tasks.v2beta3.Task|Task} will be returned.
* {@link protos.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
* {@link protos.google.cloud.tasks.v2beta3.Task.View.BASIC|BASIC}; not all information is
* retrieved by default because some data, such as payloads, might be

@@ -865,6 +862,6 @@ * desirable to return only when needed because of its large size or because

*
* Authorization for {@link google.cloud.tasks.v2beta3.Task.View.FULL|FULL}
* Authorization for {@link protos.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.
* {@link protos.google.cloud.tasks.v2beta3.Task|Task} resource.
* @param {number} request.pageSize

@@ -874,3 +871,3 @@ * 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}
* {@link protos.google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token|next_page_token}
* in the response to determine if more tasks exist.

@@ -885,5 +882,5 @@ *

* 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}
* {@link protos.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 protos.google.cloud.tasks.v2beta3.CloudTasks.ListTasks|ListTasks} method.
*

@@ -894,8 +891,7 @@ * The page token is valid for only 2 hours.

* @returns {Object}
* An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
* An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
* When you iterate the returned iterable, each element will be an object representing
* {@link google.cloud.tasks.v2beta3.Task | Task}. The API will be called under the hood as needed, once per the page,
* {@link protos.google.cloud.tasks.v2beta3.Task|Task}. 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)
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
* for more details and examples.

@@ -931,4 +927,3 @@ * @example <caption>include:samples/generated/v2beta3/cloud_tasks.list_tasks.js</caption>

* 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)
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
* for more details and examples.

@@ -960,8 +955,7 @@ * @example

* @returns {Object}
* An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols).
* An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
* 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)
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
* for more details and examples.

@@ -968,0 +962,0 @@ * @example

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

## [4.0.0](https://github.com/googleapis/google-cloud-node/compare/tasks-v3.2.0...tasks-v4.0.0) (2023-08-06)
### ⚠ BREAKING CHANGES
* migrate to Node 14 ([#4443](https://github.com/googleapis/google-cloud-node/issues/4443))
### Bug Fixes
* [tasks] fix typings for IAM methods ([#4444](https://github.com/googleapis/google-cloud-node/issues/4444)) ([9264e87](https://github.com/googleapis/google-cloud-node/commit/9264e8750b6cdea691182f23ac8c2b0d65f2ea5e))
### Miscellaneous Chores
* Migrate to Node 14 ([#4443](https://github.com/googleapis/google-cloud-node/issues/4443)) ([2260f12](https://github.com/googleapis/google-cloud-node/commit/2260f12543d171bda95345e53475f5f0fdc45770))
## [3.2.0](https://github.com/googleapis/google-cloud-node/compare/tasks-v3.1.2...tasks-v3.2.0) (2023-07-24)

@@ -9,0 +25,0 @@

{
"name": "@google-cloud/tasks",
"description": "Cloud Tasks API client for Node.js",
"version": "3.2.0",
"version": "4.0.0",
"license": "Apache-2.0",
"author": "Google LLC",
"engines": {
"node": ">=12.0.0"
"node": ">=14.0.0"
},

@@ -51,11 +51,12 @@ "repository": {

"dependencies": {
"google-gax": "^3.5.8"
"google-gax": "^4.0.3"
},
"devDependencies": {
"@types/mocha": "^9.0.0",
"@types/node": "^18.0.0",
"@types/node": "^20.4.5",
"@types/sinon": "^10.0.0",
"c8": "^7.0.0",
"c8": "^8.0.1",
"codecov": "^3.0.2",
"gts": "^3.1.0",
"gapic-tools": "^0.1.8",
"gts": "^5.0.0",
"jsdoc": "^4.0.0",

@@ -67,11 +68,7 @@ "jsdoc-fresh": "^2.0.0",

"mocha": "^9.2.2",
"null-loader": "^4.0.0",
"pack-n-play": "^1.0.0-2",
"sinon": "^15.0.0",
"ts-loader": "^9.0.0",
"typescript": "^4.6.4",
"webpack": "^5.0.0",
"webpack-cli": "^5.0.0"
"typescript": "^5.1.6"
},
"homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-tasks"
}

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

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