Class: Google::Apis::ClouddeployV1::AutomationEvent

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/automation" Platform Log event that describes the Automation related events.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AutomationEvent

Returns a new instance of AutomationEvent.



508
509
510
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 508

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

Instance Attribute Details

#automationString

The name of the AutomationRun. Corresponds to the JSON property automation

Returns:

  • (String)


490
491
492
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 490

def automation
  @automation
end

#messageString

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

Returns:

  • (String)


496
497
498
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 496

def message
  @message
end

#pipeline_uidString

Unique identifier of the DeliveryPipeline. Corresponds to the JSON property pipelineUid

Returns:

  • (String)


501
502
503
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 501

def pipeline_uid
  @pipeline_uid
end

#typeString

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

Returns:

  • (String)


506
507
508
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 506

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



513
514
515
516
517
518
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 513

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