@maxim_mazurok/gapi.client.retail-v2alpha 0.1.20260309 → 0.2.20260309
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +484 -338
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -127,7 +127,7 @@ declare namespace gapi.client {
|
|
|
127
127
|
/** The feature that provides alerting capability. Supported value: - `search-data-quality` for retail search customers. - `conv-data-quality` for retail conversation customers. */
|
|
128
128
|
alertGroup?: string;
|
|
129
129
|
/** The enrollment status of a customer. */
|
|
130
|
-
enrollStatus?:
|
|
130
|
+
enrollStatus?: 'ENROLL_STATUS_UNSPECIFIED' | 'ENROLLED' | 'DECLINED';
|
|
131
131
|
/** Recipients for the alert policy. One alert policy should not exceed 20 recipients. */
|
|
132
132
|
recipients?: GoogleCloudRetailV2alphaAlertConfigAlertPolicyRecipient[];
|
|
133
133
|
}
|
|
@@ -137,7 +137,10 @@ declare namespace gapi.client {
|
|
|
137
137
|
}
|
|
138
138
|
interface GoogleCloudRetailV2alphaAttributesConfig {
|
|
139
139
|
/** Output only. The AttributeConfigLevel used for this catalog. */
|
|
140
|
-
attributeConfigLevel?:
|
|
140
|
+
attributeConfigLevel?:
|
|
141
|
+
| 'ATTRIBUTE_CONFIG_LEVEL_UNSPECIFIED'
|
|
142
|
+
| 'PRODUCT_LEVEL_ATTRIBUTE_CONFIG'
|
|
143
|
+
| 'CATALOG_LEVEL_ATTRIBUTE_CONFIG';
|
|
141
144
|
/** Enable attribute(s) config at catalog level. For example, indexable, dynamic_facetable, or searchable for each attribute. The key is catalog attribute's name. For example: `color`, `brands`, `attributes.custom_attribute`, such as `attributes.xyz`. The maximum number of catalog attributes allowed in a request is 1000. */
|
|
142
145
|
catalogAttributes?: {
|
|
143
146
|
[P in string]: GoogleCloudRetailV2alphaCatalogAttribute;
|
|
@@ -207,7 +210,10 @@ declare namespace gapi.client {
|
|
|
207
210
|
/** The number of products in scope broken down into different groups. The key is a group representing a set of products, and the value is the number of products in that group. Note: keys in this map may change over time. Possible keys: * "primary-in-stock", products have Product.Type.PRIMARY type and Product.Availability.IN_STOCK availability. * "primary-out-of-stock", products have Product.Type.PRIMARY type and Product.Availability.OUT_OF_STOCK availability. * "primary-preorder", products have Product.Type.PRIMARY type and Product.Availability.PREORDER availability. * "primary-backorder", products have Product.Type.PRIMARY type and Product.Availability.BACKORDER availability. * "variant-in-stock", products have Product.Type.VARIANT type and Product.Availability.IN_STOCK availability. * "variant-out-of-stock", products have Product.Type.VARIANT type and Product.Availability.OUT_OF_STOCK availability. * "variant-preorder", products have Product.Type.VARIANT type and Product.Availability.PREORDER availability. * "variant-backorder", products have Product.Type.VARIANT type and Product.Availability.BACKORDER availability. * "price-discounted", products have [Product.price_info.price] < [Product.price_info.original_price]. */
|
|
208
211
|
counts?: {[P in string]: string};
|
|
209
212
|
/** [ProductCountScope] of the [counts]. */
|
|
210
|
-
scope?:
|
|
213
|
+
scope?:
|
|
214
|
+
| 'PRODUCT_COUNT_SCOPE_UNSPECIFIED'
|
|
215
|
+
| 'ALL_PRODUCTS'
|
|
216
|
+
| 'LAST_24_HOUR_UPDATE';
|
|
211
217
|
}
|
|
212
218
|
interface GoogleCloudRetailV2alphaBranchQualityMetric {
|
|
213
219
|
/** Number of products passing the quality requirement check. We only check searchable products. */
|
|
@@ -233,25 +239,43 @@ declare namespace gapi.client {
|
|
|
233
239
|
}
|
|
234
240
|
interface GoogleCloudRetailV2alphaCatalogAttribute {
|
|
235
241
|
/** If DYNAMIC_FACETABLE_ENABLED, attribute values are available for dynamic facet. Could only be DYNAMIC_FACETABLE_DISABLED if CatalogAttribute.indexable_option is INDEXABLE_DISABLED. Otherwise, an INVALID_ARGUMENT error is returned. Must be specified, otherwise throws INVALID_FORMAT error. */
|
|
236
|
-
dynamicFacetableOption?:
|
|
242
|
+
dynamicFacetableOption?:
|
|
243
|
+
| 'DYNAMIC_FACETABLE_OPTION_UNSPECIFIED'
|
|
244
|
+
| 'DYNAMIC_FACETABLE_ENABLED'
|
|
245
|
+
| 'DYNAMIC_FACETABLE_DISABLED';
|
|
237
246
|
/** If EXACT_SEARCHABLE_ENABLED, attribute values will be exact searchable. This property only applies to textual custom attributes and requires indexable set to enabled to enable exact-searchable. If unset, the server behavior defaults to EXACT_SEARCHABLE_DISABLED. */
|
|
238
|
-
exactSearchableOption?:
|
|
247
|
+
exactSearchableOption?:
|
|
248
|
+
| 'EXACT_SEARCHABLE_OPTION_UNSPECIFIED'
|
|
249
|
+
| 'EXACT_SEARCHABLE_ENABLED'
|
|
250
|
+
| 'EXACT_SEARCHABLE_DISABLED';
|
|
239
251
|
/** Contains facet options. */
|
|
240
252
|
facetConfig?: GoogleCloudRetailV2alphaCatalogAttributeFacetConfig;
|
|
241
253
|
/** When AttributesConfig.attribute_config_level is CATALOG_LEVEL_ATTRIBUTE_CONFIG, if INDEXABLE_ENABLED attribute values are indexed so that it can be filtered, faceted, or boosted in SearchService.Search. Must be specified when AttributesConfig.attribute_config_level is CATALOG_LEVEL_ATTRIBUTE_CONFIG, otherwise throws INVALID_FORMAT error. */
|
|
242
|
-
indexableOption?:
|
|
254
|
+
indexableOption?:
|
|
255
|
+
| 'INDEXABLE_OPTION_UNSPECIFIED'
|
|
256
|
+
| 'INDEXABLE_ENABLED'
|
|
257
|
+
| 'INDEXABLE_DISABLED';
|
|
243
258
|
/** Output only. Indicates whether this attribute has been used by any products. `True` if at least one Product is using this attribute in Product.attributes. Otherwise, this field is `False`. CatalogAttribute can be pre-loaded by using CatalogService.AddCatalogAttribute or CatalogService.UpdateAttributesConfig APIs. This field is `False` for pre-loaded CatalogAttributes. Only pre-loaded catalog attributes that are neither in use by products nor predefined can be deleted. Catalog attributes that are either in use by products or are predefined attributes cannot be deleted; however, their configuration properties will reset to default values upon removal request. After catalog changes, it takes about 10 minutes for this field to update. */
|
|
244
259
|
inUse?: boolean;
|
|
245
260
|
/** Required. Attribute name. For example: `color`, `brands`, `attributes.custom_attribute`, such as `attributes.xyz`. To be indexable, the attribute name can contain only alpha-numeric characters and underscores. For example, an attribute named `attributes.abc_xyz` can be indexed, but an attribute named `attributes.abc-xyz` cannot be indexed. If the attribute key starts with `attributes.`, then the attribute is a custom attribute. Attributes such as `brands`, `patterns`, and `title` are built-in and called system attributes. */
|
|
246
261
|
key?: string;
|
|
247
262
|
/** When AttributesConfig.attribute_config_level is CATALOG_LEVEL_ATTRIBUTE_CONFIG, if RECOMMENDATIONS_FILTERING_ENABLED, attribute values are filterable for recommendations. This option works for categorical features only, does not work for numerical features, inventory filtering. */
|
|
248
|
-
recommendationsFilteringOption?:
|
|
263
|
+
recommendationsFilteringOption?:
|
|
264
|
+
| 'RECOMMENDATIONS_FILTERING_OPTION_UNSPECIFIED'
|
|
265
|
+
| 'RECOMMENDATIONS_FILTERING_DISABLED'
|
|
266
|
+
| 'RECOMMENDATIONS_FILTERING_ENABLED';
|
|
249
267
|
/** If RETRIEVABLE_ENABLED, attribute values are retrievable in the search results. If unset, the server behavior defaults to RETRIEVABLE_DISABLED. */
|
|
250
|
-
retrievableOption?:
|
|
268
|
+
retrievableOption?:
|
|
269
|
+
| 'RETRIEVABLE_OPTION_UNSPECIFIED'
|
|
270
|
+
| 'RETRIEVABLE_ENABLED'
|
|
271
|
+
| 'RETRIEVABLE_DISABLED';
|
|
251
272
|
/** When AttributesConfig.attribute_config_level is CATALOG_LEVEL_ATTRIBUTE_CONFIG, if SEARCHABLE_ENABLED, attribute values are searchable by text queries in SearchService.Search. If SEARCHABLE_ENABLED but attribute type is numerical, attribute values will not be searchable by text queries in SearchService.Search, as there are no text values associated to numerical attributes. Must be specified, when AttributesConfig.attribute_config_level is CATALOG_LEVEL_ATTRIBUTE_CONFIG, otherwise throws INVALID_FORMAT error. */
|
|
252
|
-
searchableOption?:
|
|
273
|
+
searchableOption?:
|
|
274
|
+
| 'SEARCHABLE_OPTION_UNSPECIFIED'
|
|
275
|
+
| 'SEARCHABLE_ENABLED'
|
|
276
|
+
| 'SEARCHABLE_DISABLED';
|
|
253
277
|
/** Output only. The type of this attribute. This is derived from the attribute in Product.attributes. */
|
|
254
|
-
type?:
|
|
278
|
+
type?: 'UNKNOWN' | 'TEXTUAL' | 'NUMERICAL';
|
|
255
279
|
}
|
|
256
280
|
interface GoogleCloudRetailV2alphaCatalogAttributeFacetConfig {
|
|
257
281
|
/** If you don't set the facet SearchRequest.FacetSpec.FacetKey.intervals in the request to a numerical attribute, then we use the computed intervals with rounded bounds obtained from all its product numerical attribute values. The computed intervals might not be ideal for some attributes. Therefore, we give you the option to overwrite them with the facet_intervals field. The maximum of facet intervals per CatalogAttribute is 40. Each interval must have a lower bound or an upper bound. If both bounds are provided, then the lower bound must be smaller or equal than the upper bound. */
|
|
@@ -403,9 +427,15 @@ declare namespace gapi.client {
|
|
|
403
427
|
/** A rule control - a condition-action pair. Enacts a set action when the condition is triggered. For example: Boost "gShoe" when query full matches "Running Shoes". */
|
|
404
428
|
rule?: GoogleCloudRetailV2alphaRule;
|
|
405
429
|
/** Specifies the use case for the control. Affects what condition fields can be set. Only settable by search controls. Will default to SEARCH_SOLUTION_USE_CASE_SEARCH if not specified. Currently only allow one search_solution_use_case per control. */
|
|
406
|
-
searchSolutionUseCase?:
|
|
430
|
+
searchSolutionUseCase?:
|
|
431
|
+
| 'SEARCH_SOLUTION_USE_CASE_UNSPECIFIED'
|
|
432
|
+
| 'SEARCH_SOLUTION_USE_CASE_SEARCH'
|
|
433
|
+
| 'SEARCH_SOLUTION_USE_CASE_BROWSE'[];
|
|
407
434
|
/** Required. Immutable. The solution types that the control is used for. Currently we support setting only one type of solution at creation time. Only `SOLUTION_TYPE_SEARCH` value is supported at the moment. If no solution type is provided at creation time, will default to SOLUTION_TYPE_SEARCH. */
|
|
408
|
-
solutionTypes?:
|
|
435
|
+
solutionTypes?:
|
|
436
|
+
| 'SOLUTION_TYPE_UNSPECIFIED'
|
|
437
|
+
| 'SOLUTION_TYPE_RECOMMENDATION'
|
|
438
|
+
| 'SOLUTION_TYPE_SEARCH'[];
|
|
409
439
|
}
|
|
410
440
|
interface GoogleCloudRetailV2alphaConversationalSearchCustomizationConfig {
|
|
411
441
|
/** Required. Resource name of the catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog} */
|
|
@@ -439,7 +469,11 @@ declare namespace gapi.client {
|
|
|
439
469
|
}
|
|
440
470
|
interface GoogleCloudRetailV2alphaConversationalSearchRequestConversationalFilteringSpec {
|
|
441
471
|
/** Optional. Mode to control Conversational Filtering. Defaults to Mode.DISABLED if it's unset. */
|
|
442
|
-
conversationalFilteringMode?:
|
|
472
|
+
conversationalFilteringMode?:
|
|
473
|
+
| 'MODE_UNSPECIFIED'
|
|
474
|
+
| 'DISABLED'
|
|
475
|
+
| 'ENABLED'
|
|
476
|
+
| 'CONVERSATIONAL_FILTER_ONLY';
|
|
443
477
|
/** Optional. This field is deprecated. Please use ConversationalFilteringSpec.conversational_filtering_mode instead. */
|
|
444
478
|
enableConversationalFiltering?: boolean;
|
|
445
479
|
/** Optional. This field specifies the current user answer during the conversational filtering search. It can be either user selected from suggested answers or user input plain text. */
|
|
@@ -477,7 +511,7 @@ declare namespace gapi.client {
|
|
|
477
511
|
/** The proposed refined search queries. They can be used to fetch the relevant search results. When using CONVERSATIONAL_FILTER_ONLY mode, the refined_query from search response will be populated here. */
|
|
478
512
|
refinedSearch?: GoogleCloudRetailV2alphaConversationalSearchResponseRefinedSearch[];
|
|
479
513
|
/** Output only. The state of the response generation. */
|
|
480
|
-
state?:
|
|
514
|
+
state?: 'STATE_UNSPECIFIED' | 'STREAMING' | 'SUCCEEDED';
|
|
481
515
|
/** The types Retail classifies the search query as. Supported values are: - "ORDER_SUPPORT" - "SIMPLE_PRODUCT_SEARCH" - "INTENT_REFINEMENT" - "PRODUCT_DETAILS" - "PRODUCT_COMPARISON" - "DEALS_AND_COUPONS" - "STORE_RELEVANT" - "BLOCKLISTED" - "BEST_PRODUCT" - "RETAIL_SUPPORT" - "DISABLED" */
|
|
482
516
|
userQueryTypes?: string[];
|
|
483
517
|
}
|
|
@@ -532,11 +566,17 @@ declare namespace gapi.client {
|
|
|
532
566
|
interface GoogleCloudRetailV2alphaEnrollSolutionMetadata {}
|
|
533
567
|
interface GoogleCloudRetailV2alphaEnrollSolutionRequest {
|
|
534
568
|
/** Required. Solution to enroll. */
|
|
535
|
-
solution?:
|
|
569
|
+
solution?:
|
|
570
|
+
| 'SOLUTION_TYPE_UNSPECIFIED'
|
|
571
|
+
| 'SOLUTION_TYPE_RECOMMENDATION'
|
|
572
|
+
| 'SOLUTION_TYPE_SEARCH';
|
|
536
573
|
}
|
|
537
574
|
interface GoogleCloudRetailV2alphaEnrollSolutionResponse {
|
|
538
575
|
/** Retail API solution that the project has enrolled. */
|
|
539
|
-
enrolledSolution?:
|
|
576
|
+
enrolledSolution?:
|
|
577
|
+
| 'SOLUTION_TYPE_UNSPECIFIED'
|
|
578
|
+
| 'SOLUTION_TYPE_RECOMMENDATION'
|
|
579
|
+
| 'SOLUTION_TYPE_SEARCH';
|
|
540
580
|
}
|
|
541
581
|
interface GoogleCloudRetailV2alphaExperimentInfo {
|
|
542
582
|
/** The fully qualified resource name of the experiment that provides the serving config under test, should an active experiment exist. For example: `projects/*/locations/global/catalogs/default_catalog/experiments/experiment_id` */
|
|
@@ -696,7 +736,10 @@ declare namespace gapi.client {
|
|
|
696
736
|
/** Full Pub/Sub topic name for receiving notification. If this field is set, when the import is finished, a notification is sent to specified Pub/Sub topic. The message data is JSON string of a Operation. Format of the Pub/Sub topic is `projects/{project}/topics/{topic}`. It has to be within the same project as ImportProductsRequest.parent. Make sure that both `cloud-retail-customer-data-access@system.gserviceaccount.com` and `service-@gcp-sa-retail.iam.gserviceaccount.com` have the `pubsub.topics.publish` IAM permission on the topic. Only supported when ImportProductsRequest.reconciliation_mode is set to `FULL`. */
|
|
697
737
|
notificationPubsubTopic?: string;
|
|
698
738
|
/** The mode of reconciliation between existing products and the products to be imported. Defaults to ReconciliationMode.INCREMENTAL. */
|
|
699
|
-
reconciliationMode?:
|
|
739
|
+
reconciliationMode?:
|
|
740
|
+
| 'RECONCILIATION_MODE_UNSPECIFIED'
|
|
741
|
+
| 'INCREMENTAL'
|
|
742
|
+
| 'FULL';
|
|
700
743
|
/** Deprecated. This field has no effect. */
|
|
701
744
|
requestId?: string;
|
|
702
745
|
/** If true, this performs the FULL import even if it would delete a large proportion of the products in the default branch, which could potentially cause outages if you have live predict/search traffic. Only supported when ImportProductsRequest.reconciliation_mode is set to `FULL`. */
|
|
@@ -750,7 +793,7 @@ declare namespace gapi.client {
|
|
|
750
793
|
/** Optional. The intent_type must match one of the predefined intent types defined at https://cloud.google.com/retail/docs/reference/rpc/google.cloud.retail.v2alpha#querytype */
|
|
751
794
|
intentType?: string;
|
|
752
795
|
/** Optional. The operation to perform for the query. */
|
|
753
|
-
operation?:
|
|
796
|
+
operation?: 'OPERATION_UNSPECIFIED' | 'EXACT_MATCH' | 'CONTAINS';
|
|
754
797
|
/** Optional. A example query. */
|
|
755
798
|
query?: string;
|
|
756
799
|
}
|
|
@@ -786,7 +829,10 @@ declare namespace gapi.client {
|
|
|
786
829
|
}
|
|
787
830
|
interface GoogleCloudRetailV2alphaListEnrolledSolutionsResponse {
|
|
788
831
|
/** Retail API solutions that the project has enrolled. */
|
|
789
|
-
enrolledSolutions?:
|
|
832
|
+
enrolledSolutions?:
|
|
833
|
+
| 'SOLUTION_TYPE_UNSPECIFIED'
|
|
834
|
+
| 'SOLUTION_TYPE_RECOMMENDATION'
|
|
835
|
+
| 'SOLUTION_TYPE_SEARCH'[];
|
|
790
836
|
}
|
|
791
837
|
interface GoogleCloudRetailV2alphaListGenerativeQuestionConfigsResponse {
|
|
792
838
|
/** All the questions for a given catalog. */
|
|
@@ -820,7 +866,12 @@ declare namespace gapi.client {
|
|
|
820
866
|
/** Optional. Additional local inventory attributes, for example, store name, promotion tags, etc. This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT error is returned: * At most 30 attributes are allowed. * The key must be a UTF-8 encoded string with a length limit of 32 characters. * The key must match the pattern: `a-zA-Z0-9*`. For example, key0LikeThis or KEY_1_LIKE_THIS. * The attribute values must be of the same type (text or number). * Only 1 value is allowed for each attribute. * For text values, the length limit is 256 UTF-8 characters. * The attribute does not support search. The `searchable` field should be unset or set to false. * The max summed total bytes of custom attribute keys and values per product is 5MiB. */
|
|
821
867
|
attributes?: {[P in string]: GoogleCloudRetailV2alphaCustomAttribute};
|
|
822
868
|
/** Optional. The availability of the Product at this place_id. Default to Availability.IN_STOCK. For primary products with variants set the availability of the primary as Availability.OUT_OF_STOCK and set the true availability at the variant level. This way the primary product will be considered "in stock" as long as it has at least one variant in stock. For primary products with no variants set the true availability at the primary level. Corresponding properties: Google Merchant Center property [availability](https://support.google.com/merchants/answer/6324448). Schema.org property [Offer.availability](https://schema.org/availability). This field is currently only used by the Recommendations API. For Search, please make use of fulfillment_types or custom attributes for similar behaviour. See [here]( https://cloud.google.com/retail/docs/local-inventory-updates#local-inventory-update-methods) for more details. */
|
|
823
|
-
availability?:
|
|
869
|
+
availability?:
|
|
870
|
+
| 'AVAILABILITY_UNSPECIFIED'
|
|
871
|
+
| 'IN_STOCK'
|
|
872
|
+
| 'OUT_OF_STOCK'
|
|
873
|
+
| 'PREORDER'
|
|
874
|
+
| 'BACKORDER';
|
|
824
875
|
/** Optional. Supported fulfillment types. Valid fulfillment type values include commonly used types (such as pickup in store and same day delivery), and custom types. Customers have to map custom types to their display names before rendering UI. Supported values: * "pickup-in-store" * "ship-to-store" * "same-day-delivery" * "next-day-delivery" * "custom-type-1" * "custom-type-2" * "custom-type-3" * "custom-type-4" * "custom-type-5" If this field is set to an invalid value other than these, an INVALID_ARGUMENT error is returned. All the elements must be distinct. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
825
876
|
fulfillmentTypes?: string[];
|
|
826
877
|
/** Optional. The place ID for the current set of inventory information. */
|
|
@@ -840,7 +891,12 @@ declare namespace gapi.client {
|
|
|
840
891
|
/** The log sample rate for INFO level log entries. You can use this to reduce the number of entries generated for INFO level logs. DO NOT set this field if the logging_level is not LoggingLevel.LOG_ALL. Otherwise, an INVALID_ARGUMENT error is returned. Sample rate for INFO logs defaults to 1 when unset (generate and send all INFO logs to Cloud Logging). Its value must be greater than 0 and less than or equal to 1. */
|
|
841
892
|
infoLogSampleRate?: number;
|
|
842
893
|
/** The logging level. By default it is set to `LOG_WARNINGS_AND_ABOVE`. */
|
|
843
|
-
loggingLevel?:
|
|
894
|
+
loggingLevel?:
|
|
895
|
+
| 'LOGGING_LEVEL_UNSPECIFIED'
|
|
896
|
+
| 'LOGGING_DISABLED'
|
|
897
|
+
| 'LOG_ERRORS_AND_ABOVE'
|
|
898
|
+
| 'LOG_WARNINGS_AND_ABOVE'
|
|
899
|
+
| 'LOG_ALL';
|
|
844
900
|
}
|
|
845
901
|
interface GoogleCloudRetailV2alphaLoggingConfigServiceLogGenerationRule {
|
|
846
902
|
/** The log generation rule that applies to this service. */
|
|
@@ -868,7 +924,7 @@ declare namespace gapi.client {
|
|
|
868
924
|
/** Optional. An optional arbitrary string that could be used as a tag for tracking link source. */
|
|
869
925
|
source?: string;
|
|
870
926
|
/** Output only. Represents the state of the link. */
|
|
871
|
-
state?:
|
|
927
|
+
state?: 'STATE_UNSPECIFIED' | 'PENDING' | 'ACTIVE' | 'FAILED';
|
|
872
928
|
}
|
|
873
929
|
interface GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter {
|
|
874
930
|
/** AFM data source ID. */
|
|
@@ -908,11 +964,14 @@ declare namespace gapi.client {
|
|
|
908
964
|
/** Output only. Timestamp the Recommendation Model was created at. */
|
|
909
965
|
createTime?: string;
|
|
910
966
|
/** Output only. The state of data requirements for this model: `DATA_OK` and `DATA_ERROR`. Recommendation model cannot be trained if the data is in `DATA_ERROR` state. Recommendation model can have `DATA_ERROR` state even if serving state is `ACTIVE`: models were trained successfully before, but cannot be refreshed because model no longer has sufficient data for training. */
|
|
911
|
-
dataState?:
|
|
967
|
+
dataState?: 'DATA_STATE_UNSPECIFIED' | 'DATA_OK' | 'DATA_ERROR';
|
|
912
968
|
/** Required. The display name of the model. Should be human readable, used to display Recommendation Models in the Retail Cloud Console Dashboard. UTF-8 encoded string with limit of 1024 characters. */
|
|
913
969
|
displayName?: string;
|
|
914
970
|
/** Optional. If `RECOMMENDATIONS_FILTERING_ENABLED`, recommendation filtering by attributes is enabled for the model. */
|
|
915
|
-
filteringOption?:
|
|
971
|
+
filteringOption?:
|
|
972
|
+
| 'RECOMMENDATIONS_FILTERING_OPTION_UNSPECIFIED'
|
|
973
|
+
| 'RECOMMENDATIONS_FILTERING_DISABLED'
|
|
974
|
+
| 'RECOMMENDATIONS_FILTERING_ENABLED';
|
|
916
975
|
/** Output only. The timestamp when the latest successful tune finished. */
|
|
917
976
|
lastTuneTime?: string;
|
|
918
977
|
/** Optional. Additional model features config. */
|
|
@@ -924,13 +983,21 @@ declare namespace gapi.client {
|
|
|
924
983
|
/** Optional. The page optimization config. */
|
|
925
984
|
pageOptimizationConfig?: GoogleCloudRetailV2alphaModelPageOptimizationConfig;
|
|
926
985
|
/** Optional. The state of periodic tuning. The period we use is 3 months - to do a one-off tune earlier use the `TuneModel` method. Default value is `PERIODIC_TUNING_ENABLED`. */
|
|
927
|
-
periodicTuningState?:
|
|
986
|
+
periodicTuningState?:
|
|
987
|
+
| 'PERIODIC_TUNING_STATE_UNSPECIFIED'
|
|
988
|
+
| 'PERIODIC_TUNING_DISABLED'
|
|
989
|
+
| 'ALL_TUNING_DISABLED'
|
|
990
|
+
| 'PERIODIC_TUNING_ENABLED';
|
|
928
991
|
/** Output only. The list of valid serving configs associated with the PageOptimizationConfig. */
|
|
929
992
|
servingConfigLists?: GoogleCloudRetailV2alphaModelServingConfigList[];
|
|
930
993
|
/** Output only. The serving state of the model: `ACTIVE`, `NOT_ACTIVE`. */
|
|
931
|
-
servingState?:
|
|
994
|
+
servingState?:
|
|
995
|
+
| 'SERVING_STATE_UNSPECIFIED'
|
|
996
|
+
| 'INACTIVE'
|
|
997
|
+
| 'ACTIVE'
|
|
998
|
+
| 'TUNED';
|
|
932
999
|
/** Optional. The training state that the model is in (e.g. `TRAINING` or `PAUSED`). Since part of the cost of running the service is frequency of training - this can be used to determine when to train model in order to control cost. If not specified: the default value for `CreateModel` method is `TRAINING`. The default value for `UpdateModel` method is to keep the state the same as before. */
|
|
933
|
-
trainingState?:
|
|
1000
|
+
trainingState?: 'TRAINING_STATE_UNSPECIFIED' | 'PAUSED' | 'TRAINING';
|
|
934
1001
|
/** Output only. The tune operation associated with the model. Can be used to determine if there is an ongoing tune for this recommendation. Empty field implies no tune is goig on. */
|
|
935
1002
|
tuningOperation?: string;
|
|
936
1003
|
/** Required. The type of model e.g. `home-page`. Currently supported values: `recommended-for-you`, `others-you-may-like`, `frequently-bought-together`, `page-optimization`, `similar-items`, `buy-it-again`, `on-sale-items`, and `recently-viewed`(readonly value). This field together with optimization_objective describe model metadata to use to control model training and serving. See https://cloud.google.com/retail/docs/models for more details on what the model metadata control and which combination of parameters are valid. For invalid combinations of parameters (e.g. type = `frequently-bought-together` and optimization_objective = `ctr`), you receive an error 400 if you try to create/update a recommendation with this set of knobs. */
|
|
@@ -940,7 +1007,10 @@ declare namespace gapi.client {
|
|
|
940
1007
|
}
|
|
941
1008
|
interface GoogleCloudRetailV2alphaModelFrequentlyBoughtTogetherFeaturesConfig {
|
|
942
1009
|
/** Optional. Specifies the context of the model when it is used in predict requests. Can only be set for the `frequently-bought-together` type. If it isn't specified, it defaults to MULTIPLE_CONTEXT_PRODUCTS. */
|
|
943
|
-
contextProductsType?:
|
|
1010
|
+
contextProductsType?:
|
|
1011
|
+
| 'CONTEXT_PRODUCTS_TYPE_UNSPECIFIED'
|
|
1012
|
+
| 'SINGLE_CONTEXT_PRODUCT'
|
|
1013
|
+
| 'MULTIPLE_CONTEXT_PRODUCTS';
|
|
944
1014
|
}
|
|
945
1015
|
interface GoogleCloudRetailV2alphaModelModelFeaturesConfig {
|
|
946
1016
|
/** Additional configs for frequently-bought-together models. */
|
|
@@ -952,7 +1022,12 @@ declare namespace gapi.client {
|
|
|
952
1022
|
/** Required. A list of panel configurations. Limit = 5. */
|
|
953
1023
|
panels?: GoogleCloudRetailV2alphaModelPageOptimizationConfigPanel[];
|
|
954
1024
|
/** Optional. How to restrict results across panels e.g. can the same ServingConfig be shown on multiple panels at once. If unspecified, default to `UNIQUE_MODEL_RESTRICTION`. */
|
|
955
|
-
restriction?:
|
|
1025
|
+
restriction?:
|
|
1026
|
+
| 'RESTRICTION_UNSPECIFIED'
|
|
1027
|
+
| 'NO_RESTRICTION'
|
|
1028
|
+
| 'UNIQUE_SERVING_CONFIG_RESTRICTION'
|
|
1029
|
+
| 'UNIQUE_MODEL_RESTRICTION'
|
|
1030
|
+
| 'UNIQUE_MODEL_TYPE_RESTRICTION';
|
|
956
1031
|
}
|
|
957
1032
|
interface GoogleCloudRetailV2alphaModelPageOptimizationConfigCandidate {
|
|
958
1033
|
/** This has to be a valid ServingConfig identifier. For example, for a ServingConfig with full name: `projects/*/locations/global/catalogs/default_catalog/servingConfigs/my_candidate_config`, this would be `my_candidate_config`. */
|
|
@@ -1083,7 +1158,12 @@ declare namespace gapi.client {
|
|
|
1083
1158
|
/** The target group associated with a given audience (e.g. male, veterans, car owners, musicians, etc.) of the product. */
|
|
1084
1159
|
audience?: GoogleCloudRetailV2alphaAudience;
|
|
1085
1160
|
/** The online availability of the Product. Default to Availability.IN_STOCK. For primary products with variants set the availability of the primary as Availability.OUT_OF_STOCK and set the true availability at the variant level. This way the primary product will be considered "in stock" as long as it has at least one variant in stock. For primary products with no variants set the true availability at the primary level. Corresponding properties: Google Merchant Center property [availability](https://support.google.com/merchants/answer/6324448). Schema.org property [Offer.availability](https://schema.org/availability). */
|
|
1086
|
-
availability?:
|
|
1161
|
+
availability?:
|
|
1162
|
+
| 'AVAILABILITY_UNSPECIFIED'
|
|
1163
|
+
| 'IN_STOCK'
|
|
1164
|
+
| 'OUT_OF_STOCK'
|
|
1165
|
+
| 'PREORDER'
|
|
1166
|
+
| 'BACKORDER';
|
|
1087
1167
|
/** The available quantity of the item. */
|
|
1088
1168
|
availableQuantity?: number;
|
|
1089
1169
|
/** The timestamp when this Product becomes available for SearchService.Search. Note that this is only applicable to Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT. */
|
|
@@ -1141,7 +1221,7 @@ declare namespace gapi.client {
|
|
|
1141
1221
|
/** Input only. The TTL (time to live) of the product. Note that this is only applicable to Type.PRIMARY and Type.COLLECTION, and ignored for Type.VARIANT. In general, we suggest the users to delete the stale products explicitly, instead of using this field to determine staleness. If it is set, it must be a non-negative value, and expire_time is set as current timestamp plus ttl. The derived expire_time is returned in the output and ttl is left blank when retrieving the Product. If it is set, the product is not available for SearchService.Search after current timestamp plus ttl. However, the product can still be retrieved by ProductService.GetProduct and ProductService.ListProducts. */
|
|
1142
1222
|
ttl?: string;
|
|
1143
1223
|
/** Immutable. The type of the product. Default to Catalog.product_level_config.ingestion_product_type if unset. */
|
|
1144
|
-
type?:
|
|
1224
|
+
type?: 'TYPE_UNSPECIFIED' | 'PRIMARY' | 'VARIANT' | 'COLLECTION';
|
|
1145
1225
|
/** Canonical URL directly linking to the product detail page. It is strongly recommended to provide a valid uri for the product, otherwise the service performance could be significantly degraded. This field must be a UTF-8 encoded string with a length limit of 5,000 characters. Otherwise, an INVALID_ARGUMENT error is returned. Corresponding properties: Google Merchant Center property [link](https://support.google.com/merchants/answer/6324416). Schema.org property [Offer.url](https://schema.org/url). */
|
|
1146
1226
|
uri?: string;
|
|
1147
1227
|
/** Output only. Product variants grouped together on primary product which share similar product attributes. It's automatically grouped by primary_product_id for all the product variants. Only populated for Type.PRIMARY Products. Note: This field is OUTPUT_ONLY for ProductService.GetProduct. Do not set this field in API requests. */
|
|
@@ -1185,7 +1265,10 @@ declare namespace gapi.client {
|
|
|
1185
1265
|
}
|
|
1186
1266
|
interface GoogleCloudRetailV2alphaProject {
|
|
1187
1267
|
/** Output only. Retail API solutions that the project has enrolled. */
|
|
1188
|
-
enrolledSolutions?:
|
|
1268
|
+
enrolledSolutions?:
|
|
1269
|
+
| 'SOLUTION_TYPE_UNSPECIFIED'
|
|
1270
|
+
| 'SOLUTION_TYPE_RECOMMENDATION'
|
|
1271
|
+
| 'SOLUTION_TYPE_SEARCH'[];
|
|
1189
1272
|
/** Output only. Full resource name of the retail project, such as `projects/{project_id_or_number}/retailProject`. */
|
|
1190
1273
|
name?: string;
|
|
1191
1274
|
}
|
|
@@ -1249,7 +1332,10 @@ declare namespace gapi.client {
|
|
|
1249
1332
|
interface GoogleCloudRetailV2alphaRejoinUserEventsMetadata {}
|
|
1250
1333
|
interface GoogleCloudRetailV2alphaRejoinUserEventsRequest {
|
|
1251
1334
|
/** The type of the user event rejoin to define the scope and range of the user events to be rejoined with the latest product catalog. Defaults to `USER_EVENT_REJOIN_SCOPE_UNSPECIFIED` if this field is not set, or set to an invalid integer value. */
|
|
1252
|
-
userEventRejoinScope?:
|
|
1335
|
+
userEventRejoinScope?:
|
|
1336
|
+
| 'USER_EVENT_REJOIN_SCOPE_UNSPECIFIED'
|
|
1337
|
+
| 'JOINED_EVENTS'
|
|
1338
|
+
| 'UNJOINED_EVENTS';
|
|
1253
1339
|
}
|
|
1254
1340
|
interface GoogleCloudRetailV2alphaRejoinUserEventsResponse {
|
|
1255
1341
|
/** Number of user events that were joined with latest product catalog. */
|
|
@@ -1384,11 +1470,23 @@ declare namespace gapi.client {
|
|
|
1384
1470
|
}
|
|
1385
1471
|
interface GoogleCloudRetailV2alphaSafetySetting {
|
|
1386
1472
|
/** Harm category. */
|
|
1387
|
-
category?:
|
|
1473
|
+
category?:
|
|
1474
|
+
| 'HARM_CATEGORY_UNSPECIFIED'
|
|
1475
|
+
| 'HARM_CATEGORY_HATE_SPEECH'
|
|
1476
|
+
| 'HARM_CATEGORY_DANGEROUS_CONTENT'
|
|
1477
|
+
| 'HARM_CATEGORY_HARASSMENT'
|
|
1478
|
+
| 'HARM_CATEGORY_SEXUALLY_EXPLICIT'
|
|
1479
|
+
| 'HARM_CATEGORY_CIVIC_INTEGRITY';
|
|
1388
1480
|
/** Optional. Specify if the threshold is used for probability or severity score. If not specified, the threshold is used for probability score. */
|
|
1389
|
-
method?:
|
|
1481
|
+
method?: 'HARM_BLOCK_METHOD_UNSPECIFIED' | 'SEVERITY' | 'PROBABILITY';
|
|
1390
1482
|
/** The harm block threshold. */
|
|
1391
|
-
threshold?:
|
|
1483
|
+
threshold?:
|
|
1484
|
+
| 'HARM_BLOCK_THRESHOLD_UNSPECIFIED'
|
|
1485
|
+
| 'BLOCK_LOW_AND_ABOVE'
|
|
1486
|
+
| 'BLOCK_MEDIUM_AND_ABOVE'
|
|
1487
|
+
| 'BLOCK_ONLY_HIGH'
|
|
1488
|
+
| 'BLOCK_NONE'
|
|
1489
|
+
| 'OFF';
|
|
1392
1490
|
}
|
|
1393
1491
|
interface GoogleCloudRetailV2alphaSearchRequest {
|
|
1394
1492
|
/** Boost specification to boost certain products. For more information, see [Boost results](https://cloud.google.com/retail/docs/boosting). Notice that if both ServingConfig.boost_control_ids and SearchRequest.boost_spec are set, the boost conditions from both places are evaluated. If a search request matches multiple boost conditions, the final boost score is equal to the sum of the boost scores from all matched boost conditions. */
|
|
@@ -1434,9 +1532,17 @@ declare namespace gapi.client {
|
|
|
1434
1532
|
/** Optional. The Unicode country/region code (CLDR) of a location, such as "US" and "419" [list](https://www.unicode.org/cldr/charts/46/supplemental/territory_information.html). For more information, see [Standardized codes](https://google.aip.dev/143). If set, then results will be boosted based on the region_code provided. */
|
|
1435
1533
|
regionCode?: string;
|
|
1436
1534
|
/** The relevance threshold of the search results. Defaults to RelevanceThreshold.HIGH, which means only the most relevant results are shown, and the least number of results are returned. For more information, see [Adjust result size](https://cloud.google.com/retail/docs/result-size#relevance_thresholding). */
|
|
1437
|
-
relevanceThreshold?:
|
|
1535
|
+
relevanceThreshold?:
|
|
1536
|
+
| 'RELEVANCE_THRESHOLD_UNSPECIFIED'
|
|
1537
|
+
| 'HIGH'
|
|
1538
|
+
| 'MEDIUM'
|
|
1539
|
+
| 'LOW'
|
|
1540
|
+
| 'LOWEST';
|
|
1438
1541
|
/** The search mode of the search request. If not specified, a single search request triggers both product search and faceted search. */
|
|
1439
|
-
searchMode?:
|
|
1542
|
+
searchMode?:
|
|
1543
|
+
| 'SEARCH_MODE_UNSPECIFIED'
|
|
1544
|
+
| 'PRODUCT_SEARCH_ONLY'
|
|
1545
|
+
| 'FACETED_SEARCH_ONLY';
|
|
1440
1546
|
/** The spell correction specification that specifies the mode under which spell correction will take effect. */
|
|
1441
1547
|
spellCorrectionSpec?: GoogleCloudRetailV2alphaSearchRequestSpellCorrectionSpec;
|
|
1442
1548
|
/** Optional. This field specifies tile navigation related parameters. */
|
|
@@ -1484,7 +1590,7 @@ declare namespace gapi.client {
|
|
|
1484
1590
|
}
|
|
1485
1591
|
interface GoogleCloudRetailV2alphaSearchRequestDynamicFacetSpec {
|
|
1486
1592
|
/** Mode of the DynamicFacet feature. Defaults to Mode.DISABLED if it's unset. */
|
|
1487
|
-
mode?:
|
|
1593
|
+
mode?: 'MODE_UNSPECIFIED' | 'DISABLED' | 'ENABLED';
|
|
1488
1594
|
}
|
|
1489
1595
|
interface GoogleCloudRetailV2alphaSearchRequestFacetSpec {
|
|
1490
1596
|
/** Enables dynamic position for this facet. If set to true, the position of this facet among all facets in the response is determined by Google Retail Search. It is ordered together with dynamic facets if dynamic facets is enabled. If set to false, the position of this facet in the response is the same as in the request, and it is ranked before the facets with dynamic position enable and all dynamic facets. For example, you may always want to have rating facet returned in the response, but it's not necessarily to always display the rating facet at the top. In that case, you can set enable_dynamic_position to true so that the position of rating facet in response is determined by Google Retail Search. Another example, assuming you have the following facets in the request: * "rating", enable_dynamic_position = true * "price", enable_dynamic_position = false * "brands", enable_dynamic_position = false And also you have a dynamic facets enable, which generates a facet "gender". Then, the final order of the facets in the response can be ("price", "brands", "rating", "gender") or ("price", "brands", "gender", "rating") depends on how Google Retail Search orders "gender" and "rating" facets. However, notice that "price" and "brands" are always ranked at first and second position because their enable_dynamic_position values are false. */
|
|
@@ -1518,17 +1624,17 @@ declare namespace gapi.client {
|
|
|
1518
1624
|
}
|
|
1519
1625
|
interface GoogleCloudRetailV2alphaSearchRequestPersonalizationSpec {
|
|
1520
1626
|
/** Defaults to Mode.AUTO. */
|
|
1521
|
-
mode?:
|
|
1627
|
+
mode?: 'MODE_UNSPECIFIED' | 'AUTO' | 'DISABLED';
|
|
1522
1628
|
}
|
|
1523
1629
|
interface GoogleCloudRetailV2alphaSearchRequestQueryExpansionSpec {
|
|
1524
1630
|
/** The condition under which query expansion should occur. Default to Condition.DISABLED. */
|
|
1525
|
-
condition?:
|
|
1631
|
+
condition?: 'CONDITION_UNSPECIFIED' | 'DISABLED' | 'AUTO';
|
|
1526
1632
|
/** Whether to pin unexpanded results. The default value is false. If this field is set to true, unexpanded products are always at the top of the search results, followed by the expanded results. */
|
|
1527
1633
|
pinUnexpandedResults?: boolean;
|
|
1528
1634
|
}
|
|
1529
1635
|
interface GoogleCloudRetailV2alphaSearchRequestSpellCorrectionSpec {
|
|
1530
1636
|
/** The mode under which spell correction should take effect to replace the original search query. Default to Mode.AUTO. */
|
|
1531
|
-
mode?:
|
|
1637
|
+
mode?: 'MODE_UNSPECIFIED' | 'SUGGESTION_ONLY' | 'AUTO';
|
|
1532
1638
|
}
|
|
1533
1639
|
interface GoogleCloudRetailV2alphaSearchRequestTileNavigationSpec {
|
|
1534
1640
|
/** This optional field specifies the tiles which are already clicked in client side. While the feature works without this field set, particularly for an initial query, it is highly recommended to set this field because it can improve the quality of the search response and removes possible duplicate tiles. NOTE: This field is not being used for filtering search products. Client side should also put all the applied tiles in SearchRequest.filter. */
|
|
@@ -1642,7 +1748,10 @@ declare namespace gapi.client {
|
|
|
1642
1748
|
/** How much diversity to use in recommendation model results e.g. `medium-diversity` or `high-diversity`. Currently supported values: * `no-diversity` * `low-diversity` * `medium-diversity` * `high-diversity` * `auto-diversity` If not specified, we choose default based on recommendation model type. Default value: `no-diversity`. Can only be set if solution_types is SOLUTION_TYPE_RECOMMENDATION. */
|
|
1643
1749
|
diversityLevel?: string;
|
|
1644
1750
|
/** What kind of diversity to use - data driven or rule based. If unset, the server behavior defaults to RULE_BASED_DIVERSITY. */
|
|
1645
|
-
diversityType?:
|
|
1751
|
+
diversityType?:
|
|
1752
|
+
| 'DIVERSITY_TYPE_UNSPECIFIED'
|
|
1753
|
+
| 'RULE_BASED_DIVERSITY'
|
|
1754
|
+
| 'DATA_DRIVEN_DIVERSITY';
|
|
1646
1755
|
/** Condition do not associate specifications. If multiple do not associate conditions match, all matching do not associate controls in the list will execute. - Order does not matter. - Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH. */
|
|
1647
1756
|
doNotAssociateControlIds?: string[];
|
|
1648
1757
|
/** The specification for dynamically generated facets. Notice that only textual facets can be dynamically generated. Can only be set if solution_types is SOLUTION_TYPE_SEARCH. */
|
|
@@ -1672,7 +1781,10 @@ declare namespace gapi.client {
|
|
|
1672
1781
|
/** Condition replacement specifications. - Applied according to the order in the list. - A previously replaced term can not be re-replaced. - Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH. */
|
|
1673
1782
|
replacementControlIds?: string[];
|
|
1674
1783
|
/** Required. Immutable. Specifies the solution types that a serving config can be associated with. Currently we support setting only one type of solution. */
|
|
1675
|
-
solutionTypes?:
|
|
1784
|
+
solutionTypes?:
|
|
1785
|
+
| 'SOLUTION_TYPE_UNSPECIFIED'
|
|
1786
|
+
| 'SOLUTION_TYPE_RECOMMENDATION'
|
|
1787
|
+
| 'SOLUTION_TYPE_SEARCH'[];
|
|
1676
1788
|
/** Condition synonyms specifications. If multiple syonyms conditions match, all matching synonyms control in the list will execute. Order of controls in the list will not matter. Maximum number of specifications is 100. Can only be set if solution_types is SOLUTION_TYPE_SEARCH. */
|
|
1677
1789
|
twowaySynonymsControlIds?: string[];
|
|
1678
1790
|
}
|
|
@@ -1892,11 +2004,14 @@ declare namespace gapi.client {
|
|
|
1892
2004
|
/** Output only. Timestamp the Recommendation Model was created at. */
|
|
1893
2005
|
createTime?: string;
|
|
1894
2006
|
/** Output only. The state of data requirements for this model: `DATA_OK` and `DATA_ERROR`. Recommendation model cannot be trained if the data is in `DATA_ERROR` state. Recommendation model can have `DATA_ERROR` state even if serving state is `ACTIVE`: models were trained successfully before, but cannot be refreshed because model no longer has sufficient data for training. */
|
|
1895
|
-
dataState?:
|
|
2007
|
+
dataState?: 'DATA_STATE_UNSPECIFIED' | 'DATA_OK' | 'DATA_ERROR';
|
|
1896
2008
|
/** Required. The display name of the model. Should be human readable, used to display Recommendation Models in the Retail Cloud Console Dashboard. UTF-8 encoded string with limit of 1024 characters. */
|
|
1897
2009
|
displayName?: string;
|
|
1898
2010
|
/** Optional. If `RECOMMENDATIONS_FILTERING_ENABLED`, recommendation filtering by attributes is enabled for the model. */
|
|
1899
|
-
filteringOption?:
|
|
2011
|
+
filteringOption?:
|
|
2012
|
+
| 'RECOMMENDATIONS_FILTERING_OPTION_UNSPECIFIED'
|
|
2013
|
+
| 'RECOMMENDATIONS_FILTERING_DISABLED'
|
|
2014
|
+
| 'RECOMMENDATIONS_FILTERING_ENABLED';
|
|
1900
2015
|
/** Output only. The timestamp when the latest successful tune finished. */
|
|
1901
2016
|
lastTuneTime?: string;
|
|
1902
2017
|
/** Optional. Additional model features config. */
|
|
@@ -1906,13 +2021,21 @@ declare namespace gapi.client {
|
|
|
1906
2021
|
/** Optional. The optimization objective e.g. `cvr`. Currently supported values: `ctr`, `cvr`, `revenue-per-order`. If not specified, we choose default based on model type. Default depends on type of recommendation: `recommended-for-you` => `ctr` `others-you-may-like` => `ctr` `frequently-bought-together` => `revenue_per_order` This field together with optimization_objective describe model metadata to use to control model training and serving. See https://cloud.google.com/retail/docs/models for more details on what the model metadata control and which combination of parameters are valid. For invalid combinations of parameters (e.g. type = `frequently-bought-together` and optimization_objective = `ctr`), you receive an error 400 if you try to create/update a recommendation with this set of knobs. */
|
|
1907
2022
|
optimizationObjective?: string;
|
|
1908
2023
|
/** Optional. The state of periodic tuning. The period we use is 3 months - to do a one-off tune earlier use the `TuneModel` method. Default value is `PERIODIC_TUNING_ENABLED`. */
|
|
1909
|
-
periodicTuningState?:
|
|
2024
|
+
periodicTuningState?:
|
|
2025
|
+
| 'PERIODIC_TUNING_STATE_UNSPECIFIED'
|
|
2026
|
+
| 'PERIODIC_TUNING_DISABLED'
|
|
2027
|
+
| 'ALL_TUNING_DISABLED'
|
|
2028
|
+
| 'PERIODIC_TUNING_ENABLED';
|
|
1910
2029
|
/** Output only. The list of valid serving configs associated with the PageOptimizationConfig. */
|
|
1911
2030
|
servingConfigLists?: GoogleCloudRetailV2betaModelServingConfigList[];
|
|
1912
2031
|
/** Output only. The serving state of the model: `ACTIVE`, `NOT_ACTIVE`. */
|
|
1913
|
-
servingState?:
|
|
2032
|
+
servingState?:
|
|
2033
|
+
| 'SERVING_STATE_UNSPECIFIED'
|
|
2034
|
+
| 'INACTIVE'
|
|
2035
|
+
| 'ACTIVE'
|
|
2036
|
+
| 'TUNED';
|
|
1914
2037
|
/** Optional. The training state that the model is in (e.g. `TRAINING` or `PAUSED`). Since part of the cost of running the service is frequency of training - this can be used to determine when to train model in order to control cost. If not specified: the default value for `CreateModel` method is `TRAINING`. The default value for `UpdateModel` method is to keep the state the same as before. */
|
|
1915
|
-
trainingState?:
|
|
2038
|
+
trainingState?: 'TRAINING_STATE_UNSPECIFIED' | 'PAUSED' | 'TRAINING';
|
|
1916
2039
|
/** Output only. The tune operation associated with the model. Can be used to determine if there is an ongoing tune for this recommendation. Empty field implies no tune is goig on. */
|
|
1917
2040
|
tuningOperation?: string;
|
|
1918
2041
|
/** Required. The type of model e.g. `home-page`. Currently supported values: `recommended-for-you`, `others-you-may-like`, `frequently-bought-together`, `page-optimization`, `similar-items`, `buy-it-again`, `on-sale-items`, and `recently-viewed`(readonly value). This field together with optimization_objective describe model metadata to use to control model training and serving. See https://cloud.google.com/retail/docs/models for more details on what the model metadata control and which combination of parameters are valid. For invalid combinations of parameters (e.g. type = `frequently-bought-together` and optimization_objective = `ctr`), you receive an error 400 if you try to create/update a recommendation with this set of knobs. */
|
|
@@ -1922,7 +2045,10 @@ declare namespace gapi.client {
|
|
|
1922
2045
|
}
|
|
1923
2046
|
interface GoogleCloudRetailV2betaModelFrequentlyBoughtTogetherFeaturesConfig {
|
|
1924
2047
|
/** Optional. Specifies the context of the model when it is used in predict requests. Can only be set for the `frequently-bought-together` type. If it isn't specified, it defaults to MULTIPLE_CONTEXT_PRODUCTS. */
|
|
1925
|
-
contextProductsType?:
|
|
2048
|
+
contextProductsType?:
|
|
2049
|
+
| 'CONTEXT_PRODUCTS_TYPE_UNSPECIFIED'
|
|
2050
|
+
| 'SINGLE_CONTEXT_PRODUCT'
|
|
2051
|
+
| 'MULTIPLE_CONTEXT_PRODUCTS';
|
|
1926
2052
|
}
|
|
1927
2053
|
interface GoogleCloudRetailV2betaModelModelFeaturesConfig {
|
|
1928
2054
|
/** Additional configs for frequently-bought-together models. */
|
|
@@ -2053,11 +2179,14 @@ declare namespace gapi.client {
|
|
|
2053
2179
|
/** Output only. Timestamp the Recommendation Model was created at. */
|
|
2054
2180
|
createTime?: string;
|
|
2055
2181
|
/** Output only. The state of data requirements for this model: `DATA_OK` and `DATA_ERROR`. Recommendation model cannot be trained if the data is in `DATA_ERROR` state. Recommendation model can have `DATA_ERROR` state even if serving state is `ACTIVE`: models were trained successfully before, but cannot be refreshed because model no longer has sufficient data for training. */
|
|
2056
|
-
dataState?:
|
|
2182
|
+
dataState?: 'DATA_STATE_UNSPECIFIED' | 'DATA_OK' | 'DATA_ERROR';
|
|
2057
2183
|
/** Required. The display name of the model. Should be human readable, used to display Recommendation Models in the Retail Cloud Console Dashboard. UTF-8 encoded string with limit of 1024 characters. */
|
|
2058
2184
|
displayName?: string;
|
|
2059
2185
|
/** Optional. If `RECOMMENDATIONS_FILTERING_ENABLED`, recommendation filtering by attributes is enabled for the model. */
|
|
2060
|
-
filteringOption?:
|
|
2186
|
+
filteringOption?:
|
|
2187
|
+
| 'RECOMMENDATIONS_FILTERING_OPTION_UNSPECIFIED'
|
|
2188
|
+
| 'RECOMMENDATIONS_FILTERING_DISABLED'
|
|
2189
|
+
| 'RECOMMENDATIONS_FILTERING_ENABLED';
|
|
2061
2190
|
/** Output only. The timestamp when the latest successful tune finished. */
|
|
2062
2191
|
lastTuneTime?: string;
|
|
2063
2192
|
/** Optional. Additional model features config. */
|
|
@@ -2067,13 +2196,21 @@ declare namespace gapi.client {
|
|
|
2067
2196
|
/** Optional. The optimization objective e.g. `cvr`. Currently supported values: `ctr`, `cvr`, `revenue-per-order`. If not specified, we choose default based on model type. Default depends on type of recommendation: `recommended-for-you` => `ctr` `others-you-may-like` => `ctr` `frequently-bought-together` => `revenue_per_order` This field together with optimization_objective describe model metadata to use to control model training and serving. See https://cloud.google.com/retail/docs/models for more details on what the model metadata control and which combination of parameters are valid. For invalid combinations of parameters (e.g. type = `frequently-bought-together` and optimization_objective = `ctr`), you receive an error 400 if you try to create/update a recommendation with this set of knobs. */
|
|
2068
2197
|
optimizationObjective?: string;
|
|
2069
2198
|
/** Optional. The state of periodic tuning. The period we use is 3 months - to do a one-off tune earlier use the `TuneModel` method. Default value is `PERIODIC_TUNING_ENABLED`. */
|
|
2070
|
-
periodicTuningState?:
|
|
2199
|
+
periodicTuningState?:
|
|
2200
|
+
| 'PERIODIC_TUNING_STATE_UNSPECIFIED'
|
|
2201
|
+
| 'PERIODIC_TUNING_DISABLED'
|
|
2202
|
+
| 'ALL_TUNING_DISABLED'
|
|
2203
|
+
| 'PERIODIC_TUNING_ENABLED';
|
|
2071
2204
|
/** Output only. The list of valid serving configs associated with the PageOptimizationConfig. */
|
|
2072
2205
|
servingConfigLists?: GoogleCloudRetailV2ModelServingConfigList[];
|
|
2073
2206
|
/** Output only. The serving state of the model: `ACTIVE`, `NOT_ACTIVE`. */
|
|
2074
|
-
servingState?:
|
|
2207
|
+
servingState?:
|
|
2208
|
+
| 'SERVING_STATE_UNSPECIFIED'
|
|
2209
|
+
| 'INACTIVE'
|
|
2210
|
+
| 'ACTIVE'
|
|
2211
|
+
| 'TUNED';
|
|
2075
2212
|
/** Optional. The training state that the model is in (e.g. `TRAINING` or `PAUSED`). Since part of the cost of running the service is frequency of training - this can be used to determine when to train model in order to control cost. If not specified: the default value for `CreateModel` method is `TRAINING`. The default value for `UpdateModel` method is to keep the state the same as before. */
|
|
2076
|
-
trainingState?:
|
|
2213
|
+
trainingState?: 'TRAINING_STATE_UNSPECIFIED' | 'PAUSED' | 'TRAINING';
|
|
2077
2214
|
/** Output only. The tune operation associated with the model. Can be used to determine if there is an ongoing tune for this recommendation. Empty field implies no tune is goig on. */
|
|
2078
2215
|
tuningOperation?: string;
|
|
2079
2216
|
/** Required. The type of model e.g. `home-page`. Currently supported values: `recommended-for-you`, `others-you-may-like`, `frequently-bought-together`, `page-optimization`, `similar-items`, `buy-it-again`, `on-sale-items`, and `recently-viewed`(readonly value). This field together with optimization_objective describe model metadata to use to control model training and serving. See https://cloud.google.com/retail/docs/models for more details on what the model metadata control and which combination of parameters are valid. For invalid combinations of parameters (e.g. type = `frequently-bought-together` and optimization_objective = `ctr`), you receive an error 400 if you try to create/update a recommendation with this set of knobs. */
|
|
@@ -2083,7 +2220,10 @@ declare namespace gapi.client {
|
|
|
2083
2220
|
}
|
|
2084
2221
|
interface GoogleCloudRetailV2ModelFrequentlyBoughtTogetherFeaturesConfig {
|
|
2085
2222
|
/** Optional. Specifies the context of the model when it is used in predict requests. Can only be set for the `frequently-bought-together` type. If it isn't specified, it defaults to MULTIPLE_CONTEXT_PRODUCTS. */
|
|
2086
|
-
contextProductsType?:
|
|
2223
|
+
contextProductsType?:
|
|
2224
|
+
| 'CONTEXT_PRODUCTS_TYPE_UNSPECIFIED'
|
|
2225
|
+
| 'SINGLE_CONTEXT_PRODUCT'
|
|
2226
|
+
| 'MULTIPLE_CONTEXT_PRODUCTS';
|
|
2087
2227
|
}
|
|
2088
2228
|
interface GoogleCloudRetailV2ModelModelFeaturesConfig {
|
|
2089
2229
|
/** Additional configs for frequently-bought-together models. */
|
|
@@ -2183,11 +2323,11 @@ declare namespace gapi.client {
|
|
|
2183
2323
|
/** Adds the specified CatalogAttribute to the AttributesConfig. If the CatalogAttribute to add already exists, an ALREADY_EXISTS error is returned. */
|
|
2184
2324
|
addCatalogAttribute(request: {
|
|
2185
2325
|
/** V1 error format. */
|
|
2186
|
-
'$.xgafv'?:
|
|
2326
|
+
'$.xgafv'?: '1' | '2';
|
|
2187
2327
|
/** OAuth access token. */
|
|
2188
2328
|
access_token?: string;
|
|
2189
2329
|
/** Data format for response. */
|
|
2190
|
-
alt?:
|
|
2330
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2191
2331
|
/** Required. Full AttributesConfig resource name. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig` */
|
|
2192
2332
|
attributesConfig: string;
|
|
2193
2333
|
/** JSONP */
|
|
@@ -2212,11 +2352,11 @@ declare namespace gapi.client {
|
|
|
2212
2352
|
addCatalogAttribute(
|
|
2213
2353
|
request: {
|
|
2214
2354
|
/** V1 error format. */
|
|
2215
|
-
'$.xgafv'?:
|
|
2355
|
+
'$.xgafv'?: '1' | '2';
|
|
2216
2356
|
/** OAuth access token. */
|
|
2217
2357
|
access_token?: string;
|
|
2218
2358
|
/** Data format for response. */
|
|
2219
|
-
alt?:
|
|
2359
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2220
2360
|
/** Required. Full AttributesConfig resource name. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig` */
|
|
2221
2361
|
attributesConfig: string;
|
|
2222
2362
|
/** JSONP */
|
|
@@ -2241,11 +2381,11 @@ declare namespace gapi.client {
|
|
|
2241
2381
|
/** Removes all specified CatalogAttributes from the AttributesConfig. */
|
|
2242
2382
|
batchRemoveCatalogAttributes(request: {
|
|
2243
2383
|
/** V1 error format. */
|
|
2244
|
-
'$.xgafv'?:
|
|
2384
|
+
'$.xgafv'?: '1' | '2';
|
|
2245
2385
|
/** OAuth access token. */
|
|
2246
2386
|
access_token?: string;
|
|
2247
2387
|
/** Data format for response. */
|
|
2248
|
-
alt?:
|
|
2388
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2249
2389
|
/** Required. The attributes config resource shared by all catalog attributes being deleted. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig` */
|
|
2250
2390
|
attributesConfig: string;
|
|
2251
2391
|
/** JSONP */
|
|
@@ -2270,11 +2410,11 @@ declare namespace gapi.client {
|
|
|
2270
2410
|
batchRemoveCatalogAttributes(
|
|
2271
2411
|
request: {
|
|
2272
2412
|
/** V1 error format. */
|
|
2273
|
-
'$.xgafv'?:
|
|
2413
|
+
'$.xgafv'?: '1' | '2';
|
|
2274
2414
|
/** OAuth access token. */
|
|
2275
2415
|
access_token?: string;
|
|
2276
2416
|
/** Data format for response. */
|
|
2277
|
-
alt?:
|
|
2417
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2278
2418
|
/** Required. The attributes config resource shared by all catalog attributes being deleted. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig` */
|
|
2279
2419
|
attributesConfig: string;
|
|
2280
2420
|
/** JSONP */
|
|
@@ -2299,11 +2439,11 @@ declare namespace gapi.client {
|
|
|
2299
2439
|
/** Removes the specified CatalogAttribute from the AttributesConfig. If the CatalogAttribute to remove does not exist, a NOT_FOUND error is returned. */
|
|
2300
2440
|
removeCatalogAttribute(request: {
|
|
2301
2441
|
/** V1 error format. */
|
|
2302
|
-
'$.xgafv'?:
|
|
2442
|
+
'$.xgafv'?: '1' | '2';
|
|
2303
2443
|
/** OAuth access token. */
|
|
2304
2444
|
access_token?: string;
|
|
2305
2445
|
/** Data format for response. */
|
|
2306
|
-
alt?:
|
|
2446
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2307
2447
|
/** Required. Full AttributesConfig resource name. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig` */
|
|
2308
2448
|
attributesConfig: string;
|
|
2309
2449
|
/** JSONP */
|
|
@@ -2328,11 +2468,11 @@ declare namespace gapi.client {
|
|
|
2328
2468
|
removeCatalogAttribute(
|
|
2329
2469
|
request: {
|
|
2330
2470
|
/** V1 error format. */
|
|
2331
|
-
'$.xgafv'?:
|
|
2471
|
+
'$.xgafv'?: '1' | '2';
|
|
2332
2472
|
/** OAuth access token. */
|
|
2333
2473
|
access_token?: string;
|
|
2334
2474
|
/** Data format for response. */
|
|
2335
|
-
alt?:
|
|
2475
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2336
2476
|
/** Required. Full AttributesConfig resource name. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig` */
|
|
2337
2477
|
attributesConfig: string;
|
|
2338
2478
|
/** JSONP */
|
|
@@ -2357,11 +2497,11 @@ declare namespace gapi.client {
|
|
|
2357
2497
|
/** Replaces the specified CatalogAttribute in the AttributesConfig by updating the catalog attribute with the same CatalogAttribute.key. If the CatalogAttribute to replace does not exist, a NOT_FOUND error is returned. */
|
|
2358
2498
|
replaceCatalogAttribute(request: {
|
|
2359
2499
|
/** V1 error format. */
|
|
2360
|
-
'$.xgafv'?:
|
|
2500
|
+
'$.xgafv'?: '1' | '2';
|
|
2361
2501
|
/** OAuth access token. */
|
|
2362
2502
|
access_token?: string;
|
|
2363
2503
|
/** Data format for response. */
|
|
2364
|
-
alt?:
|
|
2504
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2365
2505
|
/** Required. Full AttributesConfig resource name. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig` */
|
|
2366
2506
|
attributesConfig: string;
|
|
2367
2507
|
/** JSONP */
|
|
@@ -2386,11 +2526,11 @@ declare namespace gapi.client {
|
|
|
2386
2526
|
replaceCatalogAttribute(
|
|
2387
2527
|
request: {
|
|
2388
2528
|
/** V1 error format. */
|
|
2389
|
-
'$.xgafv'?:
|
|
2529
|
+
'$.xgafv'?: '1' | '2';
|
|
2390
2530
|
/** OAuth access token. */
|
|
2391
2531
|
access_token?: string;
|
|
2392
2532
|
/** Data format for response. */
|
|
2393
|
-
alt?:
|
|
2533
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2394
2534
|
/** Required. Full AttributesConfig resource name. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig` */
|
|
2395
2535
|
attributesConfig: string;
|
|
2396
2536
|
/** JSONP */
|
|
@@ -2417,11 +2557,11 @@ declare namespace gapi.client {
|
|
|
2417
2557
|
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
2418
2558
|
get(request?: {
|
|
2419
2559
|
/** V1 error format. */
|
|
2420
|
-
'$.xgafv'?:
|
|
2560
|
+
'$.xgafv'?: '1' | '2';
|
|
2421
2561
|
/** OAuth access token. */
|
|
2422
2562
|
access_token?: string;
|
|
2423
2563
|
/** Data format for response. */
|
|
2424
|
-
alt?:
|
|
2564
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2425
2565
|
/** JSONP */
|
|
2426
2566
|
callback?: string;
|
|
2427
2567
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2446,11 +2586,11 @@ declare namespace gapi.client {
|
|
|
2446
2586
|
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
2447
2587
|
get(request?: {
|
|
2448
2588
|
/** V1 error format. */
|
|
2449
|
-
'$.xgafv'?:
|
|
2589
|
+
'$.xgafv'?: '1' | '2';
|
|
2450
2590
|
/** OAuth access token. */
|
|
2451
2591
|
access_token?: string;
|
|
2452
2592
|
/** Data format for response. */
|
|
2453
|
-
alt?:
|
|
2593
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2454
2594
|
/** JSONP */
|
|
2455
2595
|
callback?: string;
|
|
2456
2596
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2478,11 +2618,11 @@ declare namespace gapi.client {
|
|
|
2478
2618
|
/** We recommend that you use the ProductService.AddLocalInventories method instead of the ProductService.AddFulfillmentPlaces method. ProductService.AddLocalInventories achieves the same results but provides more fine-grained control over ingesting local inventory data. Incrementally adds place IDs to Product.fulfillment_info.place_ids. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, the added place IDs are not immediately manifested in the Product queried by ProductService.GetProduct or ProductService.ListProducts. The returned Operations will be obsolete after 1 day, and GetOperation API will return NOT_FOUND afterwards. If conflicting updates are issued, the Operations associated with the stale updates will not be marked as done until being obsolete. */
|
|
2479
2619
|
addFulfillmentPlaces(request: {
|
|
2480
2620
|
/** V1 error format. */
|
|
2481
|
-
'$.xgafv'?:
|
|
2621
|
+
'$.xgafv'?: '1' | '2';
|
|
2482
2622
|
/** OAuth access token. */
|
|
2483
2623
|
access_token?: string;
|
|
2484
2624
|
/** Data format for response. */
|
|
2485
|
-
alt?:
|
|
2625
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2486
2626
|
/** JSONP */
|
|
2487
2627
|
callback?: string;
|
|
2488
2628
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2507,11 +2647,11 @@ declare namespace gapi.client {
|
|
|
2507
2647
|
addFulfillmentPlaces(
|
|
2508
2648
|
request: {
|
|
2509
2649
|
/** V1 error format. */
|
|
2510
|
-
'$.xgafv'?:
|
|
2650
|
+
'$.xgafv'?: '1' | '2';
|
|
2511
2651
|
/** OAuth access token. */
|
|
2512
2652
|
access_token?: string;
|
|
2513
2653
|
/** Data format for response. */
|
|
2514
|
-
alt?:
|
|
2654
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2515
2655
|
/** JSONP */
|
|
2516
2656
|
callback?: string;
|
|
2517
2657
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2536,11 +2676,11 @@ declare namespace gapi.client {
|
|
|
2536
2676
|
/** Updates local inventory information for a Product at a list of places, while respecting the last update timestamps of each inventory field. This process is asynchronous and does not require the Product to exist before updating inventory information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, updates are not immediately manifested in the Product queried by ProductService.GetProduct or ProductService.ListProducts. Local inventory information can only be modified using this method. ProductService.CreateProduct and ProductService.UpdateProduct has no effect on local inventories. The returned Operations will be obsolete after 1 day, and GetOperation API will return NOT_FOUND afterwards. If conflicting updates are issued, the Operations associated with the stale updates will not be marked as done until being obsolete. */
|
|
2537
2677
|
addLocalInventories(request: {
|
|
2538
2678
|
/** V1 error format. */
|
|
2539
|
-
'$.xgafv'?:
|
|
2679
|
+
'$.xgafv'?: '1' | '2';
|
|
2540
2680
|
/** OAuth access token. */
|
|
2541
2681
|
access_token?: string;
|
|
2542
2682
|
/** Data format for response. */
|
|
2543
|
-
alt?:
|
|
2683
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2544
2684
|
/** JSONP */
|
|
2545
2685
|
callback?: string;
|
|
2546
2686
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2565,11 +2705,11 @@ declare namespace gapi.client {
|
|
|
2565
2705
|
addLocalInventories(
|
|
2566
2706
|
request: {
|
|
2567
2707
|
/** V1 error format. */
|
|
2568
|
-
'$.xgafv'?:
|
|
2708
|
+
'$.xgafv'?: '1' | '2';
|
|
2569
2709
|
/** OAuth access token. */
|
|
2570
2710
|
access_token?: string;
|
|
2571
2711
|
/** Data format for response. */
|
|
2572
|
-
alt?:
|
|
2712
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2573
2713
|
/** JSONP */
|
|
2574
2714
|
callback?: string;
|
|
2575
2715
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2594,11 +2734,11 @@ declare namespace gapi.client {
|
|
|
2594
2734
|
/** Creates a Product. */
|
|
2595
2735
|
create(request: {
|
|
2596
2736
|
/** V1 error format. */
|
|
2597
|
-
'$.xgafv'?:
|
|
2737
|
+
'$.xgafv'?: '1' | '2';
|
|
2598
2738
|
/** OAuth access token. */
|
|
2599
2739
|
access_token?: string;
|
|
2600
2740
|
/** Data format for response. */
|
|
2601
|
-
alt?:
|
|
2741
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2602
2742
|
/** JSONP */
|
|
2603
2743
|
callback?: string;
|
|
2604
2744
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2625,11 +2765,11 @@ declare namespace gapi.client {
|
|
|
2625
2765
|
create(
|
|
2626
2766
|
request: {
|
|
2627
2767
|
/** V1 error format. */
|
|
2628
|
-
'$.xgafv'?:
|
|
2768
|
+
'$.xgafv'?: '1' | '2';
|
|
2629
2769
|
/** OAuth access token. */
|
|
2630
2770
|
access_token?: string;
|
|
2631
2771
|
/** Data format for response. */
|
|
2632
|
-
alt?:
|
|
2772
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2633
2773
|
/** JSONP */
|
|
2634
2774
|
callback?: string;
|
|
2635
2775
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2656,11 +2796,11 @@ declare namespace gapi.client {
|
|
|
2656
2796
|
/** Deletes a Product. */
|
|
2657
2797
|
delete(request?: {
|
|
2658
2798
|
/** V1 error format. */
|
|
2659
|
-
'$.xgafv'?:
|
|
2799
|
+
'$.xgafv'?: '1' | '2';
|
|
2660
2800
|
/** OAuth access token. */
|
|
2661
2801
|
access_token?: string;
|
|
2662
2802
|
/** Data format for response. */
|
|
2663
|
-
alt?:
|
|
2803
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2664
2804
|
/** JSONP */
|
|
2665
2805
|
callback?: string;
|
|
2666
2806
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2685,11 +2825,11 @@ declare namespace gapi.client {
|
|
|
2685
2825
|
/** Exports multiple Products. */
|
|
2686
2826
|
export(request: {
|
|
2687
2827
|
/** V1 error format. */
|
|
2688
|
-
'$.xgafv'?:
|
|
2828
|
+
'$.xgafv'?: '1' | '2';
|
|
2689
2829
|
/** OAuth access token. */
|
|
2690
2830
|
access_token?: string;
|
|
2691
2831
|
/** Data format for response. */
|
|
2692
|
-
alt?:
|
|
2832
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2693
2833
|
/** JSONP */
|
|
2694
2834
|
callback?: string;
|
|
2695
2835
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2714,11 +2854,11 @@ declare namespace gapi.client {
|
|
|
2714
2854
|
export(
|
|
2715
2855
|
request: {
|
|
2716
2856
|
/** V1 error format. */
|
|
2717
|
-
'$.xgafv'?:
|
|
2857
|
+
'$.xgafv'?: '1' | '2';
|
|
2718
2858
|
/** OAuth access token. */
|
|
2719
2859
|
access_token?: string;
|
|
2720
2860
|
/** Data format for response. */
|
|
2721
|
-
alt?:
|
|
2861
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2722
2862
|
/** JSONP */
|
|
2723
2863
|
callback?: string;
|
|
2724
2864
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2743,11 +2883,11 @@ declare namespace gapi.client {
|
|
|
2743
2883
|
/** Gets a Product. */
|
|
2744
2884
|
get(request?: {
|
|
2745
2885
|
/** V1 error format. */
|
|
2746
|
-
'$.xgafv'?:
|
|
2886
|
+
'$.xgafv'?: '1' | '2';
|
|
2747
2887
|
/** OAuth access token. */
|
|
2748
2888
|
access_token?: string;
|
|
2749
2889
|
/** Data format for response. */
|
|
2750
|
-
alt?:
|
|
2890
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2751
2891
|
/** JSONP */
|
|
2752
2892
|
callback?: string;
|
|
2753
2893
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2770,11 +2910,11 @@ declare namespace gapi.client {
|
|
|
2770
2910
|
/** Bulk import of multiple Products. Request processing may be synchronous. Non-existing items are created. Note that it is possible for a subset of the Products to be successfully updated. */
|
|
2771
2911
|
import(request: {
|
|
2772
2912
|
/** V1 error format. */
|
|
2773
|
-
'$.xgafv'?:
|
|
2913
|
+
'$.xgafv'?: '1' | '2';
|
|
2774
2914
|
/** OAuth access token. */
|
|
2775
2915
|
access_token?: string;
|
|
2776
2916
|
/** Data format for response. */
|
|
2777
|
-
alt?:
|
|
2917
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2778
2918
|
/** JSONP */
|
|
2779
2919
|
callback?: string;
|
|
2780
2920
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2799,11 +2939,11 @@ declare namespace gapi.client {
|
|
|
2799
2939
|
import(
|
|
2800
2940
|
request: {
|
|
2801
2941
|
/** V1 error format. */
|
|
2802
|
-
'$.xgafv'?:
|
|
2942
|
+
'$.xgafv'?: '1' | '2';
|
|
2803
2943
|
/** OAuth access token. */
|
|
2804
2944
|
access_token?: string;
|
|
2805
2945
|
/** Data format for response. */
|
|
2806
|
-
alt?:
|
|
2946
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2807
2947
|
/** JSONP */
|
|
2808
2948
|
callback?: string;
|
|
2809
2949
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2828,11 +2968,11 @@ declare namespace gapi.client {
|
|
|
2828
2968
|
/** Gets a list of Products. */
|
|
2829
2969
|
list(request?: {
|
|
2830
2970
|
/** V1 error format. */
|
|
2831
|
-
'$.xgafv'?:
|
|
2971
|
+
'$.xgafv'?: '1' | '2';
|
|
2832
2972
|
/** OAuth access token. */
|
|
2833
2973
|
access_token?: string;
|
|
2834
2974
|
/** Data format for response. */
|
|
2835
|
-
alt?:
|
|
2975
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2836
2976
|
/** JSONP */
|
|
2837
2977
|
callback?: string;
|
|
2838
2978
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2865,13 +3005,13 @@ declare namespace gapi.client {
|
|
|
2865
3005
|
/** Updates a Product. */
|
|
2866
3006
|
patch(request: {
|
|
2867
3007
|
/** V1 error format. */
|
|
2868
|
-
'$.xgafv'?:
|
|
3008
|
+
'$.xgafv'?: '1' | '2';
|
|
2869
3009
|
/** OAuth access token. */
|
|
2870
3010
|
access_token?: string;
|
|
2871
3011
|
/** If set to true, and the Product is not found, a new Product will be created. In this situation, `update_mask` is ignored. */
|
|
2872
3012
|
allowMissing?: boolean;
|
|
2873
3013
|
/** Data format for response. */
|
|
2874
|
-
alt?:
|
|
3014
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2875
3015
|
/** JSONP */
|
|
2876
3016
|
callback?: string;
|
|
2877
3017
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2898,13 +3038,13 @@ declare namespace gapi.client {
|
|
|
2898
3038
|
patch(
|
|
2899
3039
|
request: {
|
|
2900
3040
|
/** V1 error format. */
|
|
2901
|
-
'$.xgafv'?:
|
|
3041
|
+
'$.xgafv'?: '1' | '2';
|
|
2902
3042
|
/** OAuth access token. */
|
|
2903
3043
|
access_token?: string;
|
|
2904
3044
|
/** If set to true, and the Product is not found, a new Product will be created. In this situation, `update_mask` is ignored. */
|
|
2905
3045
|
allowMissing?: boolean;
|
|
2906
3046
|
/** Data format for response. */
|
|
2907
|
-
alt?:
|
|
3047
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2908
3048
|
/** JSONP */
|
|
2909
3049
|
callback?: string;
|
|
2910
3050
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2931,11 +3071,11 @@ declare namespace gapi.client {
|
|
|
2931
3071
|
/** Permanently deletes all selected Products under a branch. This process is asynchronous. If the request is valid, the removal will be enqueued and processed offline. Depending on the number of Products, this operation could take hours to complete. Before the operation completes, some Products may still be returned by ProductService.GetProduct or ProductService.ListProducts. Depending on the number of Products, this operation could take hours to complete. To get a sample of Products that would be deleted, set PurgeProductsRequest.force to false. */
|
|
2932
3072
|
purge(request: {
|
|
2933
3073
|
/** V1 error format. */
|
|
2934
|
-
'$.xgafv'?:
|
|
3074
|
+
'$.xgafv'?: '1' | '2';
|
|
2935
3075
|
/** OAuth access token. */
|
|
2936
3076
|
access_token?: string;
|
|
2937
3077
|
/** Data format for response. */
|
|
2938
|
-
alt?:
|
|
3078
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2939
3079
|
/** JSONP */
|
|
2940
3080
|
callback?: string;
|
|
2941
3081
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2960,11 +3100,11 @@ declare namespace gapi.client {
|
|
|
2960
3100
|
purge(
|
|
2961
3101
|
request: {
|
|
2962
3102
|
/** V1 error format. */
|
|
2963
|
-
'$.xgafv'?:
|
|
3103
|
+
'$.xgafv'?: '1' | '2';
|
|
2964
3104
|
/** OAuth access token. */
|
|
2965
3105
|
access_token?: string;
|
|
2966
3106
|
/** Data format for response. */
|
|
2967
|
-
alt?:
|
|
3107
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2968
3108
|
/** JSONP */
|
|
2969
3109
|
callback?: string;
|
|
2970
3110
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2989,11 +3129,11 @@ declare namespace gapi.client {
|
|
|
2989
3129
|
/** We recommend that you use the ProductService.RemoveLocalInventories method instead of the ProductService.RemoveFulfillmentPlaces method. ProductService.RemoveLocalInventories achieves the same results but provides more fine-grained control over ingesting local inventory data. Incrementally removes place IDs from a Product.fulfillment_info.place_ids. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update will be enqueued and processed downstream. As a consequence, when a response is returned, the removed place IDs are not immediately manifested in the Product queried by ProductService.GetProduct or ProductService.ListProducts. The returned Operations will be obsolete after 1 day, and GetOperation API will return NOT_FOUND afterwards. If conflicting updates are issued, the Operations associated with the stale updates will not be marked as done until being obsolete. */
|
|
2990
3130
|
removeFulfillmentPlaces(request: {
|
|
2991
3131
|
/** V1 error format. */
|
|
2992
|
-
'$.xgafv'?:
|
|
3132
|
+
'$.xgafv'?: '1' | '2';
|
|
2993
3133
|
/** OAuth access token. */
|
|
2994
3134
|
access_token?: string;
|
|
2995
3135
|
/** Data format for response. */
|
|
2996
|
-
alt?:
|
|
3136
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2997
3137
|
/** JSONP */
|
|
2998
3138
|
callback?: string;
|
|
2999
3139
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3018,11 +3158,11 @@ declare namespace gapi.client {
|
|
|
3018
3158
|
removeFulfillmentPlaces(
|
|
3019
3159
|
request: {
|
|
3020
3160
|
/** V1 error format. */
|
|
3021
|
-
'$.xgafv'?:
|
|
3161
|
+
'$.xgafv'?: '1' | '2';
|
|
3022
3162
|
/** OAuth access token. */
|
|
3023
3163
|
access_token?: string;
|
|
3024
3164
|
/** Data format for response. */
|
|
3025
|
-
alt?:
|
|
3165
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3026
3166
|
/** JSONP */
|
|
3027
3167
|
callback?: string;
|
|
3028
3168
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3047,11 +3187,11 @@ declare namespace gapi.client {
|
|
|
3047
3187
|
/** Remove local inventory information for a Product at a list of places at a removal timestamp. This process is asynchronous. If the request is valid, the removal will be enqueued and processed downstream. As a consequence, when a response is returned, removals are not immediately manifested in the Product queried by ProductService.GetProduct or ProductService.ListProducts. Local inventory information can only be removed using this method. ProductService.CreateProduct and ProductService.UpdateProduct has no effect on local inventories. The returned Operations will be obsolete after 1 day, and GetOperation API will return NOT_FOUND afterwards. If conflicting updates are issued, the Operations associated with the stale updates will not be marked as done until being obsolete. */
|
|
3048
3188
|
removeLocalInventories(request: {
|
|
3049
3189
|
/** V1 error format. */
|
|
3050
|
-
'$.xgafv'?:
|
|
3190
|
+
'$.xgafv'?: '1' | '2';
|
|
3051
3191
|
/** OAuth access token. */
|
|
3052
3192
|
access_token?: string;
|
|
3053
3193
|
/** Data format for response. */
|
|
3054
|
-
alt?:
|
|
3194
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3055
3195
|
/** JSONP */
|
|
3056
3196
|
callback?: string;
|
|
3057
3197
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3076,11 +3216,11 @@ declare namespace gapi.client {
|
|
|
3076
3216
|
removeLocalInventories(
|
|
3077
3217
|
request: {
|
|
3078
3218
|
/** V1 error format. */
|
|
3079
|
-
'$.xgafv'?:
|
|
3219
|
+
'$.xgafv'?: '1' | '2';
|
|
3080
3220
|
/** OAuth access token. */
|
|
3081
3221
|
access_token?: string;
|
|
3082
3222
|
/** Data format for response. */
|
|
3083
|
-
alt?:
|
|
3223
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3084
3224
|
/** JSONP */
|
|
3085
3225
|
callback?: string;
|
|
3086
3226
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3105,11 +3245,11 @@ declare namespace gapi.client {
|
|
|
3105
3245
|
/** Updates inventory information for a Product while respecting the last update timestamps of each inventory field. This process is asynchronous and does not require the Product to exist before updating fulfillment information. If the request is valid, the update is enqueued and processed downstream. As a consequence, when a response is returned, updates are not immediately manifested in the Product queried by ProductService.GetProduct or ProductService.ListProducts. When inventory is updated with ProductService.CreateProduct and ProductService.UpdateProduct, the specified inventory field value(s) overwrite any existing value(s) while ignoring the last update time for this field. Furthermore, the last update times for the specified inventory fields are overwritten by the times of the ProductService.CreateProduct or ProductService.UpdateProduct request. If no inventory fields are set in CreateProductRequest.product, then any pre-existing inventory information for this product is used. If no inventory fields are set in SetInventoryRequest.set_mask, then any existing inventory information is preserved. Pre-existing inventory information can only be updated with ProductService.SetInventory, ProductService.AddFulfillmentPlaces, and ProductService.RemoveFulfillmentPlaces. The returned Operations is obsolete after one day, and the GetOperation API returns `NOT_FOUND` afterwards. If conflicting updates are issued, the Operations associated with the stale updates are not marked as done until they are obsolete. */
|
|
3106
3246
|
setInventory(request: {
|
|
3107
3247
|
/** V1 error format. */
|
|
3108
|
-
'$.xgafv'?:
|
|
3248
|
+
'$.xgafv'?: '1' | '2';
|
|
3109
3249
|
/** OAuth access token. */
|
|
3110
3250
|
access_token?: string;
|
|
3111
3251
|
/** Data format for response. */
|
|
3112
|
-
alt?:
|
|
3252
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3113
3253
|
/** JSONP */
|
|
3114
3254
|
callback?: string;
|
|
3115
3255
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3134,11 +3274,11 @@ declare namespace gapi.client {
|
|
|
3134
3274
|
setInventory(
|
|
3135
3275
|
request: {
|
|
3136
3276
|
/** V1 error format. */
|
|
3137
|
-
'$.xgafv'?:
|
|
3277
|
+
'$.xgafv'?: '1' | '2';
|
|
3138
3278
|
/** OAuth access token. */
|
|
3139
3279
|
access_token?: string;
|
|
3140
3280
|
/** Data format for response. */
|
|
3141
|
-
alt?:
|
|
3281
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3142
3282
|
/** JSONP */
|
|
3143
3283
|
callback?: string;
|
|
3144
3284
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3165,11 +3305,11 @@ declare namespace gapi.client {
|
|
|
3165
3305
|
/** Retrieves a Branch. */
|
|
3166
3306
|
get(request?: {
|
|
3167
3307
|
/** V1 error format. */
|
|
3168
|
-
'$.xgafv'?:
|
|
3308
|
+
'$.xgafv'?: '1' | '2';
|
|
3169
3309
|
/** OAuth access token. */
|
|
3170
3310
|
access_token?: string;
|
|
3171
3311
|
/** Data format for response. */
|
|
3172
|
-
alt?:
|
|
3312
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3173
3313
|
/** JSONP */
|
|
3174
3314
|
callback?: string;
|
|
3175
3315
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3189,16 +3329,19 @@ declare namespace gapi.client {
|
|
|
3189
3329
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3190
3330
|
uploadType?: string;
|
|
3191
3331
|
/** The view to apply to the returned Branch. Defaults to [Branch.BranchView.BASIC] if unspecified. See documentation of fields of Branch to find what fields are excluded from BASIC view. */
|
|
3192
|
-
view?:
|
|
3332
|
+
view?:
|
|
3333
|
+
| 'BRANCH_VIEW_UNSPECIFIED'
|
|
3334
|
+
| 'BRANCH_VIEW_BASIC'
|
|
3335
|
+
| 'BRANCH_VIEW_FULL';
|
|
3193
3336
|
}): Request<GoogleCloudRetailV2alphaBranch>;
|
|
3194
3337
|
/** Lists all instances of Branch under the specified parent Catalog. */
|
|
3195
3338
|
list(request?: {
|
|
3196
3339
|
/** V1 error format. */
|
|
3197
|
-
'$.xgafv'?:
|
|
3340
|
+
'$.xgafv'?: '1' | '2';
|
|
3198
3341
|
/** OAuth access token. */
|
|
3199
3342
|
access_token?: string;
|
|
3200
3343
|
/** Data format for response. */
|
|
3201
|
-
alt?:
|
|
3344
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3202
3345
|
/** JSONP */
|
|
3203
3346
|
callback?: string;
|
|
3204
3347
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3218,7 +3361,10 @@ declare namespace gapi.client {
|
|
|
3218
3361
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3219
3362
|
uploadType?: string;
|
|
3220
3363
|
/** The view to apply to the returned Branch. Defaults to [Branch.BranchView.BASIC] if unspecified. See documentation of fields of Branch to find what fields are excluded from BASIC view. */
|
|
3221
|
-
view?:
|
|
3364
|
+
view?:
|
|
3365
|
+
| 'BRANCH_VIEW_UNSPECIFIED'
|
|
3366
|
+
| 'BRANCH_VIEW_BASIC'
|
|
3367
|
+
| 'BRANCH_VIEW_FULL';
|
|
3222
3368
|
}): Request<GoogleCloudRetailV2alphaListBranchesResponse>;
|
|
3223
3369
|
operations: OperationsResource;
|
|
3224
3370
|
places: PlacesResource;
|
|
@@ -3228,11 +3374,11 @@ declare namespace gapi.client {
|
|
|
3228
3374
|
/** Bulk import of processed completion dataset. Request processing is asynchronous. Partial updating is not supported. The operation is successfully finished only after the imported suggestions are indexed successfully and ready for serving. The process takes hours. This feature is only available for users who have Retail Search enabled. Enable Retail Search on Cloud Console before using this feature. */
|
|
3229
3375
|
import(request: {
|
|
3230
3376
|
/** V1 error format. */
|
|
3231
|
-
'$.xgafv'?:
|
|
3377
|
+
'$.xgafv'?: '1' | '2';
|
|
3232
3378
|
/** OAuth access token. */
|
|
3233
3379
|
access_token?: string;
|
|
3234
3380
|
/** Data format for response. */
|
|
3235
|
-
alt?:
|
|
3381
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3236
3382
|
/** JSONP */
|
|
3237
3383
|
callback?: string;
|
|
3238
3384
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3257,11 +3403,11 @@ declare namespace gapi.client {
|
|
|
3257
3403
|
import(
|
|
3258
3404
|
request: {
|
|
3259
3405
|
/** V1 error format. */
|
|
3260
|
-
'$.xgafv'?:
|
|
3406
|
+
'$.xgafv'?: '1' | '2';
|
|
3261
3407
|
/** OAuth access token. */
|
|
3262
3408
|
access_token?: string;
|
|
3263
3409
|
/** Data format for response. */
|
|
3264
|
-
alt?:
|
|
3410
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3265
3411
|
/** JSONP */
|
|
3266
3412
|
callback?: string;
|
|
3267
3413
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3288,11 +3434,11 @@ declare namespace gapi.client {
|
|
|
3288
3434
|
/** Creates a Control. If the Control to create already exists, an ALREADY_EXISTS error is returned. */
|
|
3289
3435
|
create(request: {
|
|
3290
3436
|
/** V1 error format. */
|
|
3291
|
-
'$.xgafv'?:
|
|
3437
|
+
'$.xgafv'?: '1' | '2';
|
|
3292
3438
|
/** OAuth access token. */
|
|
3293
3439
|
access_token?: string;
|
|
3294
3440
|
/** Data format for response. */
|
|
3295
|
-
alt?:
|
|
3441
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3296
3442
|
/** JSONP */
|
|
3297
3443
|
callback?: string;
|
|
3298
3444
|
/** Required. The ID to use for the Control, which will become the final component of the Control's resource name. This value should be 4-63 characters, and valid characters are /a-z-_/. */
|
|
@@ -3319,11 +3465,11 @@ declare namespace gapi.client {
|
|
|
3319
3465
|
create(
|
|
3320
3466
|
request: {
|
|
3321
3467
|
/** V1 error format. */
|
|
3322
|
-
'$.xgafv'?:
|
|
3468
|
+
'$.xgafv'?: '1' | '2';
|
|
3323
3469
|
/** OAuth access token. */
|
|
3324
3470
|
access_token?: string;
|
|
3325
3471
|
/** Data format for response. */
|
|
3326
|
-
alt?:
|
|
3472
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3327
3473
|
/** JSONP */
|
|
3328
3474
|
callback?: string;
|
|
3329
3475
|
/** Required. The ID to use for the Control, which will become the final component of the Control's resource name. This value should be 4-63 characters, and valid characters are /a-z-_/. */
|
|
@@ -3350,11 +3496,11 @@ declare namespace gapi.client {
|
|
|
3350
3496
|
/** Deletes a Control. If the Control to delete does not exist, a NOT_FOUND error is returned. */
|
|
3351
3497
|
delete(request?: {
|
|
3352
3498
|
/** V1 error format. */
|
|
3353
|
-
'$.xgafv'?:
|
|
3499
|
+
'$.xgafv'?: '1' | '2';
|
|
3354
3500
|
/** OAuth access token. */
|
|
3355
3501
|
access_token?: string;
|
|
3356
3502
|
/** Data format for response. */
|
|
3357
|
-
alt?:
|
|
3503
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3358
3504
|
/** JSONP */
|
|
3359
3505
|
callback?: string;
|
|
3360
3506
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3377,11 +3523,11 @@ declare namespace gapi.client {
|
|
|
3377
3523
|
/** Gets a Control. */
|
|
3378
3524
|
get(request?: {
|
|
3379
3525
|
/** V1 error format. */
|
|
3380
|
-
'$.xgafv'?:
|
|
3526
|
+
'$.xgafv'?: '1' | '2';
|
|
3381
3527
|
/** OAuth access token. */
|
|
3382
3528
|
access_token?: string;
|
|
3383
3529
|
/** Data format for response. */
|
|
3384
|
-
alt?:
|
|
3530
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3385
3531
|
/** JSONP */
|
|
3386
3532
|
callback?: string;
|
|
3387
3533
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3404,11 +3550,11 @@ declare namespace gapi.client {
|
|
|
3404
3550
|
/** Lists all Controls by their parent Catalog. */
|
|
3405
3551
|
list(request?: {
|
|
3406
3552
|
/** V1 error format. */
|
|
3407
|
-
'$.xgafv'?:
|
|
3553
|
+
'$.xgafv'?: '1' | '2';
|
|
3408
3554
|
/** OAuth access token. */
|
|
3409
3555
|
access_token?: string;
|
|
3410
3556
|
/** Data format for response. */
|
|
3411
|
-
alt?:
|
|
3557
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3412
3558
|
/** JSONP */
|
|
3413
3559
|
callback?: string;
|
|
3414
3560
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3437,11 +3583,11 @@ declare namespace gapi.client {
|
|
|
3437
3583
|
/** Updates a Control. Control cannot be set to a different oneof field, if so an INVALID_ARGUMENT is returned. If the Control to update does not exist, a NOT_FOUND error is returned. */
|
|
3438
3584
|
patch(request: {
|
|
3439
3585
|
/** V1 error format. */
|
|
3440
|
-
'$.xgafv'?:
|
|
3586
|
+
'$.xgafv'?: '1' | '2';
|
|
3441
3587
|
/** OAuth access token. */
|
|
3442
3588
|
access_token?: string;
|
|
3443
3589
|
/** Data format for response. */
|
|
3444
|
-
alt?:
|
|
3590
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3445
3591
|
/** JSONP */
|
|
3446
3592
|
callback?: string;
|
|
3447
3593
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3468,11 +3614,11 @@ declare namespace gapi.client {
|
|
|
3468
3614
|
patch(
|
|
3469
3615
|
request: {
|
|
3470
3616
|
/** V1 error format. */
|
|
3471
|
-
'$.xgafv'?:
|
|
3617
|
+
'$.xgafv'?: '1' | '2';
|
|
3472
3618
|
/** OAuth access token. */
|
|
3473
3619
|
access_token?: string;
|
|
3474
3620
|
/** Data format for response. */
|
|
3475
|
-
alt?:
|
|
3621
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3476
3622
|
/** JSONP */
|
|
3477
3623
|
callback?: string;
|
|
3478
3624
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3501,11 +3647,11 @@ declare namespace gapi.client {
|
|
|
3501
3647
|
/** Allows management of multiple questions. */
|
|
3502
3648
|
batchUpdate(request: {
|
|
3503
3649
|
/** V1 error format. */
|
|
3504
|
-
'$.xgafv'?:
|
|
3650
|
+
'$.xgafv'?: '1' | '2';
|
|
3505
3651
|
/** OAuth access token. */
|
|
3506
3652
|
access_token?: string;
|
|
3507
3653
|
/** Data format for response. */
|
|
3508
|
-
alt?:
|
|
3654
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3509
3655
|
/** JSONP */
|
|
3510
3656
|
callback?: string;
|
|
3511
3657
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3530,11 +3676,11 @@ declare namespace gapi.client {
|
|
|
3530
3676
|
batchUpdate(
|
|
3531
3677
|
request: {
|
|
3532
3678
|
/** V1 error format. */
|
|
3533
|
-
'$.xgafv'?:
|
|
3679
|
+
'$.xgafv'?: '1' | '2';
|
|
3534
3680
|
/** OAuth access token. */
|
|
3535
3681
|
access_token?: string;
|
|
3536
3682
|
/** Data format for response. */
|
|
3537
|
-
alt?:
|
|
3683
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3538
3684
|
/** JSONP */
|
|
3539
3685
|
callback?: string;
|
|
3540
3686
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3561,11 +3707,11 @@ declare namespace gapi.client {
|
|
|
3561
3707
|
/** Returns all questions for a given catalog. */
|
|
3562
3708
|
list(request?: {
|
|
3563
3709
|
/** V1 error format. */
|
|
3564
|
-
'$.xgafv'?:
|
|
3710
|
+
'$.xgafv'?: '1' | '2';
|
|
3565
3711
|
/** OAuth access token. */
|
|
3566
3712
|
access_token?: string;
|
|
3567
3713
|
/** Data format for response. */
|
|
3568
|
-
alt?:
|
|
3714
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3569
3715
|
/** JSONP */
|
|
3570
3716
|
callback?: string;
|
|
3571
3717
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3590,11 +3736,11 @@ declare namespace gapi.client {
|
|
|
3590
3736
|
/** Creates a MerchantCenterAccountLink. */
|
|
3591
3737
|
create(request: {
|
|
3592
3738
|
/** V1 error format. */
|
|
3593
|
-
'$.xgafv'?:
|
|
3739
|
+
'$.xgafv'?: '1' | '2';
|
|
3594
3740
|
/** OAuth access token. */
|
|
3595
3741
|
access_token?: string;
|
|
3596
3742
|
/** Data format for response. */
|
|
3597
|
-
alt?:
|
|
3743
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3598
3744
|
/** JSONP */
|
|
3599
3745
|
callback?: string;
|
|
3600
3746
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3619,11 +3765,11 @@ declare namespace gapi.client {
|
|
|
3619
3765
|
create(
|
|
3620
3766
|
request: {
|
|
3621
3767
|
/** V1 error format. */
|
|
3622
|
-
'$.xgafv'?:
|
|
3768
|
+
'$.xgafv'?: '1' | '2';
|
|
3623
3769
|
/** OAuth access token. */
|
|
3624
3770
|
access_token?: string;
|
|
3625
3771
|
/** Data format for response. */
|
|
3626
|
-
alt?:
|
|
3772
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3627
3773
|
/** JSONP */
|
|
3628
3774
|
callback?: string;
|
|
3629
3775
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3648,11 +3794,11 @@ declare namespace gapi.client {
|
|
|
3648
3794
|
/** Deletes a MerchantCenterAccountLink. If the MerchantCenterAccountLink to delete does not exist, a NOT_FOUND error is returned. */
|
|
3649
3795
|
delete(request?: {
|
|
3650
3796
|
/** V1 error format. */
|
|
3651
|
-
'$.xgafv'?:
|
|
3797
|
+
'$.xgafv'?: '1' | '2';
|
|
3652
3798
|
/** OAuth access token. */
|
|
3653
3799
|
access_token?: string;
|
|
3654
3800
|
/** Data format for response. */
|
|
3655
|
-
alt?:
|
|
3801
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3656
3802
|
/** JSONP */
|
|
3657
3803
|
callback?: string;
|
|
3658
3804
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3675,11 +3821,11 @@ declare namespace gapi.client {
|
|
|
3675
3821
|
/** Lists all MerchantCenterAccountLinks under the specified parent Catalog. */
|
|
3676
3822
|
list(request?: {
|
|
3677
3823
|
/** V1 error format. */
|
|
3678
|
-
'$.xgafv'?:
|
|
3824
|
+
'$.xgafv'?: '1' | '2';
|
|
3679
3825
|
/** OAuth access token. */
|
|
3680
3826
|
access_token?: string;
|
|
3681
3827
|
/** Data format for response. */
|
|
3682
|
-
alt?:
|
|
3828
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3683
3829
|
/** JSONP */
|
|
3684
3830
|
callback?: string;
|
|
3685
3831
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3704,11 +3850,11 @@ declare namespace gapi.client {
|
|
|
3704
3850
|
/** Creates a new model. */
|
|
3705
3851
|
create(request: {
|
|
3706
3852
|
/** V1 error format. */
|
|
3707
|
-
'$.xgafv'?:
|
|
3853
|
+
'$.xgafv'?: '1' | '2';
|
|
3708
3854
|
/** OAuth access token. */
|
|
3709
3855
|
access_token?: string;
|
|
3710
3856
|
/** Data format for response. */
|
|
3711
|
-
alt?:
|
|
3857
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3712
3858
|
/** JSONP */
|
|
3713
3859
|
callback?: string;
|
|
3714
3860
|
/** Optional. Whether to run a dry run to validate the request (without actually creating the model). */
|
|
@@ -3735,11 +3881,11 @@ declare namespace gapi.client {
|
|
|
3735
3881
|
create(
|
|
3736
3882
|
request: {
|
|
3737
3883
|
/** V1 error format. */
|
|
3738
|
-
'$.xgafv'?:
|
|
3884
|
+
'$.xgafv'?: '1' | '2';
|
|
3739
3885
|
/** OAuth access token. */
|
|
3740
3886
|
access_token?: string;
|
|
3741
3887
|
/** Data format for response. */
|
|
3742
|
-
alt?:
|
|
3888
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3743
3889
|
/** JSONP */
|
|
3744
3890
|
callback?: string;
|
|
3745
3891
|
/** Optional. Whether to run a dry run to validate the request (without actually creating the model). */
|
|
@@ -3766,11 +3912,11 @@ declare namespace gapi.client {
|
|
|
3766
3912
|
/** Deletes an existing model. */
|
|
3767
3913
|
delete(request?: {
|
|
3768
3914
|
/** V1 error format. */
|
|
3769
|
-
'$.xgafv'?:
|
|
3915
|
+
'$.xgafv'?: '1' | '2';
|
|
3770
3916
|
/** OAuth access token. */
|
|
3771
3917
|
access_token?: string;
|
|
3772
3918
|
/** Data format for response. */
|
|
3773
|
-
alt?:
|
|
3919
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3774
3920
|
/** JSONP */
|
|
3775
3921
|
callback?: string;
|
|
3776
3922
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3793,11 +3939,11 @@ declare namespace gapi.client {
|
|
|
3793
3939
|
/** Gets a model. */
|
|
3794
3940
|
get(request?: {
|
|
3795
3941
|
/** V1 error format. */
|
|
3796
|
-
'$.xgafv'?:
|
|
3942
|
+
'$.xgafv'?: '1' | '2';
|
|
3797
3943
|
/** OAuth access token. */
|
|
3798
3944
|
access_token?: string;
|
|
3799
3945
|
/** Data format for response. */
|
|
3800
|
-
alt?:
|
|
3946
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3801
3947
|
/** JSONP */
|
|
3802
3948
|
callback?: string;
|
|
3803
3949
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3820,11 +3966,11 @@ declare namespace gapi.client {
|
|
|
3820
3966
|
/** Lists all the models linked to this event store. */
|
|
3821
3967
|
list(request?: {
|
|
3822
3968
|
/** V1 error format. */
|
|
3823
|
-
'$.xgafv'?:
|
|
3969
|
+
'$.xgafv'?: '1' | '2';
|
|
3824
3970
|
/** OAuth access token. */
|
|
3825
3971
|
access_token?: string;
|
|
3826
3972
|
/** Data format for response. */
|
|
3827
|
-
alt?:
|
|
3973
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3828
3974
|
/** JSONP */
|
|
3829
3975
|
callback?: string;
|
|
3830
3976
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3851,11 +3997,11 @@ declare namespace gapi.client {
|
|
|
3851
3997
|
/** Update of model metadata. Only fields that currently can be updated are: `filtering_option` and `periodic_tuning_state`. If other values are provided, this API method ignores them. */
|
|
3852
3998
|
patch(request: {
|
|
3853
3999
|
/** V1 error format. */
|
|
3854
|
-
'$.xgafv'?:
|
|
4000
|
+
'$.xgafv'?: '1' | '2';
|
|
3855
4001
|
/** OAuth access token. */
|
|
3856
4002
|
access_token?: string;
|
|
3857
4003
|
/** Data format for response. */
|
|
3858
|
-
alt?:
|
|
4004
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3859
4005
|
/** JSONP */
|
|
3860
4006
|
callback?: string;
|
|
3861
4007
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3882,11 +4028,11 @@ declare namespace gapi.client {
|
|
|
3882
4028
|
patch(
|
|
3883
4029
|
request: {
|
|
3884
4030
|
/** V1 error format. */
|
|
3885
|
-
'$.xgafv'?:
|
|
4031
|
+
'$.xgafv'?: '1' | '2';
|
|
3886
4032
|
/** OAuth access token. */
|
|
3887
4033
|
access_token?: string;
|
|
3888
4034
|
/** Data format for response. */
|
|
3889
|
-
alt?:
|
|
4035
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3890
4036
|
/** JSONP */
|
|
3891
4037
|
callback?: string;
|
|
3892
4038
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3913,11 +4059,11 @@ declare namespace gapi.client {
|
|
|
3913
4059
|
/** Pauses the training of an existing model. */
|
|
3914
4060
|
pause(request: {
|
|
3915
4061
|
/** V1 error format. */
|
|
3916
|
-
'$.xgafv'?:
|
|
4062
|
+
'$.xgafv'?: '1' | '2';
|
|
3917
4063
|
/** OAuth access token. */
|
|
3918
4064
|
access_token?: string;
|
|
3919
4065
|
/** Data format for response. */
|
|
3920
|
-
alt?:
|
|
4066
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3921
4067
|
/** JSONP */
|
|
3922
4068
|
callback?: string;
|
|
3923
4069
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3942,11 +4088,11 @@ declare namespace gapi.client {
|
|
|
3942
4088
|
pause(
|
|
3943
4089
|
request: {
|
|
3944
4090
|
/** V1 error format. */
|
|
3945
|
-
'$.xgafv'?:
|
|
4091
|
+
'$.xgafv'?: '1' | '2';
|
|
3946
4092
|
/** OAuth access token. */
|
|
3947
4093
|
access_token?: string;
|
|
3948
4094
|
/** Data format for response. */
|
|
3949
|
-
alt?:
|
|
4095
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3950
4096
|
/** JSONP */
|
|
3951
4097
|
callback?: string;
|
|
3952
4098
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3971,11 +4117,11 @@ declare namespace gapi.client {
|
|
|
3971
4117
|
/** Resumes the training of an existing model. */
|
|
3972
4118
|
resume(request: {
|
|
3973
4119
|
/** V1 error format. */
|
|
3974
|
-
'$.xgafv'?:
|
|
4120
|
+
'$.xgafv'?: '1' | '2';
|
|
3975
4121
|
/** OAuth access token. */
|
|
3976
4122
|
access_token?: string;
|
|
3977
4123
|
/** Data format for response. */
|
|
3978
|
-
alt?:
|
|
4124
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3979
4125
|
/** JSONP */
|
|
3980
4126
|
callback?: string;
|
|
3981
4127
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4000,11 +4146,11 @@ declare namespace gapi.client {
|
|
|
4000
4146
|
resume(
|
|
4001
4147
|
request: {
|
|
4002
4148
|
/** V1 error format. */
|
|
4003
|
-
'$.xgafv'?:
|
|
4149
|
+
'$.xgafv'?: '1' | '2';
|
|
4004
4150
|
/** OAuth access token. */
|
|
4005
4151
|
access_token?: string;
|
|
4006
4152
|
/** Data format for response. */
|
|
4007
|
-
alt?:
|
|
4153
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4008
4154
|
/** JSONP */
|
|
4009
4155
|
callback?: string;
|
|
4010
4156
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4029,11 +4175,11 @@ declare namespace gapi.client {
|
|
|
4029
4175
|
/** Tunes an existing model. */
|
|
4030
4176
|
tune(request: {
|
|
4031
4177
|
/** V1 error format. */
|
|
4032
|
-
'$.xgafv'?:
|
|
4178
|
+
'$.xgafv'?: '1' | '2';
|
|
4033
4179
|
/** OAuth access token. */
|
|
4034
4180
|
access_token?: string;
|
|
4035
4181
|
/** Data format for response. */
|
|
4036
|
-
alt?:
|
|
4182
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4037
4183
|
/** JSONP */
|
|
4038
4184
|
callback?: string;
|
|
4039
4185
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4058,11 +4204,11 @@ declare namespace gapi.client {
|
|
|
4058
4204
|
tune(
|
|
4059
4205
|
request: {
|
|
4060
4206
|
/** V1 error format. */
|
|
4061
|
-
'$.xgafv'?:
|
|
4207
|
+
'$.xgafv'?: '1' | '2';
|
|
4062
4208
|
/** OAuth access token. */
|
|
4063
4209
|
access_token?: string;
|
|
4064
4210
|
/** Data format for response. */
|
|
4065
|
-
alt?:
|
|
4211
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4066
4212
|
/** JSONP */
|
|
4067
4213
|
callback?: string;
|
|
4068
4214
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4089,11 +4235,11 @@ declare namespace gapi.client {
|
|
|
4089
4235
|
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
4090
4236
|
get(request?: {
|
|
4091
4237
|
/** V1 error format. */
|
|
4092
|
-
'$.xgafv'?:
|
|
4238
|
+
'$.xgafv'?: '1' | '2';
|
|
4093
4239
|
/** OAuth access token. */
|
|
4094
4240
|
access_token?: string;
|
|
4095
4241
|
/** Data format for response. */
|
|
4096
|
-
alt?:
|
|
4242
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4097
4243
|
/** JSONP */
|
|
4098
4244
|
callback?: string;
|
|
4099
4245
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4116,11 +4262,11 @@ declare namespace gapi.client {
|
|
|
4116
4262
|
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
4117
4263
|
list(request?: {
|
|
4118
4264
|
/** V1 error format. */
|
|
4119
|
-
'$.xgafv'?:
|
|
4265
|
+
'$.xgafv'?: '1' | '2';
|
|
4120
4266
|
/** OAuth access token. */
|
|
4121
4267
|
access_token?: string;
|
|
4122
4268
|
/** Data format for response. */
|
|
4123
|
-
alt?:
|
|
4269
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4124
4270
|
/** JSONP */
|
|
4125
4271
|
callback?: string;
|
|
4126
4272
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4153,11 +4299,11 @@ declare namespace gapi.client {
|
|
|
4153
4299
|
/** Performs a conversational search. This feature is only available for users who have Conversational Search enabled. */
|
|
4154
4300
|
conversationalSearch(request: {
|
|
4155
4301
|
/** V1 error format. */
|
|
4156
|
-
'$.xgafv'?:
|
|
4302
|
+
'$.xgafv'?: '1' | '2';
|
|
4157
4303
|
/** OAuth access token. */
|
|
4158
4304
|
access_token?: string;
|
|
4159
4305
|
/** Data format for response. */
|
|
4160
|
-
alt?:
|
|
4306
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4161
4307
|
/** JSONP */
|
|
4162
4308
|
callback?: string;
|
|
4163
4309
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4182,11 +4328,11 @@ declare namespace gapi.client {
|
|
|
4182
4328
|
conversationalSearch(
|
|
4183
4329
|
request: {
|
|
4184
4330
|
/** V1 error format. */
|
|
4185
|
-
'$.xgafv'?:
|
|
4331
|
+
'$.xgafv'?: '1' | '2';
|
|
4186
4332
|
/** OAuth access token. */
|
|
4187
4333
|
access_token?: string;
|
|
4188
4334
|
/** Data format for response. */
|
|
4189
|
-
alt?:
|
|
4335
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4190
4336
|
/** JSONP */
|
|
4191
4337
|
callback?: string;
|
|
4192
4338
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4211,11 +4357,11 @@ declare namespace gapi.client {
|
|
|
4211
4357
|
/** Makes a recommendation prediction. */
|
|
4212
4358
|
predict(request: {
|
|
4213
4359
|
/** V1 error format. */
|
|
4214
|
-
'$.xgafv'?:
|
|
4360
|
+
'$.xgafv'?: '1' | '2';
|
|
4215
4361
|
/** OAuth access token. */
|
|
4216
4362
|
access_token?: string;
|
|
4217
4363
|
/** Data format for response. */
|
|
4218
|
-
alt?:
|
|
4364
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4219
4365
|
/** JSONP */
|
|
4220
4366
|
callback?: string;
|
|
4221
4367
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4240,11 +4386,11 @@ declare namespace gapi.client {
|
|
|
4240
4386
|
predict(
|
|
4241
4387
|
request: {
|
|
4242
4388
|
/** V1 error format. */
|
|
4243
|
-
'$.xgafv'?:
|
|
4389
|
+
'$.xgafv'?: '1' | '2';
|
|
4244
4390
|
/** OAuth access token. */
|
|
4245
4391
|
access_token?: string;
|
|
4246
4392
|
/** Data format for response. */
|
|
4247
|
-
alt?:
|
|
4393
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4248
4394
|
/** JSONP */
|
|
4249
4395
|
callback?: string;
|
|
4250
4396
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4269,11 +4415,11 @@ declare namespace gapi.client {
|
|
|
4269
4415
|
/** Performs a search. This feature is only available for users who have Retail Search enabled. Enable Retail Search on Cloud Console before using this feature. */
|
|
4270
4416
|
search(request: {
|
|
4271
4417
|
/** V1 error format. */
|
|
4272
|
-
'$.xgafv'?:
|
|
4418
|
+
'$.xgafv'?: '1' | '2';
|
|
4273
4419
|
/** OAuth access token. */
|
|
4274
4420
|
access_token?: string;
|
|
4275
4421
|
/** Data format for response. */
|
|
4276
|
-
alt?:
|
|
4422
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4277
4423
|
/** JSONP */
|
|
4278
4424
|
callback?: string;
|
|
4279
4425
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4298,11 +4444,11 @@ declare namespace gapi.client {
|
|
|
4298
4444
|
search(
|
|
4299
4445
|
request: {
|
|
4300
4446
|
/** V1 error format. */
|
|
4301
|
-
'$.xgafv'?:
|
|
4447
|
+
'$.xgafv'?: '1' | '2';
|
|
4302
4448
|
/** OAuth access token. */
|
|
4303
4449
|
access_token?: string;
|
|
4304
4450
|
/** Data format for response. */
|
|
4305
|
-
alt?:
|
|
4451
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4306
4452
|
/** JSONP */
|
|
4307
4453
|
callback?: string;
|
|
4308
4454
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4329,11 +4475,11 @@ declare namespace gapi.client {
|
|
|
4329
4475
|
/** Enables a Control on the specified ServingConfig. The control is added in the last position of the list of controls it belongs to (e.g. if it's a facet spec control it will be applied in the last position of servingConfig.facetSpecIds) Returns a ALREADY_EXISTS error if the control has already been applied. Returns a FAILED_PRECONDITION error if the addition could exceed maximum number of control allowed for that type of control. */
|
|
4330
4476
|
addControl(request: {
|
|
4331
4477
|
/** V1 error format. */
|
|
4332
|
-
'$.xgafv'?:
|
|
4478
|
+
'$.xgafv'?: '1' | '2';
|
|
4333
4479
|
/** OAuth access token. */
|
|
4334
4480
|
access_token?: string;
|
|
4335
4481
|
/** Data format for response. */
|
|
4336
|
-
alt?:
|
|
4482
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4337
4483
|
/** JSONP */
|
|
4338
4484
|
callback?: string;
|
|
4339
4485
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4358,11 +4504,11 @@ declare namespace gapi.client {
|
|
|
4358
4504
|
addControl(
|
|
4359
4505
|
request: {
|
|
4360
4506
|
/** V1 error format. */
|
|
4361
|
-
'$.xgafv'?:
|
|
4507
|
+
'$.xgafv'?: '1' | '2';
|
|
4362
4508
|
/** OAuth access token. */
|
|
4363
4509
|
access_token?: string;
|
|
4364
4510
|
/** Data format for response. */
|
|
4365
|
-
alt?:
|
|
4511
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4366
4512
|
/** JSONP */
|
|
4367
4513
|
callback?: string;
|
|
4368
4514
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4387,11 +4533,11 @@ declare namespace gapi.client {
|
|
|
4387
4533
|
/** Performs a conversational search. This feature is only available for users who have Conversational Search enabled. */
|
|
4388
4534
|
conversationalSearch(request: {
|
|
4389
4535
|
/** V1 error format. */
|
|
4390
|
-
'$.xgafv'?:
|
|
4536
|
+
'$.xgafv'?: '1' | '2';
|
|
4391
4537
|
/** OAuth access token. */
|
|
4392
4538
|
access_token?: string;
|
|
4393
4539
|
/** Data format for response. */
|
|
4394
|
-
alt?:
|
|
4540
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4395
4541
|
/** JSONP */
|
|
4396
4542
|
callback?: string;
|
|
4397
4543
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4416,11 +4562,11 @@ declare namespace gapi.client {
|
|
|
4416
4562
|
conversationalSearch(
|
|
4417
4563
|
request: {
|
|
4418
4564
|
/** V1 error format. */
|
|
4419
|
-
'$.xgafv'?:
|
|
4565
|
+
'$.xgafv'?: '1' | '2';
|
|
4420
4566
|
/** OAuth access token. */
|
|
4421
4567
|
access_token?: string;
|
|
4422
4568
|
/** Data format for response. */
|
|
4423
|
-
alt?:
|
|
4569
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4424
4570
|
/** JSONP */
|
|
4425
4571
|
callback?: string;
|
|
4426
4572
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4445,11 +4591,11 @@ declare namespace gapi.client {
|
|
|
4445
4591
|
/** Creates a ServingConfig. A maximum of 100 ServingConfigs are allowed in a Catalog, otherwise a FAILED_PRECONDITION error is returned. */
|
|
4446
4592
|
create(request: {
|
|
4447
4593
|
/** V1 error format. */
|
|
4448
|
-
'$.xgafv'?:
|
|
4594
|
+
'$.xgafv'?: '1' | '2';
|
|
4449
4595
|
/** OAuth access token. */
|
|
4450
4596
|
access_token?: string;
|
|
4451
4597
|
/** Data format for response. */
|
|
4452
|
-
alt?:
|
|
4598
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4453
4599
|
/** JSONP */
|
|
4454
4600
|
callback?: string;
|
|
4455
4601
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4476,11 +4622,11 @@ declare namespace gapi.client {
|
|
|
4476
4622
|
create(
|
|
4477
4623
|
request: {
|
|
4478
4624
|
/** V1 error format. */
|
|
4479
|
-
'$.xgafv'?:
|
|
4625
|
+
'$.xgafv'?: '1' | '2';
|
|
4480
4626
|
/** OAuth access token. */
|
|
4481
4627
|
access_token?: string;
|
|
4482
4628
|
/** Data format for response. */
|
|
4483
|
-
alt?:
|
|
4629
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4484
4630
|
/** JSONP */
|
|
4485
4631
|
callback?: string;
|
|
4486
4632
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4507,11 +4653,11 @@ declare namespace gapi.client {
|
|
|
4507
4653
|
/** Deletes a ServingConfig. Returns a NotFound error if the ServingConfig does not exist. */
|
|
4508
4654
|
delete(request?: {
|
|
4509
4655
|
/** V1 error format. */
|
|
4510
|
-
'$.xgafv'?:
|
|
4656
|
+
'$.xgafv'?: '1' | '2';
|
|
4511
4657
|
/** OAuth access token. */
|
|
4512
4658
|
access_token?: string;
|
|
4513
4659
|
/** Data format for response. */
|
|
4514
|
-
alt?:
|
|
4660
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4515
4661
|
/** JSONP */
|
|
4516
4662
|
callback?: string;
|
|
4517
4663
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4534,11 +4680,11 @@ declare namespace gapi.client {
|
|
|
4534
4680
|
/** Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist. */
|
|
4535
4681
|
get(request?: {
|
|
4536
4682
|
/** V1 error format. */
|
|
4537
|
-
'$.xgafv'?:
|
|
4683
|
+
'$.xgafv'?: '1' | '2';
|
|
4538
4684
|
/** OAuth access token. */
|
|
4539
4685
|
access_token?: string;
|
|
4540
4686
|
/** Data format for response. */
|
|
4541
|
-
alt?:
|
|
4687
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4542
4688
|
/** JSONP */
|
|
4543
4689
|
callback?: string;
|
|
4544
4690
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4561,11 +4707,11 @@ declare namespace gapi.client {
|
|
|
4561
4707
|
/** Lists all ServingConfigs linked to this catalog. */
|
|
4562
4708
|
list(request?: {
|
|
4563
4709
|
/** V1 error format. */
|
|
4564
|
-
'$.xgafv'?:
|
|
4710
|
+
'$.xgafv'?: '1' | '2';
|
|
4565
4711
|
/** OAuth access token. */
|
|
4566
4712
|
access_token?: string;
|
|
4567
4713
|
/** Data format for response. */
|
|
4568
|
-
alt?:
|
|
4714
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4569
4715
|
/** JSONP */
|
|
4570
4716
|
callback?: string;
|
|
4571
4717
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4592,11 +4738,11 @@ declare namespace gapi.client {
|
|
|
4592
4738
|
/** Updates a ServingConfig. */
|
|
4593
4739
|
patch(request: {
|
|
4594
4740
|
/** V1 error format. */
|
|
4595
|
-
'$.xgafv'?:
|
|
4741
|
+
'$.xgafv'?: '1' | '2';
|
|
4596
4742
|
/** OAuth access token. */
|
|
4597
4743
|
access_token?: string;
|
|
4598
4744
|
/** Data format for response. */
|
|
4599
|
-
alt?:
|
|
4745
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4600
4746
|
/** JSONP */
|
|
4601
4747
|
callback?: string;
|
|
4602
4748
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4623,11 +4769,11 @@ declare namespace gapi.client {
|
|
|
4623
4769
|
patch(
|
|
4624
4770
|
request: {
|
|
4625
4771
|
/** V1 error format. */
|
|
4626
|
-
'$.xgafv'?:
|
|
4772
|
+
'$.xgafv'?: '1' | '2';
|
|
4627
4773
|
/** OAuth access token. */
|
|
4628
4774
|
access_token?: string;
|
|
4629
4775
|
/** Data format for response. */
|
|
4630
|
-
alt?:
|
|
4776
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4631
4777
|
/** JSONP */
|
|
4632
4778
|
callback?: string;
|
|
4633
4779
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4654,11 +4800,11 @@ declare namespace gapi.client {
|
|
|
4654
4800
|
/** Makes a recommendation prediction. */
|
|
4655
4801
|
predict(request: {
|
|
4656
4802
|
/** V1 error format. */
|
|
4657
|
-
'$.xgafv'?:
|
|
4803
|
+
'$.xgafv'?: '1' | '2';
|
|
4658
4804
|
/** OAuth access token. */
|
|
4659
4805
|
access_token?: string;
|
|
4660
4806
|
/** Data format for response. */
|
|
4661
|
-
alt?:
|
|
4807
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4662
4808
|
/** JSONP */
|
|
4663
4809
|
callback?: string;
|
|
4664
4810
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4683,11 +4829,11 @@ declare namespace gapi.client {
|
|
|
4683
4829
|
predict(
|
|
4684
4830
|
request: {
|
|
4685
4831
|
/** V1 error format. */
|
|
4686
|
-
'$.xgafv'?:
|
|
4832
|
+
'$.xgafv'?: '1' | '2';
|
|
4687
4833
|
/** OAuth access token. */
|
|
4688
4834
|
access_token?: string;
|
|
4689
4835
|
/** Data format for response. */
|
|
4690
|
-
alt?:
|
|
4836
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4691
4837
|
/** JSONP */
|
|
4692
4838
|
callback?: string;
|
|
4693
4839
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4712,11 +4858,11 @@ declare namespace gapi.client {
|
|
|
4712
4858
|
/** Disables a Control on the specified ServingConfig. The control is removed from the ServingConfig. Returns a NOT_FOUND error if the Control is not enabled for the ServingConfig. */
|
|
4713
4859
|
removeControl(request: {
|
|
4714
4860
|
/** V1 error format. */
|
|
4715
|
-
'$.xgafv'?:
|
|
4861
|
+
'$.xgafv'?: '1' | '2';
|
|
4716
4862
|
/** OAuth access token. */
|
|
4717
4863
|
access_token?: string;
|
|
4718
4864
|
/** Data format for response. */
|
|
4719
|
-
alt?:
|
|
4865
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4720
4866
|
/** JSONP */
|
|
4721
4867
|
callback?: string;
|
|
4722
4868
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4741,11 +4887,11 @@ declare namespace gapi.client {
|
|
|
4741
4887
|
removeControl(
|
|
4742
4888
|
request: {
|
|
4743
4889
|
/** V1 error format. */
|
|
4744
|
-
'$.xgafv'?:
|
|
4890
|
+
'$.xgafv'?: '1' | '2';
|
|
4745
4891
|
/** OAuth access token. */
|
|
4746
4892
|
access_token?: string;
|
|
4747
4893
|
/** Data format for response. */
|
|
4748
|
-
alt?:
|
|
4894
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4749
4895
|
/** JSONP */
|
|
4750
4896
|
callback?: string;
|
|
4751
4897
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4770,11 +4916,11 @@ declare namespace gapi.client {
|
|
|
4770
4916
|
/** Performs a search. This feature is only available for users who have Retail Search enabled. Enable Retail Search on Cloud Console before using this feature. */
|
|
4771
4917
|
search(request: {
|
|
4772
4918
|
/** V1 error format. */
|
|
4773
|
-
'$.xgafv'?:
|
|
4919
|
+
'$.xgafv'?: '1' | '2';
|
|
4774
4920
|
/** OAuth access token. */
|
|
4775
4921
|
access_token?: string;
|
|
4776
4922
|
/** Data format for response. */
|
|
4777
|
-
alt?:
|
|
4923
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4778
4924
|
/** JSONP */
|
|
4779
4925
|
callback?: string;
|
|
4780
4926
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4799,11 +4945,11 @@ declare namespace gapi.client {
|
|
|
4799
4945
|
search(
|
|
4800
4946
|
request: {
|
|
4801
4947
|
/** V1 error format. */
|
|
4802
|
-
'$.xgafv'?:
|
|
4948
|
+
'$.xgafv'?: '1' | '2';
|
|
4803
4949
|
/** OAuth access token. */
|
|
4804
4950
|
access_token?: string;
|
|
4805
4951
|
/** Data format for response. */
|
|
4806
|
-
alt?:
|
|
4952
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4807
4953
|
/** JSONP */
|
|
4808
4954
|
callback?: string;
|
|
4809
4955
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4830,11 +4976,11 @@ declare namespace gapi.client {
|
|
|
4830
4976
|
/** Writes a single user event from the browser. For larger user event payload over 16 KB, the POST method should be used instead, otherwise a 400 Bad Request error is returned. This method is used only by the Retail API JavaScript pixel and Google Tag Manager. Users should not call this method directly. */
|
|
4831
4977
|
collect(request: {
|
|
4832
4978
|
/** V1 error format. */
|
|
4833
|
-
'$.xgafv'?:
|
|
4979
|
+
'$.xgafv'?: '1' | '2';
|
|
4834
4980
|
/** OAuth access token. */
|
|
4835
4981
|
access_token?: string;
|
|
4836
4982
|
/** Data format for response. */
|
|
4837
|
-
alt?:
|
|
4983
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4838
4984
|
/** JSONP */
|
|
4839
4985
|
callback?: string;
|
|
4840
4986
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4859,11 +5005,11 @@ declare namespace gapi.client {
|
|
|
4859
5005
|
collect(
|
|
4860
5006
|
request: {
|
|
4861
5007
|
/** V1 error format. */
|
|
4862
|
-
'$.xgafv'?:
|
|
5008
|
+
'$.xgafv'?: '1' | '2';
|
|
4863
5009
|
/** OAuth access token. */
|
|
4864
5010
|
access_token?: string;
|
|
4865
5011
|
/** Data format for response. */
|
|
4866
|
-
alt?:
|
|
5012
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4867
5013
|
/** JSONP */
|
|
4868
5014
|
callback?: string;
|
|
4869
5015
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4888,11 +5034,11 @@ declare namespace gapi.client {
|
|
|
4888
5034
|
/** Exports user events. `Operation.response` is of type `ExportResponse`. `Operation.metadata` is of type `ExportMetadata`. */
|
|
4889
5035
|
export(request: {
|
|
4890
5036
|
/** V1 error format. */
|
|
4891
|
-
'$.xgafv'?:
|
|
5037
|
+
'$.xgafv'?: '1' | '2';
|
|
4892
5038
|
/** OAuth access token. */
|
|
4893
5039
|
access_token?: string;
|
|
4894
5040
|
/** Data format for response. */
|
|
4895
|
-
alt?:
|
|
5041
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4896
5042
|
/** JSONP */
|
|
4897
5043
|
callback?: string;
|
|
4898
5044
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4917,11 +5063,11 @@ declare namespace gapi.client {
|
|
|
4917
5063
|
export(
|
|
4918
5064
|
request: {
|
|
4919
5065
|
/** V1 error format. */
|
|
4920
|
-
'$.xgafv'?:
|
|
5066
|
+
'$.xgafv'?: '1' | '2';
|
|
4921
5067
|
/** OAuth access token. */
|
|
4922
5068
|
access_token?: string;
|
|
4923
5069
|
/** Data format for response. */
|
|
4924
|
-
alt?:
|
|
5070
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4925
5071
|
/** JSONP */
|
|
4926
5072
|
callback?: string;
|
|
4927
5073
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4946,11 +5092,11 @@ declare namespace gapi.client {
|
|
|
4946
5092
|
/** Bulk import of User events. Request processing might be synchronous. Events that already exist are skipped. Use this method for backfilling historical user events. `Operation.response` is of type `ImportResponse`. Note that it is possible for a subset of the items to be successfully inserted. `Operation.metadata` is of type `ImportMetadata`. */
|
|
4947
5093
|
import(request: {
|
|
4948
5094
|
/** V1 error format. */
|
|
4949
|
-
'$.xgafv'?:
|
|
5095
|
+
'$.xgafv'?: '1' | '2';
|
|
4950
5096
|
/** OAuth access token. */
|
|
4951
5097
|
access_token?: string;
|
|
4952
5098
|
/** Data format for response. */
|
|
4953
|
-
alt?:
|
|
5099
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4954
5100
|
/** JSONP */
|
|
4955
5101
|
callback?: string;
|
|
4956
5102
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -4975,11 +5121,11 @@ declare namespace gapi.client {
|
|
|
4975
5121
|
import(
|
|
4976
5122
|
request: {
|
|
4977
5123
|
/** V1 error format. */
|
|
4978
|
-
'$.xgafv'?:
|
|
5124
|
+
'$.xgafv'?: '1' | '2';
|
|
4979
5125
|
/** OAuth access token. */
|
|
4980
5126
|
access_token?: string;
|
|
4981
5127
|
/** Data format for response. */
|
|
4982
|
-
alt?:
|
|
5128
|
+
alt?: 'json' | 'media' | 'proto';
|
|
4983
5129
|
/** JSONP */
|
|
4984
5130
|
callback?: string;
|
|
4985
5131
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -5004,11 +5150,11 @@ declare namespace gapi.client {
|
|
|
5004
5150
|
/** Deletes permanently all user events specified by the filter provided. Depending on the number of events specified by the filter, this operation could take hours or days to complete. To test a filter, use the list command first. */
|
|
5005
5151
|
purge(request: {
|
|
5006
5152
|
/** V1 error format. */
|
|
5007
|
-
'$.xgafv'?:
|
|
5153
|
+
'$.xgafv'?: '1' | '2';
|
|
5008
5154
|
/** OAuth access token. */
|
|
5009
5155
|
access_token?: string;
|
|
5010
5156
|
/** Data format for response. */
|
|
5011
|
-
alt?:
|
|
5157
|
+
alt?: 'json' | 'media' | 'proto';
|
|
5012
5158
|
/** JSONP */
|
|
5013
5159
|
callback?: string;
|
|
5014
5160
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -5033,11 +5179,11 @@ declare namespace gapi.client {
|
|
|
5033
5179
|
purge(
|
|
5034
5180
|
request: {
|
|
5035
5181
|
/** V1 error format. */
|
|
5036
|
-
'$.xgafv'?:
|
|
5182
|
+
'$.xgafv'?: '1' | '2';
|
|
5037
5183
|
/** OAuth access token. */
|
|
5038
5184
|
access_token?: string;
|
|
5039
5185
|
/** Data format for response. */
|
|
5040
|
-
alt?:
|
|
5186
|
+
alt?: 'json' | 'media' | 'proto';
|
|
5041
5187
|
/** JSONP */
|
|
5042
5188
|
callback?: string;
|
|
5043
5189
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -5062,11 +5208,11 @@ declare namespace gapi.client {
|
|
|
5062
5208
|
/** Starts a user-event rejoin operation with latest product catalog. Events are not annotated with detailed product information for products that are missing from the catalog when the user event is ingested. These events are stored as unjoined events with limited usage on training and serving. You can use this method to start a join operation on specified events with the latest version of product catalog. You can also use this method to correct events joined with the wrong product catalog. A rejoin operation can take hours or days to complete. */
|
|
5063
5209
|
rejoin(request: {
|
|
5064
5210
|
/** V1 error format. */
|
|
5065
|
-
'$.xgafv'?:
|
|
5211
|
+
'$.xgafv'?: '1' | '2';
|
|
5066
5212
|
/** OAuth access token. */
|
|
5067
5213
|
access_token?: string;
|
|
5068
5214
|
/** Data format for response. */
|
|
5069
|
-
alt?:
|
|
5215
|
+
alt?: 'json' | 'media' | 'proto';
|
|
5070
5216
|
/** JSONP */
|
|
5071
5217
|
callback?: string;
|
|
5072
5218
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -5091,11 +5237,11 @@ declare namespace gapi.client {
|
|
|
5091
5237
|
rejoin(
|
|
5092
5238
|
request: {
|
|
5093
5239
|
/** V1 error format. */
|
|
5094
|
-
'$.xgafv'?:
|
|
5240
|
+
'$.xgafv'?: '1' | '2';
|
|
5095
5241
|
/** OAuth access token. */
|
|
5096
5242
|
access_token?: string;
|
|
5097
5243
|
/** Data format for response. */
|
|
5098
|
-
alt?:
|
|
5244
|
+
alt?: 'json' | 'media' | 'proto';
|
|
5099
5245
|
/** JSONP */
|
|
5100
5246
|
callback?: string;
|
|
5101
5247
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -5120,11 +5266,11 @@ declare namespace gapi.client {
|
|
|
5120
5266
|
/** Writes a single user event. */
|
|
5121
5267
|
write(request: {
|
|
5122
5268
|
/** V1 error format. */
|
|
5123
|
-
'$.xgafv'?:
|
|
5269
|
+
'$.xgafv'?: '1' | '2';
|
|
5124
5270
|
/** OAuth access token. */
|
|
5125
5271
|
access_token?: string;
|
|
5126
5272
|
/** Data format for response. */
|
|
5127
|
-
alt?:
|
|
5273
|
+
alt?: 'json' | 'media' | 'proto';
|
|
5128
5274
|
/** JSONP */
|
|
5129
5275
|
callback?: string;
|
|
5130
5276
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -5151,11 +5297,11 @@ declare namespace gapi.client {
|
|
|
5151
5297
|
write(
|
|
5152
5298
|
request: {
|
|
5153
5299
|
/** V1 error format. */
|
|
5154
|
-
'$.xgafv'?:
|
|
5300
|
+
'$.xgafv'?: '1' | '2';
|
|
5155
5301
|
/** OAuth access token. */
|
|
5156
5302
|
access_token?: string;
|
|
5157
5303
|
/** Data format for response. */
|
|
5158
|
-
alt?:
|
|
5304
|
+
alt?: 'json' | 'media' | 'proto';
|
|
5159
5305
|
/** JSONP */
|
|
5160
5306
|
callback?: string;
|
|
5161
5307
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -5184,11 +5330,11 @@ declare namespace gapi.client {
|
|
|
5184
5330
|
/** Completes the specified prefix with keyword suggestions. This feature is only available for users who have Retail Search enabled. Enable Retail Search on Cloud Console before using this feature. */
|
|
5185
5331
|
completeQuery(request?: {
|
|
5186
5332
|
/** V1 error format. */
|
|
5187
|
-
'$.xgafv'?:
|
|
5333
|
+
'$.xgafv'?: '1' | '2';
|
|
5188
5334
|
/** OAuth access token. */
|
|
5189
5335
|
access_token?: string;
|
|
5190
5336
|
/** Data format for response. */
|
|
5191
|
-
alt?:
|
|
5337
|
+
alt?: 'json' | 'media' | 'proto';
|
|
5192
5338
|
/** JSONP */
|
|
5193
5339
|
callback?: string;
|
|
5194
5340
|
/** Required. Catalog for which the completion is performed. Full resource name of catalog, such as `projects/*/locations/global/catalogs/default_catalog`. */
|
|
@@ -5227,11 +5373,11 @@ declare namespace gapi.client {
|
|
|
5227
5373
|
/** Exports analytics metrics. `Operation.response` is of type `ExportAnalyticsMetricsResponse`. `Operation.metadata` is of type `ExportMetadata`. */
|
|
5228
5374
|
exportAnalyticsMetrics(request: {
|
|
5229
5375
|
/** V1 error format. */
|
|
5230
|
-
'$.xgafv'?:
|
|
5376
|
+
'$.xgafv'?: '1' | '2';
|
|
5231
5377
|
/** OAuth access token. */
|
|
5232
5378
|
access_token?: string;
|
|
5233
5379
|
/** Data format for response. */
|
|
5234
|
-
alt?:
|
|
5380
|
+
alt?: 'json' | 'media' | 'proto';
|
|
5235
5381
|
/** JSONP */
|
|
5236
5382
|
callback?: string;
|
|
5237
5383
|
/** Required. Full resource name of the parent catalog. Expected format: `projects/*/locations/*/catalogs/*` */
|
|
@@ -5256,11 +5402,11 @@ declare namespace gapi.client {
|
|
|
5256
5402
|
exportAnalyticsMetrics(
|
|
5257
5403
|
request: {
|
|
5258
5404
|
/** V1 error format. */
|
|
5259
|
-
'$.xgafv'?:
|
|
5405
|
+
'$.xgafv'?: '1' | '2';
|
|
5260
5406
|
/** OAuth access token. */
|
|
5261
5407
|
access_token?: string;
|
|
5262
5408
|
/** Data format for response. */
|
|
5263
|
-
alt?:
|
|
5409
|
+
alt?: 'json' | 'media' | 'proto';
|
|
5264
5410
|
/** JSONP */
|
|
5265
5411
|
callback?: string;
|
|
5266
5412
|
/** Required. Full resource name of the parent catalog. Expected format: `projects/*/locations/*/catalogs/*` */
|
|
@@ -5285,11 +5431,11 @@ declare namespace gapi.client {
|
|
|
5285
5431
|
/** Gets an AttributesConfig. */
|
|
5286
5432
|
getAttributesConfig(request?: {
|
|
5287
5433
|
/** V1 error format. */
|
|
5288
|
-
'$.xgafv'?:
|
|
5434
|
+
'$.xgafv'?: '1' | '2';
|
|
5289
5435
|
/** OAuth access token. */
|
|
5290
5436
|
access_token?: string;
|
|
5291
5437
|
/** Data format for response. */
|
|
5292
|
-
alt?:
|
|
5438
|
+
alt?: 'json' | 'media' | 'proto';
|
|
5293
5439
|
/** JSONP */
|
|
5294
5440
|
callback?: string;
|
|
5295
5441
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -5312,11 +5458,11 @@ declare namespace gapi.client {
|
|
|
5312
5458
|
/** Gets a CompletionConfig. */
|
|
5313
5459
|
getCompletionConfig(request?: {
|
|
5314
5460
|
/** V1 error format. */
|
|
5315
|
-
'$.xgafv'?:
|
|
5461
|
+
'$.xgafv'?: '1' | '2';
|
|
5316
5462
|
/** OAuth access token. */
|
|
5317
5463
|
access_token?: string;
|
|
5318
5464
|
/** Data format for response. */
|
|
5319
|
-
alt?:
|
|
5465
|
+
alt?: 'json' | 'media' | 'proto';
|
|
5320
5466
|
/** JSONP */
|
|
5321
5467
|
callback?: string;
|
|
5322
5468
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -5339,11 +5485,11 @@ declare namespace gapi.client {
|
|
|
5339
5485
|
/** Returns the conversational search customization config for a given catalog. */
|
|
5340
5486
|
getConversationalSearchCustomizationConfig(request?: {
|
|
5341
5487
|
/** V1 error format. */
|
|
5342
|
-
'$.xgafv'?:
|
|
5488
|
+
'$.xgafv'?: '1' | '2';
|
|
5343
5489
|
/** OAuth access token. */
|
|
5344
5490
|
access_token?: string;
|
|
5345
5491
|
/** Data format for response. */
|
|
5346
|
-
alt?:
|
|
5492
|
+
alt?: 'json' | 'media' | 'proto';
|
|
5347
5493
|
/** JSONP */
|
|
5348
5494
|
callback?: string;
|
|
5349
5495
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -5366,11 +5512,11 @@ declare namespace gapi.client {
|
|
|
5366
5512
|
/** Get which branch is currently default branch set by CatalogService.SetDefaultBranch method under a specified parent catalog. */
|
|
5367
5513
|
getDefaultBranch(request?: {
|
|
5368
5514
|
/** V1 error format. */
|
|
5369
|
-
'$.xgafv'?:
|
|
5515
|
+
'$.xgafv'?: '1' | '2';
|
|
5370
5516
|
/** OAuth access token. */
|
|
5371
5517
|
access_token?: string;
|
|
5372
5518
|
/** Data format for response. */
|
|
5373
|
-
alt?:
|
|
5519
|
+
alt?: 'json' | 'media' | 'proto';
|
|
5374
5520
|
/** JSONP */
|
|
5375
5521
|
callback?: string;
|
|
5376
5522
|
/** The parent catalog resource name, such as `projects/*/locations/global/catalogs/default_catalog`. */
|
|
@@ -5393,11 +5539,11 @@ declare namespace gapi.client {
|
|
|
5393
5539
|
/** Manages overal generative question feature state -- enables toggling feature on and off. */
|
|
5394
5540
|
getGenerativeQuestionFeature(request?: {
|
|
5395
5541
|
/** V1 error format. */
|
|
5396
|
-
'$.xgafv'?:
|
|
5542
|
+
'$.xgafv'?: '1' | '2';
|
|
5397
5543
|
/** OAuth access token. */
|
|
5398
5544
|
access_token?: string;
|
|
5399
5545
|
/** Data format for response. */
|
|
5400
|
-
alt?:
|
|
5546
|
+
alt?: 'json' | 'media' | 'proto';
|
|
5401
5547
|
/** JSONP */
|
|
5402
5548
|
callback?: string;
|
|
5403
5549
|
/** Required. Resource name of the parent catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog} */
|
|
@@ -5420,11 +5566,11 @@ declare namespace gapi.client {
|
|
|
5420
5566
|
/** Lists all the Catalogs associated with the project. */
|
|
5421
5567
|
list(request?: {
|
|
5422
5568
|
/** V1 error format. */
|
|
5423
|
-
'$.xgafv'?:
|
|
5569
|
+
'$.xgafv'?: '1' | '2';
|
|
5424
5570
|
/** OAuth access token. */
|
|
5425
5571
|
access_token?: string;
|
|
5426
5572
|
/** Data format for response. */
|
|
5427
|
-
alt?:
|
|
5573
|
+
alt?: 'json' | 'media' | 'proto';
|
|
5428
5574
|
/** JSONP */
|
|
5429
5575
|
callback?: string;
|
|
5430
5576
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -5451,11 +5597,11 @@ declare namespace gapi.client {
|
|
|
5451
5597
|
/** Updates the Catalogs. */
|
|
5452
5598
|
patch(request: {
|
|
5453
5599
|
/** V1 error format. */
|
|
5454
|
-
'$.xgafv'?:
|
|
5600
|
+
'$.xgafv'?: '1' | '2';
|
|
5455
5601
|
/** OAuth access token. */
|
|
5456
5602
|
access_token?: string;
|
|
5457
5603
|
/** Data format for response. */
|
|
5458
|
-
alt?:
|
|
5604
|
+
alt?: 'json' | 'media' | 'proto';
|
|
5459
5605
|
/** JSONP */
|
|
5460
5606
|
callback?: string;
|
|
5461
5607
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -5482,11 +5628,11 @@ declare namespace gapi.client {
|
|
|
5482
5628
|
patch(
|
|
5483
5629
|
request: {
|
|
5484
5630
|
/** V1 error format. */
|
|
5485
|
-
'$.xgafv'?:
|
|
5631
|
+
'$.xgafv'?: '1' | '2';
|
|
5486
5632
|
/** OAuth access token. */
|
|
5487
5633
|
access_token?: string;
|
|
5488
5634
|
/** Data format for response. */
|
|
5489
|
-
alt?:
|
|
5635
|
+
alt?: 'json' | 'media' | 'proto';
|
|
5490
5636
|
/** JSONP */
|
|
5491
5637
|
callback?: string;
|
|
5492
5638
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -5513,11 +5659,11 @@ declare namespace gapi.client {
|
|
|
5513
5659
|
/** Set a specified branch id as default branch. API methods such as SearchService.Search, ProductService.GetProduct, ProductService.ListProducts will treat requests using "default_branch" to the actual branch id set as default. For example, if `projects/*/locations/*/catalogs/*/branches/1` is set as default, setting SearchRequest.branch to `projects/*/locations/*/catalogs/*/branches/default_branch` is equivalent to setting SearchRequest.branch to `projects/*/locations/*/catalogs/*/branches/1`. Using multiple branches can be useful when developers would like to have a staging branch to test and verify for future usage. When it becomes ready, developers switch on the staging branch using this API while keeping using `projects/*/locations/*/catalogs/*/branches/default_branch` as SearchRequest.branch to route the traffic to this staging branch. CAUTION: If you have live predict/search traffic, switching the default branch could potentially cause outages if the ID space of the new branch is very different from the old one. More specifically: * PredictionService will only return product IDs from branch {newBranch}. * SearchService will only return product IDs from branch {newBranch} (if branch is not explicitly set). * UserEventService will only join events with products from branch {newBranch}. */
|
|
5514
5660
|
setDefaultBranch(request: {
|
|
5515
5661
|
/** V1 error format. */
|
|
5516
|
-
'$.xgafv'?:
|
|
5662
|
+
'$.xgafv'?: '1' | '2';
|
|
5517
5663
|
/** OAuth access token. */
|
|
5518
5664
|
access_token?: string;
|
|
5519
5665
|
/** Data format for response. */
|
|
5520
|
-
alt?:
|
|
5666
|
+
alt?: 'json' | 'media' | 'proto';
|
|
5521
5667
|
/** JSONP */
|
|
5522
5668
|
callback?: string;
|
|
5523
5669
|
/** Full resource name of the catalog, such as `projects/*/locations/global/catalogs/default_catalog`. */
|
|
@@ -5542,11 +5688,11 @@ declare namespace gapi.client {
|
|
|
5542
5688
|
setDefaultBranch(
|
|
5543
5689
|
request: {
|
|
5544
5690
|
/** V1 error format. */
|
|
5545
|
-
'$.xgafv'?:
|
|
5691
|
+
'$.xgafv'?: '1' | '2';
|
|
5546
5692
|
/** OAuth access token. */
|
|
5547
5693
|
access_token?: string;
|
|
5548
5694
|
/** Data format for response. */
|
|
5549
|
-
alt?:
|
|
5695
|
+
alt?: 'json' | 'media' | 'proto';
|
|
5550
5696
|
/** JSONP */
|
|
5551
5697
|
callback?: string;
|
|
5552
5698
|
/** Full resource name of the catalog, such as `projects/*/locations/global/catalogs/default_catalog`. */
|
|
@@ -5571,11 +5717,11 @@ declare namespace gapi.client {
|
|
|
5571
5717
|
/** Updates the AttributesConfig. The catalog attributes in the request will be updated in the catalog, or inserted if they do not exist. Existing catalog attributes not included in the request will remain unchanged. Attributes that are assigned to products, but do not exist at the catalog level, are always included in the response. The product attribute is assigned default values for missing catalog attribute fields, e.g., searchable and dynamic facetable options. */
|
|
5572
5718
|
updateAttributesConfig(request: {
|
|
5573
5719
|
/** V1 error format. */
|
|
5574
|
-
'$.xgafv'?:
|
|
5720
|
+
'$.xgafv'?: '1' | '2';
|
|
5575
5721
|
/** OAuth access token. */
|
|
5576
5722
|
access_token?: string;
|
|
5577
5723
|
/** Data format for response. */
|
|
5578
|
-
alt?:
|
|
5724
|
+
alt?: 'json' | 'media' | 'proto';
|
|
5579
5725
|
/** JSONP */
|
|
5580
5726
|
callback?: string;
|
|
5581
5727
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -5602,11 +5748,11 @@ declare namespace gapi.client {
|
|
|
5602
5748
|
updateAttributesConfig(
|
|
5603
5749
|
request: {
|
|
5604
5750
|
/** V1 error format. */
|
|
5605
|
-
'$.xgafv'?:
|
|
5751
|
+
'$.xgafv'?: '1' | '2';
|
|
5606
5752
|
/** OAuth access token. */
|
|
5607
5753
|
access_token?: string;
|
|
5608
5754
|
/** Data format for response. */
|
|
5609
|
-
alt?:
|
|
5755
|
+
alt?: 'json' | 'media' | 'proto';
|
|
5610
5756
|
/** JSONP */
|
|
5611
5757
|
callback?: string;
|
|
5612
5758
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -5633,11 +5779,11 @@ declare namespace gapi.client {
|
|
|
5633
5779
|
/** Updates the CompletionConfigs. */
|
|
5634
5780
|
updateCompletionConfig(request: {
|
|
5635
5781
|
/** V1 error format. */
|
|
5636
|
-
'$.xgafv'?:
|
|
5782
|
+
'$.xgafv'?: '1' | '2';
|
|
5637
5783
|
/** OAuth access token. */
|
|
5638
5784
|
access_token?: string;
|
|
5639
5785
|
/** Data format for response. */
|
|
5640
|
-
alt?:
|
|
5786
|
+
alt?: 'json' | 'media' | 'proto';
|
|
5641
5787
|
/** JSONP */
|
|
5642
5788
|
callback?: string;
|
|
5643
5789
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -5664,11 +5810,11 @@ declare namespace gapi.client {
|
|
|
5664
5810
|
updateCompletionConfig(
|
|
5665
5811
|
request: {
|
|
5666
5812
|
/** V1 error format. */
|
|
5667
|
-
'$.xgafv'?:
|
|
5813
|
+
'$.xgafv'?: '1' | '2';
|
|
5668
5814
|
/** OAuth access token. */
|
|
5669
5815
|
access_token?: string;
|
|
5670
5816
|
/** Data format for response. */
|
|
5671
|
-
alt?:
|
|
5817
|
+
alt?: 'json' | 'media' | 'proto';
|
|
5672
5818
|
/** JSONP */
|
|
5673
5819
|
callback?: string;
|
|
5674
5820
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -5695,11 +5841,11 @@ declare namespace gapi.client {
|
|
|
5695
5841
|
/** Updates the conversational search customization config for a given catalog. */
|
|
5696
5842
|
updateConversationalSearchCustomizationConfig(request: {
|
|
5697
5843
|
/** V1 error format. */
|
|
5698
|
-
'$.xgafv'?:
|
|
5844
|
+
'$.xgafv'?: '1' | '2';
|
|
5699
5845
|
/** OAuth access token. */
|
|
5700
5846
|
access_token?: string;
|
|
5701
5847
|
/** Data format for response. */
|
|
5702
|
-
alt?:
|
|
5848
|
+
alt?: 'json' | 'media' | 'proto';
|
|
5703
5849
|
/** JSONP */
|
|
5704
5850
|
callback?: string;
|
|
5705
5851
|
/** Required. Resource name of the catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog} */
|
|
@@ -5726,11 +5872,11 @@ declare namespace gapi.client {
|
|
|
5726
5872
|
updateConversationalSearchCustomizationConfig(
|
|
5727
5873
|
request: {
|
|
5728
5874
|
/** V1 error format. */
|
|
5729
|
-
'$.xgafv'?:
|
|
5875
|
+
'$.xgafv'?: '1' | '2';
|
|
5730
5876
|
/** OAuth access token. */
|
|
5731
5877
|
access_token?: string;
|
|
5732
5878
|
/** Data format for response. */
|
|
5733
|
-
alt?:
|
|
5879
|
+
alt?: 'json' | 'media' | 'proto';
|
|
5734
5880
|
/** JSONP */
|
|
5735
5881
|
callback?: string;
|
|
5736
5882
|
/** Required. Resource name of the catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog} */
|
|
@@ -5757,11 +5903,11 @@ declare namespace gapi.client {
|
|
|
5757
5903
|
/** Allows management of individual questions. */
|
|
5758
5904
|
updateGenerativeQuestion(request: {
|
|
5759
5905
|
/** V1 error format. */
|
|
5760
|
-
'$.xgafv'?:
|
|
5906
|
+
'$.xgafv'?: '1' | '2';
|
|
5761
5907
|
/** OAuth access token. */
|
|
5762
5908
|
access_token?: string;
|
|
5763
5909
|
/** Data format for response. */
|
|
5764
|
-
alt?:
|
|
5910
|
+
alt?: 'json' | 'media' | 'proto';
|
|
5765
5911
|
/** JSONP */
|
|
5766
5912
|
callback?: string;
|
|
5767
5913
|
/** Required. Resource name of the catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog} */
|
|
@@ -5788,11 +5934,11 @@ declare namespace gapi.client {
|
|
|
5788
5934
|
updateGenerativeQuestion(
|
|
5789
5935
|
request: {
|
|
5790
5936
|
/** V1 error format. */
|
|
5791
|
-
'$.xgafv'?:
|
|
5937
|
+
'$.xgafv'?: '1' | '2';
|
|
5792
5938
|
/** OAuth access token. */
|
|
5793
5939
|
access_token?: string;
|
|
5794
5940
|
/** Data format for response. */
|
|
5795
|
-
alt?:
|
|
5941
|
+
alt?: 'json' | 'media' | 'proto';
|
|
5796
5942
|
/** JSONP */
|
|
5797
5943
|
callback?: string;
|
|
5798
5944
|
/** Required. Resource name of the catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog} */
|
|
@@ -5819,11 +5965,11 @@ declare namespace gapi.client {
|
|
|
5819
5965
|
/** Manages overal generative question feature state -- enables toggling feature on and off. */
|
|
5820
5966
|
updateGenerativeQuestionFeature(request: {
|
|
5821
5967
|
/** V1 error format. */
|
|
5822
|
-
'$.xgafv'?:
|
|
5968
|
+
'$.xgafv'?: '1' | '2';
|
|
5823
5969
|
/** OAuth access token. */
|
|
5824
5970
|
access_token?: string;
|
|
5825
5971
|
/** Data format for response. */
|
|
5826
|
-
alt?:
|
|
5972
|
+
alt?: 'json' | 'media' | 'proto';
|
|
5827
5973
|
/** JSONP */
|
|
5828
5974
|
callback?: string;
|
|
5829
5975
|
/** Required. Resource name of the affected catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog} */
|
|
@@ -5850,11 +5996,11 @@ declare namespace gapi.client {
|
|
|
5850
5996
|
updateGenerativeQuestionFeature(
|
|
5851
5997
|
request: {
|
|
5852
5998
|
/** V1 error format. */
|
|
5853
|
-
'$.xgafv'?:
|
|
5999
|
+
'$.xgafv'?: '1' | '2';
|
|
5854
6000
|
/** OAuth access token. */
|
|
5855
6001
|
access_token?: string;
|
|
5856
6002
|
/** Data format for response. */
|
|
5857
|
-
alt?:
|
|
6003
|
+
alt?: 'json' | 'media' | 'proto';
|
|
5858
6004
|
/** JSONP */
|
|
5859
6005
|
callback?: string;
|
|
5860
6006
|
/** Required. Resource name of the affected catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog} */
|
|
@@ -5895,11 +6041,11 @@ declare namespace gapi.client {
|
|
|
5895
6041
|
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
5896
6042
|
get(request?: {
|
|
5897
6043
|
/** V1 error format. */
|
|
5898
|
-
'$.xgafv'?:
|
|
6044
|
+
'$.xgafv'?: '1' | '2';
|
|
5899
6045
|
/** OAuth access token. */
|
|
5900
6046
|
access_token?: string;
|
|
5901
6047
|
/** Data format for response. */
|
|
5902
|
-
alt?:
|
|
6048
|
+
alt?: 'json' | 'media' | 'proto';
|
|
5903
6049
|
/** JSONP */
|
|
5904
6050
|
callback?: string;
|
|
5905
6051
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -5922,11 +6068,11 @@ declare namespace gapi.client {
|
|
|
5922
6068
|
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
5923
6069
|
list(request?: {
|
|
5924
6070
|
/** V1 error format. */
|
|
5925
|
-
'$.xgafv'?:
|
|
6071
|
+
'$.xgafv'?: '1' | '2';
|
|
5926
6072
|
/** OAuth access token. */
|
|
5927
6073
|
access_token?: string;
|
|
5928
6074
|
/** Data format for response. */
|
|
5929
|
-
alt?:
|
|
6075
|
+
alt?: 'json' | 'media' | 'proto';
|
|
5930
6076
|
/** JSONP */
|
|
5931
6077
|
callback?: string;
|
|
5932
6078
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -5963,11 +6109,11 @@ declare namespace gapi.client {
|
|
|
5963
6109
|
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
5964
6110
|
get(request?: {
|
|
5965
6111
|
/** V1 error format. */
|
|
5966
|
-
'$.xgafv'?:
|
|
6112
|
+
'$.xgafv'?: '1' | '2';
|
|
5967
6113
|
/** OAuth access token. */
|
|
5968
6114
|
access_token?: string;
|
|
5969
6115
|
/** Data format for response. */
|
|
5970
|
-
alt?:
|
|
6116
|
+
alt?: 'json' | 'media' | 'proto';
|
|
5971
6117
|
/** JSONP */
|
|
5972
6118
|
callback?: string;
|
|
5973
6119
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -5990,11 +6136,11 @@ declare namespace gapi.client {
|
|
|
5990
6136
|
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
5991
6137
|
list(request?: {
|
|
5992
6138
|
/** V1 error format. */
|
|
5993
|
-
'$.xgafv'?:
|
|
6139
|
+
'$.xgafv'?: '1' | '2';
|
|
5994
6140
|
/** OAuth access token. */
|
|
5995
6141
|
access_token?: string;
|
|
5996
6142
|
/** Data format for response. */
|
|
5997
|
-
alt?:
|
|
6143
|
+
alt?: 'json' | 'media' | 'proto';
|
|
5998
6144
|
/** JSONP */
|
|
5999
6145
|
callback?: string;
|
|
6000
6146
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -6027,11 +6173,11 @@ declare namespace gapi.client {
|
|
|
6027
6173
|
/** Accepts service terms for this project. By making requests to this API, you agree to the terms of service linked below. https://cloud.google.com/retail/data-use-terms */
|
|
6028
6174
|
acceptTerms(request: {
|
|
6029
6175
|
/** V1 error format. */
|
|
6030
|
-
'$.xgafv'?:
|
|
6176
|
+
'$.xgafv'?: '1' | '2';
|
|
6031
6177
|
/** OAuth access token. */
|
|
6032
6178
|
access_token?: string;
|
|
6033
6179
|
/** Data format for response. */
|
|
6034
|
-
alt?:
|
|
6180
|
+
alt?: 'json' | 'media' | 'proto';
|
|
6035
6181
|
/** JSONP */
|
|
6036
6182
|
callback?: string;
|
|
6037
6183
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -6056,11 +6202,11 @@ declare namespace gapi.client {
|
|
|
6056
6202
|
acceptTerms(
|
|
6057
6203
|
request: {
|
|
6058
6204
|
/** V1 error format. */
|
|
6059
|
-
'$.xgafv'?:
|
|
6205
|
+
'$.xgafv'?: '1' | '2';
|
|
6060
6206
|
/** OAuth access token. */
|
|
6061
6207
|
access_token?: string;
|
|
6062
6208
|
/** Data format for response. */
|
|
6063
|
-
alt?:
|
|
6209
|
+
alt?: 'json' | 'media' | 'proto';
|
|
6064
6210
|
/** JSONP */
|
|
6065
6211
|
callback?: string;
|
|
6066
6212
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -6087,11 +6233,11 @@ declare namespace gapi.client {
|
|
|
6087
6233
|
/** The method enrolls a solution of type Retail Search into a project. The Recommendations AI solution type is enrolled by default when your project enables Retail API, so you don't need to call the enrollSolution method for recommendations. */
|
|
6088
6234
|
enrollSolution(request: {
|
|
6089
6235
|
/** V1 error format. */
|
|
6090
|
-
'$.xgafv'?:
|
|
6236
|
+
'$.xgafv'?: '1' | '2';
|
|
6091
6237
|
/** OAuth access token. */
|
|
6092
6238
|
access_token?: string;
|
|
6093
6239
|
/** Data format for response. */
|
|
6094
|
-
alt?:
|
|
6240
|
+
alt?: 'json' | 'media' | 'proto';
|
|
6095
6241
|
/** JSONP */
|
|
6096
6242
|
callback?: string;
|
|
6097
6243
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -6116,11 +6262,11 @@ declare namespace gapi.client {
|
|
|
6116
6262
|
enrollSolution(
|
|
6117
6263
|
request: {
|
|
6118
6264
|
/** V1 error format. */
|
|
6119
|
-
'$.xgafv'?:
|
|
6265
|
+
'$.xgafv'?: '1' | '2';
|
|
6120
6266
|
/** OAuth access token. */
|
|
6121
6267
|
access_token?: string;
|
|
6122
6268
|
/** Data format for response. */
|
|
6123
|
-
alt?:
|
|
6269
|
+
alt?: 'json' | 'media' | 'proto';
|
|
6124
6270
|
/** JSONP */
|
|
6125
6271
|
callback?: string;
|
|
6126
6272
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -6145,11 +6291,11 @@ declare namespace gapi.client {
|
|
|
6145
6291
|
/** Get the AlertConfig of the requested project. */
|
|
6146
6292
|
getAlertConfig(request?: {
|
|
6147
6293
|
/** V1 error format. */
|
|
6148
|
-
'$.xgafv'?:
|
|
6294
|
+
'$.xgafv'?: '1' | '2';
|
|
6149
6295
|
/** OAuth access token. */
|
|
6150
6296
|
access_token?: string;
|
|
6151
6297
|
/** Data format for response. */
|
|
6152
|
-
alt?:
|
|
6298
|
+
alt?: 'json' | 'media' | 'proto';
|
|
6153
6299
|
/** JSONP */
|
|
6154
6300
|
callback?: string;
|
|
6155
6301
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -6172,11 +6318,11 @@ declare namespace gapi.client {
|
|
|
6172
6318
|
/** Gets the LoggingConfig of the requested project. */
|
|
6173
6319
|
getLoggingConfig(request?: {
|
|
6174
6320
|
/** V1 error format. */
|
|
6175
|
-
'$.xgafv'?:
|
|
6321
|
+
'$.xgafv'?: '1' | '2';
|
|
6176
6322
|
/** OAuth access token. */
|
|
6177
6323
|
access_token?: string;
|
|
6178
6324
|
/** Data format for response. */
|
|
6179
|
-
alt?:
|
|
6325
|
+
alt?: 'json' | 'media' | 'proto';
|
|
6180
6326
|
/** JSONP */
|
|
6181
6327
|
callback?: string;
|
|
6182
6328
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -6199,11 +6345,11 @@ declare namespace gapi.client {
|
|
|
6199
6345
|
/** Gets the project. Throws `NOT_FOUND` if the project wasn't initialized for the Retail API service. */
|
|
6200
6346
|
getRetailProject(request?: {
|
|
6201
6347
|
/** V1 error format. */
|
|
6202
|
-
'$.xgafv'?:
|
|
6348
|
+
'$.xgafv'?: '1' | '2';
|
|
6203
6349
|
/** OAuth access token. */
|
|
6204
6350
|
access_token?: string;
|
|
6205
6351
|
/** Data format for response. */
|
|
6206
|
-
alt?:
|
|
6352
|
+
alt?: 'json' | 'media' | 'proto';
|
|
6207
6353
|
/** JSONP */
|
|
6208
6354
|
callback?: string;
|
|
6209
6355
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -6226,11 +6372,11 @@ declare namespace gapi.client {
|
|
|
6226
6372
|
/** Lists all the retail API solutions the project has enrolled. */
|
|
6227
6373
|
listEnrolledSolutions(request?: {
|
|
6228
6374
|
/** V1 error format. */
|
|
6229
|
-
'$.xgafv'?:
|
|
6375
|
+
'$.xgafv'?: '1' | '2';
|
|
6230
6376
|
/** OAuth access token. */
|
|
6231
6377
|
access_token?: string;
|
|
6232
6378
|
/** Data format for response. */
|
|
6233
|
-
alt?:
|
|
6379
|
+
alt?: 'json' | 'media' | 'proto';
|
|
6234
6380
|
/** JSONP */
|
|
6235
6381
|
callback?: string;
|
|
6236
6382
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -6253,11 +6399,11 @@ declare namespace gapi.client {
|
|
|
6253
6399
|
/** Update the alert config of the requested project. */
|
|
6254
6400
|
updateAlertConfig(request: {
|
|
6255
6401
|
/** V1 error format. */
|
|
6256
|
-
'$.xgafv'?:
|
|
6402
|
+
'$.xgafv'?: '1' | '2';
|
|
6257
6403
|
/** OAuth access token. */
|
|
6258
6404
|
access_token?: string;
|
|
6259
6405
|
/** Data format for response. */
|
|
6260
|
-
alt?:
|
|
6406
|
+
alt?: 'json' | 'media' | 'proto';
|
|
6261
6407
|
/** JSONP */
|
|
6262
6408
|
callback?: string;
|
|
6263
6409
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -6284,11 +6430,11 @@ declare namespace gapi.client {
|
|
|
6284
6430
|
updateAlertConfig(
|
|
6285
6431
|
request: {
|
|
6286
6432
|
/** V1 error format. */
|
|
6287
|
-
'$.xgafv'?:
|
|
6433
|
+
'$.xgafv'?: '1' | '2';
|
|
6288
6434
|
/** OAuth access token. */
|
|
6289
6435
|
access_token?: string;
|
|
6290
6436
|
/** Data format for response. */
|
|
6291
|
-
alt?:
|
|
6437
|
+
alt?: 'json' | 'media' | 'proto';
|
|
6292
6438
|
/** JSONP */
|
|
6293
6439
|
callback?: string;
|
|
6294
6440
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -6315,11 +6461,11 @@ declare namespace gapi.client {
|
|
|
6315
6461
|
/** Updates the LoggingConfig of the requested project. */
|
|
6316
6462
|
updateLoggingConfig(request: {
|
|
6317
6463
|
/** V1 error format. */
|
|
6318
|
-
'$.xgafv'?:
|
|
6464
|
+
'$.xgafv'?: '1' | '2';
|
|
6319
6465
|
/** OAuth access token. */
|
|
6320
6466
|
access_token?: string;
|
|
6321
6467
|
/** Data format for response. */
|
|
6322
|
-
alt?:
|
|
6468
|
+
alt?: 'json' | 'media' | 'proto';
|
|
6323
6469
|
/** JSONP */
|
|
6324
6470
|
callback?: string;
|
|
6325
6471
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -6346,11 +6492,11 @@ declare namespace gapi.client {
|
|
|
6346
6492
|
updateLoggingConfig(
|
|
6347
6493
|
request: {
|
|
6348
6494
|
/** V1 error format. */
|
|
6349
|
-
'$.xgafv'?:
|
|
6495
|
+
'$.xgafv'?: '1' | '2';
|
|
6350
6496
|
/** OAuth access token. */
|
|
6351
6497
|
access_token?: string;
|
|
6352
6498
|
/** Data format for response. */
|
|
6353
|
-
alt?:
|
|
6499
|
+
alt?: 'json' | 'media' | 'proto';
|
|
6354
6500
|
/** JSONP */
|
|
6355
6501
|
callback?: string;
|
|
6356
6502
|
/** Selector specifying which fields to include in a partial response. */
|