# Google Cloud Dialogflow V2 Client - Class AssistQueryParameters (2.4.0)

2.4.0 (latest) 2.3.1 2.2.1 2.1.2 2.0.1 1.17.2 1.16.0 1.15.1 1.14.0 1.13.0 1.12.3 1.11.0 1.10.2 1.9.0 1.8.0 1.7.2 1.6.0 1.5.0 1.4.0 1.3.2 1.2.0 1.1.1 1.0.1 Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class AssistQueryParameters.

Represents the parameters of human assist query.

Generated from protobuf message `google.cloud.dialogflow.v2.AssistQueryParameters`

## Namespace

Google \\ Cloud \\ Dialogflow \\ V2

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ documents_metadata_filters` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` Key-value filters on the metadata of documents returned by article suggestion. If specified, article suggestion only returns suggested documents that match all filters in their [Document.metadata](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow/latest/V2.Document#_Google_Cloud_Dialogflow_V2_Document__getMetadata__). Multiple values for a metadata key should be concatenated by comma. For example, filters to match all documents that have 'US' or 'CA' in their market metadata values and 'agent' in their user metadata values will be `documents_metadata_filters { key: "market" value: "US,CA" } documents_metadata_filters { key: "user" value: "agent" }` |

### getDocumentsMetadataFilters

Key-value filters on the metadata of documents returned by article
suggestion. If specified, article suggestion only returns suggested
documents that match all filters in their
[Document.metadata](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow/latest/V2.Document#_Google_Cloud_Dialogflow_V2_Document__getMetadata__). Multiple
values for a metadata key should be concatenated by comma. For example,
filters to match all documents that have 'US' or 'CA' in their market
metadata values and 'agent' in their user metadata values will be

    documents_metadata_filters {
      key: "market"
      value: "US,CA"
    }
    documents_metadata_filters {
      key: "user"
      value: "agent"
    }

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |   |

### setDocumentsMetadataFilters

Key-value filters on the metadata of documents returned by article
suggestion. If specified, article suggestion only returns suggested
documents that match all filters in their
[Document.metadata](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow/latest/V2.Document#_Google_Cloud_Dialogflow_V2_Document__getMetadata__). Multiple
values for a metadata key should be concatenated by comma. For example,
filters to match all documents that have 'US' or 'CA' in their market
metadata values and 'agent' in their user metadata values will be

    documents_metadata_filters {
      key: "market"
      value: "US,CA"
    }
    documents_metadata_filters {
      key: "user"
      value: "agent"
    }

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |

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