# Google Cloud Build V2 Client - Class RefType (1.1.2)

1.1.2 (latest) 1.1.1 1.0.4 0.16.3 0.15.0 0.14.0 0.13.2 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.3 0.6.1 0.5.1 0.4.0 0.3.8 Reference documentation and code samples for the Google Cloud Build V2 Client class RefType.

Type of refs

Protobuf type `google.devtools.cloudbuild.v2.FetchGitRefsRequest.RefType`

## Namespace

Google \\ Cloud \\ Build \\ V2 \\ FetchGitRefsRequest

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### REF_TYPE_UNSPECIFIED

    Value: 0

No type specified.

Generated from protobuf enum `REF_TYPE_UNSPECIFIED = 0;`

### TAG

    Value: 1

To fetch tags.

Generated from protobuf enum `TAG = 1;`

### BRANCH

    Value: 2

To fetch branches.

Generated from protobuf enum `BRANCH = 2;`