# Google Cloud Dms V1 Client - Class DescribeDatabaseEntitiesRequest (2.1.3)

2.1.3 (latest) 2.1.2 2.0.6 1.5.5 1.4.2 1.3.0 1.2.1 1.1.0 1.0.5 Reference documentation and code samples for the Google Cloud Dms V1 Client class DescribeDatabaseEntitiesRequest.

Request message for 'DescribeDatabaseEntities' request.

Generated from protobuf message `google.cloud.clouddms.v1.DescribeDatabaseEntitiesRequest`

## Namespace

Google \\ Cloud \\ CloudDms \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ conversion_workspace` | `string` Required. Name of the conversion workspace resource whose database entities are described. Must be in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. |
| `↳ page_size` | `int` Optional. The maximum number of entities to return. The service may return fewer entities than the value specifies. |
| `↳ page_token` | `string` Optional. The nextPageToken value received in the previous call to conversionWorkspace.describeDatabaseEntities, used in the subsequent request to retrieve the next page of results. On first call this should be left blank. When paginating, all other parameters provided to conversionWorkspace.describeDatabaseEntities must match the call that provided the page token. |
| `↳ tree` | `int` Required. The tree to fetch. |
| `↳ uncommitted` | `bool` Optional. Whether to retrieve the latest committed version of the entities or the latest version. This field is ignored if a specific commit_id is specified. |
| `↳ commit_id` | `string` Optional. Request a specific commit ID. If not specified, the entities from the latest commit are returned. |
| `↳ filter` | `string` Optional. Filter the returned entities based on AIP-160 standard. |
| `↳ view` | `int` Optional. Results view based on AIP-157 |

### getConversionWorkspace

Required. Name of the conversion workspace resource whose database entities
are described. Must be in the form of:
projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.

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

### setConversionWorkspace

Required. Name of the conversion workspace resource whose database entities
are described. Must be in the form of:
projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.

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

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

### getPageSize

Optional. The maximum number of entities to return. The service may return
fewer entities than the value specifies.

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

### setPageSize

Optional. The maximum number of entities to return. The service may return
fewer entities than the value specifies.

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

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

### getPageToken

Optional. The nextPageToken value received in the previous call to
conversionWorkspace.describeDatabaseEntities, used in the subsequent
request to retrieve the next page of results. On first call this should be
left blank. When paginating, all other parameters provided to
conversionWorkspace.describeDatabaseEntities must match the call that
provided the page token.

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

### setPageToken

Optional. The nextPageToken value received in the previous call to
conversionWorkspace.describeDatabaseEntities, used in the subsequent
request to retrieve the next page of results. On first call this should be
left blank. When paginating, all other parameters provided to
conversionWorkspace.describeDatabaseEntities must match the call that
provided the page token.

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

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

### getTree

Required. The tree to fetch.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [DBTreeType](https://docs.cloud.google.com/php/docs/reference/cloud-dms/latest/V1.DescribeDatabaseEntitiesRequest.DBTreeType). |

### setTree

Required. The tree to fetch.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [DBTreeType](https://docs.cloud.google.com/php/docs/reference/cloud-dms/latest/V1.DescribeDatabaseEntitiesRequest.DBTreeType). |

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

### getUncommitted

Optional. Whether to retrieve the latest committed version of the entities
or the latest version. This field is ignored if a specific commit_id is
specified.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setUncommitted

Optional. Whether to retrieve the latest committed version of the entities
or the latest version. This field is ignored if a specific commit_id is
specified.

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

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

### getCommitId

Optional. Request a specific commit ID. If not specified, the entities from
the latest commit are returned.

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

### setCommitId

Optional. Request a specific commit ID. If not specified, the entities from
the latest commit are returned.

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

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

### getFilter

Optional. Filter the returned entities based on AIP-160 standard.

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

### setFilter

Optional. Filter the returned entities based on AIP-160 standard.

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

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

### getView

Optional. Results view based on AIP-157

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [DatabaseEntityView](https://docs.cloud.google.com/php/docs/reference/cloud-dms/latest/V1.DatabaseEntityView). |

### setView

Optional. Results view based on AIP-157

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [DatabaseEntityView](https://docs.cloud.google.com/php/docs/reference/cloud-dms/latest/V1.DatabaseEntityView). |

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