Class: Google::Cloud::AIPlatform::V1::SecretRef

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

Reference to a secret stored in the Cloud Secret Manager that will provide the value for this environment variable.

Instance Attribute Summary collapse

Instance Attribute Details

#secret::String

Returns Required. The name of the secret in Cloud Secret Manager. Format: {secret_name}.

Returns:

  • (::String)

    Required. The name of the secret in Cloud Secret Manager. Format: {secret_name}.



53
54
55
56
# File 'proto_docs/google/cloud/aiplatform/v1/env_var.rb', line 53

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

#version::String

Returns The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias.

Returns:

  • (::String)

    The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias.



53
54
55
56
# File 'proto_docs/google/cloud/aiplatform/v1/env_var.rb', line 53

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