Class: Google::Apis::LifesciencesV2beta::FailedEvent

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/lifesciences_v2beta/classes.rb,
lib/google/apis/lifesciences_v2beta/representations.rb,
lib/google/apis/lifesciences_v2beta/representations.rb

Overview

An event generated when the execution of a pipeline has failed. Note that other events can continue to occur after this event.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FailedEvent

Returns a new instance of FailedEvent.



596
597
598
# File 'lib/google/apis/lifesciences_v2beta/classes.rb', line 596

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

Instance Attribute Details

#causeString

The human-readable description of the cause of the failure. Corresponds to the JSON property cause

Returns:

  • (String)


589
590
591
# File 'lib/google/apis/lifesciences_v2beta/classes.rb', line 589

def cause
  @cause
end

#codeString

The Google standard error code that best describes this failure. Corresponds to the JSON property code

Returns:

  • (String)


594
595
596
# File 'lib/google/apis/lifesciences_v2beta/classes.rb', line 594

def code
  @code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



601
602
603
604
# File 'lib/google/apis/lifesciences_v2beta/classes.rb', line 601

def update!(**args)
  @cause = args[:cause] if args.key?(:cause)
  @code = args[:code] if args.key?(:code)
end