Skip to content

Commit 8b55b29

Browse files
yoshi-automationsofisl
authored andcommitted
feat(servicecontrol): update the API
#### servicecontrol:v1 The following keys were added: - schemas.V1ResourceEvent.properties.contextId.description - schemas.V1ResourceEvent.properties.contextId.format - schemas.V1ResourceEvent.properties.contextId.type #### servicecontrol:v2 The following keys were added: - schemas.V2ResourceEvent.properties.contextId.description - schemas.V2ResourceEvent.properties.contextId.format - schemas.V2ResourceEvent.properties.contextId.type
1 parent 09af98e commit 8b55b29

File tree

4 files changed

+20
-2
lines changed

4 files changed

+20
-2
lines changed

discovery/servicecontrol-v1.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@
197197
}
198198
}
199199
},
200-
"revision": "20240607",
200+
"revision": "20240802",
201201
"rootUrl": "https://servicecontrol.googleapis.com/",
202202
"schemas": {
203203
"AllocateInfo": {
@@ -2178,6 +2178,11 @@
21782178
"description": "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.",
21792179
"id": "V1ResourceEvent",
21802180
"properties": {
2181+
"contextId": {
2182+
"description": "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.",
2183+
"format": "int64",
2184+
"type": "string"
2185+
},
21812186
"destinations": {
21822187
"description": "The destinations field determines which backend services should handle the event. This should be specified as a comma-delimited string.",
21832188
"type": "string"

discovery/servicecontrol-v2.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
}
170170
}
171171
},
172-
"revision": "20240607",
172+
"revision": "20240802",
173173
"rootUrl": "https://servicecontrol.googleapis.com/",
174174
"schemas": {
175175
"Api": {
@@ -1191,6 +1191,11 @@
11911191
"description": "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.",
11921192
"id": "V2ResourceEvent",
11931193
"properties": {
1194+
"contextId": {
1195+
"description": "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.",
1196+
"format": "int64",
1197+
"type": "string"
1198+
},
11941199
"destinations": {
11951200
"description": "The destinations field determines which backend services should handle the event. This should be specified as a comma-delimited string.",
11961201
"type": "string"

src/apis/servicecontrol/v1.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1504,6 +1504,10 @@ export namespace servicecontrol_v1 {
15041504
* 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.
15051505
*/
15061506
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;
15071511
/**
15081512
* The destinations field determines which backend services should handle the event. This should be specified as a comma-delimited string.
15091513
*/

src/apis/servicecontrol/v2.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -898,6 +898,10 @@ export namespace servicecontrol_v2 {
898898
* 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.
899899
*/
900900
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;
901905
/**
902906
* The destinations field determines which backend services should handle the event. This should be specified as a comma-delimited string.
903907
*/

0 commit comments

Comments
 (0)