Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::ResourcePolicyWorkloadPolicy (v3.0.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::ResourcePolicyWorkloadPolicy.

Represents the workload policy.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#accelerator_topology

def accelerator_topology() -> ::String
Returns
  • (::String) — Specifies the topology required to create a partition for VMs that have interconnected GPUs.

#accelerator_topology=

def accelerator_topology=(value) -> ::String
Parameter
  • value (::String) — Specifies the topology required to create a partition for VMs that have interconnected GPUs.
Returns
  • (::String) — Specifies the topology required to create a partition for VMs that have interconnected GPUs.

#max_topology_distance

def max_topology_distance() -> ::String
Returns
  • (::String) — Specifies the maximum distance between instances. Check the MaxTopologyDistance enum for the list of possible values.

#max_topology_distance=

def max_topology_distance=(value) -> ::String
Parameter
  • value (::String) — Specifies the maximum distance between instances. Check the MaxTopologyDistance enum for the list of possible values.
Returns
  • (::String) — Specifies the maximum distance between instances. Check the MaxTopologyDistance enum for the list of possible values.

#type

def type() -> ::String
Returns
  • (::String) — Specifies the intent of the instance placement in the MIG. Check the Type enum for the list of possible values.

#type=

def type=(value) -> ::String
Parameter
  • value (::String) — Specifies the intent of the instance placement in the MIG. Check the Type enum for the list of possible values.
Returns
  • (::String) — Specifies the intent of the instance placement in the MIG. Check the Type enum for the list of possible values.