NAME
Google::Cloud::Retail::V2alpha::ExportConfig - Compiled Protocol Buffers messages for google/cloud/retail/v2alpha/export_config.proto
SYNOPSIS
use Google::Cloud::Retail::V2alpha::ExportConfig;
my $msg = Google::Cloud::Retail::V2alpha::ExportConfig::OutputConfig->new({
gcs_destination => $gcs_destination,
bigquery_destination => $bigquery_destination,
});
# Read or update a field
my $val = $msg->gcs_destination();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Retail::V2alpha::ExportConfig::OutputConfig->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/retail/v2alpha/export_config.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Retail::V2alpha::ExportConfig::OutputConfig
The output configuration setting.
Inherits from Protobuf::Message.
Accessors
$msg->gcs_destination()/$msg->gcs_destination($value)Type:
Message(Google::Cloud::Retail::V2alpha::ExportConfig::OutputConfig::GcsDestination)The Google Cloud Storage location where the output is to be written to.
$msg->bigquery_destination()/$msg->bigquery_destination($value)Type:
Message(Google::Cloud::Retail::V2alpha::ExportConfig::OutputConfig::BigQueryDestination)The BigQuery location where the output is to be written to.
Google::Cloud::Retail::V2alpha::ExportConfig::ExportErrorsConfig
Configuration of destination for Export related errors.
Inherits from Protobuf::Message.
Accessors
$msg->gcs_prefix()/$msg->gcs_prefix($value)Type:
StringGoogle Cloud Storage path for import errors. This must be an empty, existing Cloud Storage bucket. Export errors will be written to a file in this bucket, one per line, as a JSON-encoded `google.rpc.Status` message.
Google::Cloud::Retail::V2alpha::ExportConfig::ExportProductsRequest
Request message for ExportProducts method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Resource name of a [Branch][google.cloud.retail.v2alpha.Branch], and `default_branch` for branch_id component is supported. For example `projects/1234/locations/global/catalogs/default_catalog/branches/default_branch`
$msg->output_config()/$msg->output_config($value)Type:
Message(Google::Cloud::Retail::V2alpha::ExportConfig::OutputConfig)Required. The output location of the data.
$msg->filter()/$msg->filter($value)Type:
StringA filtering expression to specify restrictions on returned events. The expression is a sequence of terms. Each term applies a restriction to the returned products. Use this expression to restrict results to a specific time range, tag, or stock state or to filter products by product type. For example, `lastModifiedTime > "2012-04-23T18:25:43.511Z" lastModifiedTime<"2012-04-23T18:25:43.511Z" productType=primary`
We expect only four types of fields: * `lastModifiedTime`: This can be specified twice, once with a less than operator and once with a greater than operator. The `lastModifiedTime` restriction should result in one, contiguous, valid, last-modified, time range. * `productType`: Supported values are `primary` and `variant`. The Boolean operators `OR` and `NOT` are supported if the expression is enclosed in parentheses and must be separated from the `productType` values by a space. * `availability`: Supported values are `IN_STOCK`, `OUT_OF_STOCK`, `PREORDER`, and `BACKORDER`. Boolean operators `OR` and `NOT` are supported if the expression is enclosed in parentheses and must be separated from the `availability` values by a space. * `Tag expressions`: Restricts output to products that match all of the specified tags. Boolean operators `OR` and `NOT` are supported if the expression is enclosed in parentheses and the operators are separated from the tag values by a space. Also supported is '`-"tagA"`', which is equivalent to '`NOT "tagA"`'. Tag values must be double-quoted, UTF-8 encoded strings and have a size limit of 1,000 characters. Some examples of valid filters expressions: * Example 1: `lastModifiedTime > "2012-04-23T18:25:43.511Z" lastModifiedTime < "2012-04-23T18:30:43.511Z"` * Example 2: `lastModifiedTime > "2012-04-23T18:25:43.511Z" productType = "variant"` * Example 3: `tag=("Red" OR "Blue") tag="New-Arrival" tag=(NOT "promotional") productType = "primary" lastModifiedTime < "2018-04-23T18:30:43.511Z"` * Example 4: `lastModifiedTime > "2012-04-23T18:25:43.511Z"` * Example 5: `availability = (IN_STOCK OR BACKORDER)`
Google::Cloud::Retail::V2alpha::ExportConfig::ExportUserEventsRequest
Request message for the `ExportUserEvents` method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Resource name of a [Catalog][google.cloud.retail.v2alpha.Catalog]. For example `projects/1234/locations/global/catalogs/default_catalog`
$msg->output_config()/$msg->output_config($value)Type:
Message(Google::Cloud::Retail::V2alpha::ExportConfig::OutputConfig)Required. The output location of the data.
$msg->filter()/$msg->filter($value)Type:
StringA filtering expression to specify restrictions on returned events. The expression is a sequence of terms. Each term applies a restriction to the returned user events. Use this expression to restrict results to a specific time range or to filter events by eventType. For example, `eventTime > "2012-04-23T18:25:43.511Z" eventsMissingCatalogItems eventTime<"2012-04-23T18:25:43.511Z" eventType=search`
We expect only three types of fields: * `eventTime`: This can be specified twice, once with a less than operator and once with a greater than operator. The `eventTime` restriction should result in one, contiguous, valid, `eventTime` range. * `eventType`: Boolean operators `OR` and `NOT` are supported if the expression is enclosed in parentheses and the operators are separated from the tag values by a space. * `eventsMissingCatalogItems`: This restricts results to events for which catalog items were not found in the catalog. The default behavior is to return only those events for which catalog items were found. Some examples of valid filters expressions: * Example 1: `eventTime > "2012-04-23T18:25:43.511Z" eventTime < "2012-04-23T18:30:43.511Z"` * Example 2: `eventTime > "2012-04-23T18:25:43.511Z" eventType = detail-page-view` * Example 3: `eventsMissingCatalogItems eventType = (NOT search) eventTime < "2018-04-23T18:30:43.511Z"` * Example 4: `eventTime > "2012-04-23T18:25:43.511Z"` * Example 5: `eventType = (detail-page-view OR search)` * Example 6: `eventsMissingCatalogItems`
Google::Cloud::Retail::V2alpha::ExportConfig::ExportAnalyticsMetricsRequest
Request message for the `ExportAnalyticsMetrics` method.
Inherits from Protobuf::Message.
Accessors
$msg->catalog()/$msg->catalog($value)Type:
StringRequired. Full resource name of the parent catalog. Expected format: `projects/*/locations/*/catalogs/*`
$msg->output_config()/$msg->output_config($value)Type:
Message(Google::Cloud::Retail::V2alpha::ExportConfig::OutputConfig)Required. The output location of the data.
$msg->filter()/$msg->filter($value)Type:
StringA 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"`
Google::Cloud::Retail::V2alpha::ExportConfig::ExportMetadata
Metadata related to the progress of the Export operation. This is returned by the google.longrunning.Operation.metadata field.
Inherits from Protobuf::Message.
Accessors
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Operation create time.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Operation last update time. If the operation is done, this is also the finish time.
Google::Cloud::Retail::V2alpha::ExportConfig::ExportProductsResponse
Response of the ExportProductsRequest. If the long running operation is done, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.
Inherits from Protobuf::Message.
Accessors
$msg->error_samples()/$msg->error_samples($value)Type:
Message(Google::Rpc::Status::Status)A sample of errors encountered while processing the request.
$msg->errors_config()/$msg->errors_config($value)Type:
Message(Google::Cloud::Retail::V2alpha::ExportConfig::ExportErrorsConfig)This field is never set.
$msg->output_result()/$msg->output_result($value)Type:
Message(Google::Cloud::Retail::V2alpha::ExportConfig::OutputResult)Output result indicating where the data were exported to.
Google::Cloud::Retail::V2alpha::ExportConfig::ExportUserEventsResponse
Response of the ExportUserEventsRequest. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.
Inherits from Protobuf::Message.
Accessors
$msg->error_samples()/$msg->error_samples($value)Type:
Message(Google::Rpc::Status::Status)A sample of errors encountered while processing the request.
$msg->errors_config()/$msg->errors_config($value)Type:
Message(Google::Cloud::Retail::V2alpha::ExportConfig::ExportErrorsConfig)This field is never set.
$msg->output_result()/$msg->output_result($value)Type:
Message(Google::Cloud::Retail::V2alpha::ExportConfig::OutputResult)Output result indicating where the data were exported to.
Google::Cloud::Retail::V2alpha::ExportConfig::ExportAnalyticsMetricsResponse
Response of the ExportAnalyticsMetricsRequest. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.
Inherits from Protobuf::Message.
Accessors
$msg->error_samples()/$msg->error_samples($value)Type:
Message(Google::Rpc::Status::Status)A sample of errors encountered while processing the request.
$msg->errors_config()/$msg->errors_config($value)Type:
Message(Google::Cloud::Retail::V2alpha::ExportConfig::ExportErrorsConfig)This field is never set.
$msg->output_result()/$msg->output_result($value)Type:
Message(Google::Cloud::Retail::V2alpha::ExportConfig::OutputResult)Output result indicating where the data were exported to.
Google::Cloud::Retail::V2alpha::ExportConfig::OutputResult
Output result that stores the information about where the exported data is stored.
Inherits from Protobuf::Message.
Accessors
$msg->bigquery_result()/$msg->bigquery_result($value)Type:
Message(Google::Cloud::Retail::V2alpha::ExportConfig::BigQueryOutputResult)The BigQuery location where the result is stored.
$msg->gcs_result()/$msg->gcs_result($value)Type:
Message(Google::Cloud::Retail::V2alpha::ExportConfig::GcsOutputResult)The Google Cloud Storage location where the result is stored.
Google::Cloud::Retail::V2alpha::ExportConfig::BigQueryOutputResult
A BigQuery output result.
Inherits from Protobuf::Message.
Accessors
$msg->dataset_id()/$msg->dataset_id($value)Type:
StringThe ID of a BigQuery Dataset.
$msg->table_id()/$msg->table_id($value)Type:
StringThe ID of a BigQuery Table.
Google::Cloud::Retail::V2alpha::ExportConfig::GcsOutputResult
A Gcs output result.
Inherits from Protobuf::Message.
Accessors
$msg->output_uri()/$msg->output_uri($value)Type:
StringThe uri of Gcs output
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Retail::V2alpha::ExportConfig::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.