# Grafeas V1 Client - Class RepoId (1.7.0)

1.7.0 (latest) 1.6.0 1.5.0 1.4.0 1.3.2 1.2.2 1.1.3 1.0.0 0.10.3 0.9.0 0.8.3 0.7.1 0.6.0 0.5.0 0.4.4 Reference documentation and code samples for the Grafeas V1 Client class RepoId.

A unique identifier for a Cloud Repo.

Generated from protobuf message `grafeas.v1.RepoId`

## Namespace

Grafeas \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ project_repo_id` | `https://docs.cloud.google.com/php/docs/reference/grafeas/latest/V1.ProjectRepoId` A combination of a project ID and a repo name. |
| `↳ uid` | `string` A server-assigned, globally unique identifier. |

### getProjectRepoId

A combination of a project ID and a repo name.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/grafeas/latest/V1.ProjectRepoId|null` |   |

### hasProjectRepoId

### setProjectRepoId

A combination of a project ID and a repo name.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/grafeas/latest/V1.ProjectRepoId` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getUid

A server-assigned, globally unique identifier.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasUid

### setUid

A server-assigned, globally unique identifier.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getId

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |