Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@google-cloud/billing

Package Overview
Dependencies
Maintainers
2
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@google-cloud/billing - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

10

build/src/v1/cloud_billing_client.d.ts

@@ -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 CloudBillingClient({fallback: 'rest'}, gax);
* const client = new CloudBillingClient({fallback: true}, gax);
* ```

@@ -281,4 +280,5 @@ */

* @param {google.cloud.billing.v1.ProjectBillingInfo} request.projectBillingInfo
* The new billing information for the project. Read-only fields are ignored;
* thus, you can leave empty all fields except `billing_account_name`.
* The new billing information for the project. Output-only fields are
* ignored; thus, you can leave empty all fields except
* `billing_account_name`.
* @param {object} [options]

@@ -285,0 +285,0 @@ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.

@@ -64,4 +64,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

@@ -74,3 +73,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 CloudBillingClient({fallback: 'rest'}, gax);
* const client = new CloudBillingClient({fallback: true}, gax);
* ```

@@ -132,3 +131,3 @@ */

}
else if (opts.fallback === 'rest') {
else {
clientHeader.push(`rest/${this._gaxGrpc.grpcVersion}`);

@@ -135,0 +134,0 @@ }

@@ -61,4 +61,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

@@ -71,3 +70,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 CloudCatalogClient({fallback: 'rest'}, gax);
* const client = new CloudCatalogClient({fallback: true}, gax);
* ```

@@ -74,0 +73,0 @@ */

@@ -65,4 +65,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

@@ -75,3 +74,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 CloudCatalogClient({fallback: 'rest'}, gax);
* const client = new CloudCatalogClient({fallback: true}, gax);
* ```

@@ -133,3 +132,3 @@ */

}
else if (opts.fallback === 'rest') {
else {
clientHeader.push(`rest/${this._gaxGrpc.grpcVersion}`);

@@ -136,0 +135,0 @@ }

# Changelog
## [4.0.1](https://github.com/googleapis/google-cloud-node/compare/billing-v4.0.0...billing-v4.0.1) (2023-09-06)
### Bug Fixes
* [Many APIs] simplify logic for HTTP/1.1 REST fallback option ([#4584](https://github.com/googleapis/google-cloud-node/issues/4584)) ([13537fc](https://github.com/googleapis/google-cloud-node/commit/13537fcd6e3c552199d5057daf3b00c24033c908))
## [4.0.0](https://github.com/googleapis/google-cloud-node/compare/billing-v3.4.0...billing-v4.0.0) (2023-08-06)

@@ -4,0 +11,0 @@

{
"name": "@google-cloud/billing",
"version": "4.0.0",
"version": "4.0.1",
"description": "Billing client for Node.js",

@@ -45,4 +45,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",

@@ -49,0 +49,0 @@ "long": "^5.2.3",

@@ -112,3 +112,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

@@ -115,0 +115,0 @@ Node.js.

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc