@google-cloud/gke-connect-gateway
Advanced tools
Comparing version 3.1.0 to 3.2.0
@@ -325,2 +325,6 @@ { | ||
"id": 109 | ||
}, | ||
"protoReferenceDocumentationUri": { | ||
"type": "string", | ||
"id": 110 | ||
} | ||
@@ -383,2 +387,27 @@ } | ||
"id": 1 | ||
}, | ||
"renamedServices": { | ||
"keyType": "string", | ||
"type": "string", | ||
"id": 2 | ||
}, | ||
"renamedResources": { | ||
"keyType": "string", | ||
"type": "string", | ||
"id": 3 | ||
}, | ||
"ignoredResources": { | ||
"rule": "repeated", | ||
"type": "string", | ||
"id": 4 | ||
}, | ||
"forcedNamespaceAliases": { | ||
"rule": "repeated", | ||
"type": "string", | ||
"id": 5 | ||
}, | ||
"handwrittenSignatures": { | ||
"rule": "repeated", | ||
"type": "string", | ||
"id": 6 | ||
} | ||
@@ -412,2 +441,7 @@ } | ||
"id": 2 | ||
}, | ||
"autoPopulatedFields": { | ||
"rule": "repeated", | ||
"type": "string", | ||
"id": 3 | ||
} | ||
@@ -444,3 +478,6 @@ }, | ||
"PHOTOS": 3, | ||
"STREET_VIEW": 4 | ||
"STREET_VIEW": 4, | ||
"SHOPPING": 5, | ||
"GEO": 6, | ||
"GENERATIVE_AI": 7 | ||
} | ||
@@ -506,2 +543,17 @@ }, | ||
}, | ||
"Edition": { | ||
"values": { | ||
"EDITION_UNKNOWN": 0, | ||
"EDITION_PROTO2": 998, | ||
"EDITION_PROTO3": 999, | ||
"EDITION_2023": 1000, | ||
"EDITION_2024": 1001, | ||
"EDITION_1_TEST_ONLY": 1, | ||
"EDITION_2_TEST_ONLY": 2, | ||
"EDITION_99997_TEST_ONLY": 99997, | ||
"EDITION_99998_TEST_ONLY": 99998, | ||
"EDITION_99999_TEST_ONLY": 99999, | ||
"EDITION_MAX": 2147483647 | ||
} | ||
}, | ||
"FileDescriptorProto": { | ||
@@ -571,4 +623,4 @@ "fields": { | ||
"edition": { | ||
"type": "string", | ||
"id": 13 | ||
"type": "Edition", | ||
"id": 14 | ||
} | ||
@@ -665,2 +717,22 @@ } | ||
"id": 999 | ||
}, | ||
"declaration": { | ||
"rule": "repeated", | ||
"type": "Declaration", | ||
"id": 2, | ||
"options": { | ||
"retention": "RETENTION_SOURCE" | ||
} | ||
}, | ||
"features": { | ||
"type": "FeatureSet", | ||
"id": 50 | ||
}, | ||
"verification": { | ||
"type": "VerificationState", | ||
"id": 3, | ||
"options": { | ||
"default": "UNVERIFIED", | ||
"retention": "RETENTION_SOURCE" | ||
} | ||
} | ||
@@ -673,3 +745,41 @@ }, | ||
] | ||
] | ||
], | ||
"nested": { | ||
"Declaration": { | ||
"fields": { | ||
"number": { | ||
"type": "int32", | ||
"id": 1 | ||
}, | ||
"fullName": { | ||
"type": "string", | ||
"id": 2 | ||
}, | ||
"type": { | ||
"type": "string", | ||
"id": 3 | ||
}, | ||
"reserved": { | ||
"type": "bool", | ||
"id": 5 | ||
}, | ||
"repeated": { | ||
"type": "bool", | ||
"id": 6 | ||
} | ||
}, | ||
"reserved": [ | ||
[ | ||
4, | ||
4 | ||
] | ||
] | ||
}, | ||
"VerificationState": { | ||
"values": { | ||
"DECLARATION": 0, | ||
"UNVERIFIED": 1 | ||
} | ||
} | ||
} | ||
}, | ||
@@ -749,4 +859,4 @@ "FieldDescriptorProto": { | ||
"LABEL_OPTIONAL": 1, | ||
"LABEL_REQUIRED": 2, | ||
"LABEL_REPEATED": 3 | ||
"LABEL_REPEATED": 3, | ||
"LABEL_REQUIRED": 2 | ||
} | ||
@@ -939,9 +1049,2 @@ } | ||
}, | ||
"phpGenericServices": { | ||
"type": "bool", | ||
"id": 42, | ||
"options": { | ||
"default": false | ||
} | ||
}, | ||
"deprecated": { | ||
@@ -989,2 +1092,6 @@ "type": "bool", | ||
}, | ||
"features": { | ||
"type": "FeatureSet", | ||
"id": 50 | ||
}, | ||
"uninterpretedOption": { | ||
@@ -1004,2 +1111,6 @@ "rule": "repeated", | ||
[ | ||
42, | ||
42 | ||
], | ||
[ | ||
38, | ||
@@ -1053,2 +1164,6 @@ 38 | ||
}, | ||
"features": { | ||
"type": "FeatureSet", | ||
"id": 12 | ||
}, | ||
"uninterpretedOption": { | ||
@@ -1148,6 +1263,19 @@ "rule": "repeated", | ||
}, | ||
"target": { | ||
"targets": { | ||
"rule": "repeated", | ||
"type": "OptionTargetType", | ||
"id": 18 | ||
"id": 19, | ||
"options": { | ||
"packed": false | ||
} | ||
}, | ||
"editionDefaults": { | ||
"rule": "repeated", | ||
"type": "EditionDefault", | ||
"id": 20 | ||
}, | ||
"features": { | ||
"type": "FeatureSet", | ||
"id": 21 | ||
}, | ||
"uninterpretedOption": { | ||
@@ -1169,2 +1297,6 @@ "rule": "repeated", | ||
4 | ||
], | ||
[ | ||
18, | ||
18 | ||
] | ||
@@ -1207,2 +1339,14 @@ ], | ||
} | ||
}, | ||
"EditionDefault": { | ||
"fields": { | ||
"edition": { | ||
"type": "Edition", | ||
"id": 3 | ||
}, | ||
"value": { | ||
"type": "string", | ||
"id": 2 | ||
} | ||
} | ||
} | ||
@@ -1213,2 +1357,6 @@ } | ||
"fields": { | ||
"features": { | ||
"type": "FeatureSet", | ||
"id": 1 | ||
}, | ||
"uninterpretedOption": { | ||
@@ -1247,2 +1395,6 @@ "rule": "repeated", | ||
}, | ||
"features": { | ||
"type": "FeatureSet", | ||
"id": 7 | ||
}, | ||
"uninterpretedOption": { | ||
@@ -1276,2 +1428,13 @@ "rule": "repeated", | ||
}, | ||
"features": { | ||
"type": "FeatureSet", | ||
"id": 2 | ||
}, | ||
"debugRedact": { | ||
"type": "bool", | ||
"id": 3, | ||
"options": { | ||
"default": false | ||
} | ||
}, | ||
"uninterpretedOption": { | ||
@@ -1292,2 +1455,6 @@ "rule": "repeated", | ||
"fields": { | ||
"features": { | ||
"type": "FeatureSet", | ||
"id": 34 | ||
}, | ||
"deprecated": { | ||
@@ -1329,2 +1496,6 @@ "type": "bool", | ||
}, | ||
"features": { | ||
"type": "FeatureSet", | ||
"id": 35 | ||
}, | ||
"uninterpretedOption": { | ||
@@ -1401,2 +1572,162 @@ "rule": "repeated", | ||
}, | ||
"FeatureSet": { | ||
"fields": { | ||
"fieldPresence": { | ||
"type": "FieldPresence", | ||
"id": 1, | ||
"options": { | ||
"retention": "RETENTION_RUNTIME", | ||
"targets": "TARGET_TYPE_FILE", | ||
"edition_defaults.edition": "EDITION_2023", | ||
"edition_defaults.value": "EXPLICIT" | ||
} | ||
}, | ||
"enumType": { | ||
"type": "EnumType", | ||
"id": 2, | ||
"options": { | ||
"retention": "RETENTION_RUNTIME", | ||
"targets": "TARGET_TYPE_FILE", | ||
"edition_defaults.edition": "EDITION_PROTO3", | ||
"edition_defaults.value": "OPEN" | ||
} | ||
}, | ||
"repeatedFieldEncoding": { | ||
"type": "RepeatedFieldEncoding", | ||
"id": 3, | ||
"options": { | ||
"retention": "RETENTION_RUNTIME", | ||
"targets": "TARGET_TYPE_FILE", | ||
"edition_defaults.edition": "EDITION_PROTO3", | ||
"edition_defaults.value": "PACKED" | ||
} | ||
}, | ||
"utf8Validation": { | ||
"type": "Utf8Validation", | ||
"id": 4, | ||
"options": { | ||
"retention": "RETENTION_RUNTIME", | ||
"targets": "TARGET_TYPE_FILE", | ||
"edition_defaults.edition": "EDITION_PROTO3", | ||
"edition_defaults.value": "VERIFY" | ||
} | ||
}, | ||
"messageEncoding": { | ||
"type": "MessageEncoding", | ||
"id": 5, | ||
"options": { | ||
"retention": "RETENTION_RUNTIME", | ||
"targets": "TARGET_TYPE_FILE", | ||
"edition_defaults.edition": "EDITION_PROTO2", | ||
"edition_defaults.value": "LENGTH_PREFIXED" | ||
} | ||
}, | ||
"jsonFormat": { | ||
"type": "JsonFormat", | ||
"id": 6, | ||
"options": { | ||
"retention": "RETENTION_RUNTIME", | ||
"targets": "TARGET_TYPE_FILE", | ||
"edition_defaults.edition": "EDITION_PROTO3", | ||
"edition_defaults.value": "ALLOW" | ||
} | ||
} | ||
}, | ||
"extensions": [ | ||
[ | ||
1000, | ||
1000 | ||
], | ||
[ | ||
1001, | ||
1001 | ||
], | ||
[ | ||
9995, | ||
9999 | ||
] | ||
], | ||
"reserved": [ | ||
[ | ||
999, | ||
999 | ||
] | ||
], | ||
"nested": { | ||
"FieldPresence": { | ||
"values": { | ||
"FIELD_PRESENCE_UNKNOWN": 0, | ||
"EXPLICIT": 1, | ||
"IMPLICIT": 2, | ||
"LEGACY_REQUIRED": 3 | ||
} | ||
}, | ||
"EnumType": { | ||
"values": { | ||
"ENUM_TYPE_UNKNOWN": 0, | ||
"OPEN": 1, | ||
"CLOSED": 2 | ||
} | ||
}, | ||
"RepeatedFieldEncoding": { | ||
"values": { | ||
"REPEATED_FIELD_ENCODING_UNKNOWN": 0, | ||
"PACKED": 1, | ||
"EXPANDED": 2 | ||
} | ||
}, | ||
"Utf8Validation": { | ||
"values": { | ||
"UTF8_VALIDATION_UNKNOWN": 0, | ||
"VERIFY": 2, | ||
"NONE": 3 | ||
} | ||
}, | ||
"MessageEncoding": { | ||
"values": { | ||
"MESSAGE_ENCODING_UNKNOWN": 0, | ||
"LENGTH_PREFIXED": 1, | ||
"DELIMITED": 2 | ||
} | ||
}, | ||
"JsonFormat": { | ||
"values": { | ||
"JSON_FORMAT_UNKNOWN": 0, | ||
"ALLOW": 1, | ||
"LEGACY_BEST_EFFORT": 2 | ||
} | ||
} | ||
} | ||
}, | ||
"FeatureSetDefaults": { | ||
"fields": { | ||
"defaults": { | ||
"rule": "repeated", | ||
"type": "FeatureSetEditionDefault", | ||
"id": 1 | ||
}, | ||
"minimumEdition": { | ||
"type": "Edition", | ||
"id": 4 | ||
}, | ||
"maximumEdition": { | ||
"type": "Edition", | ||
"id": 5 | ||
} | ||
}, | ||
"nested": { | ||
"FeatureSetEditionDefault": { | ||
"fields": { | ||
"edition": { | ||
"type": "Edition", | ||
"id": 3 | ||
}, | ||
"features": { | ||
"type": "FeatureSet", | ||
"id": 2 | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"SourceCodeInfo": { | ||
@@ -1403,0 +1734,0 @@ "fields": { |
@@ -79,3 +79,3 @@ "use strict"; | ||
constructor(opts, gaxInstance) { | ||
var _a, _b, _c, _d; | ||
var _a, _b, _c, _d, _e; | ||
this._terminated = false; | ||
@@ -95,4 +95,7 @@ this.descriptors = { | ||
} | ||
const universeDomainEnvVar = typeof process === 'object' && typeof process.env === 'object' | ||
? process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN'] | ||
: undefined; | ||
this._universeDomain = | ||
(_b = (_a = opts === null || opts === void 0 ? void 0 : opts.universeDomain) !== null && _a !== void 0 ? _a : opts === null || opts === void 0 ? void 0 : opts.universe_domain) !== null && _b !== void 0 ? _b : 'googleapis.com'; | ||
(_c = (_b = (_a = opts === null || opts === void 0 ? void 0 : opts.universeDomain) !== null && _a !== void 0 ? _a : opts === null || opts === void 0 ? void 0 : opts.universe_domain) !== null && _b !== void 0 ? _b : universeDomainEnvVar) !== null && _c !== void 0 ? _c : 'googleapis.com'; | ||
this._servicePath = 'connectgateway.' + this._universeDomain; | ||
@@ -102,4 +105,4 @@ const servicePath = (opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint) || this._servicePath; | ||
const port = (opts === null || opts === void 0 ? void 0 : opts.port) || staticMembers.port; | ||
const clientConfig = (_c = opts === null || opts === void 0 ? void 0 : opts.clientConfig) !== null && _c !== void 0 ? _c : {}; | ||
const fallback = (_d = opts === null || opts === void 0 ? void 0 : opts.fallback) !== null && _d !== void 0 ? _d : (typeof window !== 'undefined' && typeof (window === null || window === void 0 ? void 0 : window.fetch) === 'function'); | ||
const clientConfig = (_d = opts === null || opts === void 0 ? void 0 : opts.clientConfig) !== null && _d !== void 0 ? _d : {}; | ||
const fallback = (_e = opts === null || opts === void 0 ? void 0 : opts.fallback) !== null && _e !== void 0 ? _e : (typeof window !== 'undefined' && typeof (window === null || window === void 0 ? void 0 : window.fetch) === 'function'); | ||
opts = Object.assign({ servicePath, port, clientConfig, fallback }, opts); | ||
@@ -132,3 +135,3 @@ // If scopes are unset in options and we're connecting to a non-default endpoint, set scopes just in case. | ||
const clientHeader = [`gax/${this._gaxModule.version}`, `gapic/${version}`]; | ||
if (typeof process !== 'undefined' && 'versions' in process) { | ||
if (typeof process === 'object' && 'versions' in process) { | ||
clientHeader.push(`gl-node/${process.versions.node}`); | ||
@@ -213,3 +216,3 @@ } | ||
static get servicePath() { | ||
if (typeof process !== undefined && | ||
if (typeof process === 'object' && | ||
typeof process.emitWarning === 'function') { | ||
@@ -226,3 +229,3 @@ process.emitWarning('Static servicePath is deprecated, please use the instance method instead.', 'DeprecationWarning'); | ||
static get apiEndpoint() { | ||
if (typeof process !== undefined && | ||
if (typeof process === 'object' && | ||
typeof process.emitWarning === 'function') { | ||
@@ -229,0 +232,0 @@ process.emitWarning('Static apiEndpoint is deprecated, please use the instance method instead.', 'DeprecationWarning'); |
# Changelog | ||
## [3.2.0](https://github.com/googleapis/google-cloud-node/compare/gke-connect-gateway-v3.1.0...gke-connect-gateway-v3.2.0) (2024-04-16) | ||
### Features | ||
* [Many APIs] add several fields to manage state of database encryption update ([#5188](https://github.com/googleapis/google-cloud-node/issues/5188)) ([c5ccdf9](https://github.com/googleapis/google-cloud-node/commit/c5ccdf93641e7bb6d0e5c636168fad0feafab6e3)) | ||
## [3.1.0](https://github.com/googleapis/google-cloud-node/compare/gke-connect-gateway-v3.0.1...gke-connect-gateway-v3.1.0) (2024-02-09) | ||
@@ -4,0 +11,0 @@ |
{ | ||
"name": "@google-cloud/gke-connect-gateway", | ||
"version": "3.1.0", | ||
"version": "3.2.0", | ||
"description": "apigateway client for Node.js", | ||
@@ -55,4 +55,4 @@ "repository": { | ||
"@types/sinon": "^17.0.0", | ||
"c8": "^8.0.1", | ||
"gapic-tools": "^0.3.0", | ||
"c8": "^9.0.0", | ||
"gapic-tools": "^0.4.0", | ||
"gts": "^5.0.0", | ||
@@ -59,0 +59,0 @@ "jsdoc": "^4.0.0", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances 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
1380491
24534
2