Class: Google::Cloud::Build::V1::SecretManagerSecret

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

Overview

Pairs a secret environment variable with a SecretVersion in Secret Manager.

Instance Attribute Summary collapse

Instance Attribute Details

#env::String

Returns Environment variable name to associate with the secret. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step.

Returns:

  • (::String)

    Environment variable name to associate with the secret. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step.



1055
1056
1057
1058
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1055

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

#version_name::String

Returns Resource name of the SecretVersion. In format: projects//secrets//versions/*.

Returns:

  • (::String)

    Resource name of the SecretVersion. In format: projects//secrets//versions/*



1055
1056
1057
1058
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1055

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