Class: Google::Apis::ClouddeployV1::AutomationEvent
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::AutomationEvent
- 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/automation" Platform Log event that describes the Automation related events.
Instance Attribute Summary collapse
-
#automation ⇒ String
The name of the
AutomationRun. -
#message ⇒ String
Debug message for when there is an update on the AutomationRun.
-
#pipeline_uid ⇒ String
Unique identifier of the
DeliveryPipeline. -
#type ⇒ String
Type of this notification, e.g.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AutomationEvent
constructor
A new instance of AutomationEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AutomationEvent
Returns a new instance of AutomationEvent.
483 484 485 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 483 def initialize(**args) update!(**args) end |
Instance Attribute Details
#automation ⇒ String
The name of the AutomationRun.
Corresponds to the JSON property automation
465 466 467 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 465 def automation @automation end |
#message ⇒ String
Debug message for when there is an update on the AutomationRun. Provides
further details about the resource creation or state change.
Corresponds to the JSON property message
471 472 473 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 471 def @message end |
#pipeline_uid ⇒ String
Unique identifier of the DeliveryPipeline.
Corresponds to the JSON property pipelineUid
476 477 478 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 476 def pipeline_uid @pipeline_uid end |
#type ⇒ String
Type of this notification, e.g. for a Pub/Sub failure.
Corresponds to the JSON property type
481 482 483 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 481 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
488 489 490 491 492 493 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 488 def update!(**args) @automation = args[:automation] if args.key?(:automation) @message = args[:message] if args.key?(:message) @pipeline_uid = args[:pipeline_uid] if args.key?(:pipeline_uid) @type = args[:type] if args.key?(:type) end |