A filtering expression to specify restrictions on returned metrics. The expression is a sequence of terms. Each term applies a restriction to the returned metrics. Use this expression to restrict results to a specific time range. Currently we expect only one types of fields: * * timestamp: This can be specified twice, once with a less than operator and once with a greater than operator. The timestamp restriction should result in one, contiguous, valid, timestamp range. Some examples of valid filters expressions: * * Example 1: timestamp > "2012-04-23T18:25:43.511Z" timestamp < "2012-04-23T18:30:43.511Z" * * Example 2: timestamp > "2012-04-23T18:25:43.511Z"
getCatalog
Required. Full resource name of the parent catalog.
A filtering expression to specify restrictions on returned metrics.
The expression is a sequence of terms. Each term applies a restriction to
the returned metrics. Use this expression to restrict results to a
specific time range.
Currently we expect only one types of fields:
timestamp: This can be specified twice, once with a
less than operator and once with a greater than operator. The
timestamp restriction should result in one, contiguous, valid,
timestamp range.
Some examples of valid filters expressions:
Example 1: timestamp > "2012-04-23T18:25:43.511Z"
timestamp < "2012-04-23T18:30:43.511Z"
Example 2: timestamp > "2012-04-23T18:25:43.511Z"
Returns
Type
Description
string
setFilter
A filtering expression to specify restrictions on returned metrics.
The expression is a sequence of terms. Each term applies a restriction to
the returned metrics. Use this expression to restrict results to a
specific time range.
Currently we expect only one types of fields:
timestamp: This can be specified twice, once with a
less than operator and once with a greater than operator. The
timestamp restriction should result in one, contiguous, valid,
timestamp range.
Some examples of valid filters expressions:
Example 1: timestamp > "2012-04-23T18:25:43.511Z"
timestamp < "2012-04-23T18:30:43.511Z"
[[["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 Retail V2 Client - Class ExportAnalyticsMetricsRequest (2.3.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.1 (latest)](/php/docs/reference/cloud-retail/latest/V2.ExportAnalyticsMetricsRequest)\n- [2.3.0](/php/docs/reference/cloud-retail/2.3.0/V2.ExportAnalyticsMetricsRequest)\n- [2.2.1](/php/docs/reference/cloud-retail/2.2.1/V2.ExportAnalyticsMetricsRequest)\n- [2.1.3](/php/docs/reference/cloud-retail/2.1.3/V2.ExportAnalyticsMetricsRequest)\n- [2.0.0](/php/docs/reference/cloud-retail/2.0.0/V2.ExportAnalyticsMetricsRequest)\n- [1.7.0](/php/docs/reference/cloud-retail/1.7.0/V2.ExportAnalyticsMetricsRequest)\n- [1.6.4](/php/docs/reference/cloud-retail/1.6.4/V2.ExportAnalyticsMetricsRequest)\n- [1.5.0](/php/docs/reference/cloud-retail/1.5.0/V2.ExportAnalyticsMetricsRequest)\n- [1.4.2](/php/docs/reference/cloud-retail/1.4.2/V2.ExportAnalyticsMetricsRequest)\n- [1.3.1](/php/docs/reference/cloud-retail/1.3.1/V2.ExportAnalyticsMetricsRequest)\n- [1.2.1](/php/docs/reference/cloud-retail/1.2.1/V2.ExportAnalyticsMetricsRequest)\n- [1.1.1](/php/docs/reference/cloud-retail/1.1.1/V2.ExportAnalyticsMetricsRequest)\n- [1.0.1](/php/docs/reference/cloud-retail/1.0.1/V2.ExportAnalyticsMetricsRequest) \nReference documentation and code samples for the Google Cloud Retail V2 Client class ExportAnalyticsMetricsRequest.\n\nRequest message for the `ExportAnalyticsMetrics` method.\n\nGenerated from protobuf message `google.cloud.retail.v2.ExportAnalyticsMetricsRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Retail \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getCatalog\n\nRequired. Full resource name of the parent catalog.\n\nExpected format: `projects/*/locations/*/catalogs/*`\n\n### setCatalog\n\nRequired. Full resource name of the parent catalog.\n\nExpected format: `projects/*/locations/*/catalogs/*`\n\n### getOutputConfig\n\nRequired. The output location of the data.\n\n### hasOutputConfig\n\n### clearOutputConfig\n\n### setOutputConfig\n\nRequired. The output location of the data.\n\n### getFilter\n\nA filtering expression to specify restrictions on returned metrics.\n\nThe expression is a sequence of terms. Each term applies a restriction to\nthe returned metrics. Use this expression to restrict results to a\nspecific time range.\nCurrently we expect only one types of fields:\n\n- `timestamp`: This can be specified twice, once with a less than operator and once with a greater than operator. The `timestamp` restriction should result in one, contiguous, valid, `timestamp` range. Some examples of valid filters expressions:\n - Example 1: `timestamp \u003e \"2012-04-23T18:25:43.511Z\"\n timestamp \u003c \"2012-04-23T18:30:43.511Z\"`\n - Example 2: `timestamp \u003e \"2012-04-23T18:25:43.511Z\"`\n\n### setFilter\n\nA filtering expression to specify restrictions on returned metrics.\n\nThe expression is a sequence of terms. Each term applies a restriction to\nthe returned metrics. Use this expression to restrict results to a\nspecific time range.\nCurrently we expect only one types of fields:\n\n- `timestamp`: This can be specified twice, once with a less than operator and once with a greater than operator. The `timestamp` restriction should result in one, contiguous, valid, `timestamp` range. Some examples of valid filters expressions:\n - Example 1: `timestamp \u003e \"2012-04-23T18:25:43.511Z\"\n timestamp \u003c \"2012-04-23T18:30:43.511Z\"`\n - Example 2: `timestamp \u003e \"2012-04-23T18:25:43.511Z\"`"]]