@@ -63,7 +63,7 @@ export class ServiceControllerClient {
63
63
*
64
64
* @param {object } [options] - The configuration object.
65
65
* The options accepted by the constructor are described in detail
66
- * in [this document](https://github.com/googleapis/gax-nodejs/blob/master /client-libraries.md#creating-the-client-instance).
66
+ * in [this document](https://github.com/googleapis/gax-nodejs/blob/main /client-libraries.md#creating-the-client-instance).
67
67
* The common options are:
68
68
* @param {object } [options.credentials] - Credentials object.
69
69
* @param {string } [options.credentials.client_email]
@@ -86,11 +86,10 @@ export class ServiceControllerClient {
86
86
* API remote host.
87
87
* @param {gax.ClientConfig } [options.clientConfig] - Client configuration override.
88
88
* Follows the structure of {@link gapicConfig}.
89
- * @param {boolean } [options.fallback] - Use HTTP fallback mode.
90
- * In fallback mode, a special browser-compatible transport implementation is used
91
- * instead of gRPC transport. In browser context (if the `window` object is defined)
92
- * the fallback mode is enabled automatically; set `options.fallback` to `false`
93
- * if you need to override this behavior.
89
+ * @param {boolean | "rest" } [options.fallback] - Use HTTP fallback mode.
90
+ * Pass "rest" to use HTTP/1.1 REST API instead of gRPC.
91
+ * For more information, please check the
92
+ * {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.
94
93
*/
95
94
constructor ( opts ?: ClientOptions ) {
96
95
// Ensure that options include all the required fields.
0 commit comments