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

Commit 3d4518f

Browse files
fix(docs): document fallback rest option (#724)
* feat: support regapic LRO 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 bebab4b commit 3d4518f

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/v2/dlp_service_client.ts

+5-6
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export class DlpServiceClient {
7878
*
7979
* @param {object} [options] - The configuration object.
8080
* The options accepted by the constructor are described in detail
81-
* in [this document](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#creating-the-client-instance).
81+
* in [this document](https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#creating-the-client-instance).
8282
* The common options are:
8383
* @param {object} [options.credentials] - Credentials object.
8484
* @param {string} [options.credentials.client_email]
@@ -101,11 +101,10 @@ export class DlpServiceClient {
101101
* API remote host.
102102
* @param {gax.ClientConfig} [options.clientConfig] - Client configuration override.
103103
* Follows the structure of {@link gapicConfig}.
104-
* @param {boolean} [options.fallback] - Use HTTP fallback mode.
105-
* In fallback mode, a special browser-compatible transport implementation is used
106-
* instead of gRPC transport. In browser context (if the `window` object is defined)
107-
* the fallback mode is enabled automatically; set `options.fallback` to `false`
108-
* if you need to override this behavior.
104+
* @param {boolean | "rest"} [options.fallback] - Use HTTP fallback mode.
105+
* Pass "rest" to use HTTP/1.1 REST API instead of gRPC.
106+
* For more information, please check the
107+
* {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.
109108
*/
110109
constructor(opts?: ClientOptions) {
111110
// Ensure that options include all the required fields.

0 commit comments

Comments
 (0)