Class: Google::Apis::CloudbuildV1alpha2::NotifierSecretRef

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudbuild_v1alpha2/classes.rb,
lib/google/apis/cloudbuild_v1alpha2/representations.rb,
lib/google/apis/cloudbuild_v1alpha2/representations.rb

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NotifierSecretRef

Returns a new instance of NotifierSecretRef.



1324
1325
1326
# File 'lib/google/apis/cloudbuild_v1alpha2/classes.rb', line 1324

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#secret_refString

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

Returns:

  • (String)


1322
1323
1324
# File 'lib/google/apis/cloudbuild_v1alpha2/classes.rb', line 1322

def secret_ref
  @secret_ref
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1329
1330
1331
# File 'lib/google/apis/cloudbuild_v1alpha2/classes.rb', line 1329

def update!(**args)
  @secret_ref = args[:secret_ref] if args.key?(:secret_ref)
end