Skip to content
This repository was archived by the owner on Jul 20, 2023. It is now read-only.

Commit d41ecfe

Browse files
fix(docs): describe fallback rest option (#90)
* fix(docs): describe fallback rest option Use gapic-generator-typescript v2.15.1. PiperOrigin-RevId: 456946341 Source-Link: googleapis/googleapis@88fd18d Source-Link: https://github.com/googleapis/googleapis-gen/commit/accfa371f667439313335c64042b063c1c53102e Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYWNjZmEzNzFmNjY3NDM5MzEzMzM1YzY0MDQyYjA2M2MxYzUzMTAyZSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent f6c85b3 commit d41ecfe

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/v1beta1/private_catalog_client.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export class PrivateCatalogClient {
9090
*
9191
* @param {object} [options] - The configuration object.
9292
* The options accepted by the constructor are described in detail
93-
* in [this document](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#creating-the-client-instance).
93+
* in [this document](https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#creating-the-client-instance).
9494
* The common options are:
9595
* @param {object} [options.credentials] - Credentials object.
9696
* @param {string} [options.credentials.client_email]
@@ -113,11 +113,10 @@ export class PrivateCatalogClient {
113113
* API remote host.
114114
* @param {gax.ClientConfig} [options.clientConfig] - Client configuration override.
115115
* Follows the structure of {@link gapicConfig}.
116-
* @param {boolean} [options.fallback] - Use HTTP fallback mode.
117-
* In fallback mode, a special browser-compatible transport implementation is used
118-
* instead of gRPC transport. In browser context (if the `window` object is defined)
119-
* the fallback mode is enabled automatically; set `options.fallback` to `false`
120-
* if you need to override this behavior.
116+
* @param {boolean | "rest"} [options.fallback] - Use HTTP fallback mode.
117+
* Pass "rest" to use HTTP/1.1 REST API instead of gRPC.
118+
* For more information, please check the
119+
* {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.
121120
*/
122121
constructor(opts?: ClientOptions) {
123122
// Ensure that options include all the required fields.

0 commit comments

Comments
 (0)