Cloud Run V2 API - Class Google::Cloud::Run::V2::EnvVar (v0.16.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) — 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.

#value=

def value=(value) -> ::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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.

#value_source

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

#value_source=

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