Class: Google::Apis::ClouddeployV1::ReleaseNotificationEvent

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReleaseNotificationEvent

Returns a new instance of ReleaseNotificationEvent.



1458
1459
1460
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1458

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#messageString

Debug message for when a notification fails to send. Corresponds to the JSON property message

Returns:

  • (String)


1446
1447
1448
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1446

def message
  @message
end

#releaseString

The name of the Release. Corresponds to the JSON property release

Returns:

  • (String)


1451
1452
1453
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1451

def release
  @release
end

#typeString

Type of this notification, e.g. for a Pub/Sub failure. Corresponds to the JSON property type

Returns:

  • (String)


1456
1457
1458
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1456

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1463
1464
1465
1466
1467
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1463

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