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
Name
Description
value
mixed
static::value
Parameter
Name
Description
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Google Cloud Assured Workloads V1 Client - Class RestrictionType (1.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.5 (latest)](/php/docs/reference/cloud-assured-workloads/latest/V1.RestrictAllowedResourcesRequest.RestrictionType)\n- [1.0.4](/php/docs/reference/cloud-assured-workloads/1.0.4/V1.RestrictAllowedResourcesRequest.RestrictionType)\n- [0.11.5](/php/docs/reference/cloud-assured-workloads/0.11.5/V1.RestrictAllowedResourcesRequest.RestrictionType)\n- [0.10.2](/php/docs/reference/cloud-assured-workloads/0.10.2/V1.RestrictAllowedResourcesRequest.RestrictionType)\n- [0.9.1](/php/docs/reference/cloud-assured-workloads/0.9.1/V1.RestrictAllowedResourcesRequest.RestrictionType)\n- [0.8.3](/php/docs/reference/cloud-assured-workloads/0.8.3/V1.RestrictAllowedResourcesRequest.RestrictionType)\n- [0.7.3](/php/docs/reference/cloud-assured-workloads/0.7.3/V1.RestrictAllowedResourcesRequest.RestrictionType) \nReference documentation and code samples for the Google Cloud Assured Workloads V1 Client class RestrictionType.\n\nThe type of restriction.\n\nProtobuf type `google.cloud.assuredworkloads.v1.RestrictAllowedResourcesRequest.RestrictionType`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ AssuredWorkloads \\\\ V1 \\\\ RestrictAllowedResourcesRequest\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### RESTRICTION_TYPE_UNSPECIFIED\n\n Value: 0\n\nUnknown restriction type.\n\nGenerated from protobuf enum `RESTRICTION_TYPE_UNSPECIFIED = 0;`\n\n### ALLOW_ALL_GCP_RESOURCES\n\n Value: 1\n\nAllow the use all of all gcp products, irrespective of the compliance\nposture. This effectively removes gcp.restrictServiceUsage OrgPolicy\non the AssuredWorkloads Folder.\n\nGenerated from protobuf enum `ALLOW_ALL_GCP_RESOURCES = 1;`\n\n### ALLOW_COMPLIANT_RESOURCES\n\n Value: 2\n\nBased on Workload's compliance regime, allowed list changes.\n\nSee - \u003chttps://cloud.google.com/assured-workloads/docs/supported-products\u003e\nfor the list of supported resources.\n\nGenerated from protobuf enum `ALLOW_COMPLIANT_RESOURCES = 2;`"]]