Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::SecretEnvVar.
Represents an environment variable where the value is a secret in Cloud Secret Manager.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#name
def name() -> ::String
Returns
- (::String) — Required. Name of the secret environment variable.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Required. Name of the secret environment variable.
Returns
- (::String) — Required. Name of the secret environment variable.
#secret_ref
def secret_ref() -> ::Google::Cloud::AIPlatform::V1::SecretRef
Returns
- (::Google::Cloud::AIPlatform::V1::SecretRef) — Required. Reference to a secret stored in the Cloud Secret Manager that will provide the value for this environment variable.
#secret_ref=
def secret_ref=(value) -> ::Google::Cloud::AIPlatform::V1::SecretRef
Parameter
- value (::Google::Cloud::AIPlatform::V1::SecretRef) — Required. Reference to a secret stored in the Cloud Secret Manager that will provide the value for this environment variable.
Returns
- (::Google::Cloud::AIPlatform::V1::SecretRef) — Required. Reference to a secret stored in the Cloud Secret Manager that will provide the value for this environment variable.