Class: Google::Apis::GenomicsV2alpha1::Metadata
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV2alpha1::Metadata
- 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 the pipeline execution that is returned in the long running operation's metadata field.
Instance Attribute Summary collapse
-
#create_time ⇒ String
The time at which the operation was created by the API.
-
#end_time ⇒ String
The time at which execution was completed and resources were cleaned up.
-
#events ⇒ Array<Google::Apis::GenomicsV2alpha1::Event>
The list of events that have happened so far during the execution of this operation.
-
#labels ⇒ Hash<String,String>
The user-defined labels associated with this operation.
-
#pipeline ⇒ Google::Apis::GenomicsV2alpha1::Pipeline
Specifies a series of actions to execute, expressed as Docker containers.
-
#start_time ⇒ String
The first time at which resources were allocated to execute the pipeline.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Metadata
constructor
A new instance of Metadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Metadata
Returns a new instance of Metadata.
655 656 657 |
# File 'lib/google/apis/genomics_v2alpha1/classes.rb', line 655 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
The time at which the operation was created by the API.
Corresponds to the JSON property createTime
627 628 629 |
# File 'lib/google/apis/genomics_v2alpha1/classes.rb', line 627 def create_time @create_time end |
#end_time ⇒ String
The time at which execution was completed and resources were cleaned up.
Corresponds to the JSON property endTime
632 633 634 |
# File 'lib/google/apis/genomics_v2alpha1/classes.rb', line 632 def end_time @end_time end |
#events ⇒ Array<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
638 639 640 |
# File 'lib/google/apis/genomics_v2alpha1/classes.rb', line 638 def events @events end |
#labels ⇒ Hash<String,String>
The user-defined labels associated with this operation.
Corresponds to the JSON property labels
643 644 645 |
# File 'lib/google/apis/genomics_v2alpha1/classes.rb', line 643 def labels @labels end |
#pipeline ⇒ Google::Apis::GenomicsV2alpha1::Pipeline
Specifies a series of actions to execute, expressed as Docker containers.
Corresponds to the JSON property pipeline
648 649 650 |
# File 'lib/google/apis/genomics_v2alpha1/classes.rb', line 648 def pipeline @pipeline end |
#start_time ⇒ String
The first time at which resources were allocated to execute the pipeline.
Corresponds to the JSON property startTime
653 654 655 |
# File 'lib/google/apis/genomics_v2alpha1/classes.rb', line 653 def start_time @start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
660 661 662 663 664 665 666 667 |
# File 'lib/google/apis/genomics_v2alpha1/classes.rb', line 660 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @end_time = args[:end_time] if args.key?(:end_time) @events = args[:events] if args.key?(:events) @labels = args[:labels] if args.key?(:labels) @pipeline = args[:pipeline] if args.key?(:pipeline) @start_time = args[:start_time] if args.key?(:start_time) end |