Orgpolicy_v2Functions
object Orgpolicy_v2Functions
Functions
Link copied to clipboard
Gets a custom constraint. Returns a google.rpc.Status
with google.rpc.Code.NOT_FOUND
if the custom constraint does not exist.
suspend fun getCustomConstraint(argument: suspend GetCustomConstraintPlainArgsBuilder.() -> Unit): GetCustomConstraintResult
suspend fun getCustomConstraint(customConstraintId: String, organizationId: String): GetCustomConstraintResult
Link copied to clipboard
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.
suspend fun getFolderPolicy(argument: suspend GetFolderPolicyPlainArgsBuilder.() -> Unit): GetFolderPolicyResult
Link copied to clipboard
suspend fun getOrganizationPolicy(argument: GetOrganizationPolicyPlainArgs): GetOrganizationPolicyResult
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.
suspend fun getOrganizationPolicy(argument: suspend GetOrganizationPolicyPlainArgsBuilder.() -> Unit): GetOrganizationPolicyResult
suspend fun getOrganizationPolicy(organizationId: String, policyId: String): GetOrganizationPolicyResult
Link copied to clipboard
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.