class Google::Apis::GenomicsV1alpha2::RunPipelineArgs

The pipeline run arguments.

Attributes

client_id[RW]

This field is deprecated. Use `labels` instead. Client-specified pipeline operation identifier. Corresponds to the JSON property `clientId` @return [String]

inputs[RW]

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

keep_vm_alive_on_failure_duration[RW]

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

labels[RW]

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] (www.ietf.org/rfc/rfc1035.txt). Specifically, the name must be 1-63 characters long and match the regular expression `[a-z](*[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` @return [Hash<String,String>]

logging[RW]

The logging options for the pipeline run. Corresponds to the JSON property `logging` @return [Google::Apis::GenomicsV1alpha2::LoggingOptions]

outputs[RW]

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

project_id[RW]

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

resources[RW]

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

service_account[RW]

A Google Cloud Service Account. Corresponds to the JSON property `serviceAccount` @return [Google::Apis::GenomicsV1alpha2::ServiceAccount]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/genomics_v1alpha2/classes.rb, line 1059
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 1064
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