Class: Google::Apis::GenomicsV1alpha2::ControllerConfig
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV1alpha2::ControllerConfig
- 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
-
#cmd ⇒ String
Corresponds to the JSON property
cmd
. -
#disks ⇒ Hash<String,String>
Corresponds to the JSON property
disks
. -
#gcs_log_path ⇒ String
Corresponds to the JSON property
gcsLogPath
. -
#gcs_sinks ⇒ Hash<String,Google::Apis::GenomicsV1alpha2::RepeatedString>
Corresponds to the JSON property
gcsSinks
. -
#gcs_sources ⇒ Hash<String,Google::Apis::GenomicsV1alpha2::RepeatedString>
Corresponds to the JSON property
gcsSources
. -
#image ⇒ String
Corresponds to the JSON property
image
. -
#machine_type ⇒ String
Corresponds to the JSON property
machineType
. -
#vars ⇒ Hash<String,String>
Corresponds to the JSON property
vars
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ControllerConfig
constructor
A new instance of ControllerConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ControllerConfig
Returns a new instance of ControllerConfig
183 184 185 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 183 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cmd ⇒ String
Corresponds to the JSON property cmd
146 147 148 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 146 def cmd @cmd end |
#disks ⇒ Hash<String,String>
Corresponds to the JSON property disks
151 152 153 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 151 def disks @disks end |
#gcs_log_path ⇒ String
Corresponds to the JSON property gcsLogPath
156 157 158 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 156 def gcs_log_path @gcs_log_path end |
#gcs_sinks ⇒ Hash<String,Google::Apis::GenomicsV1alpha2::RepeatedString>
Corresponds to the JSON property gcsSinks
161 162 163 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 161 def gcs_sinks @gcs_sinks end |
#gcs_sources ⇒ Hash<String,Google::Apis::GenomicsV1alpha2::RepeatedString>
Corresponds to the JSON property gcsSources
166 167 168 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 166 def gcs_sources @gcs_sources end |
#image ⇒ String
Corresponds to the JSON property image
171 172 173 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 171 def image @image end |
#machine_type ⇒ String
Corresponds to the JSON property machineType
176 177 178 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 176 def machine_type @machine_type end |
#vars ⇒ Hash<String,String>
Corresponds to the JSON property vars
181 182 183 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 181 def vars @vars end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
188 189 190 191 192 193 194 195 196 197 |
# File 'generated/google/apis/genomics_v1alpha2/classes.rb', line 188 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 |