Class: Google::Apis::CloudbuildV1alpha2::NotifierSecretRef
- Inherits:
-
Object
- Object
- Google::Apis::CloudbuildV1alpha2::NotifierSecretRef
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/cloudbuild_v1alpha2/classes.rb,
generated/google/apis/cloudbuild_v1alpha2/representations.rb,
generated/google/apis/cloudbuild_v1alpha2/representations.rb
Overview
NotifierSecretRef contains the reference to a secret stored in the corresponding NotifierSpec.
Instance Attribute Summary collapse
-
#secret_ref ⇒ String
The value of
secret_ref
should be aname
that is registered in aSecret
in thesecrets
list of theSpec
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NotifierSecretRef
constructor
A new instance of NotifierSecretRef.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NotifierSecretRef
Returns a new instance of NotifierSecretRef.
902 903 904 |
# File 'generated/google/apis/cloudbuild_v1alpha2/classes.rb', line 902 def initialize(**args) update!(**args) end |
Instance Attribute Details
#secret_ref ⇒ String
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
900 901 902 |
# File 'generated/google/apis/cloudbuild_v1alpha2/classes.rb', line 900 def secret_ref @secret_ref end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
907 908 909 |
# File 'generated/google/apis/cloudbuild_v1alpha2/classes.rb', line 907 def update!(**args) @secret_ref = args[:secret_ref] if args.key?(:secret_ref) end |