@google-cloud/resource-settings
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -38,8 +38,10 @@ { | ||
"GetSetting": { | ||
"retry_codes_name": "non_idempotent", | ||
"retry_params_name": "default" | ||
"timeout_millis": 60000, | ||
"retry_codes_name": "idempotent", | ||
"retry_params_name": "ce5b960a6ed052e690863808e4f0deff3dc7d49f" | ||
}, | ||
"UpdateSetting": { | ||
"retry_codes_name": "non_idempotent", | ||
"retry_params_name": "default" | ||
"timeout_millis": 60000, | ||
"retry_codes_name": "idempotent", | ||
"retry_params_name": "ce5b960a6ed052e690863808e4f0deff3dc7d49f" | ||
} | ||
@@ -46,0 +48,0 @@ } |
@@ -25,2 +25,3 @@ /// <reference types="node" /> | ||
private _opts; | ||
private _providedCustomServicePath; | ||
private _gaxModule; | ||
@@ -32,2 +33,3 @@ private _gaxGrpc; | ||
descriptors: Descriptors; | ||
warn: (code: string, message: string, warnType?: string) => void; | ||
innerApiCalls: { | ||
@@ -34,0 +36,0 @@ [name: string]: Function; |
@@ -95,2 +95,3 @@ "use strict"; | ||
const servicePath = (opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint) || staticMembers.servicePath; | ||
this._providedCustomServicePath = !!((opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint)); | ||
const port = (opts === null || opts === void 0 ? void 0 : opts.port) || staticMembers.port; | ||
@@ -155,2 +156,4 @@ const clientConfig = (_a = opts === null || opts === void 0 ? void 0 : opts.clientConfig) !== null && _a !== void 0 ? _a : {}; | ||
this.innerApiCalls = {}; | ||
// Add a warn function to the client constructor so it can be easily tested. | ||
this.warn = gax.warn; | ||
} | ||
@@ -179,3 +182,3 @@ /** | ||
this._protos.google.cloud.resourcesettings.v1 | ||
.ResourceSettingsService, this._opts); | ||
.ResourceSettingsService, this._opts, this._providedCustomServicePath); | ||
// Iterate over each of the methods that the service provides | ||
@@ -182,0 +185,0 @@ // and create an API call method for each. |
# Changelog | ||
### [1.0.2](https://www.github.com/googleapis/nodejs-resource-settings/compare/v1.0.1...v1.0.2) (2021-08-17) | ||
### Bug Fixes | ||
* **deps:** google-gax v2.24.1 ([#20](https://www.github.com/googleapis/nodejs-resource-settings/issues/20)) ([2b6dfc5](https://www.github.com/googleapis/nodejs-resource-settings/commit/2b6dfc5bd40a6cc101f1d6799dcd6b60123ac540)) | ||
### [1.0.1](https://www.github.com/googleapis/nodejs-resource-settings/compare/v1.0.0...v1.0.1) (2021-07-12) | ||
@@ -4,0 +11,0 @@ |
{ | ||
"name": "@google-cloud/resource-settings", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "resourcesettings client for Node.js", | ||
@@ -42,6 +42,6 @@ "repository": "googleapis/nodejs-resource-settings", | ||
"dependencies": { | ||
"google-gax": "^2.17.1" | ||
"google-gax": "^2.24.1" | ||
}, | ||
"devDependencies": { | ||
"@types/mocha": "^8.2.2", | ||
"@types/mocha": "^9.0.0", | ||
"@types/node": "^14.14.44", | ||
@@ -48,0 +48,0 @@ "@types/sinon": "^10.0.0", |
@@ -148,3 +148,3 @@ [//]: # "This README.md file is auto-generated, all changes to this file will be lost." | ||
[client-docs]: https://googleapis.dev/nodejs/dataflow/latest/index.html | ||
[client-docs]: https://cloud.google.com/nodejs/docs/reference/resource-settings/latest | ||
[product-docs]: https://cloud.google.com/resource-manager/docs/reference/resource-settings/rest | ||
@@ -151,0 +151,0 @@ [shell_img]: https://gstatic.com/cloudssh/images/open-btn.png |
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
1079200
18277
Updatedgoogle-gax@^2.24.1