|
169 | 169 | }
|
170 | 170 | }
|
171 | 171 | },
|
172 |
| - "revision": "20220304", |
| 172 | + "revision": "20220318", |
173 | 173 | "rootUrl": "https://servicecontrol.googleapis.com/",
|
174 | 174 | "schemas": {
|
175 | 175 | "Api": {
|
|
273 | 273 | "format": "int64",
|
274 | 274 | "type": "string"
|
275 | 275 | },
|
| 276 | + "policyViolationInfo": { |
| 277 | + "$ref": "PolicyViolationInfo", |
| 278 | + "description": "Indicates the policy violations for this request. If the request is denied by the policy, violation information will be logged here." |
| 279 | + }, |
276 | 280 | "request": {
|
277 | 281 | "additionalProperties": {
|
278 | 282 | "description": "Properties of the object.",
|
|
465 | 469 | },
|
466 | 470 | "status": {
|
467 | 471 | "$ref": "Status",
|
468 |
| - "description": "Operation is allowed when this field is not set. Any non-'OK' status indicates a denial; [google.rpc.Status.details]() would contain additional details about the denial." |
| 472 | + "description": "Operation is allowed when this field is not set. Any non-'OK' status indicates a denial; google.rpc.Status.details would contain additional details about the denial." |
469 | 473 | }
|
470 | 474 | },
|
471 | 475 | "type": "object"
|
|
489 | 493 | },
|
490 | 494 | "type": "object"
|
491 | 495 | },
|
| 496 | + "OrgPolicyViolationInfo": { |
| 497 | + "description": "Represents OrgPolicy Violation information.", |
| 498 | + "id": "OrgPolicyViolationInfo", |
| 499 | + "properties": { |
| 500 | + "payload": { |
| 501 | + "additionalProperties": { |
| 502 | + "description": "Properties of the object.", |
| 503 | + "type": "any" |
| 504 | + }, |
| 505 | + "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.", |
| 506 | + "type": "object" |
| 507 | + }, |
| 508 | + "resourceTags": { |
| 509 | + "additionalProperties": { |
| 510 | + "type": "string" |
| 511 | + }, |
| 512 | + "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.", |
| 513 | + "type": "object" |
| 514 | + }, |
| 515 | + "resourceType": { |
| 516 | + "description": "Optional. Resource type that the orgpolicy is checked against. Example: compute.googleapis.com/Instance, store.googleapis.com/bucket", |
| 517 | + "type": "string" |
| 518 | + }, |
| 519 | + "violationInfo": { |
| 520 | + "description": "Optional. Policy violations", |
| 521 | + "items": { |
| 522 | + "$ref": "ViolationInfo" |
| 523 | + }, |
| 524 | + "type": "array" |
| 525 | + } |
| 526 | + }, |
| 527 | + "type": "object" |
| 528 | + }, |
492 | 529 | "Peer": {
|
493 | 530 | "description": "This message defines attributes for a node that handles a network request. The node can be either a service or an application that sends, forwards, or receives the request. Service peers should fill in `principal` and `labels` as appropriate.",
|
494 | 531 | "id": "Peer",
|
|
520 | 557 | },
|
521 | 558 | "type": "object"
|
522 | 559 | },
|
| 560 | + "PolicyViolationInfo": { |
| 561 | + "description": "Information related to policy violations for this request.", |
| 562 | + "id": "PolicyViolationInfo", |
| 563 | + "properties": { |
| 564 | + "orgPolicyViolationInfo": { |
| 565 | + "$ref": "OrgPolicyViolationInfo", |
| 566 | + "description": "Indicates the orgpolicy violations for this resource." |
| 567 | + } |
| 568 | + }, |
| 569 | + "type": "object" |
| 570 | + }, |
523 | 571 | "ReportRequest": {
|
524 | 572 | "description": "Request message for the Report method.",
|
525 | 573 | "id": "ReportRequest",
|
|
1059 | 1107 | }
|
1060 | 1108 | },
|
1061 | 1109 | "type": "object"
|
| 1110 | + }, |
| 1111 | + "ViolationInfo": { |
| 1112 | + "description": "Provides information about the Policy violation info for this request.", |
| 1113 | + "id": "ViolationInfo", |
| 1114 | + "properties": { |
| 1115 | + "checkedValue": { |
| 1116 | + "description": "Optional. Value that is being checked for the policy. This could be in encrypted form (if pii sensitive). This field will only be emitted in LIST_POLICY types", |
| 1117 | + "type": "string" |
| 1118 | + }, |
| 1119 | + "constraint": { |
| 1120 | + "description": "Optional. Constraint name", |
| 1121 | + "type": "string" |
| 1122 | + }, |
| 1123 | + "errorMessage": { |
| 1124 | + "description": "Optional. Error message that policy is indicating.", |
| 1125 | + "type": "string" |
| 1126 | + }, |
| 1127 | + "policyType": { |
| 1128 | + "description": "Optional. Indicates the type of the policy.", |
| 1129 | + "enum": [ |
| 1130 | + "POLICY_TYPE_UNSPECIFIED", |
| 1131 | + "BOOLEAN_CONSTRAINT", |
| 1132 | + "LIST_CONSTRAINT", |
| 1133 | + "CUSTOM_CONSTRAINT" |
| 1134 | + ], |
| 1135 | + "enumDescriptions": [ |
| 1136 | + "Default value. This value should not be used.", |
| 1137 | + "Indicates boolean policy constraint", |
| 1138 | + "Indicates list policy constraint", |
| 1139 | + "Indicates custom policy constraint" |
| 1140 | + ], |
| 1141 | + "type": "string" |
| 1142 | + } |
| 1143 | + }, |
| 1144 | + "type": "object" |
1062 | 1145 | }
|
1063 | 1146 | },
|
1064 | 1147 | "servicePath": "",
|
|
0 commit comments