@google-cloud/resource-settings
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -70,4 +70,3 @@ /// <reference types="node" /> | ||
* Follows the structure of {@link gapicConfig}. | ||
* @param {boolean | "rest"} [options.fallback] - Use HTTP fallback mode. | ||
* Pass "rest" to use HTTP/1.1 REST API instead of gRPC. | ||
* @param {boolean} [options.fallback] - Use HTTP/1.1 REST mode. | ||
* For more information, please check the | ||
@@ -80,3 +79,3 @@ * {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}. | ||
* const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC | ||
* const client = new ResourceSettingsServiceClient({fallback: 'rest'}, gax); | ||
* const client = new ResourceSettingsServiceClient({fallback: true}, gax); | ||
* ``` | ||
@@ -83,0 +82,0 @@ */ |
@@ -74,4 +74,3 @@ "use strict"; | ||
* Follows the structure of {@link gapicConfig}. | ||
* @param {boolean | "rest"} [options.fallback] - Use HTTP fallback mode. | ||
* Pass "rest" to use HTTP/1.1 REST API instead of gRPC. | ||
* @param {boolean} [options.fallback] - Use HTTP/1.1 REST mode. | ||
* For more information, please check the | ||
@@ -84,3 +83,3 @@ * {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}. | ||
* const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC | ||
* const client = new ResourceSettingsServiceClient({fallback: 'rest'}, gax); | ||
* const client = new ResourceSettingsServiceClient({fallback: true}, gax); | ||
* ``` | ||
@@ -143,3 +142,3 @@ */ | ||
} | ||
else if (opts.fallback === 'rest') { | ||
else { | ||
clientHeader.push(`rest/${this._gaxGrpc.grpcVersion}`); | ||
@@ -146,0 +145,0 @@ } |
# Changelog | ||
## [3.0.1](https://github.com/googleapis/google-cloud-node/compare/resource-settings-v3.0.0...resource-settings-v3.0.1) (2023-09-06) | ||
### Bug Fixes | ||
* [Many APIs] simplify logic for HTTP/1.1 REST fallback option ([#4587](https://github.com/googleapis/google-cloud-node/issues/4587)) ([e3b1e7e](https://github.com/googleapis/google-cloud-node/commit/e3b1e7e46d666abb4df28c3cd69e97c08b88445a)) | ||
## [3.0.0](https://github.com/googleapis/google-cloud-node/compare/resource-settings-v2.0.5...resource-settings-v3.0.0) (2023-08-06) | ||
@@ -4,0 +11,0 @@ |
{ | ||
"name": "@google-cloud/resource-settings", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "resourcesettings client for Node.js", | ||
@@ -58,4 +58,4 @@ "repository": { | ||
"jsdoc": "^4.0.0", | ||
"jsdoc-fresh": "^2.0.0", | ||
"jsdoc-region-tag": "^2.0.0", | ||
"jsdoc-fresh": "^3.0.0", | ||
"jsdoc-region-tag": "^3.0.0", | ||
"linkinator": "4.1.2", | ||
@@ -62,0 +62,0 @@ "long": "^5.2.3", |
@@ -102,3 +102,3 @@ [//]: # "This README.md file is auto-generated, all changes to this file will be lost." | ||
Our client libraries follow the [Node.js release schedule](https://nodejs.org/en/about/releases/). | ||
Our client libraries follow the [Node.js release schedule](https://github.com/nodejs/release#release-schedule). | ||
Libraries are compatible with all current _active_ and _maintenance_ versions of | ||
@@ -105,0 +105,0 @@ Node.js. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1441449
0
24998