RestrictAllowedResourcesRequest(
mapping=None, *, ignore_unknown_fields=False, **kwargs
)
Request for restricting list of available resources in Workload environment.
Attributes
Name | Description |
name |
str
Required. The resource name of the Workload. This is the workloads's relative path in the API, formatted as "organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}". For example, "organizations/123/locations/us-east1/workloads/assured-workload-1". |
restriction_type |
google.cloud.assuredworkloads_v1beta1.types.RestrictAllowedResourcesRequest.RestrictionType
Required. The type of restriction for using gcp products in the Workload environment. |
Classes
RestrictionType
RestrictionType(value)
The type of restriction.
Values: RESTRICTION_TYPE_UNSPECIFIED (0): Unknown restriction type. ALLOW_ALL_GCP_RESOURCES (1): Allow the use all of all gcp products, irrespective of the compliance posture. This effectively removes gcp.restrictServiceUsage OrgPolicy on the AssuredWorkloads Folder. ALLOW_COMPLIANT_RESOURCES (2): Based on Workload's compliance regime, allowed list changes. See - https://cloud.google.com/assured-workloads/docs/supported-products for the list of supported resources.