# Google Cloud Dataform V1 Client - Class CreateRepositoryRequest (0.11.0)

0.11.0 (latest) 0.10.1 0.9.2 0.8.1 0.7.0 0.6.0 0.5.1 0.4.7 0.3.0 0.2.3 0.1.6 Reference documentation and code samples for the Google Cloud Dataform V1 Client class CreateRepositoryRequest.

`CreateRepository` request message.

Generated from protobuf message `google.cloud.dataform.v1.CreateRepositoryRequest`

## Namespace

Google \\ Cloud \\ Dataform \\ V1

## Methods

### __construct

Constructor.

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

### getParent

Required. The location in which to create the repository. Must be in the
format `projects/*/locations/*`.

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

### setParent

Required. The location in which to create the repository. Must be in the
format `projects/*/locations/*`.

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

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

### getRepository

Required. The repository to create.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Repository|null` |   |

### hasRepository

### clearRepository

### setRepository

Required. The repository to create.

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

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

### getRepositoryId

Required. The ID to use for the repository, which will become the final
component of the repository's resource name.

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

### setRepositoryId

Required. The ID to use for the repository, which will become the final
component of the repository's resource name.

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

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The location in which to create the repository. Must be in the format `projects/*/locations/*`. Please see DataformClient::locationName() for help formatting this field. |
| `repository` | `Repository` Required. The repository to create. |
| `repositoryId` | `string` Required. The ID to use for the repository, which will become the final component of the repository's resource name. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1.CreateRepositoryRequest` |   |