# Google Cloud Talent Solution V4 Client - Class CompleteQueryResponse (2.3.0)

2.3.0 (latest) 2.2.1 2.1.3 2.0.2 1.3.5 1.2.2 1.1.1 1.0.5 Reference documentation and code samples for the Google Cloud Talent Solution V4 Client class CompleteQueryResponse.

Response of auto-complete query.

Generated from protobuf message `google.cloud.talent.v4.CompleteQueryResponse`

## Namespace

Google \\ Cloud \\ Talent \\ V4

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ completion_results` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.CompleteQueryResponse.CompletionResult>` Results of the matching job/company candidates. |
| `↳ metadata` | `https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.ResponseMetadata` Additional information for the API invocation, such as the request tracking id. |

### getCompletionResults

Results of the matching job/company candidates.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.CompleteQueryResponse.CompletionResult>` |   |

### setCompletionResults

Results of the matching job/company candidates.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.CompleteQueryResponse.CompletionResult>` |

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

### getMetadata

Additional information for the API invocation, such as the request
tracking id.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.ResponseMetadata|null` |   |

### hasMetadata

### clearMetadata

### setMetadata

Additional information for the API invocation, such as the request
tracking id.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-talent/latest/V4.ResponseMetadata` |

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