Skip to content

Commit d92fe63

Browse files
yoshi-automationsofisl
authored andcommitted
fix(servicecontrol): update the API
#### servicecontrol:v1 The following keys were changed: - schemas.OrgPolicyViolationInfo.properties.payload.description - schemas.OrgPolicyViolationInfo.properties.resourceTags.description #### servicecontrol:v2 The following keys were changed: - schemas.OrgPolicyViolationInfo.properties.payload.description - schemas.OrgPolicyViolationInfo.properties.resourceTags.description
1 parent b33d34d commit d92fe63

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

discovery/servicecontrol-v1.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@
197197
}
198198
}
199199
},
200-
"revision": "20240524",
200+
"revision": "20240607",
201201
"rootUrl": "https://servicecontrol.googleapis.com/",
202202
"schemas": {
203203
"AllocateInfo": {
@@ -1290,15 +1290,15 @@
12901290
"type": "any"
12911291
},
12921292
"deprecated": true,
1293-
"description": "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.",
1293+
"description": "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.",
12941294
"type": "object"
12951295
},
12961296
"resourceTags": {
12971297
"additionalProperties": {
12981298
"type": "string"
12991299
},
13001300
"deprecated": true,
1301-
"description": "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.",
1301+
"description": "Optional. Deprecated. Tags referenced on the resource at the time of evaluation.",
13021302
"type": "object"
13031303
},
13041304
"resourceType": {

discovery/servicecontrol-v2.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
}
170170
}
171171
},
172-
"revision": "20240524",
172+
"revision": "20240607",
173173
"rootUrl": "https://servicecontrol.googleapis.com/",
174174
"schemas": {
175175
"Api": {
@@ -530,15 +530,15 @@
530530
"type": "any"
531531
},
532532
"deprecated": true,
533-
"description": "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.",
533+
"description": "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.",
534534
"type": "object"
535535
},
536536
"resourceTags": {
537537
"additionalProperties": {
538538
"type": "string"
539539
},
540540
"deprecated": true,
541-
"description": "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.",
541+
"description": "Optional. Deprecated. Tags referenced on the resource at the time of evaluation.",
542542
"type": "object"
543543
},
544544
"resourceType": {

src/apis/servicecontrol/v1.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -862,11 +862,11 @@ export namespace servicecontrol_v1 {
862862
*/
863863
export interface Schema$OrgPolicyViolationInfo {
864864
/**
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.
866866
*/
867867
payload?: {[key: string]: any} | null;
868868
/**
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.
870870
*/
871871
resourceTags?: {[key: string]: string} | null;
872872
/**

src/apis/servicecontrol/v2.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,11 +386,11 @@ export namespace servicecontrol_v2 {
386386
*/
387387
export interface Schema$OrgPolicyViolationInfo {
388388
/**
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.
390390
*/
391391
payload?: {[key: string]: any} | null;
392392
/**
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.
394394
*/
395395
resourceTags?: {[key: string]: string} | null;
396396
/**

0 commit comments

Comments
 (0)