Class: Google::Apis::GenomicsV1::Event

Inherits:
Object
  • Object
show all
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

Event carries information about events that occur during pipeline execution.

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) ⇒ Event

Returns a new instance of Event



750
751
752
# File 'generated/google/apis/genomics_v1/classes.rb', line 750

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

Instance Attribute Details

#descriptionString

A human readable description of the event. Note that these strings may change at any time without notice. Any application logic must use the information in the details field. Corresponds to the JSON property description

Returns:

  • (String)


738
739
740
# File 'generated/google/apis/genomics_v1/classes.rb', line 738

def description
  @description
end

#detailsHash<String,Object>

Machine readable details about the event. Corresponds to the JSON property details

Returns:

  • (Hash<String,Object>)


743
744
745
# File 'generated/google/apis/genomics_v1/classes.rb', line 743

def details
  @details
end

#timestampString

The time that the event occurred. Corresponds to the JSON property timestamp

Returns:

  • (String)


748
749
750
# File 'generated/google/apis/genomics_v1/classes.rb', line 748

def timestamp
  @timestamp
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



755
756
757
758
759
# File 'generated/google/apis/genomics_v1/classes.rb', line 755

def update!(**args)
  @description = args[:description] if args.key?(:description)
  @details = args[:details] if args.key?(:details)
  @timestamp = args[:timestamp] if args.key?(:timestamp)
end