Class: Google::Cloud::Run::V2::EnvVar
- Inherits:
-
Object
- Object
- Google::Cloud::Run::V2::EnvVar
- 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
-
#name ⇒ ::String
Required.
-
#value ⇒ ::String
Literal value of the environment variable.
-
#value_source ⇒ ::Google::Cloud::Run::V2::EnvVarSource
Source for the environment variable's value.
Instance Attribute Details
#name ⇒ ::String
Returns Required. Name of the environment variable. Must not exceed 32768 characters.
144 145 146 147 |
# File 'proto_docs/google/cloud/run/v2/k8s.min.rb', line 144 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.
Note: The following fields are mutually exclusive: value, value_source. If a field in that set is populated, all other fields in the set will automatically be cleared.
144 145 146 147 |
# File 'proto_docs/google/cloud/run/v2/k8s.min.rb', line 144 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.
Note: The following fields are mutually exclusive: value_source, value. If a field in that set is populated, all other fields in the set will automatically be cleared.
144 145 146 147 |
# File 'proto_docs/google/cloud/run/v2/k8s.min.rb', line 144 class EnvVar include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |