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