Cloud Run V2 API - Class Google::Cloud::Run::V2::EnvVar (v0.19.0)

Reference documentation and code samples for the Cloud Run V2 API class Google::Cloud::Run::V2::EnvVar.

EnvVar represents an environment variable present in a Container.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#name

def name() -> ::String
Returns
  • (::String) — Required. Name of the environment variable. Must not exceed 32768 characters.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. Name of the environment variable. Must not exceed 32768 characters.
Returns
  • (::String) — Required. Name of the environment variable. Must not exceed 32768 characters.

#value

def value() -> ::String
Returns
  • (::String) — Literal value of the environment variable. Defaults to "", and the maximum length is 32768 bytes. Variable references are not supported in Cloud Run.

#value=

def value=(value) -> ::String
Parameter
  • value (::String) — Literal value of the environment variable. Defaults to "", and the maximum length is 32768 bytes. Variable references are not supported in Cloud Run.
Returns
  • (::String) — Literal value of the environment variable. Defaults to "", and the maximum length is 32768 bytes. Variable references are not supported in Cloud Run.

#value_source

def value_source() -> ::Google::Cloud::Run::V2::EnvVarSource
Returns

#value_source=

def value_source=(value) -> ::Google::Cloud::Run::V2::EnvVarSource
Parameter
Returns