orgpolicy.v2 library Null safety

Organization Policy API - v2

The Org Policy API allows users to configure governance ruleson 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
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.
GoogleCloudOrgpolicyV2ListConstraintsResponse
The response returned from the ListConstraints 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
OrganizationsPoliciesResource
OrganizationsResource
OrgPolicyApi
The Org Policy API allows users to configure governance ruleson 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.