Class: Google::Cloud::Run::V2::SecretKeySelector

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/run/v2/k8s.min.rb

Overview

SecretEnvVarSource represents a source for the value of an EnvVar.

Instance Attribute Summary collapse

Instance Attribute Details

#secret::String

Returns Required. The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project.

Returns:

  • (::String)

    Required. The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project.



159
160
161
162
# File 'proto_docs/google/cloud/run/v2/k8s.min.rb', line 159

class SecretKeySelector
  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.



159
160
161
162
# File 'proto_docs/google/cloud/run/v2/k8s.min.rb', line 159

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