0.18.0 (latest) 0.17.1 0.16.0 0.15.3 0.12.0 0.11.0 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 QueryRepositoryDirectoryContentsRequest.

`QueryRepositoryDirectoryContents` request message.

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

## Namespace

Google \\ Cloud \\ Dataform \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The repository's name. |
| `↳ commit_sha` | `string` Optional. The Commit SHA for the commit to query from. If unset, the directory will be queried from HEAD. |
| `↳ path` | `string` Optional. The directory's full path including directory name, relative to root. If left unset, the root is used. |
| `↳ page_size` | `int` Optional. Maximum number of paths to return. The server may return fewer items than requested. If unspecified, the server will pick an appropriate default. |
| `↳ page_token` | `string` Optional. Page token received from a previous `QueryRepositoryDirectoryContents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryRepositoryDirectoryContents`, with the exception of `page_size`, must match the call that provided the page token. |

### getName

Required. The repository's name.

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

### setName

Required. The repository's name.

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

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

### getCommitSha

Optional. The Commit SHA for the commit to query from. If unset, the
directory will be queried from HEAD.

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

### setCommitSha

Optional. The Commit SHA for the commit to query from. If unset, the
directory will be queried from HEAD.

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

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

### getPath

Optional. The directory's full path including directory name, relative to
root. If left unset, the root is used.

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

### setPath

Optional. The directory's full path including directory name, relative to
root. If left unset, the root is used.

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

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

### getPageSize

Optional. Maximum number of paths to return. The server may return fewer
items than requested. If unspecified, the server will pick an appropriate
default.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setPageSize

Optional. Maximum number of paths to return. The server may return fewer
items than requested. If unspecified, the server will pick an appropriate
default.

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

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

### getPageToken

Optional. Page token received from a previous
`QueryRepositoryDirectoryContents` call. Provide this to retrieve the
subsequent page.

When paginating, all other parameters provided to
`QueryRepositoryDirectoryContents`, with the exception of `page_size`, must
match the call that provided the page token.

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

### setPageToken

Optional. Page token received from a previous
`QueryRepositoryDirectoryContents` call. Provide this to retrieve the
subsequent page.

When paginating, all other parameters provided to
`QueryRepositoryDirectoryContents`, with the exception of `page_size`, must
match the call that provided the page token.

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

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