Class: Google::Apis::GenomicsV2alpha1::FailedEvent

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

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ FailedEvent

Returns a new instance of FailedEvent



496
497
498
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 496

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)


489
490
491
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 489

def cause
  @cause
end

#codeString

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

Returns:

  • (String)


494
495
496
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 494

def code
  @code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



501
502
503
504
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 501

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