Class: Google::Apis::GenomicsV2alpha1::RunPipelineRequest

Inherits:
Object
  • Object
show all
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 arguments to the RunPipeline method. The requesting user must have the iam.serviceAccounts.actAs permission for the Google Genomics Service Account or the request will fail.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ RunPipelineRequest

Returns a new instance of RunPipelineRequest



1064
1065
1066
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 1064

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#labelsHash<String,String>

User defined labels to associate with the returned operation. These labels are not propagated to any Google Cloud Platform resources used by the operation, and may be modified at any time. To associate labels with resources created while executing the operation, see the appropriate resource message (i.e., VirtualMachine). Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


1056
1057
1058
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 1056

def labels
  @labels
end

#pipelineGoogle::Apis::GenomicsV2alpha1::Pipeline

The Pipeline object describes a series of actions to execute, expressed as docker containers. Corresponds to the JSON property pipeline



1062
1063
1064
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 1062

def pipeline
  @pipeline
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1069
1070
1071
1072
# File 'generated/google/apis/genomics_v2alpha1/classes.rb', line 1069

def update!(**args)
  @labels = args[:labels] if args.key?(:labels)
  @pipeline = args[:pipeline] if args.key?(:pipeline)
end