@google-cloud/storageinsights
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -60,4 +60,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 | ||
@@ -70,3 +69,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 StorageInsightsClient({fallback: 'rest'}, gax); | ||
* const client = new StorageInsightsClient({fallback: true}, gax); | ||
* ``` | ||
@@ -73,0 +72,0 @@ */ |
@@ -63,4 +63,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 | ||
@@ -73,3 +72,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 StorageInsightsClient({fallback: 'rest'}, gax); | ||
* const client = new StorageInsightsClient({fallback: true}, gax); | ||
* ``` | ||
@@ -132,3 +131,3 @@ */ | ||
} | ||
else if (opts.fallback === 'rest') { | ||
else { | ||
clientHeader.push(`rest/${this._gaxGrpc.grpcVersion}`); | ||
@@ -135,0 +134,0 @@ } |
# Changelog | ||
## [1.0.1](https://github.com/googleapis/google-cloud-node/compare/storageinsights-v1.0.0...storageinsights-v1.0.1) (2023-09-06) | ||
### Bug Fixes | ||
* [Many APIs] simplify logic for HTTP/1.1 REST fallback option ([#4588](https://github.com/googleapis/google-cloud-node/issues/4588)) ([e5ad564](https://github.com/googleapis/google-cloud-node/commit/e5ad564f74dc7a36c0e8cd8de173428a99f1deae)) | ||
## [1.0.0](https://github.com/googleapis/google-cloud-node/compare/storageinsights-v0.1.1...storageinsights-v1.0.0) (2023-08-06) | ||
@@ -4,0 +11,0 @@ |
{ | ||
"name": "@google-cloud/storageinsights", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Storage Insights API 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", |
@@ -137,3 +137,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 | ||
@@ -140,0 +140,0 @@ Node.js. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
1913149
32495