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.GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions.properties.remediateFolderViolations (Total Keys: 2)

The following keys were added:
- schemas.GoogleCloudAssuredworkloadsV1Violation.properties.orgPolicyConstraint (Total Keys: 3)
- schemas.GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions.properties.assuredWorkloadsMonitoring.type (Total Keys: 1)
- schemas.GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions.properties.serviceAccessApprover.type (Total Keys: 1)

#### assuredworkloads:v1beta1

The following keys were deleted:
- schemas.GoogleCloudAssuredworkloadsV1beta1Workload.properties.controls (Total Keys: 2)
- schemas.GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControls (Total Keys: 12)
- schemas.GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions.properties.remediateFolderViolations (Total Keys: 2)

The following keys were added:
- resources.projects.resources.organizations.resources.locations.resources.workloads.methods.analyzeWorkloadMove.parameters.source.deprecated (Total Keys: 1)
- schemas.GoogleCloudAssuredworkloadsV1beta1Violation.properties.orgPolicyConstraint (Total Keys: 3)
- schemas.GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions.properties.assuredWorkloadsMonitoring.type (Total Keys: 1)
- schemas.GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions.properties.serviceAccessApprover.type (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Aug 4, 2023
1 parent 2d27cef commit 5ea07fa
Show file tree
Hide file tree
Showing 8 changed files with 65 additions and 108 deletions.
Expand Up @@ -151,8 +151,9 @@ <h3>Method Details</h3>
&quot;name&quot;: &quot;A String&quot;, # Optional. The resource name of the workload. Format: organizations/{organization}/locations/{location}/workloads/{workload} Read-only.
&quot;partner&quot;: &quot;A String&quot;, # Optional. Partner regime associated with this workload.
&quot;partnerPermissions&quot;: { # Permissions granted to the AW Partner SA account for the customer workload # Optional. Permissions granted to the AW Partner SA account for the customer workload
&quot;assuredWorkloadsMonitoring&quot;: True or False, # Optional. Allow partner to view violation alerts.
&quot;dataLogsViewer&quot;: True or False, # Allow the partner to view inspectability logs and monitoring violations.
&quot;remediateFolderViolations&quot;: True or False, # Allow partner to monitor folder and remediate violations
&quot;serviceAccessApprover&quot;: True or False, # Optional. Allow partner to view access approval logs.
},
&quot;provisionedResourcesParent&quot;: &quot;A String&quot;, # Input only. The parent resource for the resources managed by this Assured Workload. May be either empty or a folder resource which is a child of the Workload parent. If not specified all resources are created under the parent organization. Format: folders/{folder_id}
&quot;resourceSettings&quot;: [ # Input only. Resource properties that are used to customize workload resources. These properties (such as custom project id) will be used to create workload resources if possible. This field is optional.
Expand Down Expand Up @@ -270,8 +271,9 @@ <h3>Method Details</h3>
&quot;name&quot;: &quot;A String&quot;, # Optional. The resource name of the workload. Format: organizations/{organization}/locations/{location}/workloads/{workload} Read-only.
&quot;partner&quot;: &quot;A String&quot;, # Optional. Partner regime associated with this workload.
&quot;partnerPermissions&quot;: { # Permissions granted to the AW Partner SA account for the customer workload # Optional. Permissions granted to the AW Partner SA account for the customer workload
&quot;assuredWorkloadsMonitoring&quot;: True or False, # Optional. Allow partner to view violation alerts.
&quot;dataLogsViewer&quot;: True or False, # Allow the partner to view inspectability logs and monitoring violations.
&quot;remediateFolderViolations&quot;: True or False, # Allow partner to monitor folder and remediate violations
&quot;serviceAccessApprover&quot;: True or False, # Optional. Allow partner to view access approval logs.
},
&quot;provisionedResourcesParent&quot;: &quot;A String&quot;, # Input only. The parent resource for the resources managed by this Assured Workload. May be either empty or a folder resource which is a child of the Workload parent. If not specified all resources are created under the parent organization. Format: folders/{folder_id}
&quot;resourceSettings&quot;: [ # Input only. Resource properties that are used to customize workload resources. These properties (such as custom project id) will be used to create workload resources if possible. This field is optional.
Expand Down Expand Up @@ -347,8 +349,9 @@ <h3>Method Details</h3>
&quot;name&quot;: &quot;A String&quot;, # Optional. The resource name of the workload. Format: organizations/{organization}/locations/{location}/workloads/{workload} Read-only.
&quot;partner&quot;: &quot;A String&quot;, # Optional. Partner regime associated with this workload.
&quot;partnerPermissions&quot;: { # Permissions granted to the AW Partner SA account for the customer workload # Optional. Permissions granted to the AW Partner SA account for the customer workload
&quot;assuredWorkloadsMonitoring&quot;: True or False, # Optional. Allow partner to view violation alerts.
&quot;dataLogsViewer&quot;: True or False, # Allow the partner to view inspectability logs and monitoring violations.
&quot;remediateFolderViolations&quot;: True or False, # Allow partner to monitor folder and remediate violations
&quot;serviceAccessApprover&quot;: True or False, # Optional. Allow partner to view access approval logs.
},
&quot;provisionedResourcesParent&quot;: &quot;A String&quot;, # Input only. The parent resource for the resources managed by this Assured Workload. May be either empty or a folder resource which is a child of the Workload parent. If not specified all resources are created under the parent organization. Format: folders/{folder_id}
&quot;resourceSettings&quot;: [ # Input only. Resource properties that are used to customize workload resources. These properties (such as custom project id) will be used to create workload resources if possible. This field is optional.
Expand Down Expand Up @@ -402,8 +405,9 @@ <h3>Method Details</h3>
{ # Request for updating permission settings for a partner workload.
&quot;etag&quot;: &quot;A String&quot;, # Optional. The etag of the workload. If this is provided, it must match the server&#x27;s etag.
&quot;partnerPermissions&quot;: { # Permissions granted to the AW Partner SA account for the customer workload # Required. The partner permissions to be updated.
&quot;assuredWorkloadsMonitoring&quot;: True or False, # Optional. Allow partner to view violation alerts.
&quot;dataLogsViewer&quot;: True or False, # Allow the partner to view inspectability logs and monitoring violations.
&quot;remediateFolderViolations&quot;: True or False, # Allow partner to monitor folder and remediate violations
&quot;serviceAccessApprover&quot;: True or False, # Optional. Allow partner to view access approval logs.
},
&quot;updateMask&quot;: &quot;A String&quot;, # Required. The list of fields to be updated. E.g. update_mask { paths: &quot;partner_permissions.data_logs_viewer&quot;}
}
Expand Down Expand Up @@ -446,8 +450,9 @@ <h3>Method Details</h3>
&quot;name&quot;: &quot;A String&quot;, # Optional. The resource name of the workload. Format: organizations/{organization}/locations/{location}/workloads/{workload} Read-only.
&quot;partner&quot;: &quot;A String&quot;, # Optional. Partner regime associated with this workload.
&quot;partnerPermissions&quot;: { # Permissions granted to the AW Partner SA account for the customer workload # Optional. Permissions granted to the AW Partner SA account for the customer workload
&quot;assuredWorkloadsMonitoring&quot;: True or False, # Optional. Allow partner to view violation alerts.
&quot;dataLogsViewer&quot;: True or False, # Allow the partner to view inspectability logs and monitoring violations.
&quot;remediateFolderViolations&quot;: True or False, # Allow partner to monitor folder and remediate violations
&quot;serviceAccessApprover&quot;: True or False, # Optional. Allow partner to view access approval logs.
},
&quot;provisionedResourcesParent&quot;: &quot;A String&quot;, # Input only. The parent resource for the resources managed by this Assured Workload. May be either empty or a folder resource which is a child of the Workload parent. If not specified all resources are created under the parent organization. Format: folders/{folder_id}
&quot;resourceSettings&quot;: [ # Input only. Resource properties that are used to customize workload resources. These properties (such as custom project id) will be used to create workload resources if possible. This field is optional.
Expand Down Expand Up @@ -512,8 +517,9 @@ <h3>Method Details</h3>
&quot;name&quot;: &quot;A String&quot;, # Optional. The resource name of the workload. Format: organizations/{organization}/locations/{location}/workloads/{workload} Read-only.
&quot;partner&quot;: &quot;A String&quot;, # Optional. Partner regime associated with this workload.
&quot;partnerPermissions&quot;: { # Permissions granted to the AW Partner SA account for the customer workload # Optional. Permissions granted to the AW Partner SA account for the customer workload
&quot;assuredWorkloadsMonitoring&quot;: True or False, # Optional. Allow partner to view violation alerts.
&quot;dataLogsViewer&quot;: True or False, # Allow the partner to view inspectability logs and monitoring violations.
&quot;remediateFolderViolations&quot;: True or False, # Allow partner to monitor folder and remediate violations
&quot;serviceAccessApprover&quot;: True or False, # Optional. Allow partner to view access approval logs.
},
&quot;provisionedResourcesParent&quot;: &quot;A String&quot;, # Input only. The parent resource for the resources managed by this Assured Workload. May be either empty or a folder resource which is a child of the Workload parent. If not specified all resources are created under the parent organization. Format: folders/{folder_id}
&quot;resourceSettings&quot;: [ # Input only. Resource properties that are used to customize workload resources. These properties (such as custom project id) will be used to create workload resources if possible. This field is optional.
Expand Down Expand Up @@ -577,8 +583,9 @@ <h3>Method Details</h3>
&quot;name&quot;: &quot;A String&quot;, # Optional. The resource name of the workload. Format: organizations/{organization}/locations/{location}/workloads/{workload} Read-only.
&quot;partner&quot;: &quot;A String&quot;, # Optional. Partner regime associated with this workload.
&quot;partnerPermissions&quot;: { # Permissions granted to the AW Partner SA account for the customer workload # Optional. Permissions granted to the AW Partner SA account for the customer workload
&quot;assuredWorkloadsMonitoring&quot;: True or False, # Optional. Allow partner to view violation alerts.
&quot;dataLogsViewer&quot;: True or False, # Allow the partner to view inspectability logs and monitoring violations.
&quot;remediateFolderViolations&quot;: True or False, # Allow partner to monitor folder and remediate violations
&quot;serviceAccessApprover&quot;: True or False, # Optional. Allow partner to view access approval logs.
},
&quot;provisionedResourcesParent&quot;: &quot;A String&quot;, # Input only. The parent resource for the resources managed by this Assured Workload. May be either empty or a folder resource which is a child of the Workload parent. If not specified all resources are created under the parent organization. Format: folders/{folder_id}
&quot;resourceSettings&quot;: [ # Input only. Resource properties that are used to customize workload resources. These properties (such as custom project id) will be used to create workload resources if possible. This field is optional.
Expand Down
Expand Up @@ -152,6 +152,7 @@ <h3>Method Details</h3>
],
&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.
&quot;remediation&quot;: { # Represents remediation guidance to resolve compliance violation for AssuredWorkload # Output only. Compliance violation remediation
&quot;compliantValues&quot;: [ # Values that can resolve the violation For example: for list org policy violations, this will either be the list of allowed or denied values
&quot;A String&quot;,
Expand Down Expand Up @@ -227,6 +228,7 @@ <h3>Method Details</h3>
],
&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.
&quot;remediation&quot;: { # Represents remediation guidance to resolve compliance violation for AssuredWorkload # Output only. Compliance violation remediation
&quot;compliantValues&quot;: [ # Values that can resolve the violation For example: for list org policy violations, this will either be the list of allowed or denied values
&quot;A String&quot;,
Expand Down

0 comments on commit 5ea07fa

Please sign in to comment.