orgpolicy.v2 library Null safety

Organization Policy API - v2

The Org Policy API allows users to configure governance rules on their GCP resources across the Cloud Resource Hierarchy.

For more information, see cloud.google.com/orgpolicy/docs/reference/rest/index.html

Create an instance of OrgPolicyApi to access these resources:

Classes

FoldersConstraintsResource
FoldersPoliciesResource
FoldersResource
GoogleCloudOrgpolicyV2AlternatePolicySpec
Similar to PolicySpec but with an extra 'launch' field for launch reference.
GoogleCloudOrgpolicyV2Constraint
A constraint describes a way to restrict resource's configuration.
GoogleCloudOrgpolicyV2ConstraintListConstraint
A Constraint that allows or disallows a list of string values, which are configured by an Organization's policy administrator with a Policy.
GoogleCloudOrgpolicyV2CustomConstraint
A custom constraint defined by customers which can only be applied to the given resource types and organization.
GoogleCloudOrgpolicyV2ListConstraintsResponse
The response returned from the ListConstraints method.
GoogleCloudOrgpolicyV2ListCustomConstraintsResponse
The response returned from the ListCustomConstraints method.
GoogleCloudOrgpolicyV2ListPoliciesResponse
The response returned from the ListPolicies method.
GoogleCloudOrgpolicyV2Policy
Defines a Cloud Organization Policy which is used to specify Constraints for configurations of Cloud Platform resources.
GoogleCloudOrgpolicyV2PolicySpec
Defines a Cloud Organization PolicySpec which is used to specify Constraints for configurations of Cloud Platform resources.
GoogleCloudOrgpolicyV2PolicySpecPolicyRule
A rule used to express this policy.
GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues
A message that holds specific allowed and denied values.
OrganizationsConstraintsResource
OrganizationsCustomConstraintsResource
OrganizationsPoliciesResource
OrganizationsResource
OrgPolicyApi
The Org Policy API allows users to configure governance rules on their GCP resources across the Cloud Resource Hierarchy.
ProjectsConstraintsResource
ProjectsPoliciesResource
ProjectsResource

Typedefs

GoogleCloudOrgpolicyV2ConstraintBooleanConstraint = $Empty
A Constraint that is either enforced or not.
GoogleProtobufEmpty = $Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs.
GoogleTypeExpr = $Expr
Represents a textual expression in the Common Expression Language (CEL) syntax.

Exceptions / Errors

ApiRequestError
Represents a general error reported by the API endpoint.
DetailedApiRequestError
Represents a specific error reported by the API endpoint.