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.
1541 1542 1543 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1541 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_target_type ⇒ String
The name of the CustomTargetType
.
Corresponds to the JSON property customTargetType
1524 1525 1526 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1524 def custom_target_type @custom_target_type end |
#custom_target_type_uid ⇒ String
Unique identifier of the CustomTargetType
.
Corresponds to the JSON property customTargetTypeUid
1529 1530 1531 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1529 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
1534 1535 1536 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1534 def @message end |
#type ⇒ String
Type of this notification, e.g. for a Pub/Sub failure.
Corresponds to the JSON property type
1539 1540 1541 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1539 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1546 1547 1548 1549 1550 1551 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1546 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 |