Class: Google::Cloud::AIPlatform::V1::EnvVar

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/aiplatform/v1/env_var.rb

Overview

Represents an environment variable present in a Container or Python Module.

Instance Attribute Summary collapse

Instance Attribute Details

#name::String

Returns Required. Name of the environment variable. Must be a valid C identifier.

Returns:

  • (::String)

    Required. Name of the environment variable. Must be a valid C identifier.



37
38
39
40
# File 'proto_docs/google/cloud/aiplatform/v1/env_var.rb', line 37

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

#value::String

Returns Required. Variables that reference a $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service 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.

Returns:

  • (::String)

    Required. Variables that reference a $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service 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.



37
38
39
40
# File 'proto_docs/google/cloud/aiplatform/v1/env_var.rb', line 37

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