Organization Policy API: organizations. The Org Policy API allows users to configure governance ruleson their GCP resources across the Cloud Resource Hierarchy. See: https://cloud.google.com/orgpolicy/docs/reference/rest/index.htmlapi/reference/rest/v2/organizations
Organization Policy API: organizations. The Org Policy API allows users to configure governance ruleson their GCP resources across the Cloud Resource Hierarchy. See: https://cloud.google.com/orgpolicy/docs/reference/rest/index.htmlapi/reference/rest/v2/organizations
(constraints-list$ auth parameters)Required parameters: parent
Optional parameters: pageSize, pageToken
Lists Constraints that could be applied on the specified resource.
https://cloud.google.com/orgpolicy/docs/reference/rest/index.htmlapi/reference/rest/v2/organizations/constraints/list Required parameters: parent Optional parameters: pageSize, pageToken Lists `Constraints` that could be applied on the specified resource.
(policies-create$ auth parameters body)Required parameters: parent
Optional parameters: none
Body:
{:spec {:inheritFromParent boolean, :rules [GoogleCloudOrgpolicyV2PolicySpecPolicyRule], :updateTime string, :reset boolean, :etag string}, :name string}
Creates a Policy. Returns a google.rpc.Status with google.rpc.Code.NOT_FOUND if the constraint does not exist. Returns a google.rpc.Status with google.rpc.Code.ALREADY_EXISTS if the policy already exists on the given Cloud resource.
https://cloud.google.com/orgpolicy/docs/reference/rest/index.htmlapi/reference/rest/v2/organizations/policies/create
Required parameters: parent
Optional parameters: none
Body:
{:spec {:inheritFromParent boolean,
:rules [GoogleCloudOrgpolicyV2PolicySpecPolicyRule],
:updateTime string,
:reset boolean,
:etag string},
:name string}
Creates a Policy. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint does not exist. Returns a `google.rpc.Status` with `google.rpc.Code.ALREADY_EXISTS` if the policy already exists on the given Cloud resource.(policies-delete$ auth parameters)Required parameters: name
Optional parameters: none
Deletes a Policy. Returns a google.rpc.Status with google.rpc.Code.NOT_FOUND if the constraint or Org Policy does not exist.
https://cloud.google.com/orgpolicy/docs/reference/rest/index.htmlapi/reference/rest/v2/organizations/policies/delete Required parameters: name Optional parameters: none Deletes a Policy. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint or Org Policy does not exist.
(policies-get$ auth parameters)Required parameters: name
Optional parameters: none
Gets a Policy on a resource. If no Policy is set on the resource, NOT_FOUND is returned. The etag value can be used with UpdatePolicy() to update a Policy during read-modify-write.
https://cloud.google.com/orgpolicy/docs/reference/rest/index.htmlapi/reference/rest/v2/organizations/policies/get Required parameters: name Optional parameters: none Gets a `Policy` on a resource. If no `Policy` is set on the resource, NOT_FOUND is returned. The `etag` value can be used with `UpdatePolicy()` to update a `Policy` during read-modify-write.
(policies-getEffectivePolicy$ auth parameters)Required parameters: name
Optional parameters: none
Gets 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 etag or condition set because it is a computed Policy across multiple resources. Subtrees of Resource Manager resource hierarchy with 'under:' prefix will not be expanded.
https://cloud.google.com/orgpolicy/docs/reference/rest/index.htmlapi/reference/rest/v2/organizations/policies/getEffectivePolicy Required parameters: name Optional parameters: none Gets 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 `etag` or `condition` set because it is a computed `Policy` across multiple resources. Subtrees of Resource Manager resource hierarchy with 'under:' prefix will not be expanded.
(policies-list$ auth parameters)Required parameters: parent
Optional parameters: pageSize, pageToken
Retrieves all of the Policies that exist on a particular resource.
https://cloud.google.com/orgpolicy/docs/reference/rest/index.htmlapi/reference/rest/v2/organizations/policies/list Required parameters: parent Optional parameters: pageSize, pageToken Retrieves all of the `Policies` that exist on a particular resource.
(policies-patch$ auth parameters body)Required parameters: name
Optional parameters: none
Body:
{:spec {:inheritFromParent boolean, :rules [GoogleCloudOrgpolicyV2PolicySpecPolicyRule], :updateTime string, :reset boolean, :etag string}, :name string}
Updates a Policy. Returns a google.rpc.Status with google.rpc.Code.NOT_FOUND if the constraint or the policy do not exist. Returns a google.rpc.Status with google.rpc.Code.ABORTED if 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.
https://cloud.google.com/orgpolicy/docs/reference/rest/index.htmlapi/reference/rest/v2/organizations/policies/patch
Required parameters: name
Optional parameters: none
Body:
{:spec {:inheritFromParent boolean,
:rules [GoogleCloudOrgpolicyV2PolicySpecPolicyRule],
:updateTime string,
:reset boolean,
:etag string},
:name string}
Updates a Policy. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the constraint or the policy do not exist. Returns a `google.rpc.Status` with `google.rpc.Code.ABORTED` if 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.cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |