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