Class: Google::Apis::GenomicsV2alpha1::Event

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

Overview

Carries information about events that occur during pipeline execution.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Event

Returns a new instance of Event.



532
533
534
# File 'lib/google/apis/genomics_v2alpha1/classes.rb', line 532

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

Instance Attribute Details

#descriptionString

A human-readable description of the event. Note that these strings can 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)


520
521
522
# File 'lib/google/apis/genomics_v2alpha1/classes.rb', line 520

def description
  @description
end

#detailsHash<String,Object>

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

Returns:

  • (Hash<String,Object>)


525
526
527
# File 'lib/google/apis/genomics_v2alpha1/classes.rb', line 525

def details
  @details
end

#timestampString

The time at which the event occurred. Corresponds to the JSON property timestamp

Returns:

  • (String)


530
531
532
# File 'lib/google/apis/genomics_v2alpha1/classes.rb', line 530

def timestamp
  @timestamp
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



537
538
539
540
541
# File 'lib/google/apis/genomics_v2alpha1/classes.rb', line 537

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