@maxim_mazurok/gapi.client.recommendationengine-v1beta1 0.0.20230413 → 0.0.20230515
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 +1159 -580
- package/package.json +1 -1
- package/tests.ts +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://recommendationengine.googleapis.com/$discovery/rest?version=v1beta1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230515
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -24,25 +24,30 @@ declare namespace gapi.client {
|
|
|
24
24
|
namespace recommendationengine {
|
|
25
25
|
interface GoogleApiHttpBody {
|
|
26
26
|
/** The HTTP Content-Type header value specifying the content type of the body. */
|
|
27
|
-
contentType?:
|
|
27
|
+
contentType?:
|
|
28
|
+
string;
|
|
28
29
|
/** The HTTP request/response body as raw binary. */
|
|
29
|
-
data?:
|
|
30
|
+
data?:
|
|
31
|
+
string;
|
|
30
32
|
/** Application specific response metadata. Must be set in the first response for streaming APIs. */
|
|
31
|
-
extensions?:
|
|
33
|
+
extensions?:
|
|
34
|
+
Array<{ [P in string]: any }>;
|
|
32
35
|
}
|
|
33
36
|
// tslint:disable-next-line:no-empty-interface
|
|
34
37
|
interface GoogleCloudRecommendationengineV1alphaRejoinCatalogMetadata {
|
|
35
38
|
}
|
|
36
39
|
interface GoogleCloudRecommendationengineV1alphaRejoinCatalogResponse {
|
|
37
40
|
/** Number of user events that were joined with latest catalog items. */
|
|
38
|
-
rejoinedUserEventsCount?:
|
|
41
|
+
rejoinedUserEventsCount?:
|
|
42
|
+
string;
|
|
39
43
|
}
|
|
40
44
|
interface GoogleCloudRecommendationengineV1alphaTuningMetadata {
|
|
41
45
|
/**
|
|
42
46
|
* The resource name of the recommendation model that this tune applies to. Format:
|
|
43
47
|
* projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/eventStores/{event_store_id}/recommendationModels/{recommendation_model_id}
|
|
44
48
|
*/
|
|
45
|
-
recommendationModel?:
|
|
49
|
+
recommendationModel?:
|
|
50
|
+
string;
|
|
46
51
|
}
|
|
47
52
|
// tslint:disable-next-line:no-empty-interface
|
|
48
53
|
interface GoogleCloudRecommendationengineV1alphaTuningResponse {
|
|
@@ -55,29 +60,39 @@ declare namespace gapi.client {
|
|
|
55
60
|
* https://cloud.google.com/recommendations-ai/docs/manage-user-events#import (Default for userEvents.import) 2. "user_events_ga360" using
|
|
56
61
|
* https://support.google.com/analytics/answer/3437719?hl=en
|
|
57
62
|
*/
|
|
58
|
-
dataSchema?:
|
|
63
|
+
dataSchema?:
|
|
64
|
+
string;
|
|
59
65
|
/** Required. The BigQuery data set to copy the data from. */
|
|
60
|
-
datasetId?:
|
|
66
|
+
datasetId?:
|
|
67
|
+
string;
|
|
61
68
|
/** Optional. Intermediate Cloud Storage directory used for the import. Can be specified if one wants to have the BigQuery export to a specific Cloud Storage directory. */
|
|
62
|
-
gcsStagingDir?:
|
|
69
|
+
gcsStagingDir?:
|
|
70
|
+
string;
|
|
63
71
|
/** Optional. The project id (can be project # or id) that the BigQuery source is in. If not specified, inherits the project id from the parent request. */
|
|
64
|
-
projectId?:
|
|
72
|
+
projectId?:
|
|
73
|
+
string;
|
|
65
74
|
/** Required. The BigQuery table to copy the data from. */
|
|
66
|
-
tableId?:
|
|
75
|
+
tableId?:
|
|
76
|
+
string;
|
|
67
77
|
}
|
|
68
78
|
interface GoogleCloudRecommendationengineV1beta1Catalog {
|
|
69
79
|
/** Required. The catalog item level configuration. */
|
|
70
|
-
catalogItemLevelConfig?:
|
|
80
|
+
catalogItemLevelConfig?:
|
|
81
|
+
GoogleCloudRecommendationengineV1beta1CatalogItemLevelConfig;
|
|
71
82
|
/** Required. The ID of the default event store. */
|
|
72
|
-
defaultEventStoreId?:
|
|
83
|
+
defaultEventStoreId?:
|
|
84
|
+
string;
|
|
73
85
|
/** Required. The catalog display name. */
|
|
74
|
-
displayName?:
|
|
86
|
+
displayName?:
|
|
87
|
+
string;
|
|
75
88
|
/** The fully qualified resource name of the catalog. */
|
|
76
|
-
name?:
|
|
89
|
+
name?:
|
|
90
|
+
string;
|
|
77
91
|
}
|
|
78
92
|
interface GoogleCloudRecommendationengineV1beta1CatalogInlineSource {
|
|
79
93
|
/** Optional. A list of catalog items to update/create. Recommended max of 10k items. */
|
|
80
|
-
catalogItems?:
|
|
94
|
+
catalogItems?:
|
|
95
|
+
GoogleCloudRecommendationengineV1beta1CatalogItem[];
|
|
81
96
|
}
|
|
82
97
|
interface GoogleCloudRecommendationengineV1beta1CatalogItem {
|
|
83
98
|
/**
|
|
@@ -85,104 +100,127 @@ declare namespace gapi.client {
|
|
|
85
100
|
* to both ["Shoes & Accessories" -> "Shoes"] and ["Sports & Fitness" -> "Athletic Clothing" -> "Shoes"], it could be represented as: "categoryHierarchies": [ { "categories": ["Shoes &
|
|
86
101
|
* Accessories", "Shoes"]}, { "categories": ["Sports & Fitness", "Athletic Clothing", "Shoes"] } ]
|
|
87
102
|
*/
|
|
88
|
-
categoryHierarchies?:
|
|
103
|
+
categoryHierarchies?:
|
|
104
|
+
GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy[];
|
|
89
105
|
/** Optional. Catalog item description. UTF-8 encoded string with a length limit of 5 KiB. */
|
|
90
|
-
description?:
|
|
106
|
+
description?:
|
|
107
|
+
string;
|
|
91
108
|
/**
|
|
92
109
|
* Required. Catalog item identifier. UTF-8 encoded string with a length limit of 128 bytes. This id must be unique among all catalog items within the same catalog. It should also be
|
|
93
110
|
* used when logging user events in order for the user events to be joined with the Catalog.
|
|
94
111
|
*/
|
|
95
|
-
id?:
|
|
112
|
+
id?:
|
|
113
|
+
string;
|
|
96
114
|
/**
|
|
97
115
|
* Optional. Highly encouraged. Extra catalog item attributes to be included in the recommendation model. For example, for retail products, this could include the store name, vendor,
|
|
98
116
|
* style, color, etc. These are very strong signals for recommendation model, thus we highly recommend providing the item attributes here.
|
|
99
117
|
*/
|
|
100
|
-
itemAttributes?:
|
|
118
|
+
itemAttributes?:
|
|
119
|
+
GoogleCloudRecommendationengineV1beta1FeatureMap;
|
|
101
120
|
/**
|
|
102
121
|
* Optional. Variant group identifier for prediction results. UTF-8 encoded string with a length limit of 128 bytes. This field must be enabled before it can be used. [Learn
|
|
103
122
|
* more](/recommendations-ai/docs/catalog#item-group-id).
|
|
104
123
|
*/
|
|
105
|
-
itemGroupId?:
|
|
124
|
+
itemGroupId?:
|
|
125
|
+
string;
|
|
106
126
|
/**
|
|
107
127
|
* Optional. Deprecated. The model automatically detects the text language. Your catalog can include text in different languages, but duplicating catalog items to provide text in
|
|
108
128
|
* multiple languages can result in degraded model performance.
|
|
109
129
|
*/
|
|
110
|
-
languageCode?:
|
|
130
|
+
languageCode?:
|
|
131
|
+
string;
|
|
111
132
|
/** Optional. Metadata specific to retail products. */
|
|
112
|
-
productMetadata?:
|
|
133
|
+
productMetadata?:
|
|
134
|
+
GoogleCloudRecommendationengineV1beta1ProductCatalogItem;
|
|
113
135
|
/**
|
|
114
136
|
* Optional. Filtering tags associated with the catalog item. Each tag should be a UTF-8 encoded string with a length limit of 1 KiB. This tag can be used for filtering recommendation
|
|
115
137
|
* results by passing the tag as part of the predict request filter.
|
|
116
138
|
*/
|
|
117
|
-
tags?:
|
|
139
|
+
tags?:
|
|
140
|
+
string[];
|
|
118
141
|
/** Required. Catalog item title. UTF-8 encoded string with a length limit of 1 KiB. */
|
|
119
|
-
title?:
|
|
142
|
+
title?:
|
|
143
|
+
string;
|
|
120
144
|
}
|
|
121
145
|
interface GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy {
|
|
122
146
|
/**
|
|
123
147
|
* Required. Catalog item categories. Each category should be a UTF-8 encoded string with a length limit of 2 KiB. Note that the order in the list denotes the specificity (from least
|
|
124
148
|
* to most specific).
|
|
125
149
|
*/
|
|
126
|
-
categories?:
|
|
150
|
+
categories?:
|
|
151
|
+
string[];
|
|
127
152
|
}
|
|
128
153
|
interface GoogleCloudRecommendationengineV1beta1CatalogItemLevelConfig {
|
|
129
154
|
/** Optional. Level of the catalog at which events are uploaded. See https://cloud.google.com/recommendations-ai/docs/catalog#catalog-levels for more details. */
|
|
130
|
-
eventItemLevel?:
|
|
155
|
+
eventItemLevel?:
|
|
156
|
+
string;
|
|
131
157
|
/** Optional. Level of the catalog at which predictions are made. See https://cloud.google.com/recommendations-ai/docs/catalog#catalog-levels for more details. */
|
|
132
|
-
predictItemLevel?:
|
|
158
|
+
predictItemLevel?:
|
|
159
|
+
string;
|
|
133
160
|
}
|
|
134
161
|
interface GoogleCloudRecommendationengineV1beta1CreatePredictionApiKeyRegistrationRequest {
|
|
135
162
|
/** Required. The prediction API key registration. */
|
|
136
|
-
predictionApiKeyRegistration?:
|
|
163
|
+
predictionApiKeyRegistration?:
|
|
164
|
+
GoogleCloudRecommendationengineV1beta1PredictionApiKeyRegistration;
|
|
137
165
|
}
|
|
138
166
|
interface GoogleCloudRecommendationengineV1beta1EventDetail {
|
|
139
167
|
/**
|
|
140
168
|
* Optional. Extra user event features to include in the recommendation model. For product recommendation, an example of extra user information is traffic_channel, i.e. how user
|
|
141
169
|
* arrives at the site. Users can arrive at the site by coming to the site directly, or coming through Google search, and etc.
|
|
142
170
|
*/
|
|
143
|
-
eventAttributes?:
|
|
171
|
+
eventAttributes?:
|
|
172
|
+
GoogleCloudRecommendationengineV1beta1FeatureMap;
|
|
144
173
|
/**
|
|
145
174
|
* Optional. A list of identifiers for the independent experiment groups this user event belongs to. This is used to distinguish between user events associated with different
|
|
146
175
|
* experiment setups (e.g. using Recommendation Engine system, using different recommendation models).
|
|
147
176
|
*/
|
|
148
|
-
experimentIds?:
|
|
177
|
+
experimentIds?:
|
|
178
|
+
string[];
|
|
149
179
|
/**
|
|
150
180
|
* Optional. A unique id of a web page view. This should be kept the same for all user events triggered from the same pageview. For example, an item detail page view could trigger
|
|
151
181
|
* multiple events as the user is browsing the page. The `pageViewId` property should be kept the same for all these events so that they can be grouped together properly. This
|
|
152
182
|
* `pageViewId` will be automatically generated if using the JavaScript pixel.
|
|
153
183
|
*/
|
|
154
|
-
pageViewId?:
|
|
184
|
+
pageViewId?:
|
|
185
|
+
string;
|
|
155
186
|
/**
|
|
156
187
|
* Optional. Recommendation token included in the recommendation prediction response. This field enables accurate attribution of recommendation model performance. This token enables us
|
|
157
188
|
* to accurately attribute page view or purchase back to the event and the particular predict response containing this clicked/purchased item. If user clicks on product K in the
|
|
158
189
|
* recommendation results, pass the `PredictResponse.recommendationToken` property as a url parameter to product K's page. When recording events on product K's page, log the
|
|
159
190
|
* PredictResponse.recommendation_token to this field. Optional, but highly encouraged for user events that are the result of a recommendation prediction query.
|
|
160
191
|
*/
|
|
161
|
-
recommendationToken?:
|
|
192
|
+
recommendationToken?:
|
|
193
|
+
string;
|
|
162
194
|
/** Optional. The referrer url of the current page. When using the JavaScript pixel, this value is filled in automatically. */
|
|
163
|
-
referrerUri?:
|
|
195
|
+
referrerUri?:
|
|
196
|
+
string;
|
|
164
197
|
/** Optional. Complete url (window.location.href) of the user's current page. When using the JavaScript pixel, this value is filled in automatically. Maximum length 5KB. */
|
|
165
|
-
uri?:
|
|
198
|
+
uri?:
|
|
199
|
+
string;
|
|
166
200
|
}
|
|
167
201
|
interface GoogleCloudRecommendationengineV1beta1FeatureMap {
|
|
168
202
|
/**
|
|
169
203
|
* Categorical features that can take on one of a limited number of possible values. Some examples would be the brand/maker of a product, or country of a customer. Feature names and
|
|
170
204
|
* values must be UTF-8 encoded strings. For example: `{ "colors": {"value": ["yellow", "green"]}, "sizes": {"value":["S", "M"]}`
|
|
171
205
|
*/
|
|
172
|
-
categoricalFeatures?:
|
|
206
|
+
categoricalFeatures?:
|
|
207
|
+
{ [P in string]: GoogleCloudRecommendationengineV1beta1FeatureMapStringList };
|
|
173
208
|
/**
|
|
174
209
|
* Numerical features. Some examples would be the height/weight of a product, or age of a customer. Feature names must be UTF-8 encoded strings. For example: `{ "lengths_cm":
|
|
175
210
|
* {"value":[2.3, 15.4]}, "heights_cm": {"value":[8.1, 6.4]} }`
|
|
176
211
|
*/
|
|
177
|
-
numericalFeatures?:
|
|
212
|
+
numericalFeatures?:
|
|
213
|
+
{ [P in string]: GoogleCloudRecommendationengineV1beta1FeatureMapFloatList };
|
|
178
214
|
}
|
|
179
215
|
interface GoogleCloudRecommendationengineV1beta1FeatureMapFloatList {
|
|
180
216
|
/** Float feature value. */
|
|
181
|
-
value?:
|
|
217
|
+
value?:
|
|
218
|
+
number[];
|
|
182
219
|
}
|
|
183
220
|
interface GoogleCloudRecommendationengineV1beta1FeatureMapStringList {
|
|
184
221
|
/** String feature value with a length limit of 128 bytes. */
|
|
185
|
-
value?:
|
|
222
|
+
value?:
|
|
223
|
+
string[];
|
|
186
224
|
}
|
|
187
225
|
interface GoogleCloudRecommendationengineV1beta1GcsSource {
|
|
188
226
|
/**
|
|
@@ -190,7 +228,8 @@ declare namespace gapi.client {
|
|
|
190
228
|
* a pattern matching one or more files, such as `gs://bucket/directory/*.json`. A request can contain at most 100 files, and each file can be up to 2 GB. See [Importing catalog
|
|
191
229
|
* information](/recommendations-ai/docs/upload-catalog) for the expected file format and setup instructions.
|
|
192
230
|
*/
|
|
193
|
-
inputUris?:
|
|
231
|
+
inputUris?:
|
|
232
|
+
string[];
|
|
194
233
|
/**
|
|
195
234
|
* Optional. The schema to use when parsing the data from the source. Supported values for catalog imports: 1: "catalog_recommendations_ai" using
|
|
196
235
|
* https://cloud.google.com/recommendations-ai/docs/upload-catalog#json (Default for catalogItems.import) 2: "catalog_merchant_center" using
|
|
@@ -198,120 +237,157 @@ declare namespace gapi.client {
|
|
|
198
237
|
* https://cloud.google.com/recommendations-ai/docs/manage-user-events#import (Default for userEvents.import) 2. "user_events_ga360" using
|
|
199
238
|
* https://support.google.com/analytics/answer/3437719?hl=en
|
|
200
239
|
*/
|
|
201
|
-
jsonSchema?:
|
|
240
|
+
jsonSchema?:
|
|
241
|
+
string;
|
|
202
242
|
}
|
|
203
243
|
interface GoogleCloudRecommendationengineV1beta1Image {
|
|
204
244
|
/** Optional. Height of the image in number of pixels. */
|
|
205
|
-
height?:
|
|
245
|
+
height?:
|
|
246
|
+
number;
|
|
206
247
|
/** Required. URL of the image with a length limit of 5 KiB. */
|
|
207
|
-
uri?:
|
|
248
|
+
uri?:
|
|
249
|
+
string;
|
|
208
250
|
/** Optional. Width of the image in number of pixels. */
|
|
209
|
-
width?:
|
|
251
|
+
width?:
|
|
252
|
+
number;
|
|
210
253
|
}
|
|
211
254
|
interface GoogleCloudRecommendationengineV1beta1ImportCatalogItemsRequest {
|
|
212
255
|
/** Optional. The desired location of errors incurred during the Import. */
|
|
213
|
-
errorsConfig?:
|
|
256
|
+
errorsConfig?:
|
|
257
|
+
GoogleCloudRecommendationengineV1beta1ImportErrorsConfig;
|
|
214
258
|
/** Required. The desired input location of the data. */
|
|
215
|
-
inputConfig?:
|
|
259
|
+
inputConfig?:
|
|
260
|
+
GoogleCloudRecommendationengineV1beta1InputConfig;
|
|
216
261
|
/**
|
|
217
262
|
* Optional. Unique identifier provided by client, within the ancestor dataset scope. Ensures idempotency and used for request deduplication. Server-generated if unspecified. Up to 128
|
|
218
263
|
* characters long. This is returned as google.longrunning.Operation.name in the response.
|
|
219
264
|
*/
|
|
220
|
-
requestId?:
|
|
265
|
+
requestId?:
|
|
266
|
+
string;
|
|
221
267
|
/** Optional. Indicates which fields in the provided imported 'items' to update. If not set, will by default update all fields. */
|
|
222
|
-
updateMask?:
|
|
268
|
+
updateMask?:
|
|
269
|
+
string;
|
|
223
270
|
}
|
|
224
271
|
interface GoogleCloudRecommendationengineV1beta1ImportCatalogItemsResponse {
|
|
225
272
|
/** A sample of errors encountered while processing the request. */
|
|
226
|
-
errorSamples?:
|
|
273
|
+
errorSamples?:
|
|
274
|
+
GoogleRpcStatus[];
|
|
227
275
|
/** Echoes the destination for the complete errors in the request if set. */
|
|
228
|
-
errorsConfig?:
|
|
276
|
+
errorsConfig?:
|
|
277
|
+
GoogleCloudRecommendationengineV1beta1ImportErrorsConfig;
|
|
229
278
|
}
|
|
230
279
|
interface GoogleCloudRecommendationengineV1beta1ImportErrorsConfig {
|
|
231
280
|
/**
|
|
232
281
|
* Google Cloud Storage path for import errors. This must be an empty, existing Cloud Storage bucket. Import errors will be written to a file in this bucket, one per line, as a
|
|
233
282
|
* JSON-encoded `google.rpc.Status` message.
|
|
234
283
|
*/
|
|
235
|
-
gcsPrefix?:
|
|
284
|
+
gcsPrefix?:
|
|
285
|
+
string;
|
|
236
286
|
}
|
|
237
287
|
interface GoogleCloudRecommendationengineV1beta1ImportMetadata {
|
|
238
288
|
/** Operation create time. */
|
|
239
|
-
createTime?:
|
|
289
|
+
createTime?:
|
|
290
|
+
string;
|
|
240
291
|
/** Count of entries that encountered errors while processing. */
|
|
241
|
-
failureCount?:
|
|
292
|
+
failureCount?:
|
|
293
|
+
string;
|
|
242
294
|
/** Name of the operation. */
|
|
243
|
-
operationName?:
|
|
295
|
+
operationName?:
|
|
296
|
+
string;
|
|
244
297
|
/** Id of the request / operation. This is parroting back the requestId that was passed in the request. */
|
|
245
|
-
requestId?:
|
|
298
|
+
requestId?:
|
|
299
|
+
string;
|
|
246
300
|
/** Count of entries that were processed successfully. */
|
|
247
|
-
successCount?:
|
|
301
|
+
successCount?:
|
|
302
|
+
string;
|
|
248
303
|
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
249
|
-
updateTime?:
|
|
304
|
+
updateTime?:
|
|
305
|
+
string;
|
|
250
306
|
}
|
|
251
307
|
interface GoogleCloudRecommendationengineV1beta1ImportUserEventsRequest {
|
|
252
308
|
/** Optional. The desired location of errors incurred during the Import. */
|
|
253
|
-
errorsConfig?:
|
|
309
|
+
errorsConfig?:
|
|
310
|
+
GoogleCloudRecommendationengineV1beta1ImportErrorsConfig;
|
|
254
311
|
/** Required. The desired input location of the data. */
|
|
255
|
-
inputConfig?:
|
|
312
|
+
inputConfig?:
|
|
313
|
+
GoogleCloudRecommendationengineV1beta1InputConfig;
|
|
256
314
|
/**
|
|
257
315
|
* Optional. Unique identifier provided by client, within the ancestor dataset scope. Ensures idempotency for expensive long running operations. Server-generated if unspecified. Up to
|
|
258
316
|
* 128 characters long. This is returned as google.longrunning.Operation.name in the response. Note that this field must not be set if the desired input config is
|
|
259
317
|
* catalog_inline_source.
|
|
260
318
|
*/
|
|
261
|
-
requestId?:
|
|
319
|
+
requestId?:
|
|
320
|
+
string;
|
|
262
321
|
}
|
|
263
322
|
interface GoogleCloudRecommendationengineV1beta1ImportUserEventsResponse {
|
|
264
323
|
/** A sample of errors encountered while processing the request. */
|
|
265
|
-
errorSamples?:
|
|
324
|
+
errorSamples?:
|
|
325
|
+
GoogleRpcStatus[];
|
|
266
326
|
/** Echoes the destination for the complete errors if this field was set in the request. */
|
|
267
|
-
errorsConfig?:
|
|
327
|
+
errorsConfig?:
|
|
328
|
+
GoogleCloudRecommendationengineV1beta1ImportErrorsConfig;
|
|
268
329
|
/** Aggregated statistics of user event import status. */
|
|
269
|
-
importSummary?:
|
|
330
|
+
importSummary?:
|
|
331
|
+
GoogleCloudRecommendationengineV1beta1UserEventImportSummary;
|
|
270
332
|
}
|
|
271
333
|
interface GoogleCloudRecommendationengineV1beta1InputConfig {
|
|
272
334
|
/** BigQuery input source. */
|
|
273
|
-
bigQuerySource?:
|
|
335
|
+
bigQuerySource?:
|
|
336
|
+
GoogleCloudRecommendationengineV1beta1BigQuerySource;
|
|
274
337
|
/** The Inline source for the input content for Catalog items. */
|
|
275
|
-
catalogInlineSource?:
|
|
338
|
+
catalogInlineSource?:
|
|
339
|
+
GoogleCloudRecommendationengineV1beta1CatalogInlineSource;
|
|
276
340
|
/** Google Cloud Storage location for the input content. */
|
|
277
|
-
gcsSource?:
|
|
341
|
+
gcsSource?:
|
|
342
|
+
GoogleCloudRecommendationengineV1beta1GcsSource;
|
|
278
343
|
/** The Inline source for the input content for UserEvents. */
|
|
279
|
-
userEventInlineSource?:
|
|
344
|
+
userEventInlineSource?:
|
|
345
|
+
GoogleCloudRecommendationengineV1beta1UserEventInlineSource;
|
|
280
346
|
}
|
|
281
347
|
interface GoogleCloudRecommendationengineV1beta1ListCatalogItemsResponse {
|
|
282
348
|
/** The catalog items. */
|
|
283
|
-
catalogItems?:
|
|
349
|
+
catalogItems?:
|
|
350
|
+
GoogleCloudRecommendationengineV1beta1CatalogItem[];
|
|
284
351
|
/** If empty, the list is complete. If nonempty, the token to pass to the next request's ListCatalogItemRequest.page_token. */
|
|
285
|
-
nextPageToken?:
|
|
352
|
+
nextPageToken?:
|
|
353
|
+
string;
|
|
286
354
|
}
|
|
287
355
|
interface GoogleCloudRecommendationengineV1beta1ListCatalogsResponse {
|
|
288
356
|
/** Output only. All the customer's catalogs. */
|
|
289
|
-
catalogs?:
|
|
357
|
+
catalogs?:
|
|
358
|
+
GoogleCloudRecommendationengineV1beta1Catalog[];
|
|
290
359
|
/** Pagination token, if not returned indicates the last page. */
|
|
291
|
-
nextPageToken?:
|
|
360
|
+
nextPageToken?:
|
|
361
|
+
string;
|
|
292
362
|
}
|
|
293
363
|
interface GoogleCloudRecommendationengineV1beta1ListPredictionApiKeyRegistrationsResponse {
|
|
294
364
|
/** If empty, the list is complete. If nonempty, pass the token to the next request's `ListPredictionApiKeysRegistrationsRequest.pageToken`. */
|
|
295
|
-
nextPageToken?:
|
|
365
|
+
nextPageToken?:
|
|
366
|
+
string;
|
|
296
367
|
/** The list of registered API keys. */
|
|
297
|
-
predictionApiKeyRegistrations?:
|
|
368
|
+
predictionApiKeyRegistrations?:
|
|
369
|
+
GoogleCloudRecommendationengineV1beta1PredictionApiKeyRegistration[];
|
|
298
370
|
}
|
|
299
371
|
interface GoogleCloudRecommendationengineV1beta1ListUserEventsResponse {
|
|
300
372
|
/** If empty, the list is complete. If nonempty, the token to pass to the next request's ListUserEvents.page_token. */
|
|
301
|
-
nextPageToken?:
|
|
373
|
+
nextPageToken?:
|
|
374
|
+
string;
|
|
302
375
|
/** The user events. */
|
|
303
|
-
userEvents?:
|
|
376
|
+
userEvents?:
|
|
377
|
+
GoogleCloudRecommendationengineV1beta1UserEvent[];
|
|
304
378
|
}
|
|
305
379
|
interface GoogleCloudRecommendationengineV1beta1PredictionApiKeyRegistration {
|
|
306
380
|
/** The API key. */
|
|
307
|
-
apiKey?:
|
|
381
|
+
apiKey?:
|
|
382
|
+
string;
|
|
308
383
|
}
|
|
309
384
|
interface GoogleCloudRecommendationengineV1beta1PredictRequest {
|
|
310
385
|
/**
|
|
311
386
|
* Optional. Use dryRun mode for this prediction query. If set to true, a fake model will be used that returns arbitrary catalog items. Note that the dryRun mode should only be used
|
|
312
387
|
* for testing the API, or if the model is not ready.
|
|
313
388
|
*/
|
|
314
|
-
dryRun?:
|
|
389
|
+
dryRun?:
|
|
390
|
+
boolean;
|
|
315
391
|
/**
|
|
316
392
|
* Optional. Filter for restricting prediction results. Accepts values for tags and the `filterOutOfStockItems` flag. * Tag expressions. Restricts predictions to items that match all
|
|
317
393
|
* of the specified tags. Boolean operators `OR` and `NOT` are supported if the expression is enclosed in parentheses, and must be separated from the tag values by a space. `-"tagA"`
|
|
@@ -320,17 +396,21 @@ declare namespace gapi.client {
|
|
|
320
396
|
* tag=(-"promotional") * filterOutOfStockItems If your filter blocks all prediction results, nothing will be returned. If you want generic (unfiltered) popular items to be returned
|
|
321
397
|
* instead, set `strictFiltering` to false in `PredictRequest.params`.
|
|
322
398
|
*/
|
|
323
|
-
filter?:
|
|
399
|
+
filter?:
|
|
400
|
+
string;
|
|
324
401
|
/**
|
|
325
402
|
* Optional. The labels for the predict request. * Label keys can contain lowercase letters, digits and hyphens, must start with a letter, and must end with a letter or digit. *
|
|
326
403
|
* Non-zero label values can contain lowercase letters, digits and hyphens, must start with a letter, and must end with a letter or digit. * No more than 64 labels can be associated
|
|
327
404
|
* with a given request. See https://goo.gl/xmQnxf for more information on and examples of labels.
|
|
328
405
|
*/
|
|
329
|
-
labels?:
|
|
406
|
+
labels?:
|
|
407
|
+
{ [P in string]: string };
|
|
330
408
|
/** Optional. Maximum number of results to return per page. Set this property to the number of prediction results required. If zero, the service will choose a reasonable default. */
|
|
331
|
-
pageSize?:
|
|
409
|
+
pageSize?:
|
|
410
|
+
number;
|
|
332
411
|
/** Optional. The previous PredictResponse.next_page_token. */
|
|
333
|
-
pageToken?:
|
|
412
|
+
pageToken?:
|
|
413
|
+
string;
|
|
334
414
|
/**
|
|
335
415
|
* Optional. Additional domain specific parameters for the predictions. Allowed values: * `returnCatalogItem`: Boolean. If set to true, the associated catalogItem object will be
|
|
336
416
|
* returned in the `PredictResponse.PredictionResult.itemMetadata` object in the method response. * `returnItemScore`: Boolean. If set to true, the prediction 'score' corresponding to
|
|
@@ -341,73 +421,95 @@ declare namespace gapi.client {
|
|
|
341
421
|
* If set to be non-empty, then it needs to be one of {'no-diversity', 'low-diversity', 'medium-diversity', 'high-diversity', 'auto-diversity'}. This gives request level control and
|
|
342
422
|
* adjust prediction results based on product category.
|
|
343
423
|
*/
|
|
344
|
-
params?:
|
|
424
|
+
params?:
|
|
425
|
+
{ [P in string]: any };
|
|
345
426
|
/**
|
|
346
427
|
* Required. Context about the user, what they are looking at and what action they took to trigger the predict request. Note that this user event detail won't be ingested to userEvent
|
|
347
428
|
* logs. Thus, a separate userEvent write request is required for event logging. Don't set UserInfo.visitor_id or UserInfo.user_id to the same fixed ID for different users. If you are
|
|
348
429
|
* trying to receive non-personalized recommendations (not recommended; this can negatively impact model performance), instead set UserInfo.visitor_id to a random unique ID and leave
|
|
349
430
|
* UserInfo.user_id unset.
|
|
350
431
|
*/
|
|
351
|
-
userEvent?:
|
|
432
|
+
userEvent?:
|
|
433
|
+
GoogleCloudRecommendationengineV1beta1UserEvent;
|
|
352
434
|
}
|
|
353
435
|
interface GoogleCloudRecommendationengineV1beta1PredictResponse {
|
|
354
436
|
/** True if the dryRun property was set in the request. */
|
|
355
|
-
dryRun?:
|
|
437
|
+
dryRun?:
|
|
438
|
+
boolean;
|
|
356
439
|
/** IDs of items in the request that were missing from the catalog. */
|
|
357
|
-
itemsMissingInCatalog?:
|
|
440
|
+
itemsMissingInCatalog?:
|
|
441
|
+
string[];
|
|
358
442
|
/** Additional domain specific prediction response metadata. */
|
|
359
|
-
metadata?:
|
|
443
|
+
metadata?:
|
|
444
|
+
{ [P in string]: any };
|
|
360
445
|
/** If empty, the list is complete. If nonempty, the token to pass to the next request's PredictRequest.page_token. */
|
|
361
|
-
nextPageToken?:
|
|
446
|
+
nextPageToken?:
|
|
447
|
+
string;
|
|
362
448
|
/**
|
|
363
449
|
* A unique recommendation token. This should be included in the user event logs resulting from this recommendation, which enables accurate attribution of recommendation model
|
|
364
450
|
* performance.
|
|
365
451
|
*/
|
|
366
|
-
recommendationToken?:
|
|
452
|
+
recommendationToken?:
|
|
453
|
+
string;
|
|
367
454
|
/** A list of recommended items. The order represents the ranking (from the most relevant item to the least). */
|
|
368
|
-
results?:
|
|
455
|
+
results?:
|
|
456
|
+
GoogleCloudRecommendationengineV1beta1PredictResponsePredictionResult[];
|
|
369
457
|
}
|
|
370
458
|
interface GoogleCloudRecommendationengineV1beta1PredictResponsePredictionResult {
|
|
371
459
|
/** ID of the recommended catalog item */
|
|
372
|
-
id?:
|
|
460
|
+
id?:
|
|
461
|
+
string;
|
|
373
462
|
/**
|
|
374
463
|
* Additional item metadata / annotations. Possible values: * `catalogItem`: JSON representation of the catalogItem. Will be set if `returnCatalogItem` is set to true in
|
|
375
464
|
* `PredictRequest.params`. * `score`: Prediction score in double value. Will be set if `returnItemScore` is set to true in `PredictRequest.params`.
|
|
376
465
|
*/
|
|
377
|
-
itemMetadata?:
|
|
466
|
+
itemMetadata?:
|
|
467
|
+
{ [P in string]: any };
|
|
378
468
|
}
|
|
379
469
|
interface GoogleCloudRecommendationengineV1beta1ProductCatalogItem {
|
|
380
470
|
/** Optional. The available quantity of the item. */
|
|
381
|
-
availableQuantity?:
|
|
471
|
+
availableQuantity?:
|
|
472
|
+
string;
|
|
382
473
|
/** Optional. Canonical URL directly linking to the item detail page with a length limit of 5 KiB.. */
|
|
383
|
-
canonicalProductUri?:
|
|
474
|
+
canonicalProductUri?:
|
|
475
|
+
string;
|
|
384
476
|
/**
|
|
385
477
|
* Optional. A map to pass the costs associated with the product. For example: {"manufacturing": 45.5} The profit of selling this item is computed like so: * If 'exactPrice' is
|
|
386
478
|
* provided, profit = displayPrice - sum(costs) * If 'priceRange' is provided, profit = minPrice - sum(costs)
|
|
387
479
|
*/
|
|
388
|
-
costs?:
|
|
480
|
+
costs?:
|
|
481
|
+
{ [P in string]: number };
|
|
389
482
|
/** Optional. Only required if the price is set. Currency code for price/costs. Use three-character ISO-4217 code. */
|
|
390
|
-
currencyCode?:
|
|
483
|
+
currencyCode?:
|
|
484
|
+
string;
|
|
391
485
|
/** Optional. The exact product price. */
|
|
392
|
-
exactPrice?:
|
|
486
|
+
exactPrice?:
|
|
487
|
+
GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPrice;
|
|
393
488
|
/** Optional. Product images for the catalog item. */
|
|
394
|
-
images?:
|
|
489
|
+
images?:
|
|
490
|
+
GoogleCloudRecommendationengineV1beta1Image[];
|
|
395
491
|
/** Optional. The product price range. */
|
|
396
|
-
priceRange?:
|
|
492
|
+
priceRange?:
|
|
493
|
+
GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRange;
|
|
397
494
|
/** Optional. Online stock state of the catalog item. Default is `IN_STOCK`. */
|
|
398
|
-
stockState?:
|
|
495
|
+
stockState?:
|
|
496
|
+
string;
|
|
399
497
|
}
|
|
400
498
|
interface GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPrice {
|
|
401
499
|
/** Optional. Display price of the product. */
|
|
402
|
-
displayPrice?:
|
|
500
|
+
displayPrice?:
|
|
501
|
+
number;
|
|
403
502
|
/** Optional. Price of the product without any discount. If zero, by default set to be the 'displayPrice'. */
|
|
404
|
-
originalPrice?:
|
|
503
|
+
originalPrice?:
|
|
504
|
+
number;
|
|
405
505
|
}
|
|
406
506
|
interface GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRange {
|
|
407
507
|
/** Required. The maximum product price. */
|
|
408
|
-
max?:
|
|
508
|
+
max?:
|
|
509
|
+
number;
|
|
409
510
|
/** Required. The minimum product price. */
|
|
410
|
-
min?:
|
|
511
|
+
min?:
|
|
512
|
+
number;
|
|
411
513
|
}
|
|
412
514
|
interface GoogleCloudRecommendationengineV1beta1ProductDetail {
|
|
413
515
|
/**
|
|
@@ -415,39 +517,50 @@ declare namespace gapi.client {
|
|
|
415
517
|
* `stock_status` is set to `IN_STOCK`. Note that if an item is out of stock, you must set the `stock_state` field to be `OUT_OF_STOCK`. Leaving this field unspecified / as zero is not
|
|
416
518
|
* sufficient to mark the item out of stock.
|
|
417
519
|
*/
|
|
418
|
-
availableQuantity?:
|
|
520
|
+
availableQuantity?:
|
|
521
|
+
number;
|
|
419
522
|
/** Optional. Currency code for price/costs. Use three-character ISO-4217 code. Required only if originalPrice or displayPrice is set. */
|
|
420
|
-
currencyCode?:
|
|
523
|
+
currencyCode?:
|
|
524
|
+
string;
|
|
421
525
|
/** Optional. Display price of the product (e.g. discounted price). If provided, this will override the display price in Catalog for this product. */
|
|
422
|
-
displayPrice?:
|
|
526
|
+
displayPrice?:
|
|
527
|
+
number;
|
|
423
528
|
/** Required. Catalog item ID. UTF-8 encoded string with a length limit of 128 characters. */
|
|
424
|
-
id?:
|
|
529
|
+
id?:
|
|
530
|
+
string;
|
|
425
531
|
/** Optional. Extra features associated with a product in the user event. */
|
|
426
|
-
itemAttributes?:
|
|
532
|
+
itemAttributes?:
|
|
533
|
+
GoogleCloudRecommendationengineV1beta1FeatureMap;
|
|
427
534
|
/** Optional. Original price of the product. If provided, this will override the original price in Catalog for this product. */
|
|
428
|
-
originalPrice?:
|
|
535
|
+
originalPrice?:
|
|
536
|
+
number;
|
|
429
537
|
/**
|
|
430
538
|
* Optional. Quantity of the product associated with the user event. For example, this field will be 2 if two products are added to the shopping cart for `add-to-cart` event. Required
|
|
431
539
|
* for `add-to-cart`, `add-to-list`, `remove-from-cart`, `checkout-start`, `purchase-complete`, `refund` event types.
|
|
432
540
|
*/
|
|
433
|
-
quantity?:
|
|
541
|
+
quantity?:
|
|
542
|
+
number;
|
|
434
543
|
/** Optional. Item stock state. If provided, this overrides the stock state in Catalog for items in this event. */
|
|
435
|
-
stockState?:
|
|
544
|
+
stockState?:
|
|
545
|
+
string;
|
|
436
546
|
}
|
|
437
547
|
interface GoogleCloudRecommendationengineV1beta1ProductEventDetail {
|
|
438
548
|
/**
|
|
439
549
|
* Optional. The id or name of the associated shopping cart. This id is used to associate multiple items added or present in the cart before purchase. This can only be set for
|
|
440
550
|
* `add-to-cart`, `remove-from-cart`, `checkout-start`, `purchase-complete`, or `shopping-cart-page-view` events.
|
|
441
551
|
*/
|
|
442
|
-
cartId?:
|
|
552
|
+
cartId?:
|
|
553
|
+
string;
|
|
443
554
|
/** Required for `add-to-list` and `remove-from-list` events. The id or name of the list that the item is being added to or removed from. Other event types should not set this field. */
|
|
444
|
-
listId?:
|
|
555
|
+
listId?:
|
|
556
|
+
string;
|
|
445
557
|
/**
|
|
446
558
|
* Required for `category-page-view` events. At least one of search_query or page_categories is required for `search` events. Other event types should not set this field. The
|
|
447
559
|
* categories associated with a category page. Category pages include special pages such as sales or promotions. For instance, a special sale page may have the category hierarchy:
|
|
448
560
|
* categories : ["Sales", "2017 Black Friday Deals"].
|
|
449
561
|
*/
|
|
450
|
-
pageCategories?:
|
|
562
|
+
pageCategories?:
|
|
563
|
+
GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy[];
|
|
451
564
|
/**
|
|
452
565
|
* The main product details related to the event. This field is required for the following event types: * `add-to-cart` * `add-to-list` * `checkout-start` * `detail-page-view` *
|
|
453
566
|
* `purchase-complete` * `refund` * `remove-from-cart` * `remove-from-list` This field is optional for the following event types: * `page-visit` * `shopping-cart-page-view` - note that
|
|
@@ -456,17 +569,20 @@ declare namespace gapi.client {
|
|
|
456
569
|
* for the same query, a new SEARCH event with different product_details is desired. The end user may have not finished broswing the whole page yet. This field is not allowed for the
|
|
457
570
|
* following event types: * `category-page-view` * `home-page-view`
|
|
458
571
|
*/
|
|
459
|
-
productDetails?:
|
|
572
|
+
productDetails?:
|
|
573
|
+
GoogleCloudRecommendationengineV1beta1ProductDetail[];
|
|
460
574
|
/**
|
|
461
575
|
* Optional. A transaction represents the entire purchase transaction. Required for `purchase-complete` events. Optional for `checkout-start` events. Other event types should not set
|
|
462
576
|
* this field.
|
|
463
577
|
*/
|
|
464
|
-
purchaseTransaction?:
|
|
578
|
+
purchaseTransaction?:
|
|
579
|
+
GoogleCloudRecommendationengineV1beta1PurchaseTransaction;
|
|
465
580
|
/**
|
|
466
581
|
* At least one of search_query or page_categories is required for `search` events. Other event types should not set this field. The user's search query as UTF-8 encoded text with a
|
|
467
582
|
* length limit of 5 KiB.
|
|
468
583
|
*/
|
|
469
|
-
searchQuery?:
|
|
584
|
+
searchQuery?:
|
|
585
|
+
string;
|
|
470
586
|
}
|
|
471
587
|
interface GoogleCloudRecommendationengineV1beta1PurchaseTransaction {
|
|
472
588
|
/**
|
|
@@ -474,24 +590,31 @@ declare namespace gapi.client {
|
|
|
474
590
|
* profit = revenue - (sum(taxes) + sum(costs)) If product_cost is not set, then profit = revenue - tax - shipping - sum(CatalogItem.costs). If CatalogItem.cost is not specified for
|
|
475
591
|
* one of the items, CatalogItem.cost based profit *cannot* be calculated for this Transaction.
|
|
476
592
|
*/
|
|
477
|
-
costs?:
|
|
593
|
+
costs?:
|
|
594
|
+
{ [P in string]: number };
|
|
478
595
|
/** Required. Currency code. Use three-character ISO-4217 code. This field is not required if the event type is `refund`. */
|
|
479
|
-
currencyCode?:
|
|
596
|
+
currencyCode?:
|
|
597
|
+
string;
|
|
480
598
|
/** Optional. The transaction ID with a length limit of 128 bytes. */
|
|
481
|
-
id?:
|
|
599
|
+
id?:
|
|
600
|
+
string;
|
|
482
601
|
/**
|
|
483
602
|
* Required. Total revenue or grand total associated with the transaction. This value include shipping, tax, or other adjustments to total revenue that you want to include as part of
|
|
484
603
|
* your revenue calculations. This field is not required if the event type is `refund`.
|
|
485
604
|
*/
|
|
486
|
-
revenue?:
|
|
605
|
+
revenue?:
|
|
606
|
+
number;
|
|
487
607
|
/** Optional. All the taxes associated with the transaction. */
|
|
488
|
-
taxes?:
|
|
608
|
+
taxes?:
|
|
609
|
+
{ [P in string]: number };
|
|
489
610
|
}
|
|
490
611
|
interface GoogleCloudRecommendationengineV1beta1PurgeUserEventsMetadata {
|
|
491
612
|
/** Operation create time. */
|
|
492
|
-
createTime?:
|
|
613
|
+
createTime?:
|
|
614
|
+
string;
|
|
493
615
|
/** The ID of the request / operation. */
|
|
494
|
-
operationName?:
|
|
616
|
+
operationName?:
|
|
617
|
+
string;
|
|
495
618
|
}
|
|
496
619
|
interface GoogleCloudRecommendationengineV1beta1PurgeUserEventsRequest {
|
|
497
620
|
/**
|
|
@@ -501,34 +624,43 @@ declare namespace gapi.client {
|
|
|
501
624
|
* "2012-04-23T18:30:43.511Z"` * Deleting specific eventType in time range: `eventTime > "2012-04-23T18:25:43.511Z" eventType = "detail-page-view"` * Deleting all events for a specific
|
|
502
625
|
* visitor: `visitorId = "visitor1024"` The filtering fields are assumed to have an implicit AND.
|
|
503
626
|
*/
|
|
504
|
-
filter?:
|
|
627
|
+
filter?:
|
|
628
|
+
string;
|
|
505
629
|
/** Optional. The default value is false. Override this flag to true to actually perform the purge. If the field is not set to true, a sampling of events to be deleted will be returned. */
|
|
506
|
-
force?:
|
|
630
|
+
force?:
|
|
631
|
+
boolean;
|
|
507
632
|
}
|
|
508
633
|
interface GoogleCloudRecommendationengineV1beta1PurgeUserEventsResponse {
|
|
509
634
|
/** The total count of events purged as a result of the operation. */
|
|
510
|
-
purgedEventsCount?:
|
|
635
|
+
purgedEventsCount?:
|
|
636
|
+
string;
|
|
511
637
|
/** A sampling of events deleted (or will be deleted) depending on the `force` property in the request. Max of 500 items will be returned. */
|
|
512
|
-
userEventsSample?:
|
|
638
|
+
userEventsSample?:
|
|
639
|
+
GoogleCloudRecommendationengineV1beta1UserEvent[];
|
|
513
640
|
}
|
|
514
641
|
// tslint:disable-next-line:no-empty-interface
|
|
515
642
|
interface GoogleCloudRecommendationengineV1beta1RejoinUserEventsMetadata {
|
|
516
643
|
}
|
|
517
644
|
interface GoogleCloudRecommendationengineV1beta1RejoinUserEventsRequest {
|
|
518
645
|
/** Required. The type of the catalog rejoin to define the scope and range of the user events to be rejoined with catalog items. */
|
|
519
|
-
userEventRejoinScope?:
|
|
646
|
+
userEventRejoinScope?:
|
|
647
|
+
string;
|
|
520
648
|
}
|
|
521
649
|
interface GoogleCloudRecommendationengineV1beta1RejoinUserEventsResponse {
|
|
522
650
|
/** Number of user events that were joined with latest catalog items. */
|
|
523
|
-
rejoinedUserEventsCount?:
|
|
651
|
+
rejoinedUserEventsCount?:
|
|
652
|
+
string;
|
|
524
653
|
}
|
|
525
654
|
interface GoogleCloudRecommendationengineV1beta1UserEvent {
|
|
526
655
|
/** Optional. User event detailed information common across different recommendation types. */
|
|
527
|
-
eventDetail?:
|
|
656
|
+
eventDetail?:
|
|
657
|
+
GoogleCloudRecommendationengineV1beta1EventDetail;
|
|
528
658
|
/** Optional. This field should *not* be set when using JavaScript pixel or the Recommendations AI Tag. Defaults to `EVENT_SOURCE_UNSPECIFIED`. */
|
|
529
|
-
eventSource?:
|
|
659
|
+
eventSource?:
|
|
660
|
+
string;
|
|
530
661
|
/** Optional. Only required for ImportUserEvents method. Timestamp of user event created. */
|
|
531
|
-
eventTime?:
|
|
662
|
+
eventTime?:
|
|
663
|
+
string;
|
|
532
664
|
/**
|
|
533
665
|
* Required. User event type. Allowed values are: * `add-to-cart` Products being added to cart. * `add-to-list` Items being added to a list (shopping list, favorites etc). *
|
|
534
666
|
* `category-page-view` Special pages such as sale or promotion pages viewed. * `checkout-start` User starting a checkout process. * `detail-page-view` Products detail page viewed. *
|
|
@@ -536,26 +668,32 @@ declare namespace gapi.client {
|
|
|
536
668
|
* items being refunded or returned. * `remove-from-cart` Products being removed from cart. * `remove-from-list` Items being removed from a list. * `search` Product search. *
|
|
537
669
|
* `shopping-cart-page-view` User viewing a shopping cart. * `impression` List of items displayed. Used by Google Tag Manager.
|
|
538
670
|
*/
|
|
539
|
-
eventType?:
|
|
671
|
+
eventType?:
|
|
672
|
+
string;
|
|
540
673
|
/**
|
|
541
674
|
* Optional. Retail product specific user event metadata. This field is required for the following event types: * `add-to-cart` * `add-to-list` * `category-page-view` *
|
|
542
675
|
* `checkout-start` * `detail-page-view` * `purchase-complete` * `refund` * `remove-from-cart` * `remove-from-list` * `search` This field is optional for the following event types: *
|
|
543
676
|
* `page-visit` * `shopping-cart-page-view` - note that 'product_event_detail' should be set for this unless the shopping cart is empty. This field is not allowed for the following
|
|
544
677
|
* event types: * `home-page-view`
|
|
545
678
|
*/
|
|
546
|
-
productEventDetail?:
|
|
679
|
+
productEventDetail?:
|
|
680
|
+
GoogleCloudRecommendationengineV1beta1ProductEventDetail;
|
|
547
681
|
/** Required. User information. */
|
|
548
|
-
userInfo?:
|
|
682
|
+
userInfo?:
|
|
683
|
+
GoogleCloudRecommendationengineV1beta1UserInfo;
|
|
549
684
|
}
|
|
550
685
|
interface GoogleCloudRecommendationengineV1beta1UserEventImportSummary {
|
|
551
686
|
/** Count of user events imported with complete existing catalog information. */
|
|
552
|
-
joinedEventsCount?:
|
|
687
|
+
joinedEventsCount?:
|
|
688
|
+
string;
|
|
553
689
|
/** Count of user events imported, but with catalog information not found in the imported catalog. */
|
|
554
|
-
unjoinedEventsCount?:
|
|
690
|
+
unjoinedEventsCount?:
|
|
691
|
+
string;
|
|
555
692
|
}
|
|
556
693
|
interface GoogleCloudRecommendationengineV1beta1UserEventInlineSource {
|
|
557
694
|
/** Optional. A list of user events to import. Recommended max of 10k items. */
|
|
558
|
-
userEvents?:
|
|
695
|
+
userEvents?:
|
|
696
|
+
GoogleCloudRecommendationengineV1beta1UserEvent[];
|
|
559
697
|
}
|
|
560
698
|
interface GoogleCloudRecommendationengineV1beta1UserInfo {
|
|
561
699
|
/**
|
|
@@ -563,181 +701,245 @@ declare namespace gapi.client {
|
|
|
563
701
|
* set when using the javascript pixel. This flag should be set only if the API request is made directly from the end user such as a mobile app (and not if a gateway or a server is
|
|
564
702
|
* processing and pushing the user events).
|
|
565
703
|
*/
|
|
566
|
-
directUserRequest?:
|
|
704
|
+
directUserRequest?:
|
|
705
|
+
boolean;
|
|
567
706
|
/**
|
|
568
707
|
* Optional. IP address of the user. This could be either IPv4 (e.g. 104.133.9.80) or IPv6 (e.g. 2001:0db8:85a3:0000:0000:8a2e:0370:7334). This should *not* be set when using the
|
|
569
708
|
* javascript pixel or if `direct_user_request` is set. Used to extract location information for personalization.
|
|
570
709
|
*/
|
|
571
|
-
ipAddress?:
|
|
710
|
+
ipAddress?:
|
|
711
|
+
string;
|
|
572
712
|
/**
|
|
573
713
|
* Optional. User agent as included in the HTTP header. UTF-8 encoded string with a length limit of 1 KiB. This should *not* be set when using the JavaScript pixel or if
|
|
574
714
|
* `directUserRequest` is set.
|
|
575
715
|
*/
|
|
576
|
-
userAgent?:
|
|
716
|
+
userAgent?:
|
|
717
|
+
string;
|
|
577
718
|
/**
|
|
578
719
|
* Optional. Unique identifier for logged-in user with a length limit of 128 bytes. Required only for logged-in users. Don't set for anonymous users. Don't set the field to the same
|
|
579
720
|
* fixed ID for different users. This mixes the event history of those users together, which results in degraded model quality.
|
|
580
721
|
*/
|
|
581
|
-
userId?:
|
|
722
|
+
userId?:
|
|
723
|
+
string;
|
|
582
724
|
/**
|
|
583
725
|
* Required. A unique identifier for tracking visitors with a length limit of 128 bytes. For example, this could be implemented with an HTTP cookie, which should be able to uniquely
|
|
584
726
|
* identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. Maximum length 128 bytes. Cannot be empty. Don't set
|
|
585
727
|
* the field to the same fixed ID for different users. This mixes the event history of those users together, which results in degraded model quality.
|
|
586
728
|
*/
|
|
587
|
-
visitorId?:
|
|
729
|
+
visitorId?:
|
|
730
|
+
string;
|
|
588
731
|
}
|
|
589
732
|
interface GoogleLongrunningListOperationsResponse {
|
|
590
733
|
/** The standard List next-page token. */
|
|
591
|
-
nextPageToken?:
|
|
734
|
+
nextPageToken?:
|
|
735
|
+
string;
|
|
592
736
|
/** A list of operations that matches the specified filter in the request. */
|
|
593
|
-
operations?:
|
|
737
|
+
operations?:
|
|
738
|
+
GoogleLongrunningOperation[];
|
|
594
739
|
}
|
|
595
740
|
interface GoogleLongrunningOperation {
|
|
596
741
|
/** If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. */
|
|
597
|
-
done?:
|
|
742
|
+
done?:
|
|
743
|
+
boolean;
|
|
598
744
|
/** The error result of the operation in case of failure or cancellation. */
|
|
599
|
-
error?:
|
|
745
|
+
error?:
|
|
746
|
+
GoogleRpcStatus;
|
|
600
747
|
/**
|
|
601
748
|
* Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such
|
|
602
749
|
* metadata. Any method that returns a long-running operation should document the metadata type, if any.
|
|
603
750
|
*/
|
|
604
|
-
metadata?:
|
|
751
|
+
metadata?:
|
|
752
|
+
{ [P in string]: any };
|
|
605
753
|
/**
|
|
606
754
|
* The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending
|
|
607
755
|
* with `operations/{unique_id}`.
|
|
608
756
|
*/
|
|
609
|
-
name?:
|
|
757
|
+
name?:
|
|
758
|
+
string;
|
|
610
759
|
/**
|
|
611
760
|
* The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the
|
|
612
761
|
* original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the
|
|
613
762
|
* original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
|
|
614
763
|
*/
|
|
615
|
-
response?:
|
|
764
|
+
response?:
|
|
765
|
+
{ [P in string]: any };
|
|
616
766
|
}
|
|
617
767
|
// tslint:disable-next-line:no-empty-interface
|
|
618
768
|
interface GoogleProtobufEmpty {
|
|
619
769
|
}
|
|
620
770
|
interface GoogleRpcStatus {
|
|
621
771
|
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
622
|
-
code?:
|
|
772
|
+
code?:
|
|
773
|
+
number;
|
|
623
774
|
/** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
|
|
624
|
-
details?:
|
|
775
|
+
details?:
|
|
776
|
+
Array<{ [P in string]: any }>;
|
|
625
777
|
/**
|
|
626
778
|
* A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the
|
|
627
779
|
* client.
|
|
628
780
|
*/
|
|
629
|
-
message?:
|
|
781
|
+
message?:
|
|
782
|
+
string;
|
|
630
783
|
}
|
|
631
784
|
interface CatalogItemsResource {
|
|
632
785
|
/** Creates a catalog item. */
|
|
633
786
|
create(request: {
|
|
634
787
|
/** V1 error format. */
|
|
635
|
-
"$.xgafv"?:
|
|
788
|
+
"$.xgafv"?:
|
|
789
|
+
string;
|
|
636
790
|
/** OAuth access token. */
|
|
637
|
-
access_token?:
|
|
791
|
+
access_token?:
|
|
792
|
+
string;
|
|
638
793
|
/** Data format for response. */
|
|
639
|
-
alt?:
|
|
794
|
+
alt?:
|
|
795
|
+
string;
|
|
640
796
|
/** JSONP */
|
|
641
|
-
callback?:
|
|
797
|
+
callback?:
|
|
798
|
+
string;
|
|
642
799
|
/** Selector specifying which fields to include in a partial response. */
|
|
643
|
-
fields?:
|
|
800
|
+
fields?:
|
|
801
|
+
string;
|
|
644
802
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
645
|
-
key?:
|
|
803
|
+
key?:
|
|
804
|
+
string;
|
|
646
805
|
/** OAuth 2.0 token for the current user. */
|
|
647
|
-
oauth_token?:
|
|
806
|
+
oauth_token?:
|
|
807
|
+
string;
|
|
648
808
|
/** Required. The parent catalog resource name, such as `projects/*/locations/global/catalogs/default_catalog`. */
|
|
649
|
-
parent:
|
|
809
|
+
parent:
|
|
810
|
+
string;
|
|
650
811
|
/** Returns response with indentations and line breaks. */
|
|
651
|
-
prettyPrint?:
|
|
812
|
+
prettyPrint?:
|
|
813
|
+
boolean;
|
|
652
814
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
653
|
-
quotaUser?:
|
|
815
|
+
quotaUser?:
|
|
816
|
+
string;
|
|
654
817
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
655
|
-
upload_protocol?:
|
|
818
|
+
upload_protocol?:
|
|
819
|
+
string;
|
|
656
820
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
657
|
-
uploadType?:
|
|
821
|
+
uploadType?:
|
|
822
|
+
string;
|
|
658
823
|
/** Request body */
|
|
659
|
-
resource:
|
|
824
|
+
resource:
|
|
825
|
+
GoogleCloudRecommendationengineV1beta1CatalogItem;
|
|
660
826
|
}): Request<GoogleCloudRecommendationengineV1beta1CatalogItem>;
|
|
661
827
|
create(request: {
|
|
662
828
|
/** V1 error format. */
|
|
663
|
-
"$.xgafv"?:
|
|
829
|
+
"$.xgafv"?:
|
|
830
|
+
string;
|
|
664
831
|
/** OAuth access token. */
|
|
665
|
-
access_token?:
|
|
832
|
+
access_token?:
|
|
833
|
+
string;
|
|
666
834
|
/** Data format for response. */
|
|
667
|
-
alt?:
|
|
835
|
+
alt?:
|
|
836
|
+
string;
|
|
668
837
|
/** JSONP */
|
|
669
|
-
callback?:
|
|
838
|
+
callback?:
|
|
839
|
+
string;
|
|
670
840
|
/** Selector specifying which fields to include in a partial response. */
|
|
671
|
-
fields?:
|
|
841
|
+
fields?:
|
|
842
|
+
string;
|
|
672
843
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
673
|
-
key?:
|
|
844
|
+
key?:
|
|
845
|
+
string;
|
|
674
846
|
/** OAuth 2.0 token for the current user. */
|
|
675
|
-
oauth_token?:
|
|
847
|
+
oauth_token?:
|
|
848
|
+
string;
|
|
676
849
|
/** Required. The parent catalog resource name, such as `projects/*/locations/global/catalogs/default_catalog`. */
|
|
677
|
-
parent:
|
|
850
|
+
parent:
|
|
851
|
+
string;
|
|
678
852
|
/** Returns response with indentations and line breaks. */
|
|
679
|
-
prettyPrint?:
|
|
853
|
+
prettyPrint?:
|
|
854
|
+
boolean;
|
|
680
855
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
681
|
-
quotaUser?:
|
|
856
|
+
quotaUser?:
|
|
857
|
+
string;
|
|
682
858
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
683
|
-
upload_protocol?:
|
|
859
|
+
upload_protocol?:
|
|
860
|
+
string;
|
|
684
861
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
685
|
-
uploadType?:
|
|
862
|
+
uploadType?:
|
|
863
|
+
string;
|
|
686
864
|
},
|
|
687
865
|
body: GoogleCloudRecommendationengineV1beta1CatalogItem): Request<GoogleCloudRecommendationengineV1beta1CatalogItem>;
|
|
688
866
|
/** Deletes a catalog item. */
|
|
689
867
|
delete(request?: {
|
|
690
868
|
/** V1 error format. */
|
|
691
|
-
"$.xgafv"?:
|
|
869
|
+
"$.xgafv"?:
|
|
870
|
+
string;
|
|
692
871
|
/** OAuth access token. */
|
|
693
|
-
access_token?:
|
|
872
|
+
access_token?:
|
|
873
|
+
string;
|
|
694
874
|
/** Data format for response. */
|
|
695
|
-
alt?:
|
|
875
|
+
alt?:
|
|
876
|
+
string;
|
|
696
877
|
/** JSONP */
|
|
697
|
-
callback?:
|
|
878
|
+
callback?:
|
|
879
|
+
string;
|
|
698
880
|
/** Selector specifying which fields to include in a partial response. */
|
|
699
|
-
fields?:
|
|
881
|
+
fields?:
|
|
882
|
+
string;
|
|
700
883
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
701
|
-
key?:
|
|
884
|
+
key?:
|
|
885
|
+
string;
|
|
702
886
|
/** Required. Full resource name of catalog item, such as `projects/*/locations/global/catalogs/default_catalog/catalogItems/some_catalog_item_id`. */
|
|
703
|
-
name:
|
|
887
|
+
name:
|
|
888
|
+
string;
|
|
704
889
|
/** OAuth 2.0 token for the current user. */
|
|
705
|
-
oauth_token?:
|
|
890
|
+
oauth_token?:
|
|
891
|
+
string;
|
|
706
892
|
/** Returns response with indentations and line breaks. */
|
|
707
|
-
prettyPrint?:
|
|
893
|
+
prettyPrint?:
|
|
894
|
+
boolean;
|
|
708
895
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
709
|
-
quotaUser?:
|
|
896
|
+
quotaUser?:
|
|
897
|
+
string;
|
|
710
898
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
711
|
-
upload_protocol?:
|
|
899
|
+
upload_protocol?:
|
|
900
|
+
string;
|
|
712
901
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
713
|
-
uploadType?:
|
|
902
|
+
uploadType?:
|
|
903
|
+
string;
|
|
714
904
|
}): Request<{}>;
|
|
715
905
|
/** Gets a specific catalog item. */
|
|
716
906
|
get(request?: {
|
|
717
907
|
/** V1 error format. */
|
|
718
|
-
"$.xgafv"?:
|
|
908
|
+
"$.xgafv"?:
|
|
909
|
+
string;
|
|
719
910
|
/** OAuth access token. */
|
|
720
|
-
access_token?:
|
|
911
|
+
access_token?:
|
|
912
|
+
string;
|
|
721
913
|
/** Data format for response. */
|
|
722
|
-
alt?:
|
|
914
|
+
alt?:
|
|
915
|
+
string;
|
|
723
916
|
/** JSONP */
|
|
724
|
-
callback?:
|
|
917
|
+
callback?:
|
|
918
|
+
string;
|
|
725
919
|
/** Selector specifying which fields to include in a partial response. */
|
|
726
|
-
fields?:
|
|
920
|
+
fields?:
|
|
921
|
+
string;
|
|
727
922
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
728
|
-
key?:
|
|
923
|
+
key?:
|
|
924
|
+
string;
|
|
729
925
|
/** Required. Full resource name of catalog item, such as `projects/*/locations/global/catalogs/default_catalog/catalogitems/some_catalog_item_id`. */
|
|
730
|
-
name:
|
|
926
|
+
name:
|
|
927
|
+
string;
|
|
731
928
|
/** OAuth 2.0 token for the current user. */
|
|
732
|
-
oauth_token?:
|
|
929
|
+
oauth_token?:
|
|
930
|
+
string;
|
|
733
931
|
/** Returns response with indentations and line breaks. */
|
|
734
|
-
prettyPrint?:
|
|
932
|
+
prettyPrint?:
|
|
933
|
+
boolean;
|
|
735
934
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
736
|
-
quotaUser?:
|
|
935
|
+
quotaUser?:
|
|
936
|
+
string;
|
|
737
937
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
738
|
-
upload_protocol?:
|
|
938
|
+
upload_protocol?:
|
|
939
|
+
string;
|
|
739
940
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
740
|
-
uploadType?:
|
|
941
|
+
uploadType?:
|
|
942
|
+
string;
|
|
741
943
|
}): Request<GoogleCloudRecommendationengineV1beta1CatalogItem>;
|
|
742
944
|
/**
|
|
743
945
|
* Bulk import of multiple catalog items. Request processing may be synchronous. No partial updating supported. Non-existing items will be created. Operation.response is of type
|
|
@@ -745,156 +947,223 @@ declare namespace gapi.client {
|
|
|
745
947
|
*/
|
|
746
948
|
import(request: {
|
|
747
949
|
/** V1 error format. */
|
|
748
|
-
"$.xgafv"?:
|
|
950
|
+
"$.xgafv"?:
|
|
951
|
+
string;
|
|
749
952
|
/** OAuth access token. */
|
|
750
|
-
access_token?:
|
|
953
|
+
access_token?:
|
|
954
|
+
string;
|
|
751
955
|
/** Data format for response. */
|
|
752
|
-
alt?:
|
|
956
|
+
alt?:
|
|
957
|
+
string;
|
|
753
958
|
/** JSONP */
|
|
754
|
-
callback?:
|
|
959
|
+
callback?:
|
|
960
|
+
string;
|
|
755
961
|
/** Selector specifying which fields to include in a partial response. */
|
|
756
|
-
fields?:
|
|
962
|
+
fields?:
|
|
963
|
+
string;
|
|
757
964
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
758
|
-
key?:
|
|
965
|
+
key?:
|
|
966
|
+
string;
|
|
759
967
|
/** OAuth 2.0 token for the current user. */
|
|
760
|
-
oauth_token?:
|
|
968
|
+
oauth_token?:
|
|
969
|
+
string;
|
|
761
970
|
/**
|
|
762
971
|
* Required. `projects/1234/locations/global/catalogs/default_catalog` If no updateMask is specified, requires catalogItems.create permission. If updateMask is specified, requires
|
|
763
972
|
* catalogItems.update permission.
|
|
764
973
|
*/
|
|
765
|
-
parent:
|
|
974
|
+
parent:
|
|
975
|
+
string;
|
|
766
976
|
/** Returns response with indentations and line breaks. */
|
|
767
|
-
prettyPrint?:
|
|
977
|
+
prettyPrint?:
|
|
978
|
+
boolean;
|
|
768
979
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
769
|
-
quotaUser?:
|
|
980
|
+
quotaUser?:
|
|
981
|
+
string;
|
|
770
982
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
771
|
-
upload_protocol?:
|
|
983
|
+
upload_protocol?:
|
|
984
|
+
string;
|
|
772
985
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
773
|
-
uploadType?:
|
|
986
|
+
uploadType?:
|
|
987
|
+
string;
|
|
774
988
|
/** Request body */
|
|
775
|
-
resource:
|
|
989
|
+
resource:
|
|
990
|
+
GoogleCloudRecommendationengineV1beta1ImportCatalogItemsRequest;
|
|
776
991
|
}): Request<GoogleLongrunningOperation>;
|
|
777
992
|
import(request: {
|
|
778
993
|
/** V1 error format. */
|
|
779
|
-
"$.xgafv"?:
|
|
994
|
+
"$.xgafv"?:
|
|
995
|
+
string;
|
|
780
996
|
/** OAuth access token. */
|
|
781
|
-
access_token?:
|
|
997
|
+
access_token?:
|
|
998
|
+
string;
|
|
782
999
|
/** Data format for response. */
|
|
783
|
-
alt?:
|
|
1000
|
+
alt?:
|
|
1001
|
+
string;
|
|
784
1002
|
/** JSONP */
|
|
785
|
-
callback?:
|
|
1003
|
+
callback?:
|
|
1004
|
+
string;
|
|
786
1005
|
/** Selector specifying which fields to include in a partial response. */
|
|
787
|
-
fields?:
|
|
1006
|
+
fields?:
|
|
1007
|
+
string;
|
|
788
1008
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
789
|
-
key?:
|
|
1009
|
+
key?:
|
|
1010
|
+
string;
|
|
790
1011
|
/** OAuth 2.0 token for the current user. */
|
|
791
|
-
oauth_token?:
|
|
1012
|
+
oauth_token?:
|
|
1013
|
+
string;
|
|
792
1014
|
/**
|
|
793
1015
|
* Required. `projects/1234/locations/global/catalogs/default_catalog` If no updateMask is specified, requires catalogItems.create permission. If updateMask is specified, requires
|
|
794
1016
|
* catalogItems.update permission.
|
|
795
1017
|
*/
|
|
796
|
-
parent:
|
|
1018
|
+
parent:
|
|
1019
|
+
string;
|
|
797
1020
|
/** Returns response with indentations and line breaks. */
|
|
798
|
-
prettyPrint?:
|
|
1021
|
+
prettyPrint?:
|
|
1022
|
+
boolean;
|
|
799
1023
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
800
|
-
quotaUser?:
|
|
1024
|
+
quotaUser?:
|
|
1025
|
+
string;
|
|
801
1026
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
802
|
-
upload_protocol?:
|
|
1027
|
+
upload_protocol?:
|
|
1028
|
+
string;
|
|
803
1029
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
804
|
-
uploadType?:
|
|
1030
|
+
uploadType?:
|
|
1031
|
+
string;
|
|
805
1032
|
},
|
|
806
1033
|
body: GoogleCloudRecommendationengineV1beta1ImportCatalogItemsRequest): Request<GoogleLongrunningOperation>;
|
|
807
1034
|
/** Gets a list of catalog items. */
|
|
808
1035
|
list(request?: {
|
|
809
1036
|
/** V1 error format. */
|
|
810
|
-
"$.xgafv"?:
|
|
1037
|
+
"$.xgafv"?:
|
|
1038
|
+
string;
|
|
811
1039
|
/** OAuth access token. */
|
|
812
|
-
access_token?:
|
|
1040
|
+
access_token?:
|
|
1041
|
+
string;
|
|
813
1042
|
/** Data format for response. */
|
|
814
|
-
alt?:
|
|
1043
|
+
alt?:
|
|
1044
|
+
string;
|
|
815
1045
|
/** JSONP */
|
|
816
|
-
callback?:
|
|
1046
|
+
callback?:
|
|
1047
|
+
string;
|
|
817
1048
|
/** Selector specifying which fields to include in a partial response. */
|
|
818
|
-
fields?:
|
|
1049
|
+
fields?:
|
|
1050
|
+
string;
|
|
819
1051
|
/** Optional. Use of this field is not supported by version v1beta1. */
|
|
820
|
-
filter?:
|
|
1052
|
+
filter?:
|
|
1053
|
+
string;
|
|
821
1054
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
822
|
-
key?:
|
|
1055
|
+
key?:
|
|
1056
|
+
string;
|
|
823
1057
|
/** OAuth 2.0 token for the current user. */
|
|
824
|
-
oauth_token?:
|
|
1058
|
+
oauth_token?:
|
|
1059
|
+
string;
|
|
825
1060
|
/** Optional. Maximum number of results to return per page. If zero, the service will choose a reasonable default. */
|
|
826
|
-
pageSize?:
|
|
1061
|
+
pageSize?:
|
|
1062
|
+
number;
|
|
827
1063
|
/** Optional. The previous ListCatalogItemsResponse.next_page_token. */
|
|
828
|
-
pageToken?:
|
|
1064
|
+
pageToken?:
|
|
1065
|
+
string;
|
|
829
1066
|
/** Required. The parent catalog resource name, such as `projects/*/locations/global/catalogs/default_catalog`. */
|
|
830
|
-
parent:
|
|
1067
|
+
parent:
|
|
1068
|
+
string;
|
|
831
1069
|
/** Returns response with indentations and line breaks. */
|
|
832
|
-
prettyPrint?:
|
|
1070
|
+
prettyPrint?:
|
|
1071
|
+
boolean;
|
|
833
1072
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
834
|
-
quotaUser?:
|
|
1073
|
+
quotaUser?:
|
|
1074
|
+
string;
|
|
835
1075
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
836
|
-
upload_protocol?:
|
|
1076
|
+
upload_protocol?:
|
|
1077
|
+
string;
|
|
837
1078
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
838
|
-
uploadType?:
|
|
1079
|
+
uploadType?:
|
|
1080
|
+
string;
|
|
839
1081
|
}): Request<GoogleCloudRecommendationengineV1beta1ListCatalogItemsResponse>;
|
|
840
1082
|
/** Updates a catalog item. Partial updating is supported. Non-existing items will be created. */
|
|
841
1083
|
patch(request: {
|
|
842
1084
|
/** V1 error format. */
|
|
843
|
-
"$.xgafv"?:
|
|
1085
|
+
"$.xgafv"?:
|
|
1086
|
+
string;
|
|
844
1087
|
/** OAuth access token. */
|
|
845
|
-
access_token?:
|
|
1088
|
+
access_token?:
|
|
1089
|
+
string;
|
|
846
1090
|
/** Data format for response. */
|
|
847
|
-
alt?:
|
|
1091
|
+
alt?:
|
|
1092
|
+
string;
|
|
848
1093
|
/** JSONP */
|
|
849
|
-
callback?:
|
|
1094
|
+
callback?:
|
|
1095
|
+
string;
|
|
850
1096
|
/** Selector specifying which fields to include in a partial response. */
|
|
851
|
-
fields?:
|
|
1097
|
+
fields?:
|
|
1098
|
+
string;
|
|
852
1099
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
853
|
-
key?:
|
|
1100
|
+
key?:
|
|
1101
|
+
string;
|
|
854
1102
|
/** Required. Full resource name of catalog item, such as `projects/*/locations/global/catalogs/default_catalog/catalogItems/some_catalog_item_id`. */
|
|
855
|
-
name:
|
|
1103
|
+
name:
|
|
1104
|
+
string;
|
|
856
1105
|
/** OAuth 2.0 token for the current user. */
|
|
857
|
-
oauth_token?:
|
|
1106
|
+
oauth_token?:
|
|
1107
|
+
string;
|
|
858
1108
|
/** Returns response with indentations and line breaks. */
|
|
859
|
-
prettyPrint?:
|
|
1109
|
+
prettyPrint?:
|
|
1110
|
+
boolean;
|
|
860
1111
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
861
|
-
quotaUser?:
|
|
1112
|
+
quotaUser?:
|
|
1113
|
+
string;
|
|
862
1114
|
/** Optional. Indicates which fields in the provided 'item' to update. If not set, will by default update all fields. */
|
|
863
|
-
updateMask?:
|
|
1115
|
+
updateMask?:
|
|
1116
|
+
string;
|
|
864
1117
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
865
|
-
upload_protocol?:
|
|
1118
|
+
upload_protocol?:
|
|
1119
|
+
string;
|
|
866
1120
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
867
|
-
uploadType?:
|
|
1121
|
+
uploadType?:
|
|
1122
|
+
string;
|
|
868
1123
|
/** Request body */
|
|
869
|
-
resource:
|
|
1124
|
+
resource:
|
|
1125
|
+
GoogleCloudRecommendationengineV1beta1CatalogItem;
|
|
870
1126
|
}): Request<GoogleCloudRecommendationengineV1beta1CatalogItem>;
|
|
871
1127
|
patch(request: {
|
|
872
1128
|
/** V1 error format. */
|
|
873
|
-
"$.xgafv"?:
|
|
1129
|
+
"$.xgafv"?:
|
|
1130
|
+
string;
|
|
874
1131
|
/** OAuth access token. */
|
|
875
|
-
access_token?:
|
|
1132
|
+
access_token?:
|
|
1133
|
+
string;
|
|
876
1134
|
/** Data format for response. */
|
|
877
|
-
alt?:
|
|
1135
|
+
alt?:
|
|
1136
|
+
string;
|
|
878
1137
|
/** JSONP */
|
|
879
|
-
callback?:
|
|
1138
|
+
callback?:
|
|
1139
|
+
string;
|
|
880
1140
|
/** Selector specifying which fields to include in a partial response. */
|
|
881
|
-
fields?:
|
|
1141
|
+
fields?:
|
|
1142
|
+
string;
|
|
882
1143
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
883
|
-
key?:
|
|
1144
|
+
key?:
|
|
1145
|
+
string;
|
|
884
1146
|
/** Required. Full resource name of catalog item, such as `projects/*/locations/global/catalogs/default_catalog/catalogItems/some_catalog_item_id`. */
|
|
885
|
-
name:
|
|
1147
|
+
name:
|
|
1148
|
+
string;
|
|
886
1149
|
/** OAuth 2.0 token for the current user. */
|
|
887
|
-
oauth_token?:
|
|
1150
|
+
oauth_token?:
|
|
1151
|
+
string;
|
|
888
1152
|
/** Returns response with indentations and line breaks. */
|
|
889
|
-
prettyPrint?:
|
|
1153
|
+
prettyPrint?:
|
|
1154
|
+
boolean;
|
|
890
1155
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
891
|
-
quotaUser?:
|
|
1156
|
+
quotaUser?:
|
|
1157
|
+
string;
|
|
892
1158
|
/** Optional. Indicates which fields in the provided 'item' to update. If not set, will by default update all fields. */
|
|
893
|
-
updateMask?:
|
|
1159
|
+
updateMask?:
|
|
1160
|
+
string;
|
|
894
1161
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
895
|
-
upload_protocol?:
|
|
1162
|
+
upload_protocol?:
|
|
1163
|
+
string;
|
|
896
1164
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
897
|
-
uploadType?:
|
|
1165
|
+
uploadType?:
|
|
1166
|
+
string;
|
|
898
1167
|
},
|
|
899
1168
|
body: GoogleCloudRecommendationengineV1beta1CatalogItem): Request<GoogleCloudRecommendationengineV1beta1CatalogItem>;
|
|
900
1169
|
}
|
|
@@ -902,62 +1171,89 @@ declare namespace gapi.client {
|
|
|
902
1171
|
/** 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. */
|
|
903
1172
|
get(request?: {
|
|
904
1173
|
/** V1 error format. */
|
|
905
|
-
"$.xgafv"?:
|
|
1174
|
+
"$.xgafv"?:
|
|
1175
|
+
string;
|
|
906
1176
|
/** OAuth access token. */
|
|
907
|
-
access_token?:
|
|
1177
|
+
access_token?:
|
|
1178
|
+
string;
|
|
908
1179
|
/** Data format for response. */
|
|
909
|
-
alt?:
|
|
1180
|
+
alt?:
|
|
1181
|
+
string;
|
|
910
1182
|
/** JSONP */
|
|
911
|
-
callback?:
|
|
1183
|
+
callback?:
|
|
1184
|
+
string;
|
|
912
1185
|
/** Selector specifying which fields to include in a partial response. */
|
|
913
|
-
fields?:
|
|
1186
|
+
fields?:
|
|
1187
|
+
string;
|
|
914
1188
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
915
|
-
key?:
|
|
1189
|
+
key?:
|
|
1190
|
+
string;
|
|
916
1191
|
/** The name of the operation resource. */
|
|
917
|
-
name:
|
|
1192
|
+
name:
|
|
1193
|
+
string;
|
|
918
1194
|
/** OAuth 2.0 token for the current user. */
|
|
919
|
-
oauth_token?:
|
|
1195
|
+
oauth_token?:
|
|
1196
|
+
string;
|
|
920
1197
|
/** Returns response with indentations and line breaks. */
|
|
921
|
-
prettyPrint?:
|
|
1198
|
+
prettyPrint?:
|
|
1199
|
+
boolean;
|
|
922
1200
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
923
|
-
quotaUser?:
|
|
1201
|
+
quotaUser?:
|
|
1202
|
+
string;
|
|
924
1203
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
925
|
-
upload_protocol?:
|
|
1204
|
+
upload_protocol?:
|
|
1205
|
+
string;
|
|
926
1206
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
927
|
-
uploadType?:
|
|
1207
|
+
uploadType?:
|
|
1208
|
+
string;
|
|
928
1209
|
}): Request<GoogleLongrunningOperation>;
|
|
929
1210
|
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
930
1211
|
list(request?: {
|
|
931
1212
|
/** V1 error format. */
|
|
932
|
-
"$.xgafv"?:
|
|
1213
|
+
"$.xgafv"?:
|
|
1214
|
+
string;
|
|
933
1215
|
/** OAuth access token. */
|
|
934
|
-
access_token?:
|
|
1216
|
+
access_token?:
|
|
1217
|
+
string;
|
|
935
1218
|
/** Data format for response. */
|
|
936
|
-
alt?:
|
|
1219
|
+
alt?:
|
|
1220
|
+
string;
|
|
937
1221
|
/** JSONP */
|
|
938
|
-
callback?:
|
|
1222
|
+
callback?:
|
|
1223
|
+
string;
|
|
939
1224
|
/** Selector specifying which fields to include in a partial response. */
|
|
940
|
-
fields?:
|
|
1225
|
+
fields?:
|
|
1226
|
+
string;
|
|
941
1227
|
/** The standard list filter. */
|
|
942
|
-
filter?:
|
|
1228
|
+
filter?:
|
|
1229
|
+
string;
|
|
943
1230
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
944
|
-
key?:
|
|
1231
|
+
key?:
|
|
1232
|
+
string;
|
|
945
1233
|
/** The name of the operation's parent resource. */
|
|
946
|
-
name:
|
|
1234
|
+
name:
|
|
1235
|
+
string;
|
|
947
1236
|
/** OAuth 2.0 token for the current user. */
|
|
948
|
-
oauth_token?:
|
|
1237
|
+
oauth_token?:
|
|
1238
|
+
string;
|
|
949
1239
|
/** The standard list page size. */
|
|
950
|
-
pageSize?:
|
|
1240
|
+
pageSize?:
|
|
1241
|
+
number;
|
|
951
1242
|
/** The standard list page token. */
|
|
952
|
-
pageToken?:
|
|
1243
|
+
pageToken?:
|
|
1244
|
+
string;
|
|
953
1245
|
/** Returns response with indentations and line breaks. */
|
|
954
|
-
prettyPrint?:
|
|
1246
|
+
prettyPrint?:
|
|
1247
|
+
boolean;
|
|
955
1248
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
956
|
-
quotaUser?:
|
|
1249
|
+
quotaUser?:
|
|
1250
|
+
string;
|
|
957
1251
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
958
|
-
upload_protocol?:
|
|
1252
|
+
upload_protocol?:
|
|
1253
|
+
string;
|
|
959
1254
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
960
|
-
uploadType?:
|
|
1255
|
+
uploadType?:
|
|
1256
|
+
string;
|
|
961
1257
|
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
962
1258
|
}
|
|
963
1259
|
interface PlacementsResource {
|
|
@@ -967,55 +1263,80 @@ declare namespace gapi.client {
|
|
|
967
1263
|
*/
|
|
968
1264
|
predict(request: {
|
|
969
1265
|
/** V1 error format. */
|
|
970
|
-
"$.xgafv"?:
|
|
1266
|
+
"$.xgafv"?:
|
|
1267
|
+
string;
|
|
971
1268
|
/** OAuth access token. */
|
|
972
|
-
access_token?:
|
|
1269
|
+
access_token?:
|
|
1270
|
+
string;
|
|
973
1271
|
/** Data format for response. */
|
|
974
|
-
alt?:
|
|
1272
|
+
alt?:
|
|
1273
|
+
string;
|
|
975
1274
|
/** JSONP */
|
|
976
|
-
callback?:
|
|
1275
|
+
callback?:
|
|
1276
|
+
string;
|
|
977
1277
|
/** Selector specifying which fields to include in a partial response. */
|
|
978
|
-
fields?:
|
|
1278
|
+
fields?:
|
|
1279
|
+
string;
|
|
979
1280
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
980
|
-
key?:
|
|
981
|
-
|
|
1281
|
+
key?:
|
|
1282
|
+
string;
|
|
1283
|
+
name:
|
|
1284
|
+
string;
|
|
982
1285
|
/** OAuth 2.0 token for the current user. */
|
|
983
|
-
oauth_token?:
|
|
1286
|
+
oauth_token?:
|
|
1287
|
+
string;
|
|
984
1288
|
/** Returns response with indentations and line breaks. */
|
|
985
|
-
prettyPrint?:
|
|
1289
|
+
prettyPrint?:
|
|
1290
|
+
boolean;
|
|
986
1291
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
987
|
-
quotaUser?:
|
|
1292
|
+
quotaUser?:
|
|
1293
|
+
string;
|
|
988
1294
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
989
|
-
upload_protocol?:
|
|
1295
|
+
upload_protocol?:
|
|
1296
|
+
string;
|
|
990
1297
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
991
|
-
uploadType?:
|
|
1298
|
+
uploadType?:
|
|
1299
|
+
string;
|
|
992
1300
|
/** Request body */
|
|
993
|
-
resource:
|
|
1301
|
+
resource:
|
|
1302
|
+
GoogleCloudRecommendationengineV1beta1PredictRequest;
|
|
994
1303
|
}): Request<GoogleCloudRecommendationengineV1beta1PredictResponse>;
|
|
995
1304
|
predict(request: {
|
|
996
1305
|
/** V1 error format. */
|
|
997
|
-
"$.xgafv"?:
|
|
1306
|
+
"$.xgafv"?:
|
|
1307
|
+
string;
|
|
998
1308
|
/** OAuth access token. */
|
|
999
|
-
access_token?:
|
|
1309
|
+
access_token?:
|
|
1310
|
+
string;
|
|
1000
1311
|
/** Data format for response. */
|
|
1001
|
-
alt?:
|
|
1312
|
+
alt?:
|
|
1313
|
+
string;
|
|
1002
1314
|
/** JSONP */
|
|
1003
|
-
callback?:
|
|
1315
|
+
callback?:
|
|
1316
|
+
string;
|
|
1004
1317
|
/** Selector specifying which fields to include in a partial response. */
|
|
1005
|
-
fields?:
|
|
1318
|
+
fields?:
|
|
1319
|
+
string;
|
|
1006
1320
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1007
|
-
key?:
|
|
1008
|
-
|
|
1321
|
+
key?:
|
|
1322
|
+
string;
|
|
1323
|
+
name:
|
|
1324
|
+
string;
|
|
1009
1325
|
/** OAuth 2.0 token for the current user. */
|
|
1010
|
-
oauth_token?:
|
|
1326
|
+
oauth_token?:
|
|
1327
|
+
string;
|
|
1011
1328
|
/** Returns response with indentations and line breaks. */
|
|
1012
|
-
prettyPrint?:
|
|
1329
|
+
prettyPrint?:
|
|
1330
|
+
boolean;
|
|
1013
1331
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1014
|
-
quotaUser?:
|
|
1332
|
+
quotaUser?:
|
|
1333
|
+
string;
|
|
1015
1334
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1016
|
-
upload_protocol?:
|
|
1335
|
+
upload_protocol?:
|
|
1336
|
+
string;
|
|
1017
1337
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1018
|
-
uploadType?:
|
|
1338
|
+
uploadType?:
|
|
1339
|
+
string;
|
|
1019
1340
|
},
|
|
1020
1341
|
body: GoogleCloudRecommendationengineV1beta1PredictRequest): Request<GoogleCloudRecommendationengineV1beta1PredictResponse>;
|
|
1021
1342
|
}
|
|
@@ -1023,119 +1344,170 @@ declare namespace gapi.client {
|
|
|
1023
1344
|
/** Register an API key for use with predict method. */
|
|
1024
1345
|
create(request: {
|
|
1025
1346
|
/** V1 error format. */
|
|
1026
|
-
"$.xgafv"?:
|
|
1347
|
+
"$.xgafv"?:
|
|
1348
|
+
string;
|
|
1027
1349
|
/** OAuth access token. */
|
|
1028
|
-
access_token?:
|
|
1350
|
+
access_token?:
|
|
1351
|
+
string;
|
|
1029
1352
|
/** Data format for response. */
|
|
1030
|
-
alt?:
|
|
1353
|
+
alt?:
|
|
1354
|
+
string;
|
|
1031
1355
|
/** JSONP */
|
|
1032
|
-
callback?:
|
|
1356
|
+
callback?:
|
|
1357
|
+
string;
|
|
1033
1358
|
/** Selector specifying which fields to include in a partial response. */
|
|
1034
|
-
fields?:
|
|
1359
|
+
fields?:
|
|
1360
|
+
string;
|
|
1035
1361
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1036
|
-
key?:
|
|
1362
|
+
key?:
|
|
1363
|
+
string;
|
|
1037
1364
|
/** OAuth 2.0 token for the current user. */
|
|
1038
|
-
oauth_token?:
|
|
1365
|
+
oauth_token?:
|
|
1366
|
+
string;
|
|
1039
1367
|
/** Required. The parent resource path. `projects/*/locations/global/catalogs/default_catalog/eventStores/default_event_store`. */
|
|
1040
|
-
parent:
|
|
1368
|
+
parent:
|
|
1369
|
+
string;
|
|
1041
1370
|
/** Returns response with indentations and line breaks. */
|
|
1042
|
-
prettyPrint?:
|
|
1371
|
+
prettyPrint?:
|
|
1372
|
+
boolean;
|
|
1043
1373
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1044
|
-
quotaUser?:
|
|
1374
|
+
quotaUser?:
|
|
1375
|
+
string;
|
|
1045
1376
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1046
|
-
upload_protocol?:
|
|
1377
|
+
upload_protocol?:
|
|
1378
|
+
string;
|
|
1047
1379
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1048
|
-
uploadType?:
|
|
1380
|
+
uploadType?:
|
|
1381
|
+
string;
|
|
1049
1382
|
/** Request body */
|
|
1050
|
-
resource:
|
|
1383
|
+
resource:
|
|
1384
|
+
GoogleCloudRecommendationengineV1beta1CreatePredictionApiKeyRegistrationRequest;
|
|
1051
1385
|
}): Request<GoogleCloudRecommendationengineV1beta1PredictionApiKeyRegistration>;
|
|
1052
1386
|
create(request: {
|
|
1053
1387
|
/** V1 error format. */
|
|
1054
|
-
"$.xgafv"?:
|
|
1388
|
+
"$.xgafv"?:
|
|
1389
|
+
string;
|
|
1055
1390
|
/** OAuth access token. */
|
|
1056
|
-
access_token?:
|
|
1391
|
+
access_token?:
|
|
1392
|
+
string;
|
|
1057
1393
|
/** Data format for response. */
|
|
1058
|
-
alt?:
|
|
1394
|
+
alt?:
|
|
1395
|
+
string;
|
|
1059
1396
|
/** JSONP */
|
|
1060
|
-
callback?:
|
|
1397
|
+
callback?:
|
|
1398
|
+
string;
|
|
1061
1399
|
/** Selector specifying which fields to include in a partial response. */
|
|
1062
|
-
fields?:
|
|
1400
|
+
fields?:
|
|
1401
|
+
string;
|
|
1063
1402
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1064
|
-
key?:
|
|
1403
|
+
key?:
|
|
1404
|
+
string;
|
|
1065
1405
|
/** OAuth 2.0 token for the current user. */
|
|
1066
|
-
oauth_token?:
|
|
1406
|
+
oauth_token?:
|
|
1407
|
+
string;
|
|
1067
1408
|
/** Required. The parent resource path. `projects/*/locations/global/catalogs/default_catalog/eventStores/default_event_store`. */
|
|
1068
|
-
parent:
|
|
1409
|
+
parent:
|
|
1410
|
+
string;
|
|
1069
1411
|
/** Returns response with indentations and line breaks. */
|
|
1070
|
-
prettyPrint?:
|
|
1412
|
+
prettyPrint?:
|
|
1413
|
+
boolean;
|
|
1071
1414
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1072
|
-
quotaUser?:
|
|
1415
|
+
quotaUser?:
|
|
1416
|
+
string;
|
|
1073
1417
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1074
|
-
upload_protocol?:
|
|
1418
|
+
upload_protocol?:
|
|
1419
|
+
string;
|
|
1075
1420
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1076
|
-
uploadType?:
|
|
1421
|
+
uploadType?:
|
|
1422
|
+
string;
|
|
1077
1423
|
},
|
|
1078
1424
|
body: GoogleCloudRecommendationengineV1beta1CreatePredictionApiKeyRegistrationRequest): Request<GoogleCloudRecommendationengineV1beta1PredictionApiKeyRegistration>;
|
|
1079
1425
|
/** Unregister an apiKey from using for predict method. */
|
|
1080
1426
|
delete(request?: {
|
|
1081
1427
|
/** V1 error format. */
|
|
1082
|
-
"$.xgafv"?:
|
|
1428
|
+
"$.xgafv"?:
|
|
1429
|
+
string;
|
|
1083
1430
|
/** OAuth access token. */
|
|
1084
|
-
access_token?:
|
|
1431
|
+
access_token?:
|
|
1432
|
+
string;
|
|
1085
1433
|
/** Data format for response. */
|
|
1086
|
-
alt?:
|
|
1434
|
+
alt?:
|
|
1435
|
+
string;
|
|
1087
1436
|
/** JSONP */
|
|
1088
|
-
callback?:
|
|
1437
|
+
callback?:
|
|
1438
|
+
string;
|
|
1089
1439
|
/** Selector specifying which fields to include in a partial response. */
|
|
1090
|
-
fields?:
|
|
1440
|
+
fields?:
|
|
1441
|
+
string;
|
|
1091
1442
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1092
|
-
key?:
|
|
1443
|
+
key?:
|
|
1444
|
+
string;
|
|
1093
1445
|
/**
|
|
1094
1446
|
* Required. The API key to unregister including full resource path.
|
|
1095
1447
|
* `projects/*/locations/global/catalogs/default_catalog/eventStores/default_event_store/predictionApiKeyRegistrations/`
|
|
1096
1448
|
*/
|
|
1097
|
-
name:
|
|
1449
|
+
name:
|
|
1450
|
+
string;
|
|
1098
1451
|
/** OAuth 2.0 token for the current user. */
|
|
1099
|
-
oauth_token?:
|
|
1452
|
+
oauth_token?:
|
|
1453
|
+
string;
|
|
1100
1454
|
/** Returns response with indentations and line breaks. */
|
|
1101
|
-
prettyPrint?:
|
|
1455
|
+
prettyPrint?:
|
|
1456
|
+
boolean;
|
|
1102
1457
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1103
|
-
quotaUser?:
|
|
1458
|
+
quotaUser?:
|
|
1459
|
+
string;
|
|
1104
1460
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1105
|
-
upload_protocol?:
|
|
1461
|
+
upload_protocol?:
|
|
1462
|
+
string;
|
|
1106
1463
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1107
|
-
uploadType?:
|
|
1464
|
+
uploadType?:
|
|
1465
|
+
string;
|
|
1108
1466
|
}): Request<{}>;
|
|
1109
1467
|
/** List the registered apiKeys for use with predict method. */
|
|
1110
1468
|
list(request?: {
|
|
1111
1469
|
/** V1 error format. */
|
|
1112
|
-
"$.xgafv"?:
|
|
1470
|
+
"$.xgafv"?:
|
|
1471
|
+
string;
|
|
1113
1472
|
/** OAuth access token. */
|
|
1114
|
-
access_token?:
|
|
1473
|
+
access_token?:
|
|
1474
|
+
string;
|
|
1115
1475
|
/** Data format for response. */
|
|
1116
|
-
alt?:
|
|
1476
|
+
alt?:
|
|
1477
|
+
string;
|
|
1117
1478
|
/** JSONP */
|
|
1118
|
-
callback?:
|
|
1479
|
+
callback?:
|
|
1480
|
+
string;
|
|
1119
1481
|
/** Selector specifying which fields to include in a partial response. */
|
|
1120
|
-
fields?:
|
|
1482
|
+
fields?:
|
|
1483
|
+
string;
|
|
1121
1484
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1122
|
-
key?:
|
|
1485
|
+
key?:
|
|
1486
|
+
string;
|
|
1123
1487
|
/** OAuth 2.0 token for the current user. */
|
|
1124
|
-
oauth_token?:
|
|
1488
|
+
oauth_token?:
|
|
1489
|
+
string;
|
|
1125
1490
|
/** Optional. Maximum number of results to return per page. If unset, the service will choose a reasonable default. */
|
|
1126
|
-
pageSize?:
|
|
1491
|
+
pageSize?:
|
|
1492
|
+
number;
|
|
1127
1493
|
/** Optional. The previous `ListPredictionApiKeyRegistration.nextPageToken`. */
|
|
1128
|
-
pageToken?:
|
|
1494
|
+
pageToken?:
|
|
1495
|
+
string;
|
|
1129
1496
|
/** Required. The parent placement resource name such as `projects/1234/locations/global/catalogs/default_catalog/eventStores/default_event_store` */
|
|
1130
|
-
parent:
|
|
1497
|
+
parent:
|
|
1498
|
+
string;
|
|
1131
1499
|
/** Returns response with indentations and line breaks. */
|
|
1132
|
-
prettyPrint?:
|
|
1500
|
+
prettyPrint?:
|
|
1501
|
+
boolean;
|
|
1133
1502
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1134
|
-
quotaUser?:
|
|
1503
|
+
quotaUser?:
|
|
1504
|
+
string;
|
|
1135
1505
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1136
|
-
upload_protocol?:
|
|
1506
|
+
upload_protocol?:
|
|
1507
|
+
string;
|
|
1137
1508
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1138
|
-
uploadType?:
|
|
1509
|
+
uploadType?:
|
|
1510
|
+
string;
|
|
1139
1511
|
}): Request<GoogleCloudRecommendationengineV1beta1ListPredictionApiKeyRegistrationsResponse>;
|
|
1140
1512
|
}
|
|
1141
1513
|
interface UserEventsResource {
|
|
@@ -1145,38 +1517,53 @@ declare namespace gapi.client {
|
|
|
1145
1517
|
*/
|
|
1146
1518
|
collect(request?: {
|
|
1147
1519
|
/** V1 error format. */
|
|
1148
|
-
"$.xgafv"?:
|
|
1520
|
+
"$.xgafv"?:
|
|
1521
|
+
string;
|
|
1149
1522
|
/** OAuth access token. */
|
|
1150
|
-
access_token?:
|
|
1523
|
+
access_token?:
|
|
1524
|
+
string;
|
|
1151
1525
|
/** Data format for response. */
|
|
1152
|
-
alt?:
|
|
1526
|
+
alt?:
|
|
1527
|
+
string;
|
|
1153
1528
|
/** JSONP */
|
|
1154
|
-
callback?:
|
|
1529
|
+
callback?:
|
|
1530
|
+
string;
|
|
1155
1531
|
/** Optional. The event timestamp in milliseconds. This prevents browser caching of otherwise identical get requests. The name is abbreviated to reduce the payload bytes. */
|
|
1156
|
-
ets?:
|
|
1532
|
+
ets?:
|
|
1533
|
+
string;
|
|
1157
1534
|
/** Selector specifying which fields to include in a partial response. */
|
|
1158
|
-
fields?:
|
|
1535
|
+
fields?:
|
|
1536
|
+
string;
|
|
1159
1537
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1160
|
-
key?:
|
|
1538
|
+
key?:
|
|
1539
|
+
string;
|
|
1161
1540
|
/** OAuth 2.0 token for the current user. */
|
|
1162
|
-
oauth_token?:
|
|
1541
|
+
oauth_token?:
|
|
1542
|
+
string;
|
|
1163
1543
|
/** Required. The parent eventStore name, such as `projects/1234/locations/global/catalogs/default_catalog/eventStores/default_event_store`. */
|
|
1164
|
-
parent:
|
|
1544
|
+
parent:
|
|
1545
|
+
string;
|
|
1165
1546
|
/** Returns response with indentations and line breaks. */
|
|
1166
|
-
prettyPrint?:
|
|
1547
|
+
prettyPrint?:
|
|
1548
|
+
boolean;
|
|
1167
1549
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1168
|
-
quotaUser?:
|
|
1550
|
+
quotaUser?:
|
|
1551
|
+
string;
|
|
1169
1552
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1170
|
-
upload_protocol?:
|
|
1553
|
+
upload_protocol?:
|
|
1554
|
+
string;
|
|
1171
1555
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1172
|
-
uploadType?:
|
|
1556
|
+
uploadType?:
|
|
1557
|
+
string;
|
|
1173
1558
|
/**
|
|
1174
1559
|
* Optional. The url including cgi-parameters but excluding the hash fragment. The URL must be truncated to 1.5K bytes to conservatively be under the 2K bytes. This is often more
|
|
1175
1560
|
* useful than the referer url, because many browsers only send the domain for 3rd party requests.
|
|
1176
1561
|
*/
|
|
1177
|
-
uri?:
|
|
1562
|
+
uri?:
|
|
1563
|
+
string;
|
|
1178
1564
|
/** Required. URL encoded UserEvent proto. */
|
|
1179
|
-
userEvent?:
|
|
1565
|
+
userEvent?:
|
|
1566
|
+
string;
|
|
1180
1567
|
}): Request<GoogleApiHttpBody>;
|
|
1181
1568
|
/**
|
|
1182
1569
|
* Bulk import of User events. Request processing might be synchronous. Events that already exist are skipped. Use this method for backfilling historical user events.
|
|
@@ -1184,57 +1571,82 @@ declare namespace gapi.client {
|
|
|
1184
1571
|
*/
|
|
1185
1572
|
import(request: {
|
|
1186
1573
|
/** V1 error format. */
|
|
1187
|
-
"$.xgafv"?:
|
|
1574
|
+
"$.xgafv"?:
|
|
1575
|
+
string;
|
|
1188
1576
|
/** OAuth access token. */
|
|
1189
|
-
access_token?:
|
|
1577
|
+
access_token?:
|
|
1578
|
+
string;
|
|
1190
1579
|
/** Data format for response. */
|
|
1191
|
-
alt?:
|
|
1580
|
+
alt?:
|
|
1581
|
+
string;
|
|
1192
1582
|
/** JSONP */
|
|
1193
|
-
callback?:
|
|
1583
|
+
callback?:
|
|
1584
|
+
string;
|
|
1194
1585
|
/** Selector specifying which fields to include in a partial response. */
|
|
1195
|
-
fields?:
|
|
1586
|
+
fields?:
|
|
1587
|
+
string;
|
|
1196
1588
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1197
|
-
key?:
|
|
1589
|
+
key?:
|
|
1590
|
+
string;
|
|
1198
1591
|
/** OAuth 2.0 token for the current user. */
|
|
1199
|
-
oauth_token?:
|
|
1592
|
+
oauth_token?:
|
|
1593
|
+
string;
|
|
1200
1594
|
/** Required. `projects/1234/locations/global/catalogs/default_catalog/eventStores/default_event_store` */
|
|
1201
|
-
parent:
|
|
1595
|
+
parent:
|
|
1596
|
+
string;
|
|
1202
1597
|
/** Returns response with indentations and line breaks. */
|
|
1203
|
-
prettyPrint?:
|
|
1598
|
+
prettyPrint?:
|
|
1599
|
+
boolean;
|
|
1204
1600
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1205
|
-
quotaUser?:
|
|
1601
|
+
quotaUser?:
|
|
1602
|
+
string;
|
|
1206
1603
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1207
|
-
upload_protocol?:
|
|
1604
|
+
upload_protocol?:
|
|
1605
|
+
string;
|
|
1208
1606
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1209
|
-
uploadType?:
|
|
1607
|
+
uploadType?:
|
|
1608
|
+
string;
|
|
1210
1609
|
/** Request body */
|
|
1211
|
-
resource:
|
|
1610
|
+
resource:
|
|
1611
|
+
GoogleCloudRecommendationengineV1beta1ImportUserEventsRequest;
|
|
1212
1612
|
}): Request<GoogleLongrunningOperation>;
|
|
1213
1613
|
import(request: {
|
|
1214
1614
|
/** V1 error format. */
|
|
1215
|
-
"$.xgafv"?:
|
|
1615
|
+
"$.xgafv"?:
|
|
1616
|
+
string;
|
|
1216
1617
|
/** OAuth access token. */
|
|
1217
|
-
access_token?:
|
|
1618
|
+
access_token?:
|
|
1619
|
+
string;
|
|
1218
1620
|
/** Data format for response. */
|
|
1219
|
-
alt?:
|
|
1621
|
+
alt?:
|
|
1622
|
+
string;
|
|
1220
1623
|
/** JSONP */
|
|
1221
|
-
callback?:
|
|
1624
|
+
callback?:
|
|
1625
|
+
string;
|
|
1222
1626
|
/** Selector specifying which fields to include in a partial response. */
|
|
1223
|
-
fields?:
|
|
1627
|
+
fields?:
|
|
1628
|
+
string;
|
|
1224
1629
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1225
|
-
key?:
|
|
1630
|
+
key?:
|
|
1631
|
+
string;
|
|
1226
1632
|
/** OAuth 2.0 token for the current user. */
|
|
1227
|
-
oauth_token?:
|
|
1633
|
+
oauth_token?:
|
|
1634
|
+
string;
|
|
1228
1635
|
/** Required. `projects/1234/locations/global/catalogs/default_catalog/eventStores/default_event_store` */
|
|
1229
|
-
parent:
|
|
1636
|
+
parent:
|
|
1637
|
+
string;
|
|
1230
1638
|
/** Returns response with indentations and line breaks. */
|
|
1231
|
-
prettyPrint?:
|
|
1639
|
+
prettyPrint?:
|
|
1640
|
+
boolean;
|
|
1232
1641
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1233
|
-
quotaUser?:
|
|
1642
|
+
quotaUser?:
|
|
1643
|
+
string;
|
|
1234
1644
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1235
|
-
upload_protocol?:
|
|
1645
|
+
upload_protocol?:
|
|
1646
|
+
string;
|
|
1236
1647
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1237
|
-
uploadType?:
|
|
1648
|
+
uploadType?:
|
|
1649
|
+
string;
|
|
1238
1650
|
},
|
|
1239
1651
|
body: GoogleCloudRecommendationengineV1beta1ImportUserEventsRequest): Request<GoogleLongrunningOperation>;
|
|
1240
1652
|
/**
|
|
@@ -1244,15 +1656,20 @@ declare namespace gapi.client {
|
|
|
1244
1656
|
*/
|
|
1245
1657
|
list(request?: {
|
|
1246
1658
|
/** V1 error format. */
|
|
1247
|
-
"$.xgafv"?:
|
|
1659
|
+
"$.xgafv"?:
|
|
1660
|
+
string;
|
|
1248
1661
|
/** OAuth access token. */
|
|
1249
|
-
access_token?:
|
|
1662
|
+
access_token?:
|
|
1663
|
+
string;
|
|
1250
1664
|
/** Data format for response. */
|
|
1251
|
-
alt?:
|
|
1665
|
+
alt?:
|
|
1666
|
+
string;
|
|
1252
1667
|
/** JSONP */
|
|
1253
|
-
callback?:
|
|
1668
|
+
callback?:
|
|
1669
|
+
string;
|
|
1254
1670
|
/** Selector specifying which fields to include in a partial response. */
|
|
1255
|
-
fields?:
|
|
1671
|
+
fields?:
|
|
1672
|
+
string;
|
|
1256
1673
|
/**
|
|
1257
1674
|
* Optional. Filtering expression to specify restrictions over returned events. This is a sequence of terms, where each term applies some kind of a restriction to the returned user
|
|
1258
1675
|
* events. Use this expression to restrict results to a specific time range, or filter events by eventType. eg: eventTime > "2012-04-23T18:25:43.511Z" eventsMissingCatalogItems
|
|
@@ -1263,25 +1680,35 @@ declare namespace gapi.client {
|
|
|
1263
1680
|
* "2012-04-23T18:30:43.511Z" * Example 2: eventTime > "2012-04-23T18:25:43.511Z" eventType = detail-page-view * Example 3: eventsMissingCatalogItems eventType = search eventTime <
|
|
1264
1681
|
* "2018-04-23T18:30:43.511Z" * Example 4: eventTime > "2012-04-23T18:25:43.511Z" * Example 5: eventType = search * Example 6: eventsMissingCatalogItems
|
|
1265
1682
|
*/
|
|
1266
|
-
filter?:
|
|
1683
|
+
filter?:
|
|
1684
|
+
string;
|
|
1267
1685
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1268
|
-
key?:
|
|
1686
|
+
key?:
|
|
1687
|
+
string;
|
|
1269
1688
|
/** OAuth 2.0 token for the current user. */
|
|
1270
|
-
oauth_token?:
|
|
1689
|
+
oauth_token?:
|
|
1690
|
+
string;
|
|
1271
1691
|
/** Optional. Maximum number of results to return per page. If zero, the service will choose a reasonable default. */
|
|
1272
|
-
pageSize?:
|
|
1692
|
+
pageSize?:
|
|
1693
|
+
number;
|
|
1273
1694
|
/** Optional. The previous ListUserEventsResponse.next_page_token. */
|
|
1274
|
-
pageToken?:
|
|
1695
|
+
pageToken?:
|
|
1696
|
+
string;
|
|
1275
1697
|
/** Required. The parent eventStore resource name, such as `projects/*/locations/*/catalogs/default_catalog/eventStores/default_event_store`. */
|
|
1276
|
-
parent:
|
|
1698
|
+
parent:
|
|
1699
|
+
string;
|
|
1277
1700
|
/** Returns response with indentations and line breaks. */
|
|
1278
|
-
prettyPrint?:
|
|
1701
|
+
prettyPrint?:
|
|
1702
|
+
boolean;
|
|
1279
1703
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1280
|
-
quotaUser?:
|
|
1704
|
+
quotaUser?:
|
|
1705
|
+
string;
|
|
1281
1706
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1282
|
-
upload_protocol?:
|
|
1707
|
+
upload_protocol?:
|
|
1708
|
+
string;
|
|
1283
1709
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1284
|
-
uploadType?:
|
|
1710
|
+
uploadType?:
|
|
1711
|
+
string;
|
|
1285
1712
|
}): Request<GoogleCloudRecommendationengineV1beta1ListUserEventsResponse>;
|
|
1286
1713
|
/**
|
|
1287
1714
|
* 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.
|
|
@@ -1289,63 +1716,88 @@ declare namespace gapi.client {
|
|
|
1289
1716
|
*/
|
|
1290
1717
|
purge(request: {
|
|
1291
1718
|
/** V1 error format. */
|
|
1292
|
-
"$.xgafv"?:
|
|
1719
|
+
"$.xgafv"?:
|
|
1720
|
+
string;
|
|
1293
1721
|
/** OAuth access token. */
|
|
1294
|
-
access_token?:
|
|
1722
|
+
access_token?:
|
|
1723
|
+
string;
|
|
1295
1724
|
/** Data format for response. */
|
|
1296
|
-
alt?:
|
|
1725
|
+
alt?:
|
|
1726
|
+
string;
|
|
1297
1727
|
/** JSONP */
|
|
1298
|
-
callback?:
|
|
1728
|
+
callback?:
|
|
1729
|
+
string;
|
|
1299
1730
|
/** Selector specifying which fields to include in a partial response. */
|
|
1300
|
-
fields?:
|
|
1731
|
+
fields?:
|
|
1732
|
+
string;
|
|
1301
1733
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1302
|
-
key?:
|
|
1734
|
+
key?:
|
|
1735
|
+
string;
|
|
1303
1736
|
/** OAuth 2.0 token for the current user. */
|
|
1304
|
-
oauth_token?:
|
|
1737
|
+
oauth_token?:
|
|
1738
|
+
string;
|
|
1305
1739
|
/**
|
|
1306
1740
|
* Required. The resource name of the event_store under which the events are created. The format is
|
|
1307
1741
|
* `projects/${projectId}/locations/global/catalogs/${catalogId}/eventStores/${eventStoreId}`
|
|
1308
1742
|
*/
|
|
1309
|
-
parent:
|
|
1743
|
+
parent:
|
|
1744
|
+
string;
|
|
1310
1745
|
/** Returns response with indentations and line breaks. */
|
|
1311
|
-
prettyPrint?:
|
|
1746
|
+
prettyPrint?:
|
|
1747
|
+
boolean;
|
|
1312
1748
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1313
|
-
quotaUser?:
|
|
1749
|
+
quotaUser?:
|
|
1750
|
+
string;
|
|
1314
1751
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1315
|
-
upload_protocol?:
|
|
1752
|
+
upload_protocol?:
|
|
1753
|
+
string;
|
|
1316
1754
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1317
|
-
uploadType?:
|
|
1755
|
+
uploadType?:
|
|
1756
|
+
string;
|
|
1318
1757
|
/** Request body */
|
|
1319
|
-
resource:
|
|
1758
|
+
resource:
|
|
1759
|
+
GoogleCloudRecommendationengineV1beta1PurgeUserEventsRequest;
|
|
1320
1760
|
}): Request<GoogleLongrunningOperation>;
|
|
1321
1761
|
purge(request: {
|
|
1322
1762
|
/** V1 error format. */
|
|
1323
|
-
"$.xgafv"?:
|
|
1763
|
+
"$.xgafv"?:
|
|
1764
|
+
string;
|
|
1324
1765
|
/** OAuth access token. */
|
|
1325
|
-
access_token?:
|
|
1766
|
+
access_token?:
|
|
1767
|
+
string;
|
|
1326
1768
|
/** Data format for response. */
|
|
1327
|
-
alt?:
|
|
1769
|
+
alt?:
|
|
1770
|
+
string;
|
|
1328
1771
|
/** JSONP */
|
|
1329
|
-
callback?:
|
|
1772
|
+
callback?:
|
|
1773
|
+
string;
|
|
1330
1774
|
/** Selector specifying which fields to include in a partial response. */
|
|
1331
|
-
fields?:
|
|
1775
|
+
fields?:
|
|
1776
|
+
string;
|
|
1332
1777
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1333
|
-
key?:
|
|
1778
|
+
key?:
|
|
1779
|
+
string;
|
|
1334
1780
|
/** OAuth 2.0 token for the current user. */
|
|
1335
|
-
oauth_token?:
|
|
1781
|
+
oauth_token?:
|
|
1782
|
+
string;
|
|
1336
1783
|
/**
|
|
1337
1784
|
* Required. The resource name of the event_store under which the events are created. The format is
|
|
1338
1785
|
* `projects/${projectId}/locations/global/catalogs/${catalogId}/eventStores/${eventStoreId}`
|
|
1339
1786
|
*/
|
|
1340
|
-
parent:
|
|
1787
|
+
parent:
|
|
1788
|
+
string;
|
|
1341
1789
|
/** Returns response with indentations and line breaks. */
|
|
1342
|
-
prettyPrint?:
|
|
1790
|
+
prettyPrint?:
|
|
1791
|
+
boolean;
|
|
1343
1792
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1344
|
-
quotaUser?:
|
|
1793
|
+
quotaUser?:
|
|
1794
|
+
string;
|
|
1345
1795
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1346
|
-
upload_protocol?:
|
|
1796
|
+
upload_protocol?:
|
|
1797
|
+
string;
|
|
1347
1798
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1348
|
-
uploadType?:
|
|
1799
|
+
uploadType?:
|
|
1800
|
+
string;
|
|
1349
1801
|
},
|
|
1350
1802
|
body: GoogleCloudRecommendationengineV1beta1PurgeUserEventsRequest): Request<GoogleLongrunningOperation>;
|
|
1351
1803
|
/**
|
|
@@ -1355,291 +1807,418 @@ declare namespace gapi.client {
|
|
|
1355
1807
|
*/
|
|
1356
1808
|
rejoin(request: {
|
|
1357
1809
|
/** V1 error format. */
|
|
1358
|
-
"$.xgafv"?:
|
|
1810
|
+
"$.xgafv"?:
|
|
1811
|
+
string;
|
|
1359
1812
|
/** OAuth access token. */
|
|
1360
|
-
access_token?:
|
|
1813
|
+
access_token?:
|
|
1814
|
+
string;
|
|
1361
1815
|
/** Data format for response. */
|
|
1362
|
-
alt?:
|
|
1816
|
+
alt?:
|
|
1817
|
+
string;
|
|
1363
1818
|
/** JSONP */
|
|
1364
|
-
callback?:
|
|
1819
|
+
callback?:
|
|
1820
|
+
string;
|
|
1365
1821
|
/** Selector specifying which fields to include in a partial response. */
|
|
1366
|
-
fields?:
|
|
1822
|
+
fields?:
|
|
1823
|
+
string;
|
|
1367
1824
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1368
|
-
key?:
|
|
1825
|
+
key?:
|
|
1826
|
+
string;
|
|
1369
1827
|
/** OAuth 2.0 token for the current user. */
|
|
1370
|
-
oauth_token?:
|
|
1828
|
+
oauth_token?:
|
|
1829
|
+
string;
|
|
1371
1830
|
/** Required. Full resource name of user event, such as `projects/*/locations/*/catalogs/default_catalog/eventStores/default_event_store`. */
|
|
1372
|
-
parent:
|
|
1831
|
+
parent:
|
|
1832
|
+
string;
|
|
1373
1833
|
/** Returns response with indentations and line breaks. */
|
|
1374
|
-
prettyPrint?:
|
|
1834
|
+
prettyPrint?:
|
|
1835
|
+
boolean;
|
|
1375
1836
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1376
|
-
quotaUser?:
|
|
1837
|
+
quotaUser?:
|
|
1838
|
+
string;
|
|
1377
1839
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1378
|
-
upload_protocol?:
|
|
1840
|
+
upload_protocol?:
|
|
1841
|
+
string;
|
|
1379
1842
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1380
|
-
uploadType?:
|
|
1843
|
+
uploadType?:
|
|
1844
|
+
string;
|
|
1381
1845
|
/** Request body */
|
|
1382
|
-
resource:
|
|
1846
|
+
resource:
|
|
1847
|
+
GoogleCloudRecommendationengineV1beta1RejoinUserEventsRequest;
|
|
1383
1848
|
}): Request<GoogleLongrunningOperation>;
|
|
1384
1849
|
rejoin(request: {
|
|
1385
1850
|
/** V1 error format. */
|
|
1386
|
-
"$.xgafv"?:
|
|
1851
|
+
"$.xgafv"?:
|
|
1852
|
+
string;
|
|
1387
1853
|
/** OAuth access token. */
|
|
1388
|
-
access_token?:
|
|
1854
|
+
access_token?:
|
|
1855
|
+
string;
|
|
1389
1856
|
/** Data format for response. */
|
|
1390
|
-
alt?:
|
|
1857
|
+
alt?:
|
|
1858
|
+
string;
|
|
1391
1859
|
/** JSONP */
|
|
1392
|
-
callback?:
|
|
1860
|
+
callback?:
|
|
1861
|
+
string;
|
|
1393
1862
|
/** Selector specifying which fields to include in a partial response. */
|
|
1394
|
-
fields?:
|
|
1863
|
+
fields?:
|
|
1864
|
+
string;
|
|
1395
1865
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1396
|
-
key?:
|
|
1866
|
+
key?:
|
|
1867
|
+
string;
|
|
1397
1868
|
/** OAuth 2.0 token for the current user. */
|
|
1398
|
-
oauth_token?:
|
|
1869
|
+
oauth_token?:
|
|
1870
|
+
string;
|
|
1399
1871
|
/** Required. Full resource name of user event, such as `projects/*/locations/*/catalogs/default_catalog/eventStores/default_event_store`. */
|
|
1400
|
-
parent:
|
|
1872
|
+
parent:
|
|
1873
|
+
string;
|
|
1401
1874
|
/** Returns response with indentations and line breaks. */
|
|
1402
|
-
prettyPrint?:
|
|
1875
|
+
prettyPrint?:
|
|
1876
|
+
boolean;
|
|
1403
1877
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1404
|
-
quotaUser?:
|
|
1878
|
+
quotaUser?:
|
|
1879
|
+
string;
|
|
1405
1880
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1406
|
-
upload_protocol?:
|
|
1881
|
+
upload_protocol?:
|
|
1882
|
+
string;
|
|
1407
1883
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1408
|
-
uploadType?:
|
|
1884
|
+
uploadType?:
|
|
1885
|
+
string;
|
|
1409
1886
|
},
|
|
1410
1887
|
body: GoogleCloudRecommendationengineV1beta1RejoinUserEventsRequest): Request<GoogleLongrunningOperation>;
|
|
1411
1888
|
/** Writes a single user event. */
|
|
1412
1889
|
write(request: {
|
|
1413
1890
|
/** V1 error format. */
|
|
1414
|
-
"$.xgafv"?:
|
|
1891
|
+
"$.xgafv"?:
|
|
1892
|
+
string;
|
|
1415
1893
|
/** OAuth access token. */
|
|
1416
|
-
access_token?:
|
|
1894
|
+
access_token?:
|
|
1895
|
+
string;
|
|
1417
1896
|
/** Data format for response. */
|
|
1418
|
-
alt?:
|
|
1897
|
+
alt?:
|
|
1898
|
+
string;
|
|
1419
1899
|
/** JSONP */
|
|
1420
|
-
callback?:
|
|
1900
|
+
callback?:
|
|
1901
|
+
string;
|
|
1421
1902
|
/** Selector specifying which fields to include in a partial response. */
|
|
1422
|
-
fields?:
|
|
1903
|
+
fields?:
|
|
1904
|
+
string;
|
|
1423
1905
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1424
|
-
key?:
|
|
1906
|
+
key?:
|
|
1907
|
+
string;
|
|
1425
1908
|
/** OAuth 2.0 token for the current user. */
|
|
1426
|
-
oauth_token?:
|
|
1909
|
+
oauth_token?:
|
|
1910
|
+
string;
|
|
1427
1911
|
/** Required. The parent eventStore resource name, such as "projects/1234/locations/global/catalogs/default_catalog/eventStores/default_event_store". */
|
|
1428
|
-
parent:
|
|
1912
|
+
parent:
|
|
1913
|
+
string;
|
|
1429
1914
|
/** Returns response with indentations and line breaks. */
|
|
1430
|
-
prettyPrint?:
|
|
1915
|
+
prettyPrint?:
|
|
1916
|
+
boolean;
|
|
1431
1917
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1432
|
-
quotaUser?:
|
|
1918
|
+
quotaUser?:
|
|
1919
|
+
string;
|
|
1433
1920
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1434
|
-
upload_protocol?:
|
|
1921
|
+
upload_protocol?:
|
|
1922
|
+
string;
|
|
1435
1923
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1436
|
-
uploadType?:
|
|
1924
|
+
uploadType?:
|
|
1925
|
+
string;
|
|
1437
1926
|
/** Request body */
|
|
1438
|
-
resource:
|
|
1927
|
+
resource:
|
|
1928
|
+
GoogleCloudRecommendationengineV1beta1UserEvent;
|
|
1439
1929
|
}): Request<GoogleCloudRecommendationengineV1beta1UserEvent>;
|
|
1440
1930
|
write(request: {
|
|
1441
1931
|
/** V1 error format. */
|
|
1442
|
-
"$.xgafv"?:
|
|
1932
|
+
"$.xgafv"?:
|
|
1933
|
+
string;
|
|
1443
1934
|
/** OAuth access token. */
|
|
1444
|
-
access_token?:
|
|
1935
|
+
access_token?:
|
|
1936
|
+
string;
|
|
1445
1937
|
/** Data format for response. */
|
|
1446
|
-
alt?:
|
|
1938
|
+
alt?:
|
|
1939
|
+
string;
|
|
1447
1940
|
/** JSONP */
|
|
1448
|
-
callback?:
|
|
1941
|
+
callback?:
|
|
1942
|
+
string;
|
|
1449
1943
|
/** Selector specifying which fields to include in a partial response. */
|
|
1450
|
-
fields?:
|
|
1944
|
+
fields?:
|
|
1945
|
+
string;
|
|
1451
1946
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1452
|
-
key?:
|
|
1947
|
+
key?:
|
|
1948
|
+
string;
|
|
1453
1949
|
/** OAuth 2.0 token for the current user. */
|
|
1454
|
-
oauth_token?:
|
|
1950
|
+
oauth_token?:
|
|
1951
|
+
string;
|
|
1455
1952
|
/** Required. The parent eventStore resource name, such as "projects/1234/locations/global/catalogs/default_catalog/eventStores/default_event_store". */
|
|
1456
|
-
parent:
|
|
1953
|
+
parent:
|
|
1954
|
+
string;
|
|
1457
1955
|
/** Returns response with indentations and line breaks. */
|
|
1458
|
-
prettyPrint?:
|
|
1956
|
+
prettyPrint?:
|
|
1957
|
+
boolean;
|
|
1459
1958
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1460
|
-
quotaUser?:
|
|
1959
|
+
quotaUser?:
|
|
1960
|
+
string;
|
|
1461
1961
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1462
|
-
upload_protocol?:
|
|
1962
|
+
upload_protocol?:
|
|
1963
|
+
string;
|
|
1463
1964
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1464
|
-
uploadType?:
|
|
1965
|
+
uploadType?:
|
|
1966
|
+
string;
|
|
1465
1967
|
},
|
|
1466
1968
|
body: GoogleCloudRecommendationengineV1beta1UserEvent): Request<GoogleCloudRecommendationengineV1beta1UserEvent>;
|
|
1467
1969
|
}
|
|
1468
1970
|
interface EventStoresResource {
|
|
1469
|
-
operations:
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1971
|
+
operations:
|
|
1972
|
+
OperationsResource;
|
|
1973
|
+
placements:
|
|
1974
|
+
PlacementsResource;
|
|
1975
|
+
predictionApiKeyRegistrations:
|
|
1976
|
+
PredictionApiKeyRegistrationsResource;
|
|
1977
|
+
userEvents:
|
|
1978
|
+
UserEventsResource;
|
|
1473
1979
|
}
|
|
1474
1980
|
interface OperationsResource {
|
|
1475
1981
|
/** 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. */
|
|
1476
1982
|
get(request?: {
|
|
1477
1983
|
/** V1 error format. */
|
|
1478
|
-
"$.xgafv"?:
|
|
1984
|
+
"$.xgafv"?:
|
|
1985
|
+
string;
|
|
1479
1986
|
/** OAuth access token. */
|
|
1480
|
-
access_token?:
|
|
1987
|
+
access_token?:
|
|
1988
|
+
string;
|
|
1481
1989
|
/** Data format for response. */
|
|
1482
|
-
alt?:
|
|
1990
|
+
alt?:
|
|
1991
|
+
string;
|
|
1483
1992
|
/** JSONP */
|
|
1484
|
-
callback?:
|
|
1993
|
+
callback?:
|
|
1994
|
+
string;
|
|
1485
1995
|
/** Selector specifying which fields to include in a partial response. */
|
|
1486
|
-
fields?:
|
|
1996
|
+
fields?:
|
|
1997
|
+
string;
|
|
1487
1998
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1488
|
-
key?:
|
|
1999
|
+
key?:
|
|
2000
|
+
string;
|
|
1489
2001
|
/** The name of the operation resource. */
|
|
1490
|
-
name:
|
|
2002
|
+
name:
|
|
2003
|
+
string;
|
|
1491
2004
|
/** OAuth 2.0 token for the current user. */
|
|
1492
|
-
oauth_token?:
|
|
2005
|
+
oauth_token?:
|
|
2006
|
+
string;
|
|
1493
2007
|
/** Returns response with indentations and line breaks. */
|
|
1494
|
-
prettyPrint?:
|
|
2008
|
+
prettyPrint?:
|
|
2009
|
+
boolean;
|
|
1495
2010
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1496
|
-
quotaUser?:
|
|
2011
|
+
quotaUser?:
|
|
2012
|
+
string;
|
|
1497
2013
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1498
|
-
upload_protocol?:
|
|
2014
|
+
upload_protocol?:
|
|
2015
|
+
string;
|
|
1499
2016
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1500
|
-
uploadType?:
|
|
2017
|
+
uploadType?:
|
|
2018
|
+
string;
|
|
1501
2019
|
}): Request<GoogleLongrunningOperation>;
|
|
1502
2020
|
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
1503
2021
|
list(request?: {
|
|
1504
2022
|
/** V1 error format. */
|
|
1505
|
-
"$.xgafv"?:
|
|
2023
|
+
"$.xgafv"?:
|
|
2024
|
+
string;
|
|
1506
2025
|
/** OAuth access token. */
|
|
1507
|
-
access_token?:
|
|
2026
|
+
access_token?:
|
|
2027
|
+
string;
|
|
1508
2028
|
/** Data format for response. */
|
|
1509
|
-
alt?:
|
|
2029
|
+
alt?:
|
|
2030
|
+
string;
|
|
1510
2031
|
/** JSONP */
|
|
1511
|
-
callback?:
|
|
2032
|
+
callback?:
|
|
2033
|
+
string;
|
|
1512
2034
|
/** Selector specifying which fields to include in a partial response. */
|
|
1513
|
-
fields?:
|
|
2035
|
+
fields?:
|
|
2036
|
+
string;
|
|
1514
2037
|
/** The standard list filter. */
|
|
1515
|
-
filter?:
|
|
2038
|
+
filter?:
|
|
2039
|
+
string;
|
|
1516
2040
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1517
|
-
key?:
|
|
2041
|
+
key?:
|
|
2042
|
+
string;
|
|
1518
2043
|
/** The name of the operation's parent resource. */
|
|
1519
|
-
name:
|
|
2044
|
+
name:
|
|
2045
|
+
string;
|
|
1520
2046
|
/** OAuth 2.0 token for the current user. */
|
|
1521
|
-
oauth_token?:
|
|
2047
|
+
oauth_token?:
|
|
2048
|
+
string;
|
|
1522
2049
|
/** The standard list page size. */
|
|
1523
|
-
pageSize?:
|
|
2050
|
+
pageSize?:
|
|
2051
|
+
number;
|
|
1524
2052
|
/** The standard list page token. */
|
|
1525
|
-
pageToken?:
|
|
2053
|
+
pageToken?:
|
|
2054
|
+
string;
|
|
1526
2055
|
/** Returns response with indentations and line breaks. */
|
|
1527
|
-
prettyPrint?:
|
|
2056
|
+
prettyPrint?:
|
|
2057
|
+
boolean;
|
|
1528
2058
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1529
|
-
quotaUser?:
|
|
2059
|
+
quotaUser?:
|
|
2060
|
+
string;
|
|
1530
2061
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1531
|
-
upload_protocol?:
|
|
2062
|
+
upload_protocol?:
|
|
2063
|
+
string;
|
|
1532
2064
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1533
|
-
uploadType?:
|
|
2065
|
+
uploadType?:
|
|
2066
|
+
string;
|
|
1534
2067
|
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
1535
2068
|
}
|
|
1536
2069
|
interface CatalogsResource {
|
|
1537
2070
|
/** Lists all the catalog configurations associated with the project. */
|
|
1538
2071
|
list(request?: {
|
|
1539
2072
|
/** V1 error format. */
|
|
1540
|
-
"$.xgafv"?:
|
|
2073
|
+
"$.xgafv"?:
|
|
2074
|
+
string;
|
|
1541
2075
|
/** OAuth access token. */
|
|
1542
|
-
access_token?:
|
|
2076
|
+
access_token?:
|
|
2077
|
+
string;
|
|
1543
2078
|
/** Data format for response. */
|
|
1544
|
-
alt?:
|
|
2079
|
+
alt?:
|
|
2080
|
+
string;
|
|
1545
2081
|
/** JSONP */
|
|
1546
|
-
callback?:
|
|
2082
|
+
callback?:
|
|
2083
|
+
string;
|
|
1547
2084
|
/** Selector specifying which fields to include in a partial response. */
|
|
1548
|
-
fields?:
|
|
2085
|
+
fields?:
|
|
2086
|
+
string;
|
|
1549
2087
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1550
|
-
key?:
|
|
2088
|
+
key?:
|
|
2089
|
+
string;
|
|
1551
2090
|
/** OAuth 2.0 token for the current user. */
|
|
1552
|
-
oauth_token?:
|
|
2091
|
+
oauth_token?:
|
|
2092
|
+
string;
|
|
1553
2093
|
/** Optional. Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000. */
|
|
1554
|
-
pageSize?:
|
|
2094
|
+
pageSize?:
|
|
2095
|
+
number;
|
|
1555
2096
|
/** Optional. A page token, received from a previous `ListCatalogs` call. Provide this to retrieve the subsequent page. */
|
|
1556
|
-
pageToken?:
|
|
2097
|
+
pageToken?:
|
|
2098
|
+
string;
|
|
1557
2099
|
/** Required. The account resource name with an associated location. */
|
|
1558
|
-
parent:
|
|
2100
|
+
parent:
|
|
2101
|
+
string;
|
|
1559
2102
|
/** Returns response with indentations and line breaks. */
|
|
1560
|
-
prettyPrint?:
|
|
2103
|
+
prettyPrint?:
|
|
2104
|
+
boolean;
|
|
1561
2105
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1562
|
-
quotaUser?:
|
|
2106
|
+
quotaUser?:
|
|
2107
|
+
string;
|
|
1563
2108
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1564
|
-
upload_protocol?:
|
|
2109
|
+
upload_protocol?:
|
|
2110
|
+
string;
|
|
1565
2111
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1566
|
-
uploadType?:
|
|
2112
|
+
uploadType?:
|
|
2113
|
+
string;
|
|
1567
2114
|
}): Request<GoogleCloudRecommendationengineV1beta1ListCatalogsResponse>;
|
|
1568
2115
|
/** Updates the catalog configuration. */
|
|
1569
2116
|
patch(request: {
|
|
1570
2117
|
/** V1 error format. */
|
|
1571
|
-
"$.xgafv"?:
|
|
2118
|
+
"$.xgafv"?:
|
|
2119
|
+
string;
|
|
1572
2120
|
/** OAuth access token. */
|
|
1573
|
-
access_token?:
|
|
2121
|
+
access_token?:
|
|
2122
|
+
string;
|
|
1574
2123
|
/** Data format for response. */
|
|
1575
|
-
alt?:
|
|
2124
|
+
alt?:
|
|
2125
|
+
string;
|
|
1576
2126
|
/** JSONP */
|
|
1577
|
-
callback?:
|
|
2127
|
+
callback?:
|
|
2128
|
+
string;
|
|
1578
2129
|
/** Selector specifying which fields to include in a partial response. */
|
|
1579
|
-
fields?:
|
|
2130
|
+
fields?:
|
|
2131
|
+
string;
|
|
1580
2132
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1581
|
-
key?:
|
|
2133
|
+
key?:
|
|
2134
|
+
string;
|
|
1582
2135
|
/** The fully qualified resource name of the catalog. */
|
|
1583
|
-
name:
|
|
2136
|
+
name:
|
|
2137
|
+
string;
|
|
1584
2138
|
/** OAuth 2.0 token for the current user. */
|
|
1585
|
-
oauth_token?:
|
|
2139
|
+
oauth_token?:
|
|
2140
|
+
string;
|
|
1586
2141
|
/** Returns response with indentations and line breaks. */
|
|
1587
|
-
prettyPrint?:
|
|
2142
|
+
prettyPrint?:
|
|
2143
|
+
boolean;
|
|
1588
2144
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1589
|
-
quotaUser?:
|
|
2145
|
+
quotaUser?:
|
|
2146
|
+
string;
|
|
1590
2147
|
/**
|
|
1591
2148
|
* Optional. Indicates which fields in the provided 'catalog' to update. If not set, will only update the catalog_item_level_config field. Currently only fields that can be updated
|
|
1592
2149
|
* are catalog_item_level_config.
|
|
1593
2150
|
*/
|
|
1594
|
-
updateMask?:
|
|
2151
|
+
updateMask?:
|
|
2152
|
+
string;
|
|
1595
2153
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1596
|
-
upload_protocol?:
|
|
2154
|
+
upload_protocol?:
|
|
2155
|
+
string;
|
|
1597
2156
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1598
|
-
uploadType?:
|
|
2157
|
+
uploadType?:
|
|
2158
|
+
string;
|
|
1599
2159
|
/** Request body */
|
|
1600
|
-
resource:
|
|
2160
|
+
resource:
|
|
2161
|
+
GoogleCloudRecommendationengineV1beta1Catalog;
|
|
1601
2162
|
}): Request<GoogleCloudRecommendationengineV1beta1Catalog>;
|
|
1602
2163
|
patch(request: {
|
|
1603
2164
|
/** V1 error format. */
|
|
1604
|
-
"$.xgafv"?:
|
|
2165
|
+
"$.xgafv"?:
|
|
2166
|
+
string;
|
|
1605
2167
|
/** OAuth access token. */
|
|
1606
|
-
access_token?:
|
|
2168
|
+
access_token?:
|
|
2169
|
+
string;
|
|
1607
2170
|
/** Data format for response. */
|
|
1608
|
-
alt?:
|
|
2171
|
+
alt?:
|
|
2172
|
+
string;
|
|
1609
2173
|
/** JSONP */
|
|
1610
|
-
callback?:
|
|
2174
|
+
callback?:
|
|
2175
|
+
string;
|
|
1611
2176
|
/** Selector specifying which fields to include in a partial response. */
|
|
1612
|
-
fields?:
|
|
2177
|
+
fields?:
|
|
2178
|
+
string;
|
|
1613
2179
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1614
|
-
key?:
|
|
2180
|
+
key?:
|
|
2181
|
+
string;
|
|
1615
2182
|
/** The fully qualified resource name of the catalog. */
|
|
1616
|
-
name:
|
|
2183
|
+
name:
|
|
2184
|
+
string;
|
|
1617
2185
|
/** OAuth 2.0 token for the current user. */
|
|
1618
|
-
oauth_token?:
|
|
2186
|
+
oauth_token?:
|
|
2187
|
+
string;
|
|
1619
2188
|
/** Returns response with indentations and line breaks. */
|
|
1620
|
-
prettyPrint?:
|
|
2189
|
+
prettyPrint?:
|
|
2190
|
+
boolean;
|
|
1621
2191
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1622
|
-
quotaUser?:
|
|
2192
|
+
quotaUser?:
|
|
2193
|
+
string;
|
|
1623
2194
|
/**
|
|
1624
2195
|
* Optional. Indicates which fields in the provided 'catalog' to update. If not set, will only update the catalog_item_level_config field. Currently only fields that can be updated
|
|
1625
2196
|
* are catalog_item_level_config.
|
|
1626
2197
|
*/
|
|
1627
|
-
updateMask?:
|
|
2198
|
+
updateMask?:
|
|
2199
|
+
string;
|
|
1628
2200
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1629
|
-
upload_protocol?:
|
|
2201
|
+
upload_protocol?:
|
|
2202
|
+
string;
|
|
1630
2203
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1631
|
-
uploadType?:
|
|
2204
|
+
uploadType?:
|
|
2205
|
+
string;
|
|
1632
2206
|
},
|
|
1633
2207
|
body: GoogleCloudRecommendationengineV1beta1Catalog): Request<GoogleCloudRecommendationengineV1beta1Catalog>;
|
|
1634
|
-
catalogItems:
|
|
1635
|
-
|
|
1636
|
-
|
|
2208
|
+
catalogItems:
|
|
2209
|
+
CatalogItemsResource;
|
|
2210
|
+
eventStores:
|
|
2211
|
+
EventStoresResource;
|
|
2212
|
+
operations:
|
|
2213
|
+
OperationsResource;
|
|
1637
2214
|
}
|
|
1638
2215
|
interface LocationsResource {
|
|
1639
|
-
catalogs:
|
|
2216
|
+
catalogs:
|
|
2217
|
+
CatalogsResource;
|
|
1640
2218
|
}
|
|
1641
2219
|
interface ProjectsResource {
|
|
1642
|
-
locations:
|
|
2220
|
+
locations:
|
|
2221
|
+
LocationsResource;
|
|
1643
2222
|
}
|
|
1644
2223
|
|
|
1645
2224
|
const projects: ProjectsResource;
|