googleapis.com – orgpolicy
The Org Policy API allows users to configure governance rules on their GCP resources across the Cloud Resource Hierarchy.
- Homepage
- https://api.apis.guru/v2/specs/googleapis.com:orgpolicy/v2.json
- Provider
- googleapis.com:orgpolicy / orgpolicy
- OpenAPI version
- 3.0.0
- Spec (JSON)
- https://api.apis.guru/v2/specs/googleapis.com/orgpolicy/v2/openapi.json
- Spec (YAML)
- https://api.apis.guru/v2/specs/googleapis.com/orgpolicy/v2/openapi.yaml
Tools (11)
Extracted live via the executor SDK.
-
organizations.orgpolicyOrganizationsCustomConstraintsCreateCreates a custom constraint. Returns a
google.rpc.Statuswithgoogle.rpc.Code.NOT_FOUNDif the organization does not exist. Returns agoogle.rpc.Statuswithgoogle.rpc.Code.ALREADY_EXISTSif the constraint already exists on the given organization. -
organizations.orgpolicyOrganizationsCustomConstraintsListRetrieves all of the custom constraints that exist on a particular organization resource.
-
projects.orgpolicyProjectsConstraintsListLists constraints that could be applied on the specified resource.
-
projects.orgpolicyProjectsPoliciesCreateCreates a policy. Returns a
google.rpc.Statuswithgoogle.rpc.Code.NOT_FOUNDif the constraint does not exist. Returns agoogle.rpc.Statuswithgoogle.rpc.Code.ALREADY_EXISTSif the policy already exists on the given Google Cloud resource. -
projects.orgpolicyProjectsPoliciesDeleteDeletes a policy. Returns a
google.rpc.Statuswithgoogle.rpc.Code.NOT_FOUNDif the constraint or organization policy does not exist. -
projects.orgpolicyProjectsPoliciesGetGets a policy on a resource. If no policy is set on the resource,
NOT_FOUNDis returned. Theetagvalue can be used withUpdatePolicy()to update a policy during read-modify-write. -
projects.orgpolicyProjectsPoliciesGetEffectivePolicyGets the effective policy on a resource. This is the result of merging policies in the resource hierarchy and evaluating conditions. The returned policy will not have an
etagorconditionset because it is an evaluated policy across multiple resources. Subtrees of Resource Manager resource hierarchy with 'under:' prefix will not be expanded. -
projects.orgpolicyProjectsPoliciesListRetrieves all of the policies that exist on a particular resource.
-
projects.orgpolicyProjectsPoliciesPatchUpdates a policy. Returns a
google.rpc.Statuswithgoogle.rpc.Code.NOT_FOUNDif the constraint or the policy do not exist. Returns agoogle.rpc.Statuswithgoogle.rpc.Code.ABORTEDif the etag supplied in the request does not match the persisted etag of the policy Note: the supplied policy will perform a full overwrite of all fields. -
openapi.previewSpecPreview an OpenAPI document before adding it as a source
-
openapi.addSourceAdd an OpenAPI source and register its operations as tools