Class: Google::Apis::ClouddeployV1::CustomTargetTypeNotificationEvent
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::CustomTargetTypeNotificationEvent
- 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/customtargettype_notification" Platform Log event that describes the failure to send a custom target type status change Pub/Sub notification.
Instance Attribute Summary collapse
-
#custom_target_type ⇒ String
The name of the
CustomTargetType
. -
#custom_target_type_uid ⇒ String
Unique identifier of the
CustomTargetType
. -
#message ⇒ String
Debug message for when a notification fails to send.
-
#type ⇒ String
Type of this notification, e.g.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CustomTargetTypeNotificationEvent
constructor
A new instance of CustomTargetTypeNotificationEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CustomTargetTypeNotificationEvent
Returns a new instance of CustomTargetTypeNotificationEvent.
1560 1561 1562 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1560 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_target_type ⇒ String
The name of the CustomTargetType
.
Corresponds to the JSON property customTargetType
1543 1544 1545 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1543 def custom_target_type @custom_target_type end |
#custom_target_type_uid ⇒ String
Unique identifier of the CustomTargetType
.
Corresponds to the JSON property customTargetTypeUid
1548 1549 1550 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1548 def custom_target_type_uid @custom_target_type_uid end |
#message ⇒ String
Debug message for when a notification fails to send.
Corresponds to the JSON property message
1553 1554 1555 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1553 def @message end |
#type ⇒ String
Type of this notification, e.g. for a Pub/Sub failure.
Corresponds to the JSON property type
1558 1559 1560 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1558 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1565 1566 1567 1568 1569 1570 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1565 def update!(**args) @custom_target_type = args[:custom_target_type] if args.key?(:custom_target_type) @custom_target_type_uid = args[:custom_target_type_uid] if args.key?(:custom_target_type_uid) @message = args[:message] if args.key?(:message) @type = args[:type] if args.key?(:type) end |