Class: Google::Apis::GenomicsV2alpha1::Metadata

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

Overview

Metadata carries information about the pipeline execution that is returned in the long running operation's metadata field.

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

Returns a new instance of Metadata



597
598
599
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 597

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

Instance Attribute Details

#create_timeString

The time that the operation was created by the API. Corresponds to the JSON property createTime

Returns:

  • (String)


578
579
580
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 578

def create_time
  @create_time
end

#eventsArray<Google::Apis::GenomicsV2alpha1::Event>

The list of events that have happened so far during the execution of this operation. Corresponds to the JSON property events



584
585
586
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 584

def events
  @events
end

#labelsHash<String,String>

The user defined labels associated with this operation. Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


589
590
591
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 589

def labels
  @labels
end

#pipelineGoogle::Apis::GenomicsV2alpha1::Pipeline

The Pipeline object describes a series of actions to execute, expressed as docker containers. Corresponds to the JSON property pipeline



595
596
597
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 595

def pipeline
  @pipeline
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



602
603
604
605
606
607
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 602

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @events = args[:events] if args.key?(:events)
  @labels = args[:labels] if args.key?(:labels)
  @pipeline = args[:pipeline] if args.key?(:pipeline)
end