# Class CloudBuildRepository (0.5.0)

0.5.0 (latest) 0.4.0 0.3.0 0.2.0 0.1.3

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

CloudBuildRepository contains information about fetching Kubernetes
configuration from a `CloudBuildRepository`.

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

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `variants_pattern` | `str` Optional. variants_pattern is a glob pattern that will be used to find variants in the repository. Examples: `variants/*.yaml`, `us-*` This field is a member of `oneof`_ `variants`. |
| `name` | `str` Required. Name of the cloud build repository. Format is projects/{p}/locations/{l}/connections/{c}/repositories/{r}. |
| `path` | `str` Optional. path to the directory or file within the repository that contains the kubernetes configuration. If unspecified, path is assumed to the top level root directory of the repository. |
| `tag` | `str` Required. git tag of the underlying git repository. The git tag must be in the semantic version format `vX.Y.Z`. |
| `service_account` | `str` Required. Google service account to use in CloudBuild triggers to fetch and store kubernetes configuration. |