Class: Google::Apis::CloudbuildV1::NotifierConfig
- Inherits:
-
Object
- Object
- Google::Apis::CloudbuildV1::NotifierConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/cloudbuild_v1/classes.rb,
generated/google/apis/cloudbuild_v1/representations.rb,
generated/google/apis/cloudbuild_v1/representations.rb
Overview
NotifierConfig is the top-level configuration message.
Instance Attribute Summary collapse
-
#api_version ⇒ String
The API version of this configuration format.
-
#kind ⇒ String
The type of notifier to use (e.g. SMTPNotifier).
-
#metadata ⇒ Google::Apis::CloudbuildV1::NotifierMetadata
NotifierMetadata contains the data which can be used to reference or describe this notifier.
-
#spec ⇒ Google::Apis::CloudbuildV1::NotifierSpec
NotifierSpec is the configuration container for notifications.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NotifierConfig
constructor
A new instance of NotifierConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NotifierConfig
Returns a new instance of NotifierConfig.
1022 1023 1024 |
# File 'generated/google/apis/cloudbuild_v1/classes.rb', line 1022 def initialize(**args) update!(**args) end |
Instance Attribute Details
#api_version ⇒ String
The API version of this configuration format.
Corresponds to the JSON property apiVersion
1004 1005 1006 |
# File 'generated/google/apis/cloudbuild_v1/classes.rb', line 1004 def api_version @api_version end |
#kind ⇒ String
The type of notifier to use (e.g. SMTPNotifier).
Corresponds to the JSON property kind
1009 1010 1011 |
# File 'generated/google/apis/cloudbuild_v1/classes.rb', line 1009 def kind @kind end |
#metadata ⇒ Google::Apis::CloudbuildV1::NotifierMetadata
NotifierMetadata contains the data which can be used to reference or describe
this notifier.
Corresponds to the JSON property metadata
1015 1016 1017 |
# File 'generated/google/apis/cloudbuild_v1/classes.rb', line 1015 def @metadata end |
#spec ⇒ Google::Apis::CloudbuildV1::NotifierSpec
NotifierSpec is the configuration container for notifications.
Corresponds to the JSON property spec
1020 1021 1022 |
# File 'generated/google/apis/cloudbuild_v1/classes.rb', line 1020 def spec @spec end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1027 1028 1029 1030 1031 1032 |
# File 'generated/google/apis/cloudbuild_v1/classes.rb', line 1027 def update!(**args) @api_version = args[:api_version] if args.key?(:api_version) @kind = args[:kind] if args.key?(:kind) @metadata = args[:metadata] if args.key?(:metadata) @spec = args[:spec] if args.key?(:spec) end |