GoogleCloudMlV1__EnvVarArgs

data class GoogleCloudMlV1__EnvVarArgs(val name: Output<String>? = null, val value: Output<String>? = null) : ConvertibleToJava<GoogleCloudMlV1__EnvVarArgs>

Represents an environment variable to be made available in a container. This message is a subset of the Kubernetes EnvVar v1 core specification.

Constructors

Link copied to clipboard
fun GoogleCloudMlV1__EnvVarArgs(name: Output<String>? = null, value: Output<String>? = null)

Functions

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

Properties

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

Name of the environment variable. Must be a valid C identifier and must not begin with the prefix AIP_.

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

Value of the environment variable. Defaults to an empty string. In this field, you can reference /ai-platform/prediction/docs/custom-container-requirements#aip-variables and environment variables set earlier in the same env field as where this message occurs. You cannot reference environment variables set in the Docker image. In order for environment variables to be expanded, reference them by using the following syntax: $(VARIABLE_NAME) Note that this differs from Bash variable expansion, which does not use parentheses. If a variable cannot be resolved, the reference in the input string is used unchanged. To avoid variable expansion, you can escape this syntax with $$; for example: $$(VARIABLE_NAME)