Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::EnvVar (v0.41.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::EnvVar.

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

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 be a valid C identifier.

#name=

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

#value

def value() -> ::String
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.

#value=

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