Class: Google::Apis::GenomicsV1::OperationEvent

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

An event that occurred during an Operation.

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

Returns a new instance of OperationEvent.


3396
3397
3398
# File 'generated/google/apis/genomics_v1/classes.rb', line 3396

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

Instance Attribute Details

#descriptionString

Required description of event. Corresponds to the JSON property description

Returns:

  • (String)

3394
3395
3396
# File 'generated/google/apis/genomics_v1/classes.rb', line 3394

def description
  @description
end

#end_timeString

Optional time of when event finished. An event can have a start time and no finish time. If an event has a finish time, there must be a start time. Corresponds to the JSON property endTime

Returns:

  • (String)

3389
3390
3391
# File 'generated/google/apis/genomics_v1/classes.rb', line 3389

def end_time
  @end_time
end

#start_timeString

Optional time of when event started. Corresponds to the JSON property startTime

Returns:

  • (String)

3383
3384
3385
# File 'generated/google/apis/genomics_v1/classes.rb', line 3383

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


3401
3402
3403
3404
3405
# File 'generated/google/apis/genomics_v1/classes.rb', line 3401

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