@googleapis/servicecontrol 4.2.0 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/build/v1.d.ts +3 -7
- package/build/v1.js.map +1 -1
- package/build/v2.d.ts +7 -5
- package/package.json +1 -1
- package/v1.ts +3 -7
- package/v2.ts +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [5.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/servicecontrol-v4.2.0...servicecontrol-v5.0.0) (2025-02-04)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### ⚠ BREAKING CHANGES
|
|
7
|
+
|
|
8
|
+
* **servicecontrol:** This release has breaking changes.
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* **servicecontrol:** update the API ([63c47c4](https://github.com/googleapis/google-api-nodejs-client/commit/63c47c4cd85d7a564ca30d010251a4ab9bc7e474))
|
|
13
|
+
|
|
3
14
|
## [4.2.0](https://github.com/googleapis/google-api-nodejs-client/compare/servicecontrol-v4.1.1...servicecontrol-v4.2.0) (2024-08-16)
|
|
4
15
|
|
|
5
16
|
|
package/build/v1.d.ts
CHANGED
|
@@ -120,7 +120,7 @@ export declare namespace servicecontrol_v1 {
|
|
|
120
120
|
*/
|
|
121
121
|
export interface Schema$Attributes {
|
|
122
122
|
/**
|
|
123
|
-
* The set of attributes. Each attribute's key can be up to 128 bytes long. The value can be a string up to 256 bytes, a signed 64-bit integer, or the Boolean values `true` and `false`. For example: "/instance_id": "my-instance" "/http/user_agent": "" "/http/request_bytes": 300 "
|
|
123
|
+
* The set of attributes. Each attribute's key can be up to 128 bytes long. The value can be a string up to 256 bytes, a signed 64-bit integer, or the Boolean values `true` and `false`. For example: "/instance_id": "my-instance" "/http/user_agent": "" "/http/request_bytes": 300 "example.com/myattribute": true
|
|
124
124
|
*/
|
|
125
125
|
attributeMap?: {
|
|
126
126
|
[key: string]: Schema$AttributeValue;
|
|
@@ -240,10 +240,6 @@ export declare namespace servicecontrol_v1 {
|
|
|
240
240
|
claims?: {
|
|
241
241
|
[key: string]: any;
|
|
242
242
|
} | null;
|
|
243
|
-
/**
|
|
244
|
-
* Identifies the client credential id used for authentication. credential_id is in the format of AUTH_METHOD:IDENTIFIER, e.g. "serviceaccount:XXXXX, apikey:XXXXX" where the format of the IDENTIFIER can vary for different AUTH_METHODs.
|
|
245
|
-
*/
|
|
246
|
-
credentialId?: string | null;
|
|
247
243
|
/**
|
|
248
244
|
* The authorized presenter of the credential. Reflects the optional Authorized Presenter (`azp`) claim within a JWT or the OAuth client id. For example, a Google Cloud Platform client id looks as follows: "123456789012.apps.googleusercontent.com".
|
|
249
245
|
*/
|
|
@@ -552,7 +548,7 @@ export declare namespace servicecontrol_v1 {
|
|
|
552
548
|
*/
|
|
553
549
|
protocol?: string | null;
|
|
554
550
|
/**
|
|
555
|
-
* The referer URL of the request, as defined in [HTTP/1.1 Header Field Definitions](
|
|
551
|
+
* The referer URL of the request, as defined in [HTTP/1.1 Header Field Definitions](https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
|
|
556
552
|
*/
|
|
557
553
|
referer?: string | null;
|
|
558
554
|
/**
|
|
@@ -1370,7 +1366,7 @@ export declare namespace servicecontrol_v1 {
|
|
|
1370
1366
|
*/
|
|
1371
1367
|
protocol?: string | null;
|
|
1372
1368
|
/**
|
|
1373
|
-
* The referer URL of the request, as defined in [HTTP/1.1 Header Field Definitions](
|
|
1369
|
+
* The referer URL of the request, as defined in [HTTP/1.1 Header Field Definitions](https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
|
|
1374
1370
|
*/
|
|
1375
1371
|
referer?: string | null;
|
|
1376
1372
|
/**
|
package/build/v1.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1.js","sourceRoot":"","sources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M,UAAU,GAAG;gBACjB,OAAO,EAAE,MAAM,CAAC,MAAM,CACpB;oBACE,GAAG,EAAE,CAAC,OAAO,GAAG,mCAAmC,CAAC,CAAC,OAAO,CAC1D,cAAc,EACd,IAAI,CACL;oBACD,MAAM,EAAE,MAAM;oBACd,UAAU,EAAE,EAAE;iBACf,EACD,OAAO,CACR;gBACD,MAAM;gBACN,cAAc,EAAE,CAAC,aAAa,CAAC;gBAC/B,UAAU,EAAE,CAAC,aAAa,CAAC;gBAC3B,OAAO,EAAE,IAAI,CAAC,OAAO;aACtB,CAAC;YACF,IAAI,QAAQ,EAAE;gBACZ,IAAA,oCAAgB,EACd,UAAU,EACV,QAAyC,CAC1C,CAAC;aACH;iBAAM;gBACL,OAAO,IAAA,oCAAgB,EAAwB,UAAU,CAAC,CAAC;aAC5D;QACH,CAAC;KACF;IArRY,mCAAiB,oBAqR7B,CAAA;AAoCH,CAAC,EAryDgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAqyDjC"}
|
package/build/v2.d.ts
CHANGED
|
@@ -224,10 +224,6 @@ export declare namespace servicecontrol_v2 {
|
|
|
224
224
|
claims?: {
|
|
225
225
|
[key: string]: any;
|
|
226
226
|
} | null;
|
|
227
|
-
/**
|
|
228
|
-
* Identifies the client credential id used for authentication. credential_id is in the format of AUTH_METHOD:IDENTIFIER, e.g. "serviceaccount:XXXXX, apikey:XXXXX" where the format of the IDENTIFIER can vary for different AUTH_METHODs.
|
|
229
|
-
*/
|
|
230
|
-
credentialId?: string | null;
|
|
231
227
|
/**
|
|
232
228
|
* The authorized presenter of the credential. Reflects the optional Authorized Presenter (`azp`) claim within a JWT or the OAuth client id. For example, a Google Cloud Platform client id looks as follows: "123456789012.apps.googleusercontent.com".
|
|
233
229
|
*/
|
|
@@ -322,6 +318,12 @@ export declare namespace servicecontrol_v2 {
|
|
|
322
318
|
* Response message for the Check method.
|
|
323
319
|
*/
|
|
324
320
|
export interface Schema$CheckResponse {
|
|
321
|
+
/**
|
|
322
|
+
* Optional response metadata that will be emitted as dynamic metadata to be consumed by the caller of ServiceController. For compatibility with the ext_authz interface.
|
|
323
|
+
*/
|
|
324
|
+
dynamicMetadata?: {
|
|
325
|
+
[key: string]: any;
|
|
326
|
+
} | null;
|
|
325
327
|
/**
|
|
326
328
|
* Returns a set of request contexts generated from the `CheckRequest`.
|
|
327
329
|
*/
|
|
@@ -752,7 +754,7 @@ export declare namespace servicecontrol_v2 {
|
|
|
752
754
|
*/
|
|
753
755
|
protocol?: string | null;
|
|
754
756
|
/**
|
|
755
|
-
* The referer URL of the request, as defined in [HTTP/1.1 Header Field Definitions](
|
|
757
|
+
* The referer URL of the request, as defined in [HTTP/1.1 Header Field Definitions](https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
|
|
756
758
|
*/
|
|
757
759
|
referer?: string | null;
|
|
758
760
|
/**
|
package/package.json
CHANGED
package/v1.ts
CHANGED
|
@@ -173,7 +173,7 @@ export namespace servicecontrol_v1 {
|
|
|
173
173
|
*/
|
|
174
174
|
export interface Schema$Attributes {
|
|
175
175
|
/**
|
|
176
|
-
* The set of attributes. Each attribute's key can be up to 128 bytes long. The value can be a string up to 256 bytes, a signed 64-bit integer, or the Boolean values `true` and `false`. For example: "/instance_id": "my-instance" "/http/user_agent": "" "/http/request_bytes": 300 "
|
|
176
|
+
* The set of attributes. Each attribute's key can be up to 128 bytes long. The value can be a string up to 256 bytes, a signed 64-bit integer, or the Boolean values `true` and `false`. For example: "/instance_id": "my-instance" "/http/user_agent": "" "/http/request_bytes": 300 "example.com/myattribute": true
|
|
177
177
|
*/
|
|
178
178
|
attributeMap?: {[key: string]: Schema$AttributeValue} | null;
|
|
179
179
|
/**
|
|
@@ -279,10 +279,6 @@ export namespace servicecontrol_v1 {
|
|
|
279
279
|
* Structured claims presented with the credential. JWTs include `{key: value\}` pairs for standard and private claims. The following is a subset of the standard required and optional claims that would typically be presented for a Google-based JWT: {'iss': 'accounts.google.com', 'sub': '113289723416554971153', 'aud': ['123456789012', 'pubsub.googleapis.com'], 'azp': '123456789012.apps.googleusercontent.com', 'email': 'jsmith@example.com', 'iat': 1353601026, 'exp': 1353604926\} SAML assertions are similarly specified, but with an identity provider dependent structure.
|
|
280
280
|
*/
|
|
281
281
|
claims?: {[key: string]: any} | null;
|
|
282
|
-
/**
|
|
283
|
-
* Identifies the client credential id used for authentication. credential_id is in the format of AUTH_METHOD:IDENTIFIER, e.g. "serviceaccount:XXXXX, apikey:XXXXX" where the format of the IDENTIFIER can vary for different AUTH_METHODs.
|
|
284
|
-
*/
|
|
285
|
-
credentialId?: string | null;
|
|
286
282
|
/**
|
|
287
283
|
* The authorized presenter of the credential. Reflects the optional Authorized Presenter (`azp`) claim within a JWT or the OAuth client id. For example, a Google Cloud Platform client id looks as follows: "123456789012.apps.googleusercontent.com".
|
|
288
284
|
*/
|
|
@@ -585,7 +581,7 @@ export namespace servicecontrol_v1 {
|
|
|
585
581
|
*/
|
|
586
582
|
protocol?: string | null;
|
|
587
583
|
/**
|
|
588
|
-
* The referer URL of the request, as defined in [HTTP/1.1 Header Field Definitions](
|
|
584
|
+
* The referer URL of the request, as defined in [HTTP/1.1 Header Field Definitions](https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
|
|
589
585
|
*/
|
|
590
586
|
referer?: string | null;
|
|
591
587
|
/**
|
|
@@ -1369,7 +1365,7 @@ export namespace servicecontrol_v1 {
|
|
|
1369
1365
|
*/
|
|
1370
1366
|
protocol?: string | null;
|
|
1371
1367
|
/**
|
|
1372
|
-
* The referer URL of the request, as defined in [HTTP/1.1 Header Field Definitions](
|
|
1368
|
+
* The referer URL of the request, as defined in [HTTP/1.1 Header Field Definitions](https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
|
|
1373
1369
|
*/
|
|
1374
1370
|
referer?: string | null;
|
|
1375
1371
|
/**
|
package/v2.ts
CHANGED
|
@@ -263,10 +263,6 @@ export namespace servicecontrol_v2 {
|
|
|
263
263
|
* Structured claims presented with the credential. JWTs include `{key: value\}` pairs for standard and private claims. The following is a subset of the standard required and optional claims that would typically be presented for a Google-based JWT: {'iss': 'accounts.google.com', 'sub': '113289723416554971153', 'aud': ['123456789012', 'pubsub.googleapis.com'], 'azp': '123456789012.apps.googleusercontent.com', 'email': 'jsmith@example.com', 'iat': 1353601026, 'exp': 1353604926\} SAML assertions are similarly specified, but with an identity provider dependent structure.
|
|
264
264
|
*/
|
|
265
265
|
claims?: {[key: string]: any} | null;
|
|
266
|
-
/**
|
|
267
|
-
* Identifies the client credential id used for authentication. credential_id is in the format of AUTH_METHOD:IDENTIFIER, e.g. "serviceaccount:XXXXX, apikey:XXXXX" where the format of the IDENTIFIER can vary for different AUTH_METHODs.
|
|
268
|
-
*/
|
|
269
|
-
credentialId?: string | null;
|
|
270
266
|
/**
|
|
271
267
|
* The authorized presenter of the credential. Reflects the optional Authorized Presenter (`azp`) claim within a JWT or the OAuth client id. For example, a Google Cloud Platform client id looks as follows: "123456789012.apps.googleusercontent.com".
|
|
272
268
|
*/
|
|
@@ -359,6 +355,10 @@ export namespace servicecontrol_v2 {
|
|
|
359
355
|
* Response message for the Check method.
|
|
360
356
|
*/
|
|
361
357
|
export interface Schema$CheckResponse {
|
|
358
|
+
/**
|
|
359
|
+
* Optional response metadata that will be emitted as dynamic metadata to be consumed by the caller of ServiceController. For compatibility with the ext_authz interface.
|
|
360
|
+
*/
|
|
361
|
+
dynamicMetadata?: {[key: string]: any} | null;
|
|
362
362
|
/**
|
|
363
363
|
* Returns a set of request contexts generated from the `CheckRequest`.
|
|
364
364
|
*/
|
|
@@ -763,7 +763,7 @@ export namespace servicecontrol_v2 {
|
|
|
763
763
|
*/
|
|
764
764
|
protocol?: string | null;
|
|
765
765
|
/**
|
|
766
|
-
* The referer URL of the request, as defined in [HTTP/1.1 Header Field Definitions](
|
|
766
|
+
* The referer URL of the request, as defined in [HTTP/1.1 Header Field Definitions](https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
|
|
767
767
|
*/
|
|
768
768
|
referer?: string | null;
|
|
769
769
|
/**
|