EnvironmentArgs

data class EnvironmentArgs(val config: Output<EnvironmentConfigArgs>? = null, val labels: Output<Map<String, String>>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val state: Output<EnvironmentState>? = null) : ConvertibleToJava<EnvironmentArgs>

Create a new environment.

Constructors

Link copied to clipboard
fun EnvironmentArgs(config: Output<EnvironmentConfigArgs>? = null, labels: Output<Map<String, String>>? = null, location: Output<String>? = null, name: Output<String>? = null, project: Output<String>? = null, state: Output<EnvironmentState>? = null)

Functions

Link copied to clipboard
open override fun toJava(): EnvironmentArgs

Properties

Link copied to clipboard
val config: Output<EnvironmentConfigArgs>? = null

Configuration parameters for this environment.

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

Optional. User-defined labels for this environment. The labels map can contain no more than 64 entries. Entries of the labels map are UTF8 strings that comply with the following restrictions: * Keys must conform to regexp: \p{Ll}\p{Lo}{0,62} * Values must conform to regexp: \p{Ll}\p{Lo}\p{N}_-{0,63} * Both keys and values are additionally constrained to be <= 128 bytes in size.

Link copied to clipboard
val location: Output<String>? = null
Link copied to clipboard
val name: Output<String>? = null

The resource name of the environment, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" EnvironmentId must start with a lowercase letter followed by up to 63 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard
val state: Output<EnvironmentState>? = null

The current state of the environment.