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. 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. 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
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. 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
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Dialogflow V2 Client - Class AssistQueryParameters (2.1.2)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.2 (latest)](/php/docs/reference/cloud-dialogflow/latest/V2.AssistQueryParameters)\n- [2.1.1](/php/docs/reference/cloud-dialogflow/2.1.1/V2.AssistQueryParameters)\n- [2.0.1](/php/docs/reference/cloud-dialogflow/2.0.1/V2.AssistQueryParameters)\n- [1.17.2](/php/docs/reference/cloud-dialogflow/1.17.2/V2.AssistQueryParameters)\n- [1.16.0](/php/docs/reference/cloud-dialogflow/1.16.0/V2.AssistQueryParameters)\n- [1.15.1](/php/docs/reference/cloud-dialogflow/1.15.1/V2.AssistQueryParameters)\n- [1.14.0](/php/docs/reference/cloud-dialogflow/1.14.0/V2.AssistQueryParameters)\n- [1.13.0](/php/docs/reference/cloud-dialogflow/1.13.0/V2.AssistQueryParameters)\n- [1.12.3](/php/docs/reference/cloud-dialogflow/1.12.3/V2.AssistQueryParameters)\n- [1.11.0](/php/docs/reference/cloud-dialogflow/1.11.0/V2.AssistQueryParameters)\n- [1.10.2](/php/docs/reference/cloud-dialogflow/1.10.2/V2.AssistQueryParameters)\n- [1.9.0](/php/docs/reference/cloud-dialogflow/1.9.0/V2.AssistQueryParameters)\n- [1.8.0](/php/docs/reference/cloud-dialogflow/1.8.0/V2.AssistQueryParameters)\n- [1.7.2](/php/docs/reference/cloud-dialogflow/1.7.2/V2.AssistQueryParameters)\n- [1.6.0](/php/docs/reference/cloud-dialogflow/1.6.0/V2.AssistQueryParameters)\n- [1.5.0](/php/docs/reference/cloud-dialogflow/1.5.0/V2.AssistQueryParameters)\n- [1.4.0](/php/docs/reference/cloud-dialogflow/1.4.0/V2.AssistQueryParameters)\n- [1.3.2](/php/docs/reference/cloud-dialogflow/1.3.2/V2.AssistQueryParameters)\n- [1.2.0](/php/docs/reference/cloud-dialogflow/1.2.0/V2.AssistQueryParameters)\n- [1.1.1](/php/docs/reference/cloud-dialogflow/1.1.1/V2.AssistQueryParameters)\n- [1.0.1](/php/docs/reference/cloud-dialogflow/1.0.1/V2.AssistQueryParameters) \nReference documentation and code samples for the Google Cloud Dialogflow V2 Client class AssistQueryParameters.\n\nRepresents the parameters of human assist query.\n\nGenerated from protobuf message `google.cloud.dialogflow.v2.AssistQueryParameters`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dialogflow \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getDocumentsMetadataFilters\n\nKey-value filters on the metadata of documents returned by article\nsuggestion. If specified, article suggestion only returns suggested\ndocuments that match all filters in their\n[Document.metadata](/php/docs/reference/cloud-dialogflow/latest/V2.Document#_Google_Cloud_Dialogflow_V2_Document__getMetadata__). Multiple\nvalues for a metadata key should be concatenated by comma. For example,\nfilters to match all documents that have 'US' or 'CA' in their market\nmetadata values and 'agent' in their user metadata values will be \n\n documents_metadata_filters {\n key: \"market\"\n value: \"US,CA\"\n }\n documents_metadata_filters {\n key: \"user\"\n value: \"agent\"\n }\n\n### setDocumentsMetadataFilters\n\nKey-value filters on the metadata of documents returned by article\nsuggestion. If specified, article suggestion only returns suggested\ndocuments that match all filters in their\n[Document.metadata](/php/docs/reference/cloud-dialogflow/latest/V2.Document#_Google_Cloud_Dialogflow_V2_Document__getMetadata__). Multiple\nvalues for a metadata key should be concatenated by comma. For example,\nfilters to match all documents that have 'US' or 'CA' in their market\nmetadata values and 'agent' in their user metadata values will be \n\n documents_metadata_filters {\n key: \"market\"\n value: \"US,CA\"\n }\n documents_metadata_filters {\n key: \"user\"\n value: \"agent\"\n }"]]