Google Cloud Assured Workloads V1 Client - Class RestrictionType (0.9.1)

Reference documentation and code samples for the Google Cloud Assured Workloads V1 Client class RestrictionType.

The type of restriction.

Protobuf type google.cloud.assuredworkloads.v1.RestrictAllowedResourcesRequest.RestrictionType

Namespace

Google \ Cloud \ AssuredWorkloads \ V1 \ RestrictAllowedResourcesRequest

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
name mixed

Constants

RESTRICTION_TYPE_UNSPECIFIED

Value: 0

Unknown restriction type.

Generated from protobuf enum RESTRICTION_TYPE_UNSPECIFIED = 0;

ALLOW_ALL_GCP_RESOURCES

Value: 1

Allow the use all of all gcp products, irrespective of the compliance posture. This effectively removes gcp.restrictServiceUsage OrgPolicy on the AssuredWorkloads Folder.

Generated from protobuf enum ALLOW_ALL_GCP_RESOURCES = 1;

ALLOW_COMPLIANT_RESOURCES

Value: 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.

Generated from protobuf enum ALLOW_COMPLIANT_RESOURCES = 2;