Class: Google::Apis::DataflowV1b3::DataDiskAssignment
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::DataDiskAssignment
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dataflow_v1b3/classes.rb,
generated/google/apis/dataflow_v1b3/representations.rb,
generated/google/apis/dataflow_v1b3/representations.rb
Overview
Data disk assignment for a given VM instance.
Instance Attribute Summary collapse
-
#data_disks ⇒ Array<String>
Mounted data disks.
-
#vm_instance ⇒ String
VM instance name the data disks mounted to, for example "myproject-1014-104817- 4c2-harness-0".
Instance Method Summary collapse
-
#initialize(**args) ⇒ DataDiskAssignment
constructor
A new instance of DataDiskAssignment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DataDiskAssignment
Returns a new instance of DataDiskAssignment.
3489 3490 3491 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3489 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_disks ⇒ Array<String>
Mounted data disks. The order is important a data disk's 0-based index in this
list defines which persistent directory the disk is mounted to, for example
the list of "myproject-1014-104817-4c2-harness-0-disk-0"
, "myproject-
1014-104817-4c2-harness-0-disk-1"
.
Corresponds to the JSON property dataDisks
3487 3488 3489 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3487 def data_disks @data_disks end |
#vm_instance ⇒ String
VM instance name the data disks mounted to, for example "myproject-1014-104817-
4c2-harness-0".
Corresponds to the JSON property vmInstance
3479 3480 3481 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3479 def vm_instance @vm_instance end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3494 3495 3496 3497 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3494 def update!(**args) @vm_instance = args[:vm_instance] if args.key?(:vm_instance) @data_disks = args[:data_disks] if args.key?(:data_disks) end |