# Class ResourcePolicyGroupPlacementPolicy (0.12.0)

0.12.0 (latest) 0.11.0 0.4.0 0.3.0 0.2.0 0.1.8

    ResourcePolicyGroupPlacementPolicy(
        mapping=None, *, ignore_unknown_fields=False, **kwargs
    )

A GroupPlacementPolicy specifies resource placement
configuration. It specifies the failure bucket separation

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `accelerator_topology_mode` | `str` Specifies the connection mode for the accelerator topology. If not specified, the default is AUTO_CONNECT. Check the AcceleratorTopologyMode enum for the list of possible values. This field is a member of `oneof`_ `_accelerator_topology_mode`. |
| `availability_domain_count` | `int` The number of availability domains to spread instances across. If two instances are in different availability domain, they are not in the same low latency network. This field is a member of `oneof`_ `_availability_domain_count`. |
| `collocation` | `str` Specifies network collocation Check the Collocation enum for the list of possible values. This field is a member of `oneof`_ `_collocation`. |
| `gpu_topology` | `str` Specifies the shape of the GPU slice, in slice based GPU families eg. A4X. This field is a member of `oneof`_ `_gpu_topology`. |
| `max_distance` | `int` Specifies the number of max logical switches. This field is a member of `oneof`_ `_max_distance`. |
| `slice_count` | `int` Specifies the number of slices in a multislice workload. This field is a member of `oneof`_ `_slice_count`. |
| `tpu_topology` | `str` Specifies the shape of the TPU slice This field is a member of `oneof`_ `_tpu_topology`. |
| `vm_count` | `int` Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs. This field is a member of `oneof`_ `_vm_count`. |

## Classes

### AcceleratorTopologyMode

    AcceleratorTopologyMode(value)

Specifies the connection mode for the accelerator topology. If not
specified, the default is AUTO_CONNECT.

### Collocation

    Collocation(value)

Specifies network collocation