# Google Cloud Dataplex V1 Client - Class SearchEntriesRequest (1.14.0)

1.14.0 (latest) 1.13.0 1.12.0 1.11.0 1.10.0 1.9.1 1.8.0 1.7.1 1.6.1 1.4.0 1.3.0 1.2.1 1.1.1 1.0.1 0.16.1 0.15.1 0.14.0 0.13.0 0.12.0 0.11.1 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.1 0.4.0 0.3.0 0.2.3 0.1.6 Reference documentation and code samples for the Google Cloud Dataplex V1 Client class SearchEntriesRequest.

Generated from protobuf message `google.cloud.dataplex.v1.SearchEntriesRequest`

## Namespace

Google \\ Cloud \\ Dataplex \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The project to which the request should be attributed in the following form: `projects/{project}/locations/global`. |
| `↳ query` | `string` Required. The query against which entries in scope should be matched. The query syntax is defined in [Search syntax for Dataplex Universal Catalog](https://cloud.google.com/dataplex/docs/search-syntax). |
| `↳ page_size` | `int` Optional. Number of results in the search page. If \<=0, then defaults to 10. Max limit for page_size is 1000. Throws an invalid argument for page_size \> 1000. |
| `↳ page_token` | `string` Optional. Page token received from a previous `SearchEntries` call. Provide this to retrieve the subsequent page. |
| `↳ order_by` | `string` Optional. Specifies the ordering of results. Supported values are: \* \* `relevance` \* \* `last_modified_timestamp` \* \* `last_modified_timestamp asc` |
| `↳ scope` | `string` Optional. The scope under which the search should be operating. It must either be `organizations/<org_id>` or `projects/<project_ref>`. If it is unspecified, it defaults to the organization where the project provided in `name` is located. |
| `↳ semantic_search` | `bool` Optional. Specifies whether the search should understand the meaning and intent behind the query, rather than just matching keywords. |

### getName

Required. The project to which the request should be attributed in the
following form: `projects/{project}/locations/global`.

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

### setName

Required. The project to which the request should be attributed in the
following form: `projects/{project}/locations/global`.

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

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

### getQuery

Required. The query against which entries in scope should be matched.

The query syntax is defined in [Search syntax for Dataplex Universal
Catalog](https://cloud.google.com/dataplex/docs/search-syntax).

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

### setQuery

Required. The query against which entries in scope should be matched.

The query syntax is defined in [Search syntax for Dataplex Universal
Catalog](https://cloud.google.com/dataplex/docs/search-syntax).

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

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

### getPageSize

Optional. Number of results in the search page. If \<=0, then defaults
to 10. Max limit for page_size is 1000. Throws an invalid argument for
page_size \> 1000.

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

### setPageSize

Optional. Number of results in the search page. If \<=0, then defaults
to 10. Max limit for page_size is 1000. Throws an invalid argument for
page_size \> 1000.

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

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

### getPageToken

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

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

### setPageToken

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

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

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

### getOrderBy

Optional. Specifies the ordering of results.

Supported values are:

- `relevance`
- `last_modified_timestamp`
- `last_modified_timestamp asc`

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

### setOrderBy

Optional. Specifies the ordering of results.

Supported values are:

- `relevance`
- `last_modified_timestamp`
- `last_modified_timestamp asc`

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

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

### getScope

Optional. The scope under which the search should be operating. It must
either be `organizations/<org_id>` or `projects/<project_ref>`. If it is
unspecified, it defaults to the organization where the project provided in
`name` is located.

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

### setScope

Optional. The scope under which the search should be operating. It must
either be `organizations/<org_id>` or `projects/<project_ref>`. If it is
unspecified, it defaults to the organization where the project provided in
`name` is located.

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

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

### getSemanticSearch

Optional. Specifies whether the search should understand the meaning and
intent behind the query, rather than just matching keywords.

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

### setSemanticSearch

Optional. Specifies whether the search should understand the meaning and
intent behind the query, rather than just matching keywords.

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

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The project to which the request should be attributed in the following form: `projects/{project}/locations/global`. Please see CatalogServiceClient::locationName() for help formatting this field. |
| `query` | `string` Required. The query against which entries in scope should be matched. The query syntax is defined in [Search syntax for Dataplex Universal Catalog](https://cloud.google.com/dataplex/docs/search-syntax). |

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