@googleapis/servicecontrol 4.0.0 → 4.2.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,33 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.2.0](https://github.com/googleapis/google-api-nodejs-client/compare/servicecontrol-v4.1.1...servicecontrol-v4.2.0) (2024-08-16)
4
+
5
+
6
+ ### Features
7
+
8
+ * **servicecontrol:** update the API ([8b55b29](https://github.com/googleapis/google-api-nodejs-client/commit/8b55b293b9d08057c4e006f7204ae00620b2816e))
9
+ * **servicecontrol:** update the API ([a366d52](https://github.com/googleapis/google-api-nodejs-client/commit/a366d52ca212b62356327a18b9f18c5846fea072))
10
+ * **servicecontrol:** update the API ([763243a](https://github.com/googleapis/google-api-nodejs-client/commit/763243a5a56fbc735a259bc8a0cd16046a9b5289))
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * **servicecontrol:** update the API ([d92fe63](https://github.com/googleapis/google-api-nodejs-client/commit/d92fe6354f1e7136acedfd6d5d8f79e7b97b5605))
16
+
17
+ ## [4.1.1](https://github.com/googleapis/google-api-nodejs-client/compare/servicecontrol-v4.1.0...servicecontrol-v4.1.1) (2024-07-26)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **servicecontrol:** update the API ([d92fe63](https://github.com/googleapis/google-api-nodejs-client/commit/d92fe6354f1e7136acedfd6d5d8f79e7b97b5605))
23
+
24
+ ## [4.1.0](https://github.com/googleapis/google-api-nodejs-client/compare/servicecontrol-v4.0.0...servicecontrol-v4.1.0) (2024-05-07)
25
+
26
+
27
+ ### Features
28
+
29
+ * **servicecontrol:** update the API ([a366d52](https://github.com/googleapis/google-api-nodejs-client/commit/a366d52ca212b62356327a18b9f18c5846fea072))
30
+
3
31
  ## [4.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/servicecontrol-v3.1.0...servicecontrol-v4.0.0) (2024-05-02)
4
32
 
5
33
 
package/build/v1.d.ts CHANGED
@@ -841,13 +841,13 @@ export declare namespace servicecontrol_v1 {
841
841
  */
842
842
  export interface Schema$OrgPolicyViolationInfo {
843
843
  /**
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.
844
+ * 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
845
  */
846
846
  payload?: {
847
847
  [key: string]: any;
848
848
  } | null;
849
849
  /**
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.
850
+ * Optional. Deprecated. Tags referenced on the resource at the time of evaluation.
851
851
  */
852
852
  resourceTags?: {
853
853
  [key: string]: string;
@@ -1509,6 +1509,41 @@ export declare namespace servicecontrol_v1 {
1509
1509
  */
1510
1510
  line?: string | null;
1511
1511
  }
1512
+ /**
1513
+ * 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
+ */
1515
+ export interface Schema$V1ResourceEvent {
1516
+ /**
1517
+ * 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.
1518
+ */
1519
+ contextId?: string | null;
1520
+ /**
1521
+ * The destinations field determines which backend services should handle the event. This should be specified as a comma-delimited string.
1522
+ */
1523
+ destinations?: string | null;
1524
+ /**
1525
+ * The parent resource for the resource.
1526
+ */
1527
+ parent?: Schema$Resource;
1528
+ /**
1529
+ * The api path the resource event was created in. This should match the source of the `payload` field. For direct integrations with Chemist, this should generally be the RESPONSE. go/resource-event-pipeline-type
1530
+ */
1531
+ path?: string | null;
1532
+ /**
1533
+ * The payload contains metadata associated with the resource event. A ResourceEventPayloadStatus is provided instead if the original payload cannot be returned due to a limitation (e.g. size limit).
1534
+ */
1535
+ payload?: {
1536
+ [key: string]: any;
1537
+ } | null;
1538
+ /**
1539
+ * The resource associated with the event.
1540
+ */
1541
+ resource?: Schema$Resource;
1542
+ /**
1543
+ * The resource event type determines how the backend service should process the event.
1544
+ */
1545
+ type?: string | null;
1546
+ }
1512
1547
  /**
1513
1548
  * Provides information about the Policy violation info for this request.
1514
1549
  */
package/build/v1.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"v1.js","sourceRoot":"","sources":["../v1.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,CAwwDjC;AAxwDD,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;IAZY,gCAAc,iBAY1B,CAAA;IAw3CD,MAAa,iBAAiB;QAE5B,YAAY,OAA0B;YACpC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACzB,CAAC;QAqCD,aAAa,CACX,gBAGkC,EAClC,iBAIkC,EAClC,QAEkC;YAKlC,IAAI,MAAM,GAAG,CAAC,gBAAgB;gBAC5B,EAAE,CAA2C,CAAC;YAChD,IAAI,OAAO,GAAG,CAAC,iBAA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E;gBAC1C,QAAQ,GAAG,gBAAgB,CAAC;gBAC5B,MAAM,GAAG,EAAqC,CAAC;gBAC/C,OAAO,GAAG,EAAE,CAAC;aACd;YAED,IAAI,OAAO,iBAAiB,KAAK,UAAU,EAAE;gBAC3C,QAAQ,GAAG,iBAAiB,CAAC;gBAC7B,OAAO,GAAG,EAAE,CAAC;aACd;YAED,MAAM,OAAO,GACX,OAAO,CAAC,OAAO,IAAI,wCAAwC,CAAC;YAC9D,MAAM,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,EAzyDgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAyyDjC"}
package/build/v2.d.ts CHANGED
@@ -353,13 +353,13 @@ export declare namespace servicecontrol_v2 {
353
353
  */
354
354
  export interface Schema$OrgPolicyViolationInfo {
355
355
  /**
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.
356
+ * 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
357
  */
358
358
  payload?: {
359
359
  [key: string]: any;
360
360
  } | null;
361
361
  /**
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.
362
+ * Optional. Deprecated. Tags referenced on the resource at the time of evaluation.
363
363
  */
364
364
  resourceTags?: {
365
365
  [key: string]: string;
@@ -891,6 +891,41 @@ export declare namespace servicecontrol_v2 {
891
891
  */
892
892
  line?: string | null;
893
893
  }
894
+ /**
895
+ * 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
+ */
897
+ export interface Schema$V2ResourceEvent {
898
+ /**
899
+ * 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.
900
+ */
901
+ contextId?: string | null;
902
+ /**
903
+ * The destinations field determines which backend services should handle the event. This should be specified as a comma-delimited string.
904
+ */
905
+ destinations?: string | null;
906
+ /**
907
+ * The parent resource for the resource.
908
+ */
909
+ parent?: Schema$Resource;
910
+ /**
911
+ * The api path the resource event was created in. This should match the source of the `payload` field. For direct integrations with Chemist, this should generally be the RESPONSE. go/resource-event-pipeline-type
912
+ */
913
+ path?: string | null;
914
+ /**
915
+ * The payload contains metadata associated with the resource event. A ResourceEventPayloadStatus is provided instead if the original payload cannot be returned due to a limitation (e.g. size limit).
916
+ */
917
+ payload?: {
918
+ [key: string]: any;
919
+ } | null;
920
+ /**
921
+ * The resource associated with the event.
922
+ */
923
+ resource?: Schema$Resource;
924
+ /**
925
+ * The resource event type determines how the backend service should process the event.
926
+ */
927
+ type?: string | null;
928
+ }
894
929
  /**
895
930
  * Provides information about the Policy violation info for this request.
896
931
  */
package/build/v2.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"v2.js","sourceRoot":"","sources":["../v2.ts"],"names":[],"mappings":";AAAA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,UAAU,EAAE;gBAC1C,QAAQ,GAAG,gBAAgB,CAAC;gBAC5B,MAAM,GAAG,EAAqC,CAAC;gBAC/C,OAAO,GAAG,EAAE,CAAC;aACd;YAED,IAAI,OAAO,iBAAiB,KAAK,UAAU,EAAE;gBAC3C,QAAQ,GAAG,iBAAiB,CAAC;gBAC7B,OAAO,GAAG,EAAE,CAAC;aACd;YAED,MAAM,OAAO,GACX,OAAO,CAAC,OAAO,IAAI,wCAAwC,CAAC;YAC9D,MAAM,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;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.0.0",
3
+ "version": "4.2.0",
4
4
  "description": "servicecontrol",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
package/v1.ts CHANGED
@@ -862,11 +862,11 @@ export namespace servicecontrol_v1 {
862
862
  */
863
863
  export interface Schema$OrgPolicyViolationInfo {
864
864
  /**
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.
865
+ * 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
866
  */
867
867
  payload?: {[key: string]: any} | null;
868
868
  /**
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.
869
+ * Optional. Deprecated. Tags referenced on the resource at the time of evaluation.
870
870
  */
871
871
  resourceTags?: {[key: string]: string} | null;
872
872
  /**
@@ -1500,6 +1500,39 @@ export namespace servicecontrol_v1 {
1500
1500
  */
1501
1501
  line?: string | null;
1502
1502
  }
1503
+ /**
1504
+ * 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
+ */
1506
+ export interface Schema$V1ResourceEvent {
1507
+ /**
1508
+ * 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.
1509
+ */
1510
+ contextId?: string | null;
1511
+ /**
1512
+ * The destinations field determines which backend services should handle the event. This should be specified as a comma-delimited string.
1513
+ */
1514
+ destinations?: string | null;
1515
+ /**
1516
+ * The parent resource for the resource.
1517
+ */
1518
+ parent?: Schema$Resource;
1519
+ /**
1520
+ * The api path the resource event was created in. This should match the source of the `payload` field. For direct integrations with Chemist, this should generally be the RESPONSE. go/resource-event-pipeline-type
1521
+ */
1522
+ path?: string | null;
1523
+ /**
1524
+ * The payload contains metadata associated with the resource event. A ResourceEventPayloadStatus is provided instead if the original payload cannot be returned due to a limitation (e.g. size limit).
1525
+ */
1526
+ payload?: {[key: string]: any} | null;
1527
+ /**
1528
+ * The resource associated with the event.
1529
+ */
1530
+ resource?: Schema$Resource;
1531
+ /**
1532
+ * The resource event type determines how the backend service should process the event.
1533
+ */
1534
+ type?: string | null;
1535
+ }
1503
1536
  /**
1504
1537
  * Provides information about the Policy violation info for this request.
1505
1538
  */
package/v2.ts CHANGED
@@ -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
  /**
@@ -894,6 +894,39 @@ export namespace servicecontrol_v2 {
894
894
  */
895
895
  line?: string | null;
896
896
  }
897
+ /**
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
+ */
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;
905
+ /**
906
+ * The destinations field determines which backend services should handle the event. This should be specified as a comma-delimited string.
907
+ */
908
+ destinations?: string | null;
909
+ /**
910
+ * The parent resource for the resource.
911
+ */
912
+ parent?: Schema$Resource;
913
+ /**
914
+ * The api path the resource event was created in. This should match the source of the `payload` field. For direct integrations with Chemist, this should generally be the RESPONSE. go/resource-event-pipeline-type
915
+ */
916
+ path?: string | null;
917
+ /**
918
+ * The payload contains metadata associated with the resource event. A ResourceEventPayloadStatus is provided instead if the original payload cannot be returned due to a limitation (e.g. size limit).
919
+ */
920
+ payload?: {[key: string]: any} | null;
921
+ /**
922
+ * The resource associated with the event.
923
+ */
924
+ resource?: Schema$Resource;
925
+ /**
926
+ * The resource event type determines how the backend service should process the event.
927
+ */
928
+ type?: string | null;
929
+ }
897
930
  /**
898
931
  * Provides information about the Policy violation info for this request.
899
932
  */