Reference documentation and code samples for the Batch V1 API class Google::Cloud::Batch::V1::JobStatus::InstanceStatus.
VM instance status.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#boot_disk
def boot_disk() -> ::Google::Cloud::Batch::V1::AllocationPolicy::Disk
Returns
- (::Google::Cloud::Batch::V1::AllocationPolicy::Disk) — The VM boot disk.
#boot_disk=
def boot_disk=(value) -> ::Google::Cloud::Batch::V1::AllocationPolicy::Disk
Parameter
- value (::Google::Cloud::Batch::V1::AllocationPolicy::Disk) — The VM boot disk.
Returns
- (::Google::Cloud::Batch::V1::AllocationPolicy::Disk) — The VM boot disk.
#machine_type
def machine_type() -> ::String
Returns
- (::String) — The Compute Engine machine type.
#machine_type=
def machine_type=(value) -> ::String
Parameter
- value (::String) — The Compute Engine machine type.
Returns
- (::String) — The Compute Engine machine type.
#provisioning_model
def provisioning_model() -> ::Google::Cloud::Batch::V1::AllocationPolicy::ProvisioningModel
Returns
- (::Google::Cloud::Batch::V1::AllocationPolicy::ProvisioningModel) — The VM instance provisioning model.
#provisioning_model=
def provisioning_model=(value) -> ::Google::Cloud::Batch::V1::AllocationPolicy::ProvisioningModel
Parameter
- value (::Google::Cloud::Batch::V1::AllocationPolicy::ProvisioningModel) — The VM instance provisioning model.
Returns
- (::Google::Cloud::Batch::V1::AllocationPolicy::ProvisioningModel) — The VM instance provisioning model.
#task_pack
def task_pack() -> ::Integer
Returns
- (::Integer) — The max number of tasks can be assigned to this instance type.
#task_pack=
def task_pack=(value) -> ::Integer
Parameter
- value (::Integer) — The max number of tasks can be assigned to this instance type.
Returns
- (::Integer) — The max number of tasks can be assigned to this instance type.