class Google::Apis::CloudbuildV1::NotifierSecretRef

NotifierSecretRef contains the reference to a secret stored in the corresponding NotifierSpec.

Attributes

secret_ref[RW]

The value of `secret_ref` should be a `name` that is registered in a `Secret` in the `secrets` list of the `Spec`. Corresponds to the JSON property `secretRef` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudbuild_v1/classes.rb, line 1929
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_v1/classes.rb, line 1934
def update!(**args)
  @secret_ref = args[:secret_ref] if args.key?(:secret_ref)
end