# Class Variant (0.5.0)

0.5.0 (latest) 0.4.0 0.3.0 0.2.0 0.1.3

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

Variant represents the content of a `ResourceBundle` variant.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `labels` | `MutableMapping[str, str]` Optional. labels to represent any metadata associated with the variant. |
| `resources` | `MutableSequence[str]` Required. Input only. Unordered list. resources contain the kubernetes manifests (YAMLs) for this variant. |
| `name` | `str` Identifier. Name follows format of projects/{project}/locations/{location}/resourceBundles/{resource_bundle}/releases/{release}/variants/{variant} |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. \[Output only\] Create time stamp |
| `update_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. \[Output only\] Update time stamp |

## Classes

### LabelsEntry

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

The abstract base class for a message.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `kwargs` | `dict` Keys and values corresponding to the fields of the message. |
| `mapping` | ``Union[dict, `.Message`]`` A dictionary or message to be used to determine the values for this message. |
| `ignore_unknown_fields` | `Optional(bool)` If True, do not raise errors for unknown fields. Only applied if `mapping` is a mapping type or there are keyword parameters. |