@maxim_mazurok/gapi.client.retail-v2alpha 0.2.20260618 → 0.3.20260702
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 +10 -23
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://retail.googleapis.com/$discovery/rest?version=v2alpha
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260702
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -334,7 +334,9 @@ declare namespace gapi.client {
|
|
|
334
334
|
interface GoogleCloudRetailV2alphaCompleteQueryResponse {
|
|
335
335
|
/** A map of matched attribute suggestions. This field is only available for `cloud-retail` dataset. Current supported keys: * `brands` * `categories` */
|
|
336
336
|
attributeResults?: {
|
|
337
|
-
[
|
|
337
|
+
[
|
|
338
|
+
P in string
|
|
339
|
+
]: GoogleCloudRetailV2alphaCompleteQueryResponseAttributeResult;
|
|
338
340
|
};
|
|
339
341
|
/** A unique complete token. This should be included in the UserEvent.completion_detail for search events resulting from this completion, which enables accurate attribution of complete model performance. */
|
|
340
342
|
attributionToken?: string;
|
|
@@ -737,9 +739,7 @@ declare namespace gapi.client {
|
|
|
737
739
|
notificationPubsubTopic?: string;
|
|
738
740
|
/** The mode of reconciliation between existing products and the products to be imported. Defaults to ReconciliationMode.INCREMENTAL. */
|
|
739
741
|
reconciliationMode?:
|
|
740
|
-
| '
|
|
741
|
-
| 'INCREMENTAL'
|
|
742
|
-
| 'FULL';
|
|
742
|
+
'RECONCILIATION_MODE_UNSPECIFIED' | 'INCREMENTAL' | 'FULL';
|
|
743
743
|
/** Deprecated. This field has no effect. */
|
|
744
744
|
requestId?: string;
|
|
745
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`. */
|
|
@@ -992,10 +992,7 @@ declare namespace gapi.client {
|
|
|
992
992
|
servingConfigLists?: GoogleCloudRetailV2alphaModelServingConfigList[];
|
|
993
993
|
/** Output only. The serving state of the model: `ACTIVE`, `NOT_ACTIVE`. */
|
|
994
994
|
servingState?:
|
|
995
|
-
| '
|
|
996
|
-
| 'INACTIVE'
|
|
997
|
-
| 'ACTIVE'
|
|
998
|
-
| 'TUNED';
|
|
995
|
+
'SERVING_STATE_UNSPECIFIED' | 'INACTIVE' | 'ACTIVE' | 'TUNED';
|
|
999
996
|
/** 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. */
|
|
1000
997
|
trainingState?: 'TRAINING_STATE_UNSPECIFIED' | 'PAUSED' | 'TRAINING';
|
|
1001
998
|
/** 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. */
|
|
@@ -2030,10 +2027,7 @@ declare namespace gapi.client {
|
|
|
2030
2027
|
servingConfigLists?: GoogleCloudRetailV2betaModelServingConfigList[];
|
|
2031
2028
|
/** Output only. The serving state of the model: `ACTIVE`, `NOT_ACTIVE`. */
|
|
2032
2029
|
servingState?:
|
|
2033
|
-
| '
|
|
2034
|
-
| 'INACTIVE'
|
|
2035
|
-
| 'ACTIVE'
|
|
2036
|
-
| 'TUNED';
|
|
2030
|
+
'SERVING_STATE_UNSPECIFIED' | 'INACTIVE' | 'ACTIVE' | 'TUNED';
|
|
2037
2031
|
/** 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. */
|
|
2038
2032
|
trainingState?: 'TRAINING_STATE_UNSPECIFIED' | 'PAUSED' | 'TRAINING';
|
|
2039
2033
|
/** 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. */
|
|
@@ -2205,10 +2199,7 @@ declare namespace gapi.client {
|
|
|
2205
2199
|
servingConfigLists?: GoogleCloudRetailV2ModelServingConfigList[];
|
|
2206
2200
|
/** Output only. The serving state of the model: `ACTIVE`, `NOT_ACTIVE`. */
|
|
2207
2201
|
servingState?:
|
|
2208
|
-
| '
|
|
2209
|
-
| 'INACTIVE'
|
|
2210
|
-
| 'ACTIVE'
|
|
2211
|
-
| 'TUNED';
|
|
2202
|
+
'SERVING_STATE_UNSPECIFIED' | 'INACTIVE' | 'ACTIVE' | 'TUNED';
|
|
2212
2203
|
/** 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. */
|
|
2213
2204
|
trainingState?: 'TRAINING_STATE_UNSPECIFIED' | 'PAUSED' | 'TRAINING';
|
|
2214
2205
|
/** 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. */
|
|
@@ -3330,9 +3321,7 @@ declare namespace gapi.client {
|
|
|
3330
3321
|
uploadType?: string;
|
|
3331
3322
|
/** 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. */
|
|
3332
3323
|
view?:
|
|
3333
|
-
| '
|
|
3334
|
-
| 'BRANCH_VIEW_BASIC'
|
|
3335
|
-
| 'BRANCH_VIEW_FULL';
|
|
3324
|
+
'BRANCH_VIEW_UNSPECIFIED' | 'BRANCH_VIEW_BASIC' | 'BRANCH_VIEW_FULL';
|
|
3336
3325
|
}): Request<GoogleCloudRetailV2alphaBranch>;
|
|
3337
3326
|
/** Lists all instances of Branch under the specified parent Catalog. */
|
|
3338
3327
|
list(request?: {
|
|
@@ -3362,9 +3351,7 @@ declare namespace gapi.client {
|
|
|
3362
3351
|
uploadType?: string;
|
|
3363
3352
|
/** 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. */
|
|
3364
3353
|
view?:
|
|
3365
|
-
| '
|
|
3366
|
-
| 'BRANCH_VIEW_BASIC'
|
|
3367
|
-
| 'BRANCH_VIEW_FULL';
|
|
3354
|
+
'BRANCH_VIEW_UNSPECIFIED' | 'BRANCH_VIEW_BASIC' | 'BRANCH_VIEW_FULL';
|
|
3368
3355
|
}): Request<GoogleCloudRetailV2alphaListBranchesResponse>;
|
|
3369
3356
|
operations: OperationsResource;
|
|
3370
3357
|
places: PlacesResource;
|