Class: Google::Apis::GenomicsV1alpha2::RunPipelineRequest
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV1alpha2::RunPipelineRequest
- 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
The request to run a pipeline. If pipelineId
is specified, it
refers to a saved pipeline created with CreatePipeline and set as
the pipelineId
of the returned Pipeline object. If
ephemeralPipeline
is specified, that pipeline is run once
with the given args and not saved. It is an error to specify both
pipelineId
and ephemeralPipeline
. pipelineArgs
must be specified.
Instance Attribute Summary collapse
-
#ephemeral_pipeline ⇒ Google::Apis::GenomicsV1alpha2::Pipeline
The pipeline object.
-
#pipeline_args ⇒ Google::Apis::GenomicsV1alpha2::RunPipelineArgs
The pipeline run arguments.
-
#pipeline_id ⇒ String
The already created pipeline to run.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RunPipelineRequest
constructor
A new instance of RunPipelineRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ RunPipelineRequest
Returns a new instance of RunPipelineRequest.
1168 1169 1170 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 1168 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ephemeral_pipeline ⇒ Google::Apis::GenomicsV1alpha2::Pipeline
The pipeline object. Represents a transformation from a set of input
parameters to a set of output parameters. The transformation is defined
as a docker image and command to run within that image. Each pipeline
is run on a Google Compute Engine VM. A pipeline can be created with the
create
method and then later run with the run
method, or a pipeline can
be defined and run all at once with the run
method.
Corresponds to the JSON property ephemeralPipeline
1156 1157 1158 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 1156 def ephemeral_pipeline @ephemeral_pipeline end |
#pipeline_args ⇒ Google::Apis::GenomicsV1alpha2::RunPipelineArgs
The pipeline run arguments.
Corresponds to the JSON property pipelineArgs
1161 1162 1163 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 1161 def pipeline_args @pipeline_args end |
#pipeline_id ⇒ String
The already created pipeline to run.
Corresponds to the JSON property pipelineId
1166 1167 1168 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 1166 def pipeline_id @pipeline_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1173 1174 1175 1176 1177 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 1173 def update!(**args) @ephemeral_pipeline = args[:ephemeral_pipeline] if args.key?(:ephemeral_pipeline) @pipeline_args = args[:pipeline_args] if args.key?(:pipeline_args) @pipeline_id = args[:pipeline_id] if args.key?(:pipeline_id) end |