Class RestrictAllowedResourcesRequest (1.4.2)

RestrictAllowedResourcesRequest(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

Request for restricting list of available resources in Workload environment.

Attributes

NameDescription
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.