Class: Google::Apis::LifesciencesV2beta::Metadata
- Inherits:
-
Object
- Object
- Google::Apis::LifesciencesV2beta::Metadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/lifesciences_v2beta/classes.rb,
lib/google/apis/lifesciences_v2beta/representations.rb,
lib/google/apis/lifesciences_v2beta/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::LifesciencesV2beta::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::LifesciencesV2beta::Pipeline
Specifies a series of actions to execute, expressed as Docker containers.
-
#pub_sub_topic ⇒ String
The name of the Cloud Pub/Sub topic where notifications of operation status changes are sent.
-
#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.
746 747 748 |
# File 'lib/google/apis/lifesciences_v2beta/classes.rb', line 746 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
712 713 714 |
# File 'lib/google/apis/lifesciences_v2beta/classes.rb', line 712 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
717 718 719 |
# File 'lib/google/apis/lifesciences_v2beta/classes.rb', line 717 def end_time @end_time end |
#events ⇒ Array<Google::Apis::LifesciencesV2beta::Event>
The list of events that have happened so far during the execution of this
operation.
Corresponds to the JSON property events
723 724 725 |
# File 'lib/google/apis/lifesciences_v2beta/classes.rb', line 723 def events @events end |
#labels ⇒ Hash<String,String>
The user-defined labels associated with this operation.
Corresponds to the JSON property labels
728 729 730 |
# File 'lib/google/apis/lifesciences_v2beta/classes.rb', line 728 def labels @labels end |
#pipeline ⇒ Google::Apis::LifesciencesV2beta::Pipeline
Specifies a series of actions to execute, expressed as Docker containers.
Corresponds to the JSON property pipeline
733 734 735 |
# File 'lib/google/apis/lifesciences_v2beta/classes.rb', line 733 def pipeline @pipeline end |
#pub_sub_topic ⇒ String
The name of the Cloud Pub/Sub topic where notifications of operation status
changes are sent.
Corresponds to the JSON property pubSubTopic
739 740 741 |
# File 'lib/google/apis/lifesciences_v2beta/classes.rb', line 739 def pub_sub_topic @pub_sub_topic end |
#start_time ⇒ String
The first time at which resources were allocated to execute the pipeline.
Corresponds to the JSON property startTime
744 745 746 |
# File 'lib/google/apis/lifesciences_v2beta/classes.rb', line 744 def start_time @start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
751 752 753 754 755 756 757 758 759 |
# File 'lib/google/apis/lifesciences_v2beta/classes.rb', line 751 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) @pub_sub_topic = args[:pub_sub_topic] if args.key?(:pub_sub_topic) @start_time = args[:start_time] if args.key?(:start_time) end |