Liking cljdoc? Tell your friends :D

happygapi.orgpolicy.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

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
raw docstring

constraints-list$clj

(constraints-list$ auth parameters)

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.

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.
sourceraw docstring

policies-create$clj

(policies-create$ auth parameters body)

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.

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.
sourceraw docstring

policies-delete$clj

(policies-delete$ auth parameters)

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.

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.
sourceraw docstring

policies-get$clj

(policies-get$ auth parameters)

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.

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.
sourceraw docstring

policies-getEffectivePolicy$clj

(policies-getEffectivePolicy$ auth parameters)

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.

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.
sourceraw docstring

policies-list$clj

(policies-list$ auth parameters)

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.

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.
sourceraw docstring

policies-patch$clj

(policies-patch$ auth parameters body)

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.

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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close