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.



133
134
135
136
# File 'proto_docs/google/cloud/run/v2/k8s.min.rb', line 133

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

#value::String

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



133
134
135
136
# File 'proto_docs/google/cloud/run/v2/k8s.min.rb', line 133

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:



133
134
135
136
# File 'proto_docs/google/cloud/run/v2/k8s.min.rb', line 133

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