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