google-apis-recommendationengine_v1beta1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,28 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ module Google
16
+ module Apis
17
+ module RecommendationengineV1beta1
18
+ # Version of the google-apis-recommendationengine_v1beta1 gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.1.1"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20201212"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,857 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module RecommendationengineV1beta1
24
+
25
+ class GoogleApiHttpBody
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class GoogleCloudRecommendationengineV1alphaRejoinCatalogMetadata
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class GoogleCloudRecommendationengineV1alphaRejoinCatalogResponse
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class GoogleCloudRecommendationengineV1alphaTuningMetadata
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class GoogleCloudRecommendationengineV1alphaTuningResponse
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class GoogleCloudRecommendationengineV1beta1BigQuerySource
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class GoogleCloudRecommendationengineV1beta1Catalog
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class GoogleCloudRecommendationengineV1beta1CatalogInlineSource
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class GoogleCloudRecommendationengineV1beta1CatalogItem
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class GoogleCloudRecommendationengineV1beta1CatalogItemLevelConfig
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class GoogleCloudRecommendationengineV1beta1CreatePredictionApiKeyRegistrationRequest
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class GoogleCloudRecommendationengineV1beta1EventDetail
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class GoogleCloudRecommendationengineV1beta1FeatureMap
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class GoogleCloudRecommendationengineV1beta1FeatureMapFloatList
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class GoogleCloudRecommendationengineV1beta1FeatureMapStringList
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class GoogleCloudRecommendationengineV1beta1GcsSource
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class GoogleCloudRecommendationengineV1beta1Image
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class GoogleCloudRecommendationengineV1beta1ImportCatalogItemsRequest
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class GoogleCloudRecommendationengineV1beta1ImportCatalogItemsResponse
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class GoogleCloudRecommendationengineV1beta1ImportErrorsConfig
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class GoogleCloudRecommendationengineV1beta1ImportMetadata
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class GoogleCloudRecommendationengineV1beta1ImportUserEventsRequest
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class GoogleCloudRecommendationengineV1beta1ImportUserEventsResponse
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class GoogleCloudRecommendationengineV1beta1InputConfig
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class GoogleCloudRecommendationengineV1beta1ListCatalogItemsResponse
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class GoogleCloudRecommendationengineV1beta1ListCatalogsResponse
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class GoogleCloudRecommendationengineV1beta1ListPredictionApiKeyRegistrationsResponse
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class GoogleCloudRecommendationengineV1beta1ListUserEventsResponse
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class GoogleCloudRecommendationengineV1beta1PredictRequest
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class GoogleCloudRecommendationengineV1beta1PredictResponse
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class GoogleCloudRecommendationengineV1beta1PredictResponsePredictionResult
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class GoogleCloudRecommendationengineV1beta1PredictionApiKeyRegistration
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class GoogleCloudRecommendationengineV1beta1ProductCatalogItem
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPrice
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRange
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class GoogleCloudRecommendationengineV1beta1ProductDetail
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class GoogleCloudRecommendationengineV1beta1ProductEventDetail
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class GoogleCloudRecommendationengineV1beta1PurchaseTransaction
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class GoogleCloudRecommendationengineV1beta1PurgeUserEventsMetadata
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class GoogleCloudRecommendationengineV1beta1PurgeUserEventsRequest
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class GoogleCloudRecommendationengineV1beta1PurgeUserEventsResponse
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class GoogleCloudRecommendationengineV1beta1RejoinUserEventsMetadata
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class GoogleCloudRecommendationengineV1beta1RejoinUserEventsRequest
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class GoogleCloudRecommendationengineV1beta1RejoinUserEventsResponse
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class GoogleCloudRecommendationengineV1beta1UserEvent
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class GoogleCloudRecommendationengineV1beta1UserEventImportSummary
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class GoogleCloudRecommendationengineV1beta1UserEventInlineSource
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class GoogleCloudRecommendationengineV1beta1UserInfo
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class GoogleLongrunningListOperationsResponse
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class GoogleLongrunningOperation
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class GoogleProtobufEmpty
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class GoogleRpcStatus
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class GoogleApiHttpBody
344
+ # @private
345
+ class Representation < Google::Apis::Core::JsonRepresentation
346
+ property :content_type, as: 'contentType'
347
+ property :data, :base64 => true, as: 'data'
348
+ collection :extensions, as: 'extensions'
349
+ end
350
+ end
351
+
352
+ class GoogleCloudRecommendationengineV1alphaRejoinCatalogMetadata
353
+ # @private
354
+ class Representation < Google::Apis::Core::JsonRepresentation
355
+ end
356
+ end
357
+
358
+ class GoogleCloudRecommendationengineV1alphaRejoinCatalogResponse
359
+ # @private
360
+ class Representation < Google::Apis::Core::JsonRepresentation
361
+ property :rejoined_user_events_count, :numeric_string => true, as: 'rejoinedUserEventsCount'
362
+ end
363
+ end
364
+
365
+ class GoogleCloudRecommendationengineV1alphaTuningMetadata
366
+ # @private
367
+ class Representation < Google::Apis::Core::JsonRepresentation
368
+ property :recommendation_model, as: 'recommendationModel'
369
+ end
370
+ end
371
+
372
+ class GoogleCloudRecommendationengineV1alphaTuningResponse
373
+ # @private
374
+ class Representation < Google::Apis::Core::JsonRepresentation
375
+ end
376
+ end
377
+
378
+ class GoogleCloudRecommendationengineV1beta1BigQuerySource
379
+ # @private
380
+ class Representation < Google::Apis::Core::JsonRepresentation
381
+ property :data_schema, as: 'dataSchema'
382
+ property :dataset_id, as: 'datasetId'
383
+ property :gcs_staging_dir, as: 'gcsStagingDir'
384
+ property :project_id, as: 'projectId'
385
+ property :table_id, as: 'tableId'
386
+ end
387
+ end
388
+
389
+ class GoogleCloudRecommendationengineV1beta1Catalog
390
+ # @private
391
+ class Representation < Google::Apis::Core::JsonRepresentation
392
+ property :catalog_item_level_config, as: 'catalogItemLevelConfig', class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1CatalogItemLevelConfig, decorator: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1CatalogItemLevelConfig::Representation
393
+
394
+ property :default_event_store_id, as: 'defaultEventStoreId'
395
+ property :display_name, as: 'displayName'
396
+ property :name, as: 'name'
397
+ end
398
+ end
399
+
400
+ class GoogleCloudRecommendationengineV1beta1CatalogInlineSource
401
+ # @private
402
+ class Representation < Google::Apis::Core::JsonRepresentation
403
+ collection :catalog_items, as: 'catalogItems', class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1CatalogItem, decorator: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1CatalogItem::Representation
404
+
405
+ end
406
+ end
407
+
408
+ class GoogleCloudRecommendationengineV1beta1CatalogItem
409
+ # @private
410
+ class Representation < Google::Apis::Core::JsonRepresentation
411
+ collection :category_hierarchies, as: 'categoryHierarchies', class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy, decorator: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy::Representation
412
+
413
+ property :description, as: 'description'
414
+ property :id, as: 'id'
415
+ property :item_attributes, as: 'itemAttributes', class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1FeatureMap, decorator: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1FeatureMap::Representation
416
+
417
+ property :item_group_id, as: 'itemGroupId'
418
+ property :language_code, as: 'languageCode'
419
+ property :product_metadata, as: 'productMetadata', class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1ProductCatalogItem, decorator: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1ProductCatalogItem::Representation
420
+
421
+ collection :tags, as: 'tags'
422
+ property :title, as: 'title'
423
+ end
424
+ end
425
+
426
+ class GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy
427
+ # @private
428
+ class Representation < Google::Apis::Core::JsonRepresentation
429
+ collection :categories, as: 'categories'
430
+ end
431
+ end
432
+
433
+ class GoogleCloudRecommendationengineV1beta1CatalogItemLevelConfig
434
+ # @private
435
+ class Representation < Google::Apis::Core::JsonRepresentation
436
+ property :event_item_level, as: 'eventItemLevel'
437
+ property :predict_item_level, as: 'predictItemLevel'
438
+ end
439
+ end
440
+
441
+ class GoogleCloudRecommendationengineV1beta1CreatePredictionApiKeyRegistrationRequest
442
+ # @private
443
+ class Representation < Google::Apis::Core::JsonRepresentation
444
+ property :prediction_api_key_registration, as: 'predictionApiKeyRegistration', class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1PredictionApiKeyRegistration, decorator: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1PredictionApiKeyRegistration::Representation
445
+
446
+ end
447
+ end
448
+
449
+ class GoogleCloudRecommendationengineV1beta1EventDetail
450
+ # @private
451
+ class Representation < Google::Apis::Core::JsonRepresentation
452
+ property :event_attributes, as: 'eventAttributes', class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1FeatureMap, decorator: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1FeatureMap::Representation
453
+
454
+ collection :experiment_ids, as: 'experimentIds'
455
+ property :page_view_id, as: 'pageViewId'
456
+ property :recommendation_token, as: 'recommendationToken'
457
+ property :referrer_uri, as: 'referrerUri'
458
+ property :uri, as: 'uri'
459
+ end
460
+ end
461
+
462
+ class GoogleCloudRecommendationengineV1beta1FeatureMap
463
+ # @private
464
+ class Representation < Google::Apis::Core::JsonRepresentation
465
+ hash :categorical_features, as: 'categoricalFeatures', class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1FeatureMapStringList, decorator: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1FeatureMapStringList::Representation
466
+
467
+ hash :numerical_features, as: 'numericalFeatures', class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1FeatureMapFloatList, decorator: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1FeatureMapFloatList::Representation
468
+
469
+ end
470
+ end
471
+
472
+ class GoogleCloudRecommendationengineV1beta1FeatureMapFloatList
473
+ # @private
474
+ class Representation < Google::Apis::Core::JsonRepresentation
475
+ collection :value, as: 'value'
476
+ end
477
+ end
478
+
479
+ class GoogleCloudRecommendationengineV1beta1FeatureMapStringList
480
+ # @private
481
+ class Representation < Google::Apis::Core::JsonRepresentation
482
+ collection :value, as: 'value'
483
+ end
484
+ end
485
+
486
+ class GoogleCloudRecommendationengineV1beta1GcsSource
487
+ # @private
488
+ class Representation < Google::Apis::Core::JsonRepresentation
489
+ collection :input_uris, as: 'inputUris'
490
+ property :json_schema, as: 'jsonSchema'
491
+ end
492
+ end
493
+
494
+ class GoogleCloudRecommendationengineV1beta1Image
495
+ # @private
496
+ class Representation < Google::Apis::Core::JsonRepresentation
497
+ property :height, as: 'height'
498
+ property :uri, as: 'uri'
499
+ property :width, as: 'width'
500
+ end
501
+ end
502
+
503
+ class GoogleCloudRecommendationengineV1beta1ImportCatalogItemsRequest
504
+ # @private
505
+ class Representation < Google::Apis::Core::JsonRepresentation
506
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1ImportErrorsConfig, decorator: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1ImportErrorsConfig::Representation
507
+
508
+ property :input_config, as: 'inputConfig', class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1InputConfig, decorator: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1InputConfig::Representation
509
+
510
+ property :request_id, as: 'requestId'
511
+ property :update_mask, as: 'updateMask'
512
+ end
513
+ end
514
+
515
+ class GoogleCloudRecommendationengineV1beta1ImportCatalogItemsResponse
516
+ # @private
517
+ class Representation < Google::Apis::Core::JsonRepresentation
518
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::RecommendationengineV1beta1::GoogleRpcStatus, decorator: Google::Apis::RecommendationengineV1beta1::GoogleRpcStatus::Representation
519
+
520
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1ImportErrorsConfig, decorator: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1ImportErrorsConfig::Representation
521
+
522
+ end
523
+ end
524
+
525
+ class GoogleCloudRecommendationengineV1beta1ImportErrorsConfig
526
+ # @private
527
+ class Representation < Google::Apis::Core::JsonRepresentation
528
+ property :gcs_prefix, as: 'gcsPrefix'
529
+ end
530
+ end
531
+
532
+ class GoogleCloudRecommendationengineV1beta1ImportMetadata
533
+ # @private
534
+ class Representation < Google::Apis::Core::JsonRepresentation
535
+ property :create_time, as: 'createTime'
536
+ property :failure_count, :numeric_string => true, as: 'failureCount'
537
+ property :operation_name, as: 'operationName'
538
+ property :request_id, as: 'requestId'
539
+ property :success_count, :numeric_string => true, as: 'successCount'
540
+ property :update_time, as: 'updateTime'
541
+ end
542
+ end
543
+
544
+ class GoogleCloudRecommendationengineV1beta1ImportUserEventsRequest
545
+ # @private
546
+ class Representation < Google::Apis::Core::JsonRepresentation
547
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1ImportErrorsConfig, decorator: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1ImportErrorsConfig::Representation
548
+
549
+ property :input_config, as: 'inputConfig', class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1InputConfig, decorator: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1InputConfig::Representation
550
+
551
+ property :request_id, as: 'requestId'
552
+ end
553
+ end
554
+
555
+ class GoogleCloudRecommendationengineV1beta1ImportUserEventsResponse
556
+ # @private
557
+ class Representation < Google::Apis::Core::JsonRepresentation
558
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::RecommendationengineV1beta1::GoogleRpcStatus, decorator: Google::Apis::RecommendationengineV1beta1::GoogleRpcStatus::Representation
559
+
560
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1ImportErrorsConfig, decorator: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1ImportErrorsConfig::Representation
561
+
562
+ property :import_summary, as: 'importSummary', class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1UserEventImportSummary, decorator: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1UserEventImportSummary::Representation
563
+
564
+ end
565
+ end
566
+
567
+ class GoogleCloudRecommendationengineV1beta1InputConfig
568
+ # @private
569
+ class Representation < Google::Apis::Core::JsonRepresentation
570
+ property :big_query_source, as: 'bigQuerySource', class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1BigQuerySource, decorator: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1BigQuerySource::Representation
571
+
572
+ property :catalog_inline_source, as: 'catalogInlineSource', class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1CatalogInlineSource, decorator: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1CatalogInlineSource::Representation
573
+
574
+ property :gcs_source, as: 'gcsSource', class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1GcsSource, decorator: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1GcsSource::Representation
575
+
576
+ property :user_event_inline_source, as: 'userEventInlineSource', class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1UserEventInlineSource, decorator: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1UserEventInlineSource::Representation
577
+
578
+ end
579
+ end
580
+
581
+ class GoogleCloudRecommendationengineV1beta1ListCatalogItemsResponse
582
+ # @private
583
+ class Representation < Google::Apis::Core::JsonRepresentation
584
+ collection :catalog_items, as: 'catalogItems', class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1CatalogItem, decorator: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1CatalogItem::Representation
585
+
586
+ property :next_page_token, as: 'nextPageToken'
587
+ end
588
+ end
589
+
590
+ class GoogleCloudRecommendationengineV1beta1ListCatalogsResponse
591
+ # @private
592
+ class Representation < Google::Apis::Core::JsonRepresentation
593
+ collection :catalogs, as: 'catalogs', class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1Catalog, decorator: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1Catalog::Representation
594
+
595
+ property :next_page_token, as: 'nextPageToken'
596
+ end
597
+ end
598
+
599
+ class GoogleCloudRecommendationengineV1beta1ListPredictionApiKeyRegistrationsResponse
600
+ # @private
601
+ class Representation < Google::Apis::Core::JsonRepresentation
602
+ property :next_page_token, as: 'nextPageToken'
603
+ collection :prediction_api_key_registrations, as: 'predictionApiKeyRegistrations', class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1PredictionApiKeyRegistration, decorator: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1PredictionApiKeyRegistration::Representation
604
+
605
+ end
606
+ end
607
+
608
+ class GoogleCloudRecommendationengineV1beta1ListUserEventsResponse
609
+ # @private
610
+ class Representation < Google::Apis::Core::JsonRepresentation
611
+ property :next_page_token, as: 'nextPageToken'
612
+ collection :user_events, as: 'userEvents', class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1UserEvent, decorator: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1UserEvent::Representation
613
+
614
+ end
615
+ end
616
+
617
+ class GoogleCloudRecommendationengineV1beta1PredictRequest
618
+ # @private
619
+ class Representation < Google::Apis::Core::JsonRepresentation
620
+ property :dry_run, as: 'dryRun'
621
+ property :filter, as: 'filter'
622
+ hash :labels, as: 'labels'
623
+ property :page_size, as: 'pageSize'
624
+ property :page_token, as: 'pageToken'
625
+ hash :params, as: 'params'
626
+ property :user_event, as: 'userEvent', class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1UserEvent, decorator: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1UserEvent::Representation
627
+
628
+ end
629
+ end
630
+
631
+ class GoogleCloudRecommendationengineV1beta1PredictResponse
632
+ # @private
633
+ class Representation < Google::Apis::Core::JsonRepresentation
634
+ property :dry_run, as: 'dryRun'
635
+ collection :items_missing_in_catalog, as: 'itemsMissingInCatalog'
636
+ hash :metadata, as: 'metadata'
637
+ property :next_page_token, as: 'nextPageToken'
638
+ property :recommendation_token, as: 'recommendationToken'
639
+ collection :results, as: 'results', class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1PredictResponsePredictionResult, decorator: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1PredictResponsePredictionResult::Representation
640
+
641
+ end
642
+ end
643
+
644
+ class GoogleCloudRecommendationengineV1beta1PredictResponsePredictionResult
645
+ # @private
646
+ class Representation < Google::Apis::Core::JsonRepresentation
647
+ property :id, as: 'id'
648
+ hash :item_metadata, as: 'itemMetadata'
649
+ end
650
+ end
651
+
652
+ class GoogleCloudRecommendationengineV1beta1PredictionApiKeyRegistration
653
+ # @private
654
+ class Representation < Google::Apis::Core::JsonRepresentation
655
+ property :api_key, as: 'apiKey'
656
+ end
657
+ end
658
+
659
+ class GoogleCloudRecommendationengineV1beta1ProductCatalogItem
660
+ # @private
661
+ class Representation < Google::Apis::Core::JsonRepresentation
662
+ property :available_quantity, :numeric_string => true, as: 'availableQuantity'
663
+ property :canonical_product_uri, as: 'canonicalProductUri'
664
+ hash :costs, as: 'costs'
665
+ property :currency_code, as: 'currencyCode'
666
+ property :exact_price, as: 'exactPrice', class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPrice, decorator: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPrice::Representation
667
+
668
+ collection :images, as: 'images', class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1Image, decorator: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1Image::Representation
669
+
670
+ property :price_range, as: 'priceRange', class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRange, decorator: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRange::Representation
671
+
672
+ property :stock_state, as: 'stockState'
673
+ end
674
+ end
675
+
676
+ class GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPrice
677
+ # @private
678
+ class Representation < Google::Apis::Core::JsonRepresentation
679
+ property :display_price, as: 'displayPrice'
680
+ property :original_price, as: 'originalPrice'
681
+ end
682
+ end
683
+
684
+ class GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRange
685
+ # @private
686
+ class Representation < Google::Apis::Core::JsonRepresentation
687
+ property :max, as: 'max'
688
+ property :min, as: 'min'
689
+ end
690
+ end
691
+
692
+ class GoogleCloudRecommendationengineV1beta1ProductDetail
693
+ # @private
694
+ class Representation < Google::Apis::Core::JsonRepresentation
695
+ property :available_quantity, as: 'availableQuantity'
696
+ property :currency_code, as: 'currencyCode'
697
+ property :display_price, as: 'displayPrice'
698
+ property :id, as: 'id'
699
+ property :item_attributes, as: 'itemAttributes', class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1FeatureMap, decorator: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1FeatureMap::Representation
700
+
701
+ property :original_price, as: 'originalPrice'
702
+ property :quantity, as: 'quantity'
703
+ property :stock_state, as: 'stockState'
704
+ end
705
+ end
706
+
707
+ class GoogleCloudRecommendationengineV1beta1ProductEventDetail
708
+ # @private
709
+ class Representation < Google::Apis::Core::JsonRepresentation
710
+ property :cart_id, as: 'cartId'
711
+ property :list_id, as: 'listId'
712
+ collection :page_categories, as: 'pageCategories', class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy, decorator: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1CatalogItemCategoryHierarchy::Representation
713
+
714
+ collection :product_details, as: 'productDetails', class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1ProductDetail, decorator: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1ProductDetail::Representation
715
+
716
+ property :purchase_transaction, as: 'purchaseTransaction', class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1PurchaseTransaction, decorator: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1PurchaseTransaction::Representation
717
+
718
+ property :search_query, as: 'searchQuery'
719
+ end
720
+ end
721
+
722
+ class GoogleCloudRecommendationengineV1beta1PurchaseTransaction
723
+ # @private
724
+ class Representation < Google::Apis::Core::JsonRepresentation
725
+ hash :costs, as: 'costs'
726
+ property :currency_code, as: 'currencyCode'
727
+ property :id, as: 'id'
728
+ property :revenue, as: 'revenue'
729
+ hash :taxes, as: 'taxes'
730
+ end
731
+ end
732
+
733
+ class GoogleCloudRecommendationengineV1beta1PurgeUserEventsMetadata
734
+ # @private
735
+ class Representation < Google::Apis::Core::JsonRepresentation
736
+ property :create_time, as: 'createTime'
737
+ property :operation_name, as: 'operationName'
738
+ end
739
+ end
740
+
741
+ class GoogleCloudRecommendationengineV1beta1PurgeUserEventsRequest
742
+ # @private
743
+ class Representation < Google::Apis::Core::JsonRepresentation
744
+ property :filter, as: 'filter'
745
+ property :force, as: 'force'
746
+ end
747
+ end
748
+
749
+ class GoogleCloudRecommendationengineV1beta1PurgeUserEventsResponse
750
+ # @private
751
+ class Representation < Google::Apis::Core::JsonRepresentation
752
+ property :purged_events_count, :numeric_string => true, as: 'purgedEventsCount'
753
+ collection :user_events_sample, as: 'userEventsSample', class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1UserEvent, decorator: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1UserEvent::Representation
754
+
755
+ end
756
+ end
757
+
758
+ class GoogleCloudRecommendationengineV1beta1RejoinUserEventsMetadata
759
+ # @private
760
+ class Representation < Google::Apis::Core::JsonRepresentation
761
+ end
762
+ end
763
+
764
+ class GoogleCloudRecommendationengineV1beta1RejoinUserEventsRequest
765
+ # @private
766
+ class Representation < Google::Apis::Core::JsonRepresentation
767
+ property :user_event_rejoin_scope, as: 'userEventRejoinScope'
768
+ end
769
+ end
770
+
771
+ class GoogleCloudRecommendationengineV1beta1RejoinUserEventsResponse
772
+ # @private
773
+ class Representation < Google::Apis::Core::JsonRepresentation
774
+ property :rejoined_user_events_count, :numeric_string => true, as: 'rejoinedUserEventsCount'
775
+ end
776
+ end
777
+
778
+ class GoogleCloudRecommendationengineV1beta1UserEvent
779
+ # @private
780
+ class Representation < Google::Apis::Core::JsonRepresentation
781
+ property :event_detail, as: 'eventDetail', class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1EventDetail, decorator: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1EventDetail::Representation
782
+
783
+ property :event_source, as: 'eventSource'
784
+ property :event_time, as: 'eventTime'
785
+ property :event_type, as: 'eventType'
786
+ property :product_event_detail, as: 'productEventDetail', class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1ProductEventDetail, decorator: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1ProductEventDetail::Representation
787
+
788
+ property :user_info, as: 'userInfo', class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1UserInfo, decorator: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1UserInfo::Representation
789
+
790
+ end
791
+ end
792
+
793
+ class GoogleCloudRecommendationengineV1beta1UserEventImportSummary
794
+ # @private
795
+ class Representation < Google::Apis::Core::JsonRepresentation
796
+ property :joined_events_count, :numeric_string => true, as: 'joinedEventsCount'
797
+ property :unjoined_events_count, :numeric_string => true, as: 'unjoinedEventsCount'
798
+ end
799
+ end
800
+
801
+ class GoogleCloudRecommendationengineV1beta1UserEventInlineSource
802
+ # @private
803
+ class Representation < Google::Apis::Core::JsonRepresentation
804
+ collection :user_events, as: 'userEvents', class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1UserEvent, decorator: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1UserEvent::Representation
805
+
806
+ end
807
+ end
808
+
809
+ class GoogleCloudRecommendationengineV1beta1UserInfo
810
+ # @private
811
+ class Representation < Google::Apis::Core::JsonRepresentation
812
+ property :direct_user_request, as: 'directUserRequest'
813
+ property :ip_address, as: 'ipAddress'
814
+ property :user_agent, as: 'userAgent'
815
+ property :user_id, as: 'userId'
816
+ property :visitor_id, as: 'visitorId'
817
+ end
818
+ end
819
+
820
+ class GoogleLongrunningListOperationsResponse
821
+ # @private
822
+ class Representation < Google::Apis::Core::JsonRepresentation
823
+ property :next_page_token, as: 'nextPageToken'
824
+ collection :operations, as: 'operations', class: Google::Apis::RecommendationengineV1beta1::GoogleLongrunningOperation, decorator: Google::Apis::RecommendationengineV1beta1::GoogleLongrunningOperation::Representation
825
+
826
+ end
827
+ end
828
+
829
+ class GoogleLongrunningOperation
830
+ # @private
831
+ class Representation < Google::Apis::Core::JsonRepresentation
832
+ property :done, as: 'done'
833
+ property :error, as: 'error', class: Google::Apis::RecommendationengineV1beta1::GoogleRpcStatus, decorator: Google::Apis::RecommendationengineV1beta1::GoogleRpcStatus::Representation
834
+
835
+ hash :metadata, as: 'metadata'
836
+ property :name, as: 'name'
837
+ hash :response, as: 'response'
838
+ end
839
+ end
840
+
841
+ class GoogleProtobufEmpty
842
+ # @private
843
+ class Representation < Google::Apis::Core::JsonRepresentation
844
+ end
845
+ end
846
+
847
+ class GoogleRpcStatus
848
+ # @private
849
+ class Representation < Google::Apis::Core::JsonRepresentation
850
+ property :code, as: 'code'
851
+ collection :details, as: 'details'
852
+ property :message, as: 'message'
853
+ end
854
+ end
855
+ end
856
+ end
857
+ end