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