@googleapis/servicecontrol 4.1.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 CHANGED
@@ -1,5 +1,37 @@
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
+
14
+ ## [4.2.0](https://github.com/googleapis/google-api-nodejs-client/compare/servicecontrol-v4.1.1...servicecontrol-v4.2.0) (2024-08-16)
15
+
16
+
17
+ ### Features
18
+
19
+ * **servicecontrol:** update the API ([8b55b29](https://github.com/googleapis/google-api-nodejs-client/commit/8b55b293b9d08057c4e006f7204ae00620b2816e))
20
+ * **servicecontrol:** update the API ([a366d52](https://github.com/googleapis/google-api-nodejs-client/commit/a366d52ca212b62356327a18b9f18c5846fea072))
21
+ * **servicecontrol:** update the API ([763243a](https://github.com/googleapis/google-api-nodejs-client/commit/763243a5a56fbc735a259bc8a0cd16046a9b5289))
22
+
23
+
24
+ ### Bug Fixes
25
+
26
+ * **servicecontrol:** update the API ([d92fe63](https://github.com/googleapis/google-api-nodejs-client/commit/d92fe6354f1e7136acedfd6d5d8f79e7b97b5605))
27
+
28
+ ## [4.1.1](https://github.com/googleapis/google-api-nodejs-client/compare/servicecontrol-v4.1.0...servicecontrol-v4.1.1) (2024-07-26)
29
+
30
+
31
+ ### Bug Fixes
32
+
33
+ * **servicecontrol:** update the API ([d92fe63](https://github.com/googleapis/google-api-nodejs-client/commit/d92fe6354f1e7136acedfd6d5d8f79e7b97b5605))
34
+
3
35
  ## [4.1.0](https://github.com/googleapis/google-api-nodejs-client/compare/servicecontrol-v4.0.0...servicecontrol-v4.1.0) (2024-05-07)
4
36
 
5
37
 
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 "abc.com/myattribute": true
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](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
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
  /**
@@ -841,13 +837,13 @@ export declare namespace servicecontrol_v1 {
841
837
  */
842
838
  export interface Schema$OrgPolicyViolationInfo {
843
839
  /**
844
- * Optional. Resource payload that is currently in scope and is subjected to orgpolicy conditions. This payload may be the subset of the actual Resource that may come in the request. This payload should not contain any core content.
840
+ * Optional. Deprecated. Resource payload that is currently in scope and is subjected to orgpolicy conditions. This payload may be the subset of the actual Resource that may come in the request.
845
841
  */
846
842
  payload?: {
847
843
  [key: string]: any;
848
844
  } | null;
849
845
  /**
850
- * Optional. Tags referenced on the resource at the time of evaluation. These also include the federated tags, if they are supplied in the CheckOrgPolicy or CheckCustomConstraints Requests. Optional field as of now. These tags are the Cloud tags that are available on the resource during the policy evaluation and will be available as part of the OrgPolicy check response for logging purposes.
846
+ * Optional. Deprecated. Tags referenced on the resource at the time of evaluation.
851
847
  */
852
848
  resourceTags?: {
853
849
  [key: string]: string;
@@ -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](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
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
  /**
@@ -1513,6 +1509,10 @@ export declare namespace servicecontrol_v1 {
1513
1509
  * Report v2 extension proto for passing the resource metadata associated with a resource create/update/delete/undelete event from ESF to Chemist. ResourceEvent proto should be serialized into the ReportRequest.operations.extensions.
1514
1510
  */
1515
1511
  export interface Schema$V1ResourceEvent {
1512
+ /**
1513
+ * The ESF unique context id of the api request, from which this resource event originated. This field is only needed for CAIS integration via api annotation. See go/cais-lro-delete for more details.
1514
+ */
1515
+ contextId?: string | null;
1516
1516
  /**
1517
1517
  * The destinations field determines which backend services should handle the event. This should be specified as a comma-delimited string.
1518
1518
  */
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
  */
@@ -353,13 +355,13 @@ export declare namespace servicecontrol_v2 {
353
355
  */
354
356
  export interface Schema$OrgPolicyViolationInfo {
355
357
  /**
356
- * Optional. Resource payload that is currently in scope and is subjected to orgpolicy conditions. This payload may be the subset of the actual Resource that may come in the request. This payload should not contain any core content.
358
+ * Optional. Deprecated. Resource payload that is currently in scope and is subjected to orgpolicy conditions. This payload may be the subset of the actual Resource that may come in the request.
357
359
  */
358
360
  payload?: {
359
361
  [key: string]: any;
360
362
  } | null;
361
363
  /**
362
- * Optional. Tags referenced on the resource at the time of evaluation. These also include the federated tags, if they are supplied in the CheckOrgPolicy or CheckCustomConstraints Requests. Optional field as of now. These tags are the Cloud tags that are available on the resource during the policy evaluation and will be available as part of the OrgPolicy check response for logging purposes.
364
+ * Optional. Deprecated. Tags referenced on the resource at the time of evaluation.
363
365
  */
364
366
  resourceTags?: {
365
367
  [key: string]: string;
@@ -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](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
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
  /**
@@ -895,6 +897,10 @@ export declare namespace servicecontrol_v2 {
895
897
  * Report v2 extension proto for passing the resource metadata associated with a resource create/update/delete/undelete event from ESF to Chemist. ResourceEvent proto should be serialized into the ReportRequest.operations.extensions.
896
898
  */
897
899
  export interface Schema$V2ResourceEvent {
900
+ /**
901
+ * The ESF unique context id of the api request, from which this resource event originated. This field is only needed for CAIS integration via api annotation. See go/cais-lro-delete for more details.
902
+ */
903
+ contextId?: string | null;
898
904
  /**
899
905
  * The destinations field determines which backend services should handle the event. This should be specified as a comma-delimited string.
900
906
  */
package/build/v2.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"v2.js","sourceRoot":"","sources":["../v2.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,uDAAuD;AACvD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,iBAAiB,CA2lCjC;AA3lCD,WAAiB,iBAAiB;IAgEhC;;;;;;;;;;OAUG;IACH,MAAa,cAAc;QAIzB,YAAY,OAAsB,EAAE,MAA2B;YAC7D,IAAI,CAAC,OAAO,GAAG;gBACb,QAAQ,EAAE,OAAO,IAAI,EAAE;gBACvB,MAAM;aACP,CAAC;YAEF,IAAI,CAAC,QAAQ,GAAG,IAAI,iBAAiB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACtD,CAAC;KACF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/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;IArLY,mCAAiB,oBAqL7B,CAAA;AAwBH,CAAC,EA/lCgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QA+lCjC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@googleapis/servicecontrol",
3
- "version": "4.1.0",
3
+ "version": "5.0.0",
4
4
  "description": "servicecontrol",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
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 "abc.com/myattribute": true
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](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
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
  /**
@@ -862,11 +858,11 @@ export namespace servicecontrol_v1 {
862
858
  */
863
859
  export interface Schema$OrgPolicyViolationInfo {
864
860
  /**
865
- * Optional. Resource payload that is currently in scope and is subjected to orgpolicy conditions. This payload may be the subset of the actual Resource that may come in the request. This payload should not contain any core content.
861
+ * Optional. Deprecated. Resource payload that is currently in scope and is subjected to orgpolicy conditions. This payload may be the subset of the actual Resource that may come in the request.
866
862
  */
867
863
  payload?: {[key: string]: any} | null;
868
864
  /**
869
- * Optional. Tags referenced on the resource at the time of evaluation. These also include the federated tags, if they are supplied in the CheckOrgPolicy or CheckCustomConstraints Requests. Optional field as of now. These tags are the Cloud tags that are available on the resource during the policy evaluation and will be available as part of the OrgPolicy check response for logging purposes.
865
+ * Optional. Deprecated. Tags referenced on the resource at the time of evaluation.
870
866
  */
871
867
  resourceTags?: {[key: string]: string} | null;
872
868
  /**
@@ -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](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
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
  /**
@@ -1504,6 +1500,10 @@ export namespace servicecontrol_v1 {
1504
1500
  * Report v2 extension proto for passing the resource metadata associated with a resource create/update/delete/undelete event from ESF to Chemist. ResourceEvent proto should be serialized into the ReportRequest.operations.extensions.
1505
1501
  */
1506
1502
  export interface Schema$V1ResourceEvent {
1503
+ /**
1504
+ * The ESF unique context id of the api request, from which this resource event originated. This field is only needed for CAIS integration via api annotation. See go/cais-lro-delete for more details.
1505
+ */
1506
+ contextId?: string | null;
1507
1507
  /**
1508
1508
  * The destinations field determines which backend services should handle the event. This should be specified as a comma-delimited string.
1509
1509
  */
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
  */
@@ -386,11 +386,11 @@ export namespace servicecontrol_v2 {
386
386
  */
387
387
  export interface Schema$OrgPolicyViolationInfo {
388
388
  /**
389
- * Optional. Resource payload that is currently in scope and is subjected to orgpolicy conditions. This payload may be the subset of the actual Resource that may come in the request. This payload should not contain any core content.
389
+ * Optional. Deprecated. Resource payload that is currently in scope and is subjected to orgpolicy conditions. This payload may be the subset of the actual Resource that may come in the request.
390
390
  */
391
391
  payload?: {[key: string]: any} | null;
392
392
  /**
393
- * Optional. Tags referenced on the resource at the time of evaluation. These also include the federated tags, if they are supplied in the CheckOrgPolicy or CheckCustomConstraints Requests. Optional field as of now. These tags are the Cloud tags that are available on the resource during the policy evaluation and will be available as part of the OrgPolicy check response for logging purposes.
393
+ * Optional. Deprecated. Tags referenced on the resource at the time of evaluation.
394
394
  */
395
395
  resourceTags?: {[key: string]: string} | null;
396
396
  /**
@@ -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](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
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
  /**
@@ -898,6 +898,10 @@ export namespace servicecontrol_v2 {
898
898
  * Report v2 extension proto for passing the resource metadata associated with a resource create/update/delete/undelete event from ESF to Chemist. ResourceEvent proto should be serialized into the ReportRequest.operations.extensions.
899
899
  */
900
900
  export interface Schema$V2ResourceEvent {
901
+ /**
902
+ * The ESF unique context id of the api request, from which this resource event originated. This field is only needed for CAIS integration via api annotation. See go/cais-lro-delete for more details.
903
+ */
904
+ contextId?: string | null;
901
905
  /**
902
906
  * The destinations field determines which backend services should handle the event. This should be specified as a comma-delimited string.
903
907
  */