Class: Google::Apis::GenomicsV1alpha2::RunPipelineArgs
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV1alpha2::RunPipelineArgs
- 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 pipeline run arguments.
Instance Attribute Summary collapse
-
#client_id ⇒ String
This field is deprecated.
-
#inputs ⇒ Hash<String,String>
Pipeline input arguments; keys are defined in the pipeline documentation.
-
#keep_vm_alive_on_failure_duration ⇒ String
How long to keep the VM up after a failure (for example docker command failed, copying input or output files failed, etc).
-
#labels ⇒ Hash<String,String>
Labels to apply to this pipeline run.
-
#logging ⇒ Google::Apis::GenomicsV1alpha2::LoggingOptions
The logging options for the pipeline run.
-
#outputs ⇒ Hash<String,String>
Pipeline output arguments; keys are defined in the pipeline documentation.
-
#project_id ⇒ String
Required.
-
#resources ⇒ Google::Apis::GenomicsV1alpha2::PipelineResources
The system resources for the pipeline run.
-
#service_account ⇒ Google::Apis::GenomicsV1alpha2::ServiceAccount
A Google Cloud Service Account.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RunPipelineArgs
constructor
A new instance of RunPipelineArgs.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ RunPipelineArgs
Returns a new instance of RunPipelineArgs.
1120 1121 1122 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 1120 def initialize(**args) update!(**args) end |
Instance Attribute Details
#client_id ⇒ String
This field is deprecated. Use labels
instead. Client-specified pipeline
operation identifier.
Corresponds to the JSON property clientId
1058 1059 1060 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 1058 def client_id @client_id end |
#inputs ⇒ Hash<String,String>
Pipeline input arguments; keys are defined in the pipeline documentation.
All input parameters that do not have default values must be specified.
If parameters with defaults are specified here, the defaults will be
overridden.
Corresponds to the JSON property inputs
1066 1067 1068 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 1066 def inputs @inputs end |
#keep_vm_alive_on_failure_duration ⇒ String
How long to keep the VM up after a failure (for example docker command
failed, copying input or output files failed, etc). While the VM is up, one
can ssh into the VM to debug. Default is 0; maximum allowed value is 1 day.
Corresponds to the JSON property keepVmAliveOnFailureDuration
1073 1074 1075 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 1073 def keep_vm_alive_on_failure_duration @keep_vm_alive_on_failure_duration end |
#labels ⇒ Hash<String,String>
Labels to apply to this pipeline run. Labels will also be applied to
compute resources (VM, disks) created by this pipeline run. When listing
operations, operations can filtered by labels.
Label keys may not be empty; label values may be empty. Non-empty labels
must be 1-63 characters long, and comply with RFC1035.
Specifically, the name must be 1-63 characters long and match the regular
expression [a-z]([-a-z0-9]*[a-z0-9])?
which means the first
character must be a lowercase letter, and all following characters must be
a dash, lowercase letter, or digit, except the last character, which cannot
be a dash.
Corresponds to the JSON property labels
1088 1089 1090 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 1088 def labels @labels end |
#logging ⇒ Google::Apis::GenomicsV1alpha2::LoggingOptions
The logging options for the pipeline run.
Corresponds to the JSON property logging
1093 1094 1095 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 1093 def logging @logging end |
#outputs ⇒ Hash<String,String>
Pipeline output arguments; keys are defined in the pipeline
documentation. All output parameters of without default values
must be specified. If parameters with defaults are specified
here, the defaults will be overridden.
Corresponds to the JSON property outputs
1101 1102 1103 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 1101 def outputs @outputs end |
#project_id ⇒ String
Required. The project in which to run the pipeline. The caller must have
WRITER access to all Google Cloud services and resources (e.g. Google
Compute Engine) will be used.
Corresponds to the JSON property projectId
1108 1109 1110 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 1108 def project_id @project_id end |
#resources ⇒ Google::Apis::GenomicsV1alpha2::PipelineResources
The system resources for the pipeline run.
Corresponds to the JSON property resources
1113 1114 1115 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 1113 def resources @resources end |
#service_account ⇒ Google::Apis::GenomicsV1alpha2::ServiceAccount
A Google Cloud Service Account.
Corresponds to the JSON property serviceAccount
1118 1119 1120 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 1118 def service_account @service_account end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 1125 def update!(**args) @client_id = args[:client_id] if args.key?(:client_id) @inputs = args[:inputs] if args.key?(:inputs) @keep_vm_alive_on_failure_duration = args[:keep_vm_alive_on_failure_duration] if args.key?(:keep_vm_alive_on_failure_duration) @labels = args[:labels] if args.key?(:labels) @logging = args[:logging] if args.key?(:logging) @outputs = args[:outputs] if args.key?(:outputs) @project_id = args[:project_id] if args.key?(:project_id) @resources = args[:resources] if args.key?(:resources) @service_account = args[:service_account] if args.key?(:service_account) end |