Class: Google::Apis::GenomicsV1alpha2::OperationEvent
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::GenomicsV1alpha2::OperationEvent
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/genomics_v1alpha2/classes.rb,
 generated/google/apis/genomics_v1alpha2/representations.rb,
 generated/google/apis/genomics_v1alpha2/representations.rb
Overview
An event that occurred during an Operation.
Instance Attribute Summary collapse
- 
  
    
      #description  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Required description of event. 
- 
  
    
      #end_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Optional time of when event finished. 
- 
  
    
      #start_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Optional time of when event started. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ OperationEvent 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of OperationEvent. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ OperationEvent
Returns a new instance of OperationEvent
| 684 685 686 | # File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 684 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#description ⇒ String
Required description of event.
Corresponds to the JSON property description
| 671 672 673 | # File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 671 def description @description end | 
#end_time ⇒ String
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
| 677 678 679 | # File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 677 def end_time @end_time end | 
#start_time ⇒ String
Optional time of when event started.
Corresponds to the JSON property startTime
| 682 683 684 | # File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 682 def start_time @start_time end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 689 690 691 692 693 | # File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 689 def update!(**args) @description = args[:description] if args.key?(:description) @end_time = args[:end_time] if args.key?(:end_time) @start_time = args[:start_time] if args.key?(:start_time) end |