class Google::Apis::CloudbuildV1alpha1::NotifierSecret
NotifierSecret
is the container that maps a secret name (reference) to its Google
Cloud Secret
Manager resource path.
Attributes
name[RW]
Name is the local name of the secret, such as the verbatim string “my-smtp- password”. Corresponds to the JSON property `name` @return [String]
value[RW]
Value is interpreted to be a resource path for fetching the actual (versioned) secret data for this secret. For example, this would be a Google
Cloud Secret
Manager secret version resource path like: “projects/my-project/secrets/my- secret/versions/latest”. Corresponds to the JSON property `value` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/cloudbuild_v1alpha1/classes.rb, line 1282 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_v1alpha1/classes.rb, line 1287 def update!(**args) @name = args[:name] if args.key?(:name) @value = args[:value] if args.key?(:value) end