This repository was archived by the owner on Jul 13, 2023. It is now read-only.
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: src/v2/cloud_tasks_client.ts +5-6Lines changed: 5 additions & 6 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -71,7 +71,7 @@ export class CloudTasksClient { |
71 | 71 | * |
72 | 72 | * @param {object} [options] - The configuration object. |
73 | 73 | * The options accepted by the constructor are described in detail |
74 | | - * in [this document](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#creating-the-client-instance). |
| 74 | + * in [this document](https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#creating-the-client-instance). |
75 | 75 | * The common options are: |
76 | 76 | * @param {object} [options.credentials] - Credentials object. |
77 | 77 | * @param {string} [options.credentials.client_email] |
@@ -94,11 +94,10 @@ export class CloudTasksClient { |
94 | 94 | * API remote host. |
95 | 95 | * @param {gax.ClientConfig} [options.clientConfig] - Client configuration override. |
96 | 96 | * Follows the structure of {@link gapicConfig}. |
97 | | - * @param {boolean} [options.fallback] - Use HTTP fallback mode. |
98 | | - * In fallback mode, a special browser-compatible transport implementation is used |
99 | | - * instead of gRPC transport. In browser context (if the `window` object is defined) |
100 | | - * the fallback mode is enabled automatically; set `options.fallback` to `false` |
101 | | - * if you need to override this behavior. |
| 97 | + * @param {boolean | "rest"} [options.fallback] - Use HTTP fallback mode. |
| 98 | + * Pass "rest" to use HTTP/1.1 REST API instead of gRPC. |
| 99 | + * For more information, please check the |
| 100 | + * {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}. |
102 | 101 | */ |
103 | 102 | constructor(opts?: ClientOptions) { |
104 | 103 | // Ensure that options include all the required fields. |
|
Collapse file
Copy file name to clipboardExpand all lines: src/v2beta2/cloud_tasks_client.ts +5-6Lines changed: 5 additions & 6 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -71,7 +71,7 @@ export class CloudTasksClient { |
71 | 71 | * |
72 | 72 | * @param {object} [options] - The configuration object. |
73 | 73 | * The options accepted by the constructor are described in detail |
74 | | - * in [this document](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#creating-the-client-instance). |
| 74 | + * in [this document](https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#creating-the-client-instance). |
75 | 75 | * The common options are: |
76 | 76 | * @param {object} [options.credentials] - Credentials object. |
77 | 77 | * @param {string} [options.credentials.client_email] |
@@ -94,11 +94,10 @@ export class CloudTasksClient { |
94 | 94 | * API remote host. |
95 | 95 | * @param {gax.ClientConfig} [options.clientConfig] - Client configuration override. |
96 | 96 | * Follows the structure of {@link gapicConfig}. |
97 | | - * @param {boolean} [options.fallback] - Use HTTP fallback mode. |
98 | | - * In fallback mode, a special browser-compatible transport implementation is used |
99 | | - * instead of gRPC transport. In browser context (if the `window` object is defined) |
100 | | - * the fallback mode is enabled automatically; set `options.fallback` to `false` |
101 | | - * if you need to override this behavior. |
| 97 | + * @param {boolean | "rest"} [options.fallback] - Use HTTP fallback mode. |
| 98 | + * Pass "rest" to use HTTP/1.1 REST API instead of gRPC. |
| 99 | + * For more information, please check the |
| 100 | + * {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}. |
102 | 101 | */ |
103 | 102 | constructor(opts?: ClientOptions) { |
104 | 103 | // Ensure that options include all the required fields. |
|
Collapse file
Copy file name to clipboardExpand all lines: src/v2beta3/cloud_tasks_client.ts +5-6Lines changed: 5 additions & 6 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -71,7 +71,7 @@ export class CloudTasksClient { |
71 | 71 | * |
72 | 72 | * @param {object} [options] - The configuration object. |
73 | 73 | * The options accepted by the constructor are described in detail |
74 | | - * in [this document](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#creating-the-client-instance). |
| 74 | + * in [this document](https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#creating-the-client-instance). |
75 | 75 | * The common options are: |
76 | 76 | * @param {object} [options.credentials] - Credentials object. |
77 | 77 | * @param {string} [options.credentials.client_email] |
@@ -94,11 +94,10 @@ export class CloudTasksClient { |
94 | 94 | * API remote host. |
95 | 95 | * @param {gax.ClientConfig} [options.clientConfig] - Client configuration override. |
96 | 96 | * Follows the structure of {@link gapicConfig}. |
97 | | - * @param {boolean} [options.fallback] - Use HTTP fallback mode. |
98 | | - * In fallback mode, a special browser-compatible transport implementation is used |
99 | | - * instead of gRPC transport. In browser context (if the `window` object is defined) |
100 | | - * the fallback mode is enabled automatically; set `options.fallback` to `false` |
101 | | - * if you need to override this behavior. |
| 97 | + * @param {boolean | "rest"} [options.fallback] - Use HTTP fallback mode. |
| 98 | + * Pass "rest" to use HTTP/1.1 REST API instead of gRPC. |
| 99 | + * For more information, please check the |
| 100 | + * {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}. |
102 | 101 | */ |
103 | 102 | constructor(opts?: ClientOptions) { |
104 | 103 | // Ensure that options include all the required fields. |
|