Class: Google::Cloud::Run::V2::EnvVar

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/run/v2/k8s.min.rb

Overview

EnvVar represents an environment variable present in a Container.

Instance Attribute Summary collapse

Instance Attribute Details

#name::String

Returns Required. Name of the environment variable. Must not exceed 32768 characters.

Returns:

  • (::String)

    Required. Name of the environment variable. Must not exceed 32768 characters.



138
139
140
141
# File 'proto_docs/google/cloud/run/v2/k8s.min.rb', line 138

class EnvVar
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#value::String

Returns 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.



138
139
140
141
# File 'proto_docs/google/cloud/run/v2/k8s.min.rb', line 138

class EnvVar
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#value_source::Google::Cloud::Run::V2::EnvVarSource

Returns Source for the environment variable's value.

Returns:



138
139
140
141
# File 'proto_docs/google/cloud/run/v2/k8s.min.rb', line 138

class EnvVar
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end