Class: Google::Apis::GenomicsV1alpha2::ControllerConfig

Inherits:
Object
  • Object
show all
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

Stores the information that the controller will fetch from the server in order to run. Should only be used by VMs created by the Pipelines Service and not by end users.

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) ⇒ ControllerConfig

Returns a new instance of ControllerConfig



216
217
218
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 216

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

Instance Attribute Details

#cmdString

Corresponds to the JSON property cmd

Returns:

  • (String)


179
180
181
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 179

def cmd
  @cmd
end

#disksHash<String,String>

Corresponds to the JSON property disks

Returns:

  • (Hash<String,String>)


184
185
186
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 184

def disks
  @disks
end

#gcs_log_pathString

Corresponds to the JSON property gcsLogPath

Returns:

  • (String)


189
190
191
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 189

def gcs_log_path
  @gcs_log_path
end

#gcs_sinksHash<String,Google::Apis::GenomicsV1alpha2::RepeatedString>

Corresponds to the JSON property gcsSinks



194
195
196
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 194

def gcs_sinks
  @gcs_sinks
end

#gcs_sourcesHash<String,Google::Apis::GenomicsV1alpha2::RepeatedString>

Corresponds to the JSON property gcsSources



199
200
201
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 199

def gcs_sources
  @gcs_sources
end

#imageString

Corresponds to the JSON property image

Returns:

  • (String)


204
205
206
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 204

def image
  @image
end

#machine_typeString

Corresponds to the JSON property machineType

Returns:

  • (String)


209
210
211
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 209

def machine_type
  @machine_type
end

#varsHash<String,String>

Corresponds to the JSON property vars

Returns:

  • (Hash<String,String>)


214
215
216
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 214

def vars
  @vars
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



221
222
223
224
225
226
227
228
229
230
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 221

def update!(**args)
  @cmd = args[:cmd] if args.key?(:cmd)
  @disks = args[:disks] if args.key?(:disks)
  @gcs_log_path = args[:gcs_log_path] if args.key?(:gcs_log_path)
  @gcs_sinks = args[:gcs_sinks] if args.key?(:gcs_sinks)
  @gcs_sources = args[:gcs_sources] if args.key?(:gcs_sources)
  @image = args[:image] if args.key?(:image)
  @machine_type = args[:machine_type] if args.key?(:machine_type)
  @vars = args[:vars] if args.key?(:vars)
end