You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dyn/retail_v2.projects.locations.catalogs.html
+7
Original file line number
Diff line number
Diff line change
@@ -184,6 +184,13 @@ <h3>Method Details</h3>
184
184
An object of the form:
185
185
186
186
{ # Response of the autocomplete query.
187
+
"attributeResults": { # A map of matched attribute suggestions. This field is only available for "cloud-retail" dataset. Current supported keys: * `brands` * `categories`
188
+
"a_key": { # Resource that represents attribute results.
189
+
"suggestions": [
190
+
"A String",
191
+
],
192
+
},
193
+
},
187
194
"attributionToken": "A String", # A unique complete token. This should be included in the UserEvent.completion_detail for search events resulting from this completion, which enables accurate attribution of complete model performance.
188
195
"completionResults": [ # Results of the matching suggestions. The result list is ordered and the first result is top suggestion.
parent: string, Required. Resource name of a Branch, and `default_branch` for branch_id component is supported. For example `projects/1234/locations/global/catalogs/default_catalog/branches/default_branch` (required)
635
+
body: object, The request body.
636
+
The object takes the form of:
637
+
638
+
{ # Request message for ExportProducts method.
639
+
"filter": "A String", # A 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)`
640
+
"outputConfig": { # The output configuration setting. # Required. The output location of the data.
641
+
"bigqueryDestination": { # The BigQuery output destination configuration. # The BigQuery location where the output is to be written to.
642
+
"datasetId": "A String", # Required. The ID of a BigQuery Dataset.
643
+
"tableIdPrefix": "A String", # Required. The prefix of exported BigQuery tables.
644
+
"tableType": "A String", # Required. Describes the table type. The following values are supported: * `table`: A BigQuery native table. * `view`: A virtual table defined by a SQL query.
645
+
},
646
+
"gcsDestination": { # The Google Cloud Storage output destination configuration. # The Google Cloud Storage location where the output is to be written to.
647
+
"outputUriPrefix": "A String", # Required. The output uri prefix for saving output data to json files. Some mapping examples are as follows: output_uri_prefix sample output(assuming the object is foo.json) ======================== ============================================= gs://bucket/ gs://bucket/foo.json gs://bucket/folder/ gs://bucket/folder/foo.json gs://bucket/folder/item_ gs://bucket/folder/item_foo.json
648
+
},
649
+
},
650
+
}
651
+
652
+
x__xgafv: string, V1 error format.
653
+
Allowed values
654
+
1 - v1 error format
655
+
2 - v2 error format
656
+
657
+
Returns:
658
+
An object of the form:
659
+
660
+
{ # This resource represents a long-running operation that is the result of a network API call.
661
+
"done": True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
662
+
"error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
663
+
"code": 42, # The status code, which should be an enum value of google.rpc.Code.
664
+
"details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
665
+
{
666
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
667
+
},
668
+
],
669
+
"message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
670
+
},
671
+
"metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
672
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
673
+
},
674
+
"name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
675
+
"response": { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
676
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
Copy file name to clipboardExpand all lines: docs/dyn/retail_v2alpha.projects.locations.catalogs.html
+1-1
Original file line number
Diff line number
Diff line change
@@ -191,7 +191,7 @@ <h3>Method Details</h3>
191
191
{ # Response of the autocomplete query.
192
192
"attributeResults": { # A map of matched attribute suggestions. This field is only available for "cloud-retail" dataset. Current supported keys: * `brands` * `categories`
193
193
"a_key": { # Resource that represents attribute results.
194
-
"suggestions": [ # The list of suggestions for the attribute.
0 commit comments