class Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1SecretManagerSecret
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/containeranalysis_v1/classes.rb, line 1946 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/containeranalysis_v1/classes.rb, line 1951 def update!(**args) @env = args[:env] if args.key?(:env) @version_name = args[:version_name] if args.key?(:version_name) end