Skip to content

Commit ef876a9

Browse files
feat(assuredworkloads): update the api
#### assuredworkloads:v1 The following keys were deleted: - schemas.GoogleCloudAssuredworkloadsV1WorkloadPartnerPermissions.properties.serviceAccessApprover.type (Total Keys: 1) The following keys were added: - schemas.GoogleCloudAssuredworkloadsV1Workload.properties.partnerPermissions.$ref (Total Keys: 1) - schemas.GoogleCloudAssuredworkloadsV1Workload.properties.violationNotificationsEnabled.type (Total Keys: 1) #### assuredworkloads:v1beta1 The following keys were added: - schemas.GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata (Total Keys: 9) - schemas.GoogleCloudAssuredworkloadsV1beta1Workload.properties.controls (Total Keys: 2) - schemas.GoogleCloudAssuredworkloadsV1beta1Workload.properties.partnerPermissions.$ref (Total Keys: 1) - schemas.GoogleCloudAssuredworkloadsV1beta1Workload.properties.violationNotificationsEnabled.type (Total Keys: 1) - schemas.GoogleCloudAssuredworkloadsV1beta1WorkloadComplianceControls (Total Keys: 12) - schemas.GoogleCloudAssuredworkloadsV1beta1WorkloadPartnerPermissions (Total Keys: 4)
1 parent 566a0af commit ef876a9

6 files changed

+267
-41
lines changed

docs/dyn/assuredworkloads_v1.organizations.locations.workloads.html

Lines changed: 46 additions & 17 deletions
Large diffs are not rendered by default.

docs/dyn/assuredworkloads_v1.organizations.locations.workloads.violations.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ <h3>Method Details</h3>
135135
Returns:
136136
An object of the form:
137137

138-
{ # Workload monitoring Violation. Next Id: 22
138+
{ # Workload monitoring Violation. Next Id: 27
139139
&quot;acknowledged&quot;: True or False, # A boolean that indicates if the violation is acknowledged
140140
&quot;acknowledgementTime&quot;: &quot;A String&quot;, # Optional. Timestamp when this violation was acknowledged first. Check exception_contexts to find the last time the violation was acknowledged when there are more than one violations. This field will be absent when acknowledged field is marked as false.
141141
&quot;auditLogLink&quot;: &quot;A String&quot;, # Output only. Immutable. Audit Log Link for violated resource Format: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{timeRange}{folder}
@@ -204,7 +204,7 @@ <h3>Method Details</h3>
204204
{ # Response of ListViolations endpoint.
205205
&quot;nextPageToken&quot;: &quot;A String&quot;, # The next page token. Returns empty if reached the last page.
206206
&quot;violations&quot;: [ # List of Violations under a Workload.
207-
{ # Workload monitoring Violation. Next Id: 22
207+
{ # Workload monitoring Violation. Next Id: 27
208208
&quot;acknowledged&quot;: True or False, # A boolean that indicates if the violation is acknowledged
209209
&quot;acknowledgementTime&quot;: &quot;A String&quot;, # Optional. Timestamp when this violation was acknowledged first. Check exception_contexts to find the last time the violation was acknowledged when there are more than one violations. This field will be absent when acknowledged field is marked as false.
210210
&quot;auditLogLink&quot;: &quot;A String&quot;, # Output only. Immutable. Audit Log Link for violated resource Format: https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{timeRange}{folder}

docs/dyn/assuredworkloads_v1beta1.organizations.locations.workloads.html

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,14 @@ <h3>Method Details</h3>
139139
&quot;compliantButDisallowedServices&quot;: [ # Output only. Urls for services which are compliant for this Assured Workload, but which are currently disallowed by the ResourceUsageRestriction org policy. Invoke RestrictAllowedResources endpoint to allow your project developers to use these services in their environment.&quot;
140140
&quot;A String&quot;,
141141
],
142+
&quot;controls&quot;: { # Controls enabled to the user associated with this workload # Output only. Controls associated with the customer workload
143+
&quot;appliedOrgPolicies&quot;: [ # Output only. Org policies currently applied by this Assured Workload
144+
{ # An org policy control applied by Assured Workloads
145+
&quot;constraint&quot;: &quot;A String&quot;, # Output only. Constraint name of the org policy control Example: constraints/gcp.resourcelocations
146+
&quot;version&quot;: 42, # Output only. Org policy version
147+
},
148+
],
149+
},
142150
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Immutable. The Workload creation timestamp.
143151
&quot;displayName&quot;: &quot;A String&quot;, # Required. The user-assigned display name of the Workload. When present it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, and spaces. Example: My Workload
144152
&quot;ekmProvisioningResponse&quot;: { # External key management systems(EKM) Provisioning response # Optional. Represents the Ekm Provisioning State of the given workload.
@@ -176,6 +184,10 @@ <h3>Method Details</h3>
176184
},
177185
&quot;name&quot;: &quot;A String&quot;, # Optional. The resource name of the workload. Format: organizations/{organization}/locations/{location}/workloads/{workload} Read-only.
178186
&quot;partner&quot;: &quot;A String&quot;, # Optional. Partner regime associated with this workload.
187+
&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
188+
&quot;dataLogsViewer&quot;: True or False, # Allow the partner to view inspectability logs and monitoring violations.
189+
&quot;remediateFolderViolations&quot;: True or False, # Allow partner to monitor folder and remediate violations
190+
},
179191
&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}
180192
&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.
181193
{ # Represent the custom settings for the resources to be created.
@@ -196,6 +208,7 @@ <h3>Method Details</h3>
196208
],
197209
&quot;setupStatus&quot;: &quot;A String&quot;, # Indicates SAA enrollment status of a given workload.
198210
},
211+
&quot;violationNotificationsEnabled&quot;: True or False, # Optional. Indicates whether the e-mail notification for a violation is enabled for a workload. This value will be by default True, and if not present will be considered as true. This should only be updated via updateWorkload call. Any Changes to this field during the createWorkload call will not be honored. This will always be true while creating the workload.
199212
}
200213

201214
externalId: string, Optional. A identifier associated with the workload and underlying projects which allows for the break down of billing costs for a workload. The value provided for the identifier will add a label to the workload and contained projects with the identifier as the value.
@@ -277,6 +290,14 @@ <h3>Method Details</h3>
277290
&quot;compliantButDisallowedServices&quot;: [ # Output only. Urls for services which are compliant for this Assured Workload, but which are currently disallowed by the ResourceUsageRestriction org policy. Invoke RestrictAllowedResources endpoint to allow your project developers to use these services in their environment.&quot;
278291
&quot;A String&quot;,
279292
],
293+
&quot;controls&quot;: { # Controls enabled to the user associated with this workload # Output only. Controls associated with the customer workload
294+
&quot;appliedOrgPolicies&quot;: [ # Output only. Org policies currently applied by this Assured Workload
295+
{ # An org policy control applied by Assured Workloads
296+
&quot;constraint&quot;: &quot;A String&quot;, # Output only. Constraint name of the org policy control Example: constraints/gcp.resourcelocations
297+
&quot;version&quot;: 42, # Output only. Org policy version
298+
},
299+
],
300+
},
280301
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Immutable. The Workload creation timestamp.
281302
&quot;displayName&quot;: &quot;A String&quot;, # Required. The user-assigned display name of the Workload. When present it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, and spaces. Example: My Workload
282303
&quot;ekmProvisioningResponse&quot;: { # External key management systems(EKM) Provisioning response # Optional. Represents the Ekm Provisioning State of the given workload.
@@ -314,6 +335,10 @@ <h3>Method Details</h3>
314335
},
315336
&quot;name&quot;: &quot;A String&quot;, # Optional. The resource name of the workload. Format: organizations/{organization}/locations/{location}/workloads/{workload} Read-only.
316337
&quot;partner&quot;: &quot;A String&quot;, # Optional. Partner regime associated with this workload.
338+
&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
339+
&quot;dataLogsViewer&quot;: True or False, # Allow the partner to view inspectability logs and monitoring violations.
340+
&quot;remediateFolderViolations&quot;: True or False, # Allow partner to monitor folder and remediate violations
341+
},
317342
&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}
318343
&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.
319344
{ # Represent the custom settings for the resources to be created.
@@ -334,6 +359,7 @@ <h3>Method Details</h3>
334359
],
335360
&quot;setupStatus&quot;: &quot;A String&quot;, # Indicates SAA enrollment status of a given workload.
336361
},
362+
&quot;violationNotificationsEnabled&quot;: True or False, # Optional. Indicates whether the e-mail notification for a violation is enabled for a workload. This value will be by default True, and if not present will be considered as true. This should only be updated via updateWorkload call. Any Changes to this field during the createWorkload call will not be honored. This will always be true while creating the workload.
337363
}</pre>
338364
</div>
339365

@@ -373,6 +399,14 @@ <h3>Method Details</h3>
373399
&quot;compliantButDisallowedServices&quot;: [ # Output only. Urls for services which are compliant for this Assured Workload, but which are currently disallowed by the ResourceUsageRestriction org policy. Invoke RestrictAllowedResources endpoint to allow your project developers to use these services in their environment.&quot;
374400
&quot;A String&quot;,
375401
],
402+
&quot;controls&quot;: { # Controls enabled to the user associated with this workload # Output only. Controls associated with the customer workload
403+
&quot;appliedOrgPolicies&quot;: [ # Output only. Org policies currently applied by this Assured Workload
404+
{ # An org policy control applied by Assured Workloads
405+
&quot;constraint&quot;: &quot;A String&quot;, # Output only. Constraint name of the org policy control Example: constraints/gcp.resourcelocations
406+
&quot;version&quot;: 42, # Output only. Org policy version
407+
},
408+
],
409+
},
376410
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Immutable. The Workload creation timestamp.
377411
&quot;displayName&quot;: &quot;A String&quot;, # Required. The user-assigned display name of the Workload. When present it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, and spaces. Example: My Workload
378412
&quot;ekmProvisioningResponse&quot;: { # External key management systems(EKM) Provisioning response # Optional. Represents the Ekm Provisioning State of the given workload.
@@ -410,6 +444,10 @@ <h3>Method Details</h3>
410444
},
411445
&quot;name&quot;: &quot;A String&quot;, # Optional. The resource name of the workload. Format: organizations/{organization}/locations/{location}/workloads/{workload} Read-only.
412446
&quot;partner&quot;: &quot;A String&quot;, # Optional. Partner regime associated with this workload.
447+
&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
448+
&quot;dataLogsViewer&quot;: True or False, # Allow the partner to view inspectability logs and monitoring violations.
449+
&quot;remediateFolderViolations&quot;: True or False, # Allow partner to monitor folder and remediate violations
450+
},
413451
&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}
414452
&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.
415453
{ # Represent the custom settings for the resources to be created.
@@ -430,6 +468,7 @@ <h3>Method Details</h3>
430468
],
431469
&quot;setupStatus&quot;: &quot;A String&quot;, # Indicates SAA enrollment status of a given workload.
432470
},
471+
&quot;violationNotificationsEnabled&quot;: True or False, # Optional. Indicates whether the e-mail notification for a violation is enabled for a workload. This value will be by default True, and if not present will be considered as true. This should only be updated via updateWorkload call. Any Changes to this field during the createWorkload call will not be honored. This will always be true while creating the workload.
433472
},
434473
],
435474
}</pre>
@@ -474,6 +513,14 @@ <h3>Method Details</h3>
474513
&quot;compliantButDisallowedServices&quot;: [ # Output only. Urls for services which are compliant for this Assured Workload, but which are currently disallowed by the ResourceUsageRestriction org policy. Invoke RestrictAllowedResources endpoint to allow your project developers to use these services in their environment.&quot;
475514
&quot;A String&quot;,
476515
],
516+
&quot;controls&quot;: { # Controls enabled to the user associated with this workload # Output only. Controls associated with the customer workload
517+
&quot;appliedOrgPolicies&quot;: [ # Output only. Org policies currently applied by this Assured Workload
518+
{ # An org policy control applied by Assured Workloads
519+
&quot;constraint&quot;: &quot;A String&quot;, # Output only. Constraint name of the org policy control Example: constraints/gcp.resourcelocations
520+
&quot;version&quot;: 42, # Output only. Org policy version
521+
},
522+
],
523+
},
477524
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Immutable. The Workload creation timestamp.
478525
&quot;displayName&quot;: &quot;A String&quot;, # Required. The user-assigned display name of the Workload. When present it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, and spaces. Example: My Workload
479526
&quot;ekmProvisioningResponse&quot;: { # External key management systems(EKM) Provisioning response # Optional. Represents the Ekm Provisioning State of the given workload.
@@ -511,6 +558,10 @@ <h3>Method Details</h3>
511558
},
512559
&quot;name&quot;: &quot;A String&quot;, # Optional. The resource name of the workload. Format: organizations/{organization}/locations/{location}/workloads/{workload} Read-only.
513560
&quot;partner&quot;: &quot;A String&quot;, # Optional. Partner regime associated with this workload.
561+
&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
562+
&quot;dataLogsViewer&quot;: True or False, # Allow the partner to view inspectability logs and monitoring violations.
563+
&quot;remediateFolderViolations&quot;: True or False, # Allow partner to monitor folder and remediate violations
564+
},
514565
&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}
515566
&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.
516567
{ # Represent the custom settings for the resources to be created.
@@ -531,6 +582,7 @@ <h3>Method Details</h3>
531582
],
532583
&quot;setupStatus&quot;: &quot;A String&quot;, # Indicates SAA enrollment status of a given workload.
533584
},
585+
&quot;violationNotificationsEnabled&quot;: True or False, # Optional. Indicates whether the e-mail notification for a violation is enabled for a workload. This value will be by default True, and if not present will be considered as true. This should only be updated via updateWorkload call. Any Changes to this field during the createWorkload call will not be honored. This will always be true while creating the workload.
534586
}
535587

536588
updateMask: string, Required. The list of fields to be updated.
@@ -558,6 +610,14 @@ <h3>Method Details</h3>
558610
&quot;compliantButDisallowedServices&quot;: [ # Output only. Urls for services which are compliant for this Assured Workload, but which are currently disallowed by the ResourceUsageRestriction org policy. Invoke RestrictAllowedResources endpoint to allow your project developers to use these services in their environment.&quot;
559611
&quot;A String&quot;,
560612
],
613+
&quot;controls&quot;: { # Controls enabled to the user associated with this workload # Output only. Controls associated with the customer workload
614+
&quot;appliedOrgPolicies&quot;: [ # Output only. Org policies currently applied by this Assured Workload
615+
{ # An org policy control applied by Assured Workloads
616+
&quot;constraint&quot;: &quot;A String&quot;, # Output only. Constraint name of the org policy control Example: constraints/gcp.resourcelocations
617+
&quot;version&quot;: 42, # Output only. Org policy version
618+
},
619+
],
620+
},
561621
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Immutable. The Workload creation timestamp.
562622
&quot;displayName&quot;: &quot;A String&quot;, # Required. The user-assigned display name of the Workload. When present it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, and spaces. Example: My Workload
563623
&quot;ekmProvisioningResponse&quot;: { # External key management systems(EKM) Provisioning response # Optional. Represents the Ekm Provisioning State of the given workload.
@@ -595,6 +655,10 @@ <h3>Method Details</h3>
595655
},
596656
&quot;name&quot;: &quot;A String&quot;, # Optional. The resource name of the workload. Format: organizations/{organization}/locations/{location}/workloads/{workload} Read-only.
597657
&quot;partner&quot;: &quot;A String&quot;, # Optional. Partner regime associated with this workload.
658+
&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
659+
&quot;dataLogsViewer&quot;: True or False, # Allow the partner to view inspectability logs and monitoring violations.
660+
&quot;remediateFolderViolations&quot;: True or False, # Allow partner to monitor folder and remediate violations
661+
},
598662
&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}
599663
&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.
600664
{ # Represent the custom settings for the resources to be created.
@@ -615,6 +679,7 @@ <h3>Method Details</h3>
615679
],
616680
&quot;setupStatus&quot;: &quot;A String&quot;, # Indicates SAA enrollment status of a given workload.
617681
},
682+
&quot;violationNotificationsEnabled&quot;: True or False, # Optional. Indicates whether the e-mail notification for a violation is enabled for a workload. This value will be by default True, and if not present will be considered as true. This should only be updated via updateWorkload call. Any Changes to this field during the createWorkload call will not be honored. This will always be true while creating the workload.
618683
}</pre>
619684
</div>
620685

0 commit comments

Comments
 (0)