Batch V1 API - Class Google::Cloud::Batch::V1::JobStatus::InstanceStatus (v0.18.0)

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

#boot_disk=

def boot_disk=(value) -> ::Google::Cloud::Batch::V1::AllocationPolicy::Disk
Parameter
Returns

#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

#provisioning_model=

def provisioning_model=(value) -> ::Google::Cloud::Batch::V1::AllocationPolicy::ProvisioningModel
Parameter
Returns

#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.