Class: Google::Apis::GenomicsV2alpha1::Pipeline
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV2alpha1::Pipeline
- 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
The Pipeline object describes a series of actions to execute, expressed as docker containers.
Instance Attribute Summary collapse
-
#actions ⇒ Array<Google::Apis::GenomicsV2alpha1::Action>
The list of actions to execute, in the order they are specified.
-
#environment ⇒ Hash<String,String>
The environment to pass into every action.
-
#resources ⇒ Google::Apis::GenomicsV2alpha1::Resources
The system resources for the pipeline run.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Pipeline
constructor
A new instance of Pipeline.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Pipeline
Returns a new instance of Pipeline
891 892 893 |
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 891 def initialize(**args) update!(**args) end |
Instance Attribute Details
#actions ⇒ Array<Google::Apis::GenomicsV2alpha1::Action>
The list of actions to execute, in the order they are specified.
Corresponds to the JSON property actions
876 877 878 |
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 876 def actions @actions end |
#environment ⇒ Hash<String,String>
The environment to pass into every action. Each action may also specify
additional environment variables but cannot delete an entry from this map
(though they may overwrite it with a different value).
Corresponds to the JSON property environment
883 884 885 |
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 883 def environment @environment end |
#resources ⇒ Google::Apis::GenomicsV2alpha1::Resources
The system resources for the pipeline run.
At least one zone or region must be specified or the pipeline run will fail.
Corresponds to the JSON property resources
889 890 891 |
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 889 def resources @resources end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
896 897 898 899 900 |
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 896 def update!(**args) @actions = args[:actions] if args.key?(:actions) @environment = args[:environment] if args.key?(:environment) @resources = args[:resources] if args.key?(:resources) end |