GoogleApi.CloudRun.V1alpha1.Model.EnvVar (google_api_cloud_run v0.42.0) View Source

EnvVar represents an environment variable present in a Container.

Attributes

  • name (type: String.t, default: nil) - Name of the environment variable. Must be a C_IDENTIFIER.
  • value (type: String.t, default: nil) - Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "". +optional
  • valueFrom (type: GoogleApi.CloudRun.V1alpha1.Model.EnvVarSource.t, default: nil) - Cloud Run fully managed: not supported Cloud Run on GKE: supported Source for the environment variable's value. Cannot be used if value is not empty. +optional

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.CloudRun.V1alpha1.Model.EnvVar{
  name: String.t(),
  value: String.t(),
  valueFrom: GoogleApi.CloudRun.V1alpha1.Model.EnvVarSource.t()
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.