Class: Google::Apis::ClouddeployV1::ReleaseNotificationEvent
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::ReleaseNotificationEvent
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/clouddeploy_v1/classes.rb,
lib/google/apis/clouddeploy_v1/representations.rb,
lib/google/apis/clouddeploy_v1/representations.rb
Overview
Payload proto for "clouddeploy.googleapis.com/release_notification" Platform Log event that describes the failure to send release status change Pub/Sub notification.
Instance Attribute Summary collapse
-
#message ⇒ String
Debug message for when a notification fails to send.
-
#release ⇒ String
The name of the
Release. -
#type ⇒ String
Type of this notification, e.g.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReleaseNotificationEvent
constructor
A new instance of ReleaseNotificationEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReleaseNotificationEvent
Returns a new instance of ReleaseNotificationEvent.
1385 1386 1387 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1385 def initialize(**args) update!(**args) end |
Instance Attribute Details
#message ⇒ String
Debug message for when a notification fails to send.
Corresponds to the JSON property message
1373 1374 1375 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1373 def @message end |
#release ⇒ String
The name of the Release.
Corresponds to the JSON property release
1378 1379 1380 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1378 def release @release end |
#type ⇒ String
Type of this notification, e.g. for a Pub/Sub failure.
Corresponds to the JSON property type
1383 1384 1385 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1383 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1390 1391 1392 1393 1394 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1390 def update!(**args) @message = args[:message] if args.key?(:message) @release = args[:release] if args.key?(:release) @type = args[:type] if args.key?(:type) end |