Package-level declarations

Types

Link copied to clipboard
class CustomConstraint : KotlinCustomResource

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.

Link copied to clipboard
data class CustomConstraintArgs(val actionType: Output<CustomConstraintActionType>? = null, val condition: Output<String>? = null, val description: Output<String>? = null, val displayName: Output<String>? = null, val methodTypes: Output<List<CustomConstraintMethodTypesItem>>? = null, val name: Output<String>? = null, val organizationId: Output<String>? = null, val resourceTypes: Output<List<String>>? = null) : ConvertibleToJava<CustomConstraintArgs>

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.

Link copied to clipboard
object CustomConstraintMapper : ResourceMapper<CustomConstraint>
Link copied to clipboard
class FolderPolicy : KotlinCustomResource

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. Auto-naming is currently not supported for this resource.

Link copied to clipboard
data class FolderPolicyArgs(val alternate: Output<GoogleCloudOrgpolicyV2AlternatePolicySpecArgs>? = null, val dryRunSpec: Output<GoogleCloudOrgpolicyV2PolicySpecArgs>? = null, val folderId: Output<String>? = null, val name: Output<String>? = null, val spec: Output<GoogleCloudOrgpolicyV2PolicySpecArgs>? = null) : ConvertibleToJava<FolderPolicyArgs>

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. Auto-naming is currently not supported for this resource.

Link copied to clipboard
Link copied to clipboard
object FolderPolicyMapper : ResourceMapper<FolderPolicy>
Link copied to clipboard
Link copied to clipboard
class OrganizationPolicy : KotlinCustomResource

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. Auto-naming is currently not supported for this resource.

Link copied to clipboard
data class OrganizationPolicyArgs(val alternate: Output<GoogleCloudOrgpolicyV2AlternatePolicySpecArgs>? = null, val dryRunSpec: Output<GoogleCloudOrgpolicyV2PolicySpecArgs>? = null, val name: Output<String>? = null, val organizationId: Output<String>? = null, val spec: Output<GoogleCloudOrgpolicyV2PolicySpecArgs>? = null) : ConvertibleToJava<OrganizationPolicyArgs>

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. Auto-naming is currently not supported for this resource.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class Policy : KotlinCustomResource

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.

Link copied to clipboard
data class PolicyArgs(val alternate: Output<GoogleCloudOrgpolicyV2AlternatePolicySpecArgs>? = null, val dryRunSpec: Output<GoogleCloudOrgpolicyV2PolicySpecArgs>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val spec: Output<GoogleCloudOrgpolicyV2PolicySpecArgs>? = null) : ConvertibleToJava<PolicyArgs>

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.

Link copied to clipboard

Builder for PolicyArgs.

Link copied to clipboard
object PolicyMapper : ResourceMapper<Policy>
Link copied to clipboard

Builder for Policy.

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun policy(name: String): Policy
suspend fun policy(name: String, block: suspend PolicyResourceBuilder.() -> Unit): Policy