Class: Google::Apis::ClouddeployV1::AutomationRunEvent

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_run" Platform Log event that describes the AutomationRun related events.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AutomationRunEvent

Returns a new instance of AutomationRunEvent.



822
823
824
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 822

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

Instance Attribute Details

#automation_idString

Identifier of the Automation. Corresponds to the JSON property automationId

Returns:

  • (String)


789
790
791
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 789

def automation_id
  @automation_id
end

#automation_runString

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

Returns:

  • (String)


794
795
796
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 794

def automation_run
  @automation_run
end

#destination_target_idString

ID of the Target to which the AutomationRun is created. Corresponds to the JSON property destinationTargetId

Returns:

  • (String)


799
800
801
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 799

def destination_target_id
  @destination_target_id
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)


805
806
807
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 805

def message
  @message
end

#pipeline_uidString

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

Returns:

  • (String)


810
811
812
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 810

def pipeline_uid
  @pipeline_uid
end

#rule_idString

Identifier of the Automation rule. Corresponds to the JSON property ruleId

Returns:

  • (String)


815
816
817
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 815

def rule_id
  @rule_id
end

#typeString

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

Returns:

  • (String)


820
821
822
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 820

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



827
828
829
830
831
832
833
834
835
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 827

def update!(**args)
  @automation_id = args[:automation_id] if args.key?(:automation_id)
  @automation_run = args[:automation_run] if args.key?(:automation_run)
  @destination_target_id = args[:destination_target_id] if args.key?(:destination_target_id)
  @message = args[:message] if args.key?(:message)
  @pipeline_uid = args[:pipeline_uid] if args.key?(:pipeline_uid)
  @rule_id = args[:rule_id] if args.key?(:rule_id)
  @type = args[:type] if args.key?(:type)
end