Class: Google::Apis::GenomicsV1alpha2::Pipeline
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV1alpha2::Pipeline
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/genomics_v1alpha2/classes.rb,
lib/google/apis/genomics_v1alpha2/representations.rb,
lib/google/apis/genomics_v1alpha2/representations.rb
Overview
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.
Instance Attribute Summary collapse
-
#description ⇒ String
User-specified description.
-
#docker ⇒ Google::Apis::GenomicsV1alpha2::DockerExecutor
The Docker execuctor specification.
-
#input_parameters ⇒ Array<Google::Apis::GenomicsV1alpha2::PipelineParameter>
Input parameters of the pipeline.
-
#name ⇒ String
Required.
-
#output_parameters ⇒ Array<Google::Apis::GenomicsV1alpha2::PipelineParameter>
Output parameters of the pipeline.
-
#pipeline_id ⇒ String
Unique pipeline id that is generated by the service when CreatePipeline is called.
-
#project_id ⇒ String
Required.
-
#resources ⇒ Google::Apis::GenomicsV1alpha2::PipelineResources
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.
Constructor Details
#initialize(**args) ⇒ Pipeline
Returns a new instance of Pipeline.
757 758 759 |
# File 'lib/google/apis/genomics_v1alpha2/classes.rb', line 757 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
User-specified description.
Corresponds to the JSON property description
715 716 717 |
# File 'lib/google/apis/genomics_v1alpha2/classes.rb', line 715 def description @description end |
#docker ⇒ Google::Apis::GenomicsV1alpha2::DockerExecutor
The Docker execuctor specification.
Corresponds to the JSON property docker
720 721 722 |
# File 'lib/google/apis/genomics_v1alpha2/classes.rb', line 720 def docker @docker end |
#input_parameters ⇒ Array<Google::Apis::GenomicsV1alpha2::PipelineParameter>
Input parameters of the pipeline.
Corresponds to the JSON property inputParameters
725 726 727 |
# File 'lib/google/apis/genomics_v1alpha2/classes.rb', line 725 def input_parameters @input_parameters end |
#name ⇒ String
Required. A user specified pipeline name that does not have to be unique. This
name can be used for filtering Pipelines in ListPipelines.
Corresponds to the JSON property name
731 732 733 |
# File 'lib/google/apis/genomics_v1alpha2/classes.rb', line 731 def name @name end |
#output_parameters ⇒ Array<Google::Apis::GenomicsV1alpha2::PipelineParameter>
Output parameters of the pipeline.
Corresponds to the JSON property outputParameters
736 737 738 |
# File 'lib/google/apis/genomics_v1alpha2/classes.rb', line 736 def output_parameters @output_parameters end |
#pipeline_id ⇒ String
Unique pipeline id that is generated by the service when CreatePipeline is
called. Cannot be specified in the Pipeline used in the CreatePipelineRequest,
and will be populated in the response to CreatePipeline and all subsequent Get
and List calls. Indicates that the service has registered this pipeline.
Corresponds to the JSON property pipelineId
744 745 746 |
# File 'lib/google/apis/genomics_v1alpha2/classes.rb', line 744 def pipeline_id @pipeline_id end |
#project_id ⇒ String
Required. The project in which to create the pipeline. The caller must have
WRITE access.
Corresponds to the JSON property projectId
750 751 752 |
# File 'lib/google/apis/genomics_v1alpha2/classes.rb', line 750 def project_id @project_id end |
#resources ⇒ Google::Apis::GenomicsV1alpha2::PipelineResources
The system resources for the pipeline run.
Corresponds to the JSON property resources
755 756 757 |
# File 'lib/google/apis/genomics_v1alpha2/classes.rb', line 755 def resources @resources end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
762 763 764 765 766 767 768 769 770 771 |
# File 'lib/google/apis/genomics_v1alpha2/classes.rb', line 762 def update!(**args) @description = args[:description] if args.key?(:description) @docker = args[:docker] if args.key?(:docker) @input_parameters = args[:input_parameters] if args.key?(:input_parameters) @name = args[:name] if args.key?(:name) @output_parameters = args[:output_parameters] if args.key?(:output_parameters) @pipeline_id = args[:pipeline_id] if args.key?(:pipeline_id) @project_id = args[:project_id] if args.key?(:project_id) @resources = args[:resources] if args.key?(:resources) end |