Class: Google::Apis::GenomicsV1::FailedEvent
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV1::FailedEvent
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/genomics_v1/classes.rb,
generated/google/apis/genomics_v1/representations.rb,
generated/google/apis/genomics_v1/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
-
#cause ⇒ String
The human-readable description of the cause of the failure.
-
#code ⇒ String
The Google standard error code that best describes this failure.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FailedEvent
constructor
A new instance of FailedEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ FailedEvent
Returns a new instance of FailedEvent
1064 1065 1066 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 1064 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cause ⇒ String
The human-readable description of the cause of the failure.
Corresponds to the JSON property cause
1057 1058 1059 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 1057 def cause @cause end |
#code ⇒ String
The Google standard error code that best describes this failure.
Corresponds to the JSON property code
1062 1063 1064 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 1062 def code @code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1069 1070 1071 1072 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 1069 def update!(**args) @cause = args[:cause] if args.key?(:cause) @code = args[:code] if args.key?(:code) end |