Namespace Google.Apis.OrgPolicyAPI.v2
Classes
FoldersResource
The "folders" collection of methods.
FoldersResource.ConstraintsResource
The "constraints" collection of methods.
FoldersResource.ConstraintsResource.ListRequest
Lists constraints that could be applied on the specified resource.
FoldersResource.PoliciesResource
The "policies" collection of methods.
FoldersResource.PoliciesResource.CreateRequest
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 Google Cloud resource.
FoldersResource.PoliciesResource.DeleteRequest
Deletes a policy. Returns a google.rpc.Status with google.rpc.Code.NOT_FOUND if the constraint or
organization policy does not exist.
FoldersResource.PoliciesResource.GetEffectivePolicyRequest
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 an evaluated policy across multiple resources. Subtrees of Resource Manager resource
hierarchy with 'under:' prefix will not be expanded.
FoldersResource.PoliciesResource.GetRequest
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.
FoldersResource.PoliciesResource.ListRequest
Retrieves all of the policies that exist on a particular resource.
FoldersResource.PoliciesResource.PatchRequest
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.
OrgPolicyAPIBaseServiceRequest<TResponse>
A base abstract class for OrgPolicyAPI requests.
OrgPolicyAPIService
The OrgPolicyAPI Service.
OrgPolicyAPIService.Scope
Available OAuth 2.0 scopes for use with the Organization Policy API.
OrgPolicyAPIService.ScopeConstants
Available OAuth 2.0 scope constants for use with the Organization Policy API.
OrganizationsResource
The "organizations" collection of methods.
OrganizationsResource.ConstraintsResource
The "constraints" collection of methods.
OrganizationsResource.ConstraintsResource.ListRequest
Lists constraints that could be applied on the specified resource.
OrganizationsResource.CustomConstraintsResource
The "customConstraints" collection of methods.
OrganizationsResource.CustomConstraintsResource.CreateRequest
Creates a custom constraint. Returns a google.rpc.Status with google.rpc.Code.NOT_FOUND if the
organization does not exist. Returns a google.rpc.Status with google.rpc.Code.ALREADY_EXISTS if the
constraint already exists on the given organization.
OrganizationsResource.CustomConstraintsResource.DeleteRequest
Deletes a custom constraint. Returns a google.rpc.Status with google.rpc.Code.NOT_FOUND if the
constraint does not exist.
OrganizationsResource.CustomConstraintsResource.GetRequest
Gets a custom or managed constraint. Returns a google.rpc.Status with google.rpc.Code.NOT_FOUND if
the custom or managed constraint does not exist.
OrganizationsResource.CustomConstraintsResource.ListRequest
Retrieves all of the custom constraints that exist on a particular organization resource.
OrganizationsResource.CustomConstraintsResource.PatchRequest
Updates a custom constraint. Returns a google.rpc.Status with google.rpc.Code.NOT_FOUND if the
constraint does not exist. Note: the supplied policy will perform a full overwrite of all fields.
OrganizationsResource.PoliciesResource
The "policies" collection of methods.
OrganizationsResource.PoliciesResource.CreateRequest
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 Google Cloud resource.
OrganizationsResource.PoliciesResource.DeleteRequest
Deletes a policy. Returns a google.rpc.Status with google.rpc.Code.NOT_FOUND if the constraint or
organization policy does not exist.
OrganizationsResource.PoliciesResource.GetEffectivePolicyRequest
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 an evaluated policy across multiple resources. Subtrees of Resource Manager resource
hierarchy with 'under:' prefix will not be expanded.
OrganizationsResource.PoliciesResource.GetRequest
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.
OrganizationsResource.PoliciesResource.ListRequest
Retrieves all of the policies that exist on a particular resource.
OrganizationsResource.PoliciesResource.PatchRequest
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.
ProjectsResource
The "projects" collection of methods.
ProjectsResource.ConstraintsResource
The "constraints" collection of methods.
ProjectsResource.ConstraintsResource.ListRequest
Lists constraints that could be applied on the specified resource.
ProjectsResource.PoliciesResource
The "policies" collection of methods.
ProjectsResource.PoliciesResource.CreateRequest
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 Google Cloud resource.
ProjectsResource.PoliciesResource.DeleteRequest
Deletes a policy. Returns a google.rpc.Status with google.rpc.Code.NOT_FOUND if the constraint or
organization policy does not exist.
ProjectsResource.PoliciesResource.GetEffectivePolicyRequest
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 an evaluated policy across multiple resources. Subtrees of Resource Manager resource
hierarchy with 'under:' prefix will not be expanded.
ProjectsResource.PoliciesResource.GetRequest
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.
ProjectsResource.PoliciesResource.ListRequest
Retrieves all of the policies that exist on a particular resource.
ProjectsResource.PoliciesResource.PatchRequest
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.
Enums
OrgPolicyAPIBaseServiceRequest<TResponse>.AltEnum
Data format for response.
OrgPolicyAPIBaseServiceRequest<TResponse>.XgafvEnum
V1 error format.