GoogleApi.MachineLearning.V1.Model.GoogleCloudMlV1_EnvVar (google_api_machine_learning v0.27.0) View Source

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

Attributes

  • name (type: String.t, default: nil) - Name of the environment variable. Must be a valid C identifier and must not begin with the prefix AIP_.
  • value (type: String.t, default: nil) - Value of the environment variable. Defaults to an empty string. In this field, you can reference environment variables set by AI Platform Prediction 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)

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.MachineLearning.V1.Model.GoogleCloudMlV1_EnvVar{
  name: String.t() | nil,
  value: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.