class 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.

Attributes

description[RW]

User-specified description. Corresponds to the JSON property `description` @return [String]

docker[RW]

The Docker execuctor specification. Corresponds to the JSON property `docker` @return [Google::Apis::GenomicsV1alpha2::DockerExecutor]

input_parameters[RW]

Input parameters of the pipeline. Corresponds to the JSON property `inputParameters` @return [Array<Google::Apis::GenomicsV1alpha2::PipelineParameter>]

name[RW]

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` @return [String]

output_parameters[RW]

Output parameters of the pipeline. Corresponds to the JSON property `outputParameters` @return [Array<Google::Apis::GenomicsV1alpha2::PipelineParameter>]

pipeline_id[RW]

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` @return [String]

project_id[RW]

Required. The project in which to create the pipeline. The caller must have WRITE access. Corresponds to the JSON property `projectId` @return [String]

resources[RW]

The system resources for the pipeline run. Corresponds to the JSON property `resources` @return [Google::Apis::GenomicsV1alpha2::PipelineResources]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/genomics_v1alpha2/classes.rb, line 757
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# 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