# Class CapacityAdviceResponseRecommendationShard (0.12.0)

0.12.0 (latest) 0.11.0 0.4.0 0.3.0 0.2.0 0.1.8

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

Shards represent blocks of uniform capacity in
recommendations. Each shard is for a single zone and a single
machine shape. Each shard defines a size expressed as the number
of VMs.

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

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `instance_count` | `int` The number of instances. This field is a member of `oneof`_ `_instance_count`. |
| `machine_type` | `str` The machine type corresponds to the instance selection in the request. This field is a member of `oneof`_ `_machine_type`. |
| `provisioning_model` | `str` The provisioning model that you want to view recommendations for. Check the ProvisioningModel enum for the list of possible values. This field is a member of `oneof`_ `_provisioning_model`. |
| `zone` | `str` Output only. The zone name for this shard. This field is a member of `oneof`_ `_zone`. |

## Classes

### ProvisioningModel

    ProvisioningModel(value)

The provisioning model that you want to view recommendations
for.