Class: Google::Apis::GenomicsV1::ComputeEngine
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV1::ComputeEngine
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/genomics_v1/classes.rb,
generated/google/apis/genomics_v1/representations.rb,
generated/google/apis/genomics_v1/representations.rb
Overview
Describes a Compute Engine resource that is being managed by a running pipeline.
Instance Attribute Summary collapse
-
#disk_names ⇒ Array<String>
The names of the disks that were created for this pipeline.
-
#instance_name ⇒ String
The instance on which the operation is running.
-
#machine_type ⇒ String
The machine type of the instance.
-
#zone ⇒ String
The availability zone in which the instance resides.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ComputeEngine
constructor
A new instance of ComputeEngine.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ComputeEngine
Returns a new instance of ComputeEngine.
3454 3455 3456 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 3454 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disk_names ⇒ Array<String>
The names of the disks that were created for this pipeline.
Corresponds to the JSON property diskNames
3452 3453 3454 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 3452 def disk_names @disk_names end |
#instance_name ⇒ String
The instance on which the operation is running.
Corresponds to the JSON property instanceName
3437 3438 3439 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 3437 def instance_name @instance_name end |
#machine_type ⇒ String
The machine type of the instance.
Corresponds to the JSON property machineType
3447 3448 3449 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 3447 def machine_type @machine_type end |
#zone ⇒ String
The availability zone in which the instance resides.
Corresponds to the JSON property zone
3442 3443 3444 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 3442 def zone @zone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3459 3460 3461 3462 3463 3464 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 3459 def update!(**args) @instance_name = args[:instance_name] if args.key?(:instance_name) @zone = args[:zone] if args.key?(:zone) @machine_type = args[:machine_type] if args.key?(:machine_type) @disk_names = args[:disk_names] if args.key?(:disk_names) end |