Skip to content

Commit

Permalink
feat(assuredworkloads): update the api
Browse files Browse the repository at this point in the history
#### assuredworkloads:v1

The following keys were deleted:
- schemas.GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest.properties.nonCompliantOrgPolicy.type (Total Keys: 1)

The following keys were added:
- schemas.GoogleCloudAssuredworkloadsV1Violation.properties.exceptionAuditLogLink (Total Keys: 2)

#### assuredworkloads:v1beta1

The following keys were deleted:
- schemas.GoogleCloudAssuredworkloadsV1beta1AcknowledgeViolationRequest.properties.nonCompliantOrgPolicy.type (Total Keys: 1)

The following keys were added:
- schemas.GoogleCloudAssuredworkloadsV1beta1Violation.properties.exceptionAuditLogLink (Total Keys: 2)
  • Loading branch information
yoshi-automation committed Oct 11, 2022
1 parent 99b94ee commit 9756c06
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 12 deletions.
Expand Up @@ -101,7 +101,6 @@ <h3>Method Details</h3>

{ # Request for acknowledging the violation Next Id: 4
&quot;comment&quot;: &quot;A String&quot;, # Required. Business justification explaining the need for violation acknowledgement
&quot;nonCompliantOrgPolicy&quot;: &quot;A String&quot;, # Optional. Name of the OrgPolicy which was modified with non-compliant change and resulted in this violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name}
}

x__xgafv: string, V1 error format.
Expand Down Expand Up @@ -142,6 +141,7 @@ <h3>Method Details</h3>
&quot;beginTime&quot;: &quot;A String&quot;, # Output only. Time of the event which triggered the Violation.
&quot;category&quot;: &quot;A String&quot;, # Output only. Category under which this violation is mapped. e.g. Location, Service Usage, Access, Encryption, etc.
&quot;description&quot;: &quot;A String&quot;, # Output only. Description for the Violation. e.g. OrgPolicy gcp.resourceLocations has non compliant value.
&quot;exceptionAuditLogLink&quot;: &quot;A String&quot;, # Output only. Immutable. Audit Log link to find business justification provided for violation exception. Format: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{protoPayload.methodName}{timeRange}{organization}
&quot;name&quot;: &quot;A String&quot;, # Output only. Immutable. Name of the Violation. Format: organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id}
&quot;nonCompliantOrgPolicy&quot;: &quot;A String&quot;, # Output only. Immutable. Name of the OrgPolicy which was modified with non-compliant change and resulted this violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name}
&quot;orgPolicyConstraint&quot;: &quot;A String&quot;, # Output only. Immutable. The org-policy-constraint that was incorrectly changed, which resulted in this violation.
Expand Down Expand Up @@ -210,6 +210,7 @@ <h3>Method Details</h3>
&quot;beginTime&quot;: &quot;A String&quot;, # Output only. Time of the event which triggered the Violation.
&quot;category&quot;: &quot;A String&quot;, # Output only. Category under which this violation is mapped. e.g. Location, Service Usage, Access, Encryption, etc.
&quot;description&quot;: &quot;A String&quot;, # Output only. Description for the Violation. e.g. OrgPolicy gcp.resourceLocations has non compliant value.
&quot;exceptionAuditLogLink&quot;: &quot;A String&quot;, # Output only. Immutable. Audit Log link to find business justification provided for violation exception. Format: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{protoPayload.methodName}{timeRange}{organization}
&quot;name&quot;: &quot;A String&quot;, # Output only. Immutable. Name of the Violation. Format: organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id}
&quot;nonCompliantOrgPolicy&quot;: &quot;A String&quot;, # Output only. Immutable. Name of the OrgPolicy which was modified with non-compliant change and resulted this violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name}
&quot;orgPolicyConstraint&quot;: &quot;A String&quot;, # Output only. Immutable. The org-policy-constraint that was incorrectly changed, which resulted in this violation.
Expand Down
Expand Up @@ -101,7 +101,6 @@ <h3>Method Details</h3>

{ # Request for acknowledging the violation Next Id: 4
&quot;comment&quot;: &quot;A String&quot;, # Required. Business justification explaining the need for violation acknowledgement
&quot;nonCompliantOrgPolicy&quot;: &quot;A String&quot;, # Optional. Name of the OrgPolicy which was modified with non-compliant change and resulted in this violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name}
}

x__xgafv: string, V1 error format.
Expand Down Expand Up @@ -142,6 +141,7 @@ <h3>Method Details</h3>
&quot;beginTime&quot;: &quot;A String&quot;, # Output only. Time of the event which triggered the Violation.
&quot;category&quot;: &quot;A String&quot;, # Output only. Category under which this violation is mapped. e.g. Location, Service Usage, Access, Encryption, etc.
&quot;description&quot;: &quot;A String&quot;, # Output only. Description for the Violation. e.g. OrgPolicy gcp.resourceLocations has non compliant value.
&quot;exceptionAuditLogLink&quot;: &quot;A String&quot;, # Output only. Immutable. Audit Log link to find business justification provided for violation exception. Format: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{protoPayload.methodName}{timeRange}{organization}
&quot;name&quot;: &quot;A String&quot;, # Output only. Immutable. Name of the Violation. Format: organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id}
&quot;nonCompliantOrgPolicy&quot;: &quot;A String&quot;, # Output only. Immutable. Name of the OrgPolicy which was modified with non-compliant change and resulted this violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name}
&quot;orgPolicyConstraint&quot;: &quot;A String&quot;, # Output only. Immutable. The org-policy-constraint that was incorrectly changed, which resulted in this violation.
Expand Down Expand Up @@ -210,6 +210,7 @@ <h3>Method Details</h3>
&quot;beginTime&quot;: &quot;A String&quot;, # Output only. Time of the event which triggered the Violation.
&quot;category&quot;: &quot;A String&quot;, # Output only. Category under which this violation is mapped. e.g. Location, Service Usage, Access, Encryption, etc.
&quot;description&quot;: &quot;A String&quot;, # Output only. Description for the Violation. e.g. OrgPolicy gcp.resourceLocations has non compliant value.
&quot;exceptionAuditLogLink&quot;: &quot;A String&quot;, # Output only. Immutable. Audit Log link to find business justification provided for violation exception. Format: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{protoPayload.methodName}{timeRange}{organization}
&quot;name&quot;: &quot;A String&quot;, # Output only. Immutable. Name of the Violation. Format: organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id}
&quot;nonCompliantOrgPolicy&quot;: &quot;A String&quot;, # Output only. Immutable. Name of the OrgPolicy which was modified with non-compliant change and resulted this violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name}
&quot;orgPolicyConstraint&quot;: &quot;A String&quot;, # Output only. Immutable. The org-policy-constraint that was incorrectly changed, which resulted in this violation.
Expand Down
Expand Up @@ -491,7 +491,7 @@
}
}
},
"revision": "20220926",
"revision": "20221007",
"rootUrl": "https://assuredworkloads.googleapis.com/",
"schemas": {
"GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest": {
Expand All @@ -501,10 +501,6 @@
"comment": {
"description": "Required. Business justification explaining the need for violation acknowledgement",
"type": "string"
},
"nonCompliantOrgPolicy": {
"description": "Optional. Name of the OrgPolicy which was modified with non-compliant change and resulted in this violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name}",
"type": "string"
}
},
"type": "object"
Expand Down Expand Up @@ -664,6 +660,11 @@
"readOnly": true,
"type": "string"
},
"exceptionAuditLogLink": {
"description": "Output only. Immutable. Audit Log link to find business justification provided for violation exception. Format: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{protoPayload.methodName}{timeRange}{organization}",
"readOnly": true,
"type": "string"
},
"name": {
"description": "Output only. Immutable. Name of the Violation. Format: organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id}",
"readOnly": true,
Expand Down
Expand Up @@ -595,7 +595,7 @@
}
}
},
"revision": "20220926",
"revision": "20221007",
"rootUrl": "https://assuredworkloads.googleapis.com/",
"schemas": {
"GoogleCloudAssuredworkloadsV1beta1AcknowledgeViolationRequest": {
Expand All @@ -605,10 +605,6 @@
"comment": {
"description": "Required. Business justification explaining the need for violation acknowledgement",
"type": "string"
},
"nonCompliantOrgPolicy": {
"description": "Optional. Name of the OrgPolicy which was modified with non-compliant change and resulted in this violation. Format: projects/{project_number}/policies/{constraint_name} folders/{folder_id}/policies/{constraint_name} organizations/{organization_id}/policies/{constraint_name}",
"type": "string"
}
},
"type": "object"
Expand Down Expand Up @@ -730,6 +726,11 @@
"readOnly": true,
"type": "string"
},
"exceptionAuditLogLink": {
"description": "Output only. Immutable. Audit Log link to find business justification provided for violation exception. Format: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{protoPayload.methodName}{timeRange}{organization}",
"readOnly": true,
"type": "string"
},
"name": {
"description": "Output only. Immutable. Name of the Violation. Format: organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id}",
"readOnly": true,
Expand Down

0 comments on commit 9756c06

Please sign in to comment.