@@ -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.
0 commit comments