View Source GoogleApi.Run.V2.Model.GoogleCloudRunV2EnvVar (google_api_run v0.30.0)

EnvVar represents an environment variable present in a Container.

Attributes

  • name (type: String.t, default: nil) - Required. Name of the environment variable. Must not exceed 32768 characters.
  • 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 "", and the maximum length is 32768 bytes.
  • valueSource (type: GoogleApi.Run.V2.Model.GoogleCloudRunV2EnvVarSource.t, default: nil) - Source for the environment variable's value.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Run.V2.Model.GoogleCloudRunV2EnvVar{
  name: String.t() | nil,
  value: String.t() | nil,
  valueSource: GoogleApi.Run.V2.Model.GoogleCloudRunV2EnvVarSource.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.