# Cloud Build v2 API - Enum FetchGitRefsRequest.Types.RefType (1.5.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [1.5.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2.FetchGitRefsRequest.Types.RefType)
- [1.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/1.4.0/Google.Cloud.CloudBuild.V2.FetchGitRefsRequest.Types.RefType)
- [1.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/1.3.0/Google.Cloud.CloudBuild.V2.FetchGitRefsRequest.Types.RefType)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/1.2.0/Google.Cloud.CloudBuild.V2.FetchGitRefsRequest.Types.RefType)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/1.1.0/Google.Cloud.CloudBuild.V2.FetchGitRefsRequest.Types.RefType)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/1.0.0/Google.Cloud.CloudBuild.V2.FetchGitRefsRequest.Types.RefType)

    public enum FetchGitRefsRequest.Types.RefType

Reference documentation and code samples for the Cloud Build v2 API enum FetchGitRefsRequest.Types.RefType.

Type of refs

## Namespace

[Google.Cloud.CloudBuild.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2)

## Assembly

Google.Cloud.CloudBuild.V2.dll

| ## Fields ||
|---|---|
| **Name** | **Description** |
| `Branch` | To fetch branches. |
| `Tag` | To fetch tags. |
| `Unspecified` | No type specified. |