class Google::Apis::CloudbuildV1beta1::SecretManagerSecret
Pairs a secret environment variable with a SecretVersion in Secret
Manager.
Attributes
env[RW]
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. Corresponds to the JSON property `env` @return [String]
version_name[RW]
Resource name of the SecretVersion. In format: projects//secrets//versions/* Corresponds to the JSON property `versionName` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/cloudbuild_v1beta1/classes.rb, line 1728 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/cloudbuild_v1beta1/classes.rb, line 1733 def update!(**args) @env = args[:env] if args.key?(:env) @version_name = args[:version_name] if args.key?(:version_name) end