google-apis-retail_v2beta 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 RetailV2beta
18
+ # Version of the google-apis-retail_v2beta gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.1.2"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20210129"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,1287 @@
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 RetailV2beta
24
+
25
+ class GoogleApiHttpBody
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class GoogleCloudRetailLoggingErrorContext
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class GoogleCloudRetailLoggingErrorLog
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class GoogleCloudRetailLoggingHttpRequestContext
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class GoogleCloudRetailLoggingImportErrorContext
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class GoogleCloudRetailLoggingServiceContext
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class GoogleCloudRetailLoggingSourceLocation
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class GoogleCloudRetailV2ImportErrorsConfig
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class GoogleCloudRetailV2ImportMetadata
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class GoogleCloudRetailV2ImportProductsResponse
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class GoogleCloudRetailV2ImportUserEventsResponse
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class GoogleCloudRetailV2PurgeMetadata
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class GoogleCloudRetailV2PurgeUserEventsResponse
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class GoogleCloudRetailV2RejoinUserEventsMetadata
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class GoogleCloudRetailV2RejoinUserEventsResponse
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class GoogleCloudRetailV2UserEventImportSummary
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class GoogleCloudRetailV2alphaExportErrorsConfig
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class GoogleCloudRetailV2alphaExportMetadata
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class GoogleCloudRetailV2alphaExportProductsResponse
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class GoogleCloudRetailV2alphaExportUserEventsResponse
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class GoogleCloudRetailV2alphaImportErrorsConfig
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class GoogleCloudRetailV2alphaImportMetadata
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class GoogleCloudRetailV2alphaImportProductsResponse
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class GoogleCloudRetailV2alphaImportUserEventsResponse
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class GoogleCloudRetailV2alphaPurgeMetadata
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class GoogleCloudRetailV2alphaPurgeUserEventsResponse
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class GoogleCloudRetailV2alphaRejoinUserEventsMetadata
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class GoogleCloudRetailV2alphaRejoinUserEventsResponse
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class GoogleCloudRetailV2alphaUserEventImportSummary
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class GoogleCloudRetailV2betaBigQuerySource
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class GoogleCloudRetailV2betaCatalog
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class GoogleCloudRetailV2betaCustomAttribute
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class GoogleCloudRetailV2betaExportErrorsConfig
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class GoogleCloudRetailV2betaExportMetadata
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class GoogleCloudRetailV2betaExportProductsResponse
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class GoogleCloudRetailV2betaExportUserEventsResponse
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class GoogleCloudRetailV2betaGcsSource
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class GoogleCloudRetailV2betaImage
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class GoogleCloudRetailV2betaImportErrorsConfig
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class GoogleCloudRetailV2betaImportMetadata
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class GoogleCloudRetailV2betaImportProductsRequest
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class GoogleCloudRetailV2betaImportProductsResponse
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class GoogleCloudRetailV2betaImportUserEventsRequest
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class GoogleCloudRetailV2betaImportUserEventsResponse
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class GoogleCloudRetailV2betaListCatalogsResponse
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class GoogleCloudRetailV2betaPredictRequest
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class GoogleCloudRetailV2betaPredictResponse
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class GoogleCloudRetailV2betaPredictResponsePredictionResult
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class GoogleCloudRetailV2betaPriceInfo
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class GoogleCloudRetailV2betaProduct
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class GoogleCloudRetailV2betaProductDetail
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class GoogleCloudRetailV2betaProductInlineSource
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class GoogleCloudRetailV2betaProductInputConfig
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class GoogleCloudRetailV2betaProductLevelConfig
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class GoogleCloudRetailV2betaPurchaseTransaction
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
355
+ class GoogleCloudRetailV2betaPurgeMetadata
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class GoogleCloudRetailV2betaPurgeUserEventsRequest
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
367
+ class GoogleCloudRetailV2betaPurgeUserEventsResponse
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class GoogleCloudRetailV2betaRejoinUserEventsMetadata
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
379
+ class GoogleCloudRetailV2betaRejoinUserEventsRequest
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
385
+ class GoogleCloudRetailV2betaRejoinUserEventsResponse
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
391
+ class GoogleCloudRetailV2betaUserEvent
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
397
+ class GoogleCloudRetailV2betaUserEventImportSummary
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
403
+ class GoogleCloudRetailV2betaUserEventInlineSource
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
409
+ class GoogleCloudRetailV2betaUserEventInputConfig
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
415
+ class GoogleCloudRetailV2betaUserInfo
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
421
+ class GoogleCloudRetailV2mainExportErrorsConfig
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
427
+ class GoogleCloudRetailV2mainExportMetadata
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
433
+ class GoogleCloudRetailV2mainExportProductsResponse
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
439
+ class GoogleCloudRetailV2mainExportUserEventsResponse
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
445
+ class GoogleCloudRetailV2mainImportErrorsConfig
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
451
+ class GoogleCloudRetailV2mainImportMetadata
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
457
+ class GoogleCloudRetailV2mainImportProductsResponse
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
463
+ class GoogleCloudRetailV2mainImportUserEventsResponse
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
469
+ class GoogleCloudRetailV2mainPurgeMetadata
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
475
+ class GoogleCloudRetailV2mainPurgeUserEventsResponse
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
481
+ class GoogleCloudRetailV2mainRejoinUserEventsMetadata
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
487
+ class GoogleCloudRetailV2mainRejoinUserEventsResponse
488
+ class Representation < Google::Apis::Core::JsonRepresentation; end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
493
+ class GoogleCloudRetailV2mainUserEventImportSummary
494
+ class Representation < Google::Apis::Core::JsonRepresentation; end
495
+
496
+ include Google::Apis::Core::JsonObjectSupport
497
+ end
498
+
499
+ class GoogleLongrunningListOperationsResponse
500
+ class Representation < Google::Apis::Core::JsonRepresentation; end
501
+
502
+ include Google::Apis::Core::JsonObjectSupport
503
+ end
504
+
505
+ class GoogleLongrunningOperation
506
+ class Representation < Google::Apis::Core::JsonRepresentation; end
507
+
508
+ include Google::Apis::Core::JsonObjectSupport
509
+ end
510
+
511
+ class GoogleProtobufEmpty
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
517
+ class GoogleRpcStatus
518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
519
+
520
+ include Google::Apis::Core::JsonObjectSupport
521
+ end
522
+
523
+ class GoogleApiHttpBody
524
+ # @private
525
+ class Representation < Google::Apis::Core::JsonRepresentation
526
+ property :content_type, as: 'contentType'
527
+ property :data, :base64 => true, as: 'data'
528
+ collection :extensions, as: 'extensions'
529
+ end
530
+ end
531
+
532
+ class GoogleCloudRetailLoggingErrorContext
533
+ # @private
534
+ class Representation < Google::Apis::Core::JsonRepresentation
535
+ property :http_request, as: 'httpRequest', class: Google::Apis::RetailV2beta::GoogleCloudRetailLoggingHttpRequestContext, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailLoggingHttpRequestContext::Representation
536
+
537
+ property :report_location, as: 'reportLocation', class: Google::Apis::RetailV2beta::GoogleCloudRetailLoggingSourceLocation, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailLoggingSourceLocation::Representation
538
+
539
+ end
540
+ end
541
+
542
+ class GoogleCloudRetailLoggingErrorLog
543
+ # @private
544
+ class Representation < Google::Apis::Core::JsonRepresentation
545
+ property :context, as: 'context', class: Google::Apis::RetailV2beta::GoogleCloudRetailLoggingErrorContext, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailLoggingErrorContext::Representation
546
+
547
+ property :import_payload, as: 'importPayload', class: Google::Apis::RetailV2beta::GoogleCloudRetailLoggingImportErrorContext, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailLoggingImportErrorContext::Representation
548
+
549
+ property :message, as: 'message'
550
+ hash :request_payload, as: 'requestPayload'
551
+ hash :response_payload, as: 'responsePayload'
552
+ property :service_context, as: 'serviceContext', class: Google::Apis::RetailV2beta::GoogleCloudRetailLoggingServiceContext, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailLoggingServiceContext::Representation
553
+
554
+ property :status, as: 'status', class: Google::Apis::RetailV2beta::GoogleRpcStatus, decorator: Google::Apis::RetailV2beta::GoogleRpcStatus::Representation
555
+
556
+ end
557
+ end
558
+
559
+ class GoogleCloudRetailLoggingHttpRequestContext
560
+ # @private
561
+ class Representation < Google::Apis::Core::JsonRepresentation
562
+ property :response_status_code, as: 'responseStatusCode'
563
+ end
564
+ end
565
+
566
+ class GoogleCloudRetailLoggingImportErrorContext
567
+ # @private
568
+ class Representation < Google::Apis::Core::JsonRepresentation
569
+ property :catalog_item, as: 'catalogItem'
570
+ property :gcs_path, as: 'gcsPath'
571
+ property :line_number, as: 'lineNumber'
572
+ property :operation_name, as: 'operationName'
573
+ property :product, as: 'product'
574
+ property :user_event, as: 'userEvent'
575
+ end
576
+ end
577
+
578
+ class GoogleCloudRetailLoggingServiceContext
579
+ # @private
580
+ class Representation < Google::Apis::Core::JsonRepresentation
581
+ property :service, as: 'service'
582
+ end
583
+ end
584
+
585
+ class GoogleCloudRetailLoggingSourceLocation
586
+ # @private
587
+ class Representation < Google::Apis::Core::JsonRepresentation
588
+ property :function_name, as: 'functionName'
589
+ end
590
+ end
591
+
592
+ class GoogleCloudRetailV2ImportErrorsConfig
593
+ # @private
594
+ class Representation < Google::Apis::Core::JsonRepresentation
595
+ property :gcs_prefix, as: 'gcsPrefix'
596
+ end
597
+ end
598
+
599
+ class GoogleCloudRetailV2ImportMetadata
600
+ # @private
601
+ class Representation < Google::Apis::Core::JsonRepresentation
602
+ property :create_time, as: 'createTime'
603
+ property :failure_count, :numeric_string => true, as: 'failureCount'
604
+ property :success_count, :numeric_string => true, as: 'successCount'
605
+ property :update_time, as: 'updateTime'
606
+ end
607
+ end
608
+
609
+ class GoogleCloudRetailV2ImportProductsResponse
610
+ # @private
611
+ class Representation < Google::Apis::Core::JsonRepresentation
612
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2beta::GoogleRpcStatus, decorator: Google::Apis::RetailV2beta::GoogleRpcStatus::Representation
613
+
614
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2ImportErrorsConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2ImportErrorsConfig::Representation
615
+
616
+ end
617
+ end
618
+
619
+ class GoogleCloudRetailV2ImportUserEventsResponse
620
+ # @private
621
+ class Representation < Google::Apis::Core::JsonRepresentation
622
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2beta::GoogleRpcStatus, decorator: Google::Apis::RetailV2beta::GoogleRpcStatus::Representation
623
+
624
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2ImportErrorsConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2ImportErrorsConfig::Representation
625
+
626
+ property :import_summary, as: 'importSummary', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2UserEventImportSummary, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2UserEventImportSummary::Representation
627
+
628
+ end
629
+ end
630
+
631
+ class GoogleCloudRetailV2PurgeMetadata
632
+ # @private
633
+ class Representation < Google::Apis::Core::JsonRepresentation
634
+ end
635
+ end
636
+
637
+ class GoogleCloudRetailV2PurgeUserEventsResponse
638
+ # @private
639
+ class Representation < Google::Apis::Core::JsonRepresentation
640
+ property :purged_events_count, :numeric_string => true, as: 'purgedEventsCount'
641
+ end
642
+ end
643
+
644
+ class GoogleCloudRetailV2RejoinUserEventsMetadata
645
+ # @private
646
+ class Representation < Google::Apis::Core::JsonRepresentation
647
+ end
648
+ end
649
+
650
+ class GoogleCloudRetailV2RejoinUserEventsResponse
651
+ # @private
652
+ class Representation < Google::Apis::Core::JsonRepresentation
653
+ property :rejoined_user_events_count, :numeric_string => true, as: 'rejoinedUserEventsCount'
654
+ end
655
+ end
656
+
657
+ class GoogleCloudRetailV2UserEventImportSummary
658
+ # @private
659
+ class Representation < Google::Apis::Core::JsonRepresentation
660
+ property :joined_events_count, :numeric_string => true, as: 'joinedEventsCount'
661
+ property :unjoined_events_count, :numeric_string => true, as: 'unjoinedEventsCount'
662
+ end
663
+ end
664
+
665
+ class GoogleCloudRetailV2alphaExportErrorsConfig
666
+ # @private
667
+ class Representation < Google::Apis::Core::JsonRepresentation
668
+ property :gcs_prefix, as: 'gcsPrefix'
669
+ end
670
+ end
671
+
672
+ class GoogleCloudRetailV2alphaExportMetadata
673
+ # @private
674
+ class Representation < Google::Apis::Core::JsonRepresentation
675
+ property :create_time, as: 'createTime'
676
+ property :update_time, as: 'updateTime'
677
+ end
678
+ end
679
+
680
+ class GoogleCloudRetailV2alphaExportProductsResponse
681
+ # @private
682
+ class Representation < Google::Apis::Core::JsonRepresentation
683
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2beta::GoogleRpcStatus, decorator: Google::Apis::RetailV2beta::GoogleRpcStatus::Representation
684
+
685
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaExportErrorsConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaExportErrorsConfig::Representation
686
+
687
+ end
688
+ end
689
+
690
+ class GoogleCloudRetailV2alphaExportUserEventsResponse
691
+ # @private
692
+ class Representation < Google::Apis::Core::JsonRepresentation
693
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2beta::GoogleRpcStatus, decorator: Google::Apis::RetailV2beta::GoogleRpcStatus::Representation
694
+
695
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaExportErrorsConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaExportErrorsConfig::Representation
696
+
697
+ end
698
+ end
699
+
700
+ class GoogleCloudRetailV2alphaImportErrorsConfig
701
+ # @private
702
+ class Representation < Google::Apis::Core::JsonRepresentation
703
+ property :gcs_prefix, as: 'gcsPrefix'
704
+ end
705
+ end
706
+
707
+ class GoogleCloudRetailV2alphaImportMetadata
708
+ # @private
709
+ class Representation < Google::Apis::Core::JsonRepresentation
710
+ property :create_time, as: 'createTime'
711
+ property :failure_count, :numeric_string => true, as: 'failureCount'
712
+ property :success_count, :numeric_string => true, as: 'successCount'
713
+ property :update_time, as: 'updateTime'
714
+ end
715
+ end
716
+
717
+ class GoogleCloudRetailV2alphaImportProductsResponse
718
+ # @private
719
+ class Representation < Google::Apis::Core::JsonRepresentation
720
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2beta::GoogleRpcStatus, decorator: Google::Apis::RetailV2beta::GoogleRpcStatus::Representation
721
+
722
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaImportErrorsConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaImportErrorsConfig::Representation
723
+
724
+ end
725
+ end
726
+
727
+ class GoogleCloudRetailV2alphaImportUserEventsResponse
728
+ # @private
729
+ class Representation < Google::Apis::Core::JsonRepresentation
730
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2beta::GoogleRpcStatus, decorator: Google::Apis::RetailV2beta::GoogleRpcStatus::Representation
731
+
732
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaImportErrorsConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaImportErrorsConfig::Representation
733
+
734
+ property :import_summary, as: 'importSummary', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaUserEventImportSummary, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2alphaUserEventImportSummary::Representation
735
+
736
+ end
737
+ end
738
+
739
+ class GoogleCloudRetailV2alphaPurgeMetadata
740
+ # @private
741
+ class Representation < Google::Apis::Core::JsonRepresentation
742
+ end
743
+ end
744
+
745
+ class GoogleCloudRetailV2alphaPurgeUserEventsResponse
746
+ # @private
747
+ class Representation < Google::Apis::Core::JsonRepresentation
748
+ property :purged_events_count, :numeric_string => true, as: 'purgedEventsCount'
749
+ end
750
+ end
751
+
752
+ class GoogleCloudRetailV2alphaRejoinUserEventsMetadata
753
+ # @private
754
+ class Representation < Google::Apis::Core::JsonRepresentation
755
+ end
756
+ end
757
+
758
+ class GoogleCloudRetailV2alphaRejoinUserEventsResponse
759
+ # @private
760
+ class Representation < Google::Apis::Core::JsonRepresentation
761
+ property :rejoined_user_events_count, :numeric_string => true, as: 'rejoinedUserEventsCount'
762
+ end
763
+ end
764
+
765
+ class GoogleCloudRetailV2alphaUserEventImportSummary
766
+ # @private
767
+ class Representation < Google::Apis::Core::JsonRepresentation
768
+ property :joined_events_count, :numeric_string => true, as: 'joinedEventsCount'
769
+ property :unjoined_events_count, :numeric_string => true, as: 'unjoinedEventsCount'
770
+ end
771
+ end
772
+
773
+ class GoogleCloudRetailV2betaBigQuerySource
774
+ # @private
775
+ class Representation < Google::Apis::Core::JsonRepresentation
776
+ property :data_schema, as: 'dataSchema'
777
+ property :dataset_id, as: 'datasetId'
778
+ property :gcs_staging_dir, as: 'gcsStagingDir'
779
+ property :project_id, as: 'projectId'
780
+ property :table_id, as: 'tableId'
781
+ end
782
+ end
783
+
784
+ class GoogleCloudRetailV2betaCatalog
785
+ # @private
786
+ class Representation < Google::Apis::Core::JsonRepresentation
787
+ property :display_name, as: 'displayName'
788
+ property :name, as: 'name'
789
+ property :product_level_config, as: 'productLevelConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProductLevelConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProductLevelConfig::Representation
790
+
791
+ end
792
+ end
793
+
794
+ class GoogleCloudRetailV2betaCustomAttribute
795
+ # @private
796
+ class Representation < Google::Apis::Core::JsonRepresentation
797
+ collection :numbers, as: 'numbers'
798
+ collection :text, as: 'text'
799
+ end
800
+ end
801
+
802
+ class GoogleCloudRetailV2betaExportErrorsConfig
803
+ # @private
804
+ class Representation < Google::Apis::Core::JsonRepresentation
805
+ property :gcs_prefix, as: 'gcsPrefix'
806
+ end
807
+ end
808
+
809
+ class GoogleCloudRetailV2betaExportMetadata
810
+ # @private
811
+ class Representation < Google::Apis::Core::JsonRepresentation
812
+ property :create_time, as: 'createTime'
813
+ property :update_time, as: 'updateTime'
814
+ end
815
+ end
816
+
817
+ class GoogleCloudRetailV2betaExportProductsResponse
818
+ # @private
819
+ class Representation < Google::Apis::Core::JsonRepresentation
820
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2beta::GoogleRpcStatus, decorator: Google::Apis::RetailV2beta::GoogleRpcStatus::Representation
821
+
822
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaExportErrorsConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaExportErrorsConfig::Representation
823
+
824
+ end
825
+ end
826
+
827
+ class GoogleCloudRetailV2betaExportUserEventsResponse
828
+ # @private
829
+ class Representation < Google::Apis::Core::JsonRepresentation
830
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2beta::GoogleRpcStatus, decorator: Google::Apis::RetailV2beta::GoogleRpcStatus::Representation
831
+
832
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaExportErrorsConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaExportErrorsConfig::Representation
833
+
834
+ end
835
+ end
836
+
837
+ class GoogleCloudRetailV2betaGcsSource
838
+ # @private
839
+ class Representation < Google::Apis::Core::JsonRepresentation
840
+ property :data_schema, as: 'dataSchema'
841
+ collection :input_uris, as: 'inputUris'
842
+ end
843
+ end
844
+
845
+ class GoogleCloudRetailV2betaImage
846
+ # @private
847
+ class Representation < Google::Apis::Core::JsonRepresentation
848
+ property :height, as: 'height'
849
+ property :uri, as: 'uri'
850
+ property :width, as: 'width'
851
+ end
852
+ end
853
+
854
+ class GoogleCloudRetailV2betaImportErrorsConfig
855
+ # @private
856
+ class Representation < Google::Apis::Core::JsonRepresentation
857
+ property :gcs_prefix, as: 'gcsPrefix'
858
+ end
859
+ end
860
+
861
+ class GoogleCloudRetailV2betaImportMetadata
862
+ # @private
863
+ class Representation < Google::Apis::Core::JsonRepresentation
864
+ property :create_time, as: 'createTime'
865
+ property :failure_count, :numeric_string => true, as: 'failureCount'
866
+ property :success_count, :numeric_string => true, as: 'successCount'
867
+ property :update_time, as: 'updateTime'
868
+ end
869
+ end
870
+
871
+ class GoogleCloudRetailV2betaImportProductsRequest
872
+ # @private
873
+ class Representation < Google::Apis::Core::JsonRepresentation
874
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaImportErrorsConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaImportErrorsConfig::Representation
875
+
876
+ property :input_config, as: 'inputConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProductInputConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProductInputConfig::Representation
877
+
878
+ property :update_mask, as: 'updateMask'
879
+ end
880
+ end
881
+
882
+ class GoogleCloudRetailV2betaImportProductsResponse
883
+ # @private
884
+ class Representation < Google::Apis::Core::JsonRepresentation
885
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2beta::GoogleRpcStatus, decorator: Google::Apis::RetailV2beta::GoogleRpcStatus::Representation
886
+
887
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaImportErrorsConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaImportErrorsConfig::Representation
888
+
889
+ end
890
+ end
891
+
892
+ class GoogleCloudRetailV2betaImportUserEventsRequest
893
+ # @private
894
+ class Representation < Google::Apis::Core::JsonRepresentation
895
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaImportErrorsConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaImportErrorsConfig::Representation
896
+
897
+ property :input_config, as: 'inputConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaUserEventInputConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaUserEventInputConfig::Representation
898
+
899
+ end
900
+ end
901
+
902
+ class GoogleCloudRetailV2betaImportUserEventsResponse
903
+ # @private
904
+ class Representation < Google::Apis::Core::JsonRepresentation
905
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2beta::GoogleRpcStatus, decorator: Google::Apis::RetailV2beta::GoogleRpcStatus::Representation
906
+
907
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaImportErrorsConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaImportErrorsConfig::Representation
908
+
909
+ property :import_summary, as: 'importSummary', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaUserEventImportSummary, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaUserEventImportSummary::Representation
910
+
911
+ end
912
+ end
913
+
914
+ class GoogleCloudRetailV2betaListCatalogsResponse
915
+ # @private
916
+ class Representation < Google::Apis::Core::JsonRepresentation
917
+ collection :catalogs, as: 'catalogs', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalog, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalog::Representation
918
+
919
+ property :next_page_token, as: 'nextPageToken'
920
+ end
921
+ end
922
+
923
+ class GoogleCloudRetailV2betaPredictRequest
924
+ # @private
925
+ class Representation < Google::Apis::Core::JsonRepresentation
926
+ property :filter, as: 'filter'
927
+ hash :labels, as: 'labels'
928
+ property :page_size, as: 'pageSize'
929
+ property :page_token, as: 'pageToken'
930
+ hash :params, as: 'params'
931
+ property :user_event, as: 'userEvent', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaUserEvent, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaUserEvent::Representation
932
+
933
+ property :validate_only, as: 'validateOnly'
934
+ end
935
+ end
936
+
937
+ class GoogleCloudRetailV2betaPredictResponse
938
+ # @private
939
+ class Representation < Google::Apis::Core::JsonRepresentation
940
+ property :attribution_token, as: 'attributionToken'
941
+ collection :missing_ids, as: 'missingIds'
942
+ collection :results, as: 'results', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaPredictResponsePredictionResult, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaPredictResponsePredictionResult::Representation
943
+
944
+ property :validate_only, as: 'validateOnly'
945
+ end
946
+ end
947
+
948
+ class GoogleCloudRetailV2betaPredictResponsePredictionResult
949
+ # @private
950
+ class Representation < Google::Apis::Core::JsonRepresentation
951
+ property :id, as: 'id'
952
+ hash :metadata, as: 'metadata'
953
+ end
954
+ end
955
+
956
+ class GoogleCloudRetailV2betaPriceInfo
957
+ # @private
958
+ class Representation < Google::Apis::Core::JsonRepresentation
959
+ property :cost, as: 'cost'
960
+ property :currency_code, as: 'currencyCode'
961
+ property :original_price, as: 'originalPrice'
962
+ property :price, as: 'price'
963
+ end
964
+ end
965
+
966
+ class GoogleCloudRetailV2betaProduct
967
+ # @private
968
+ class Representation < Google::Apis::Core::JsonRepresentation
969
+ hash :attributes, as: 'attributes', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCustomAttribute, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCustomAttribute::Representation
970
+
971
+ property :availability, as: 'availability'
972
+ property :available_quantity, as: 'availableQuantity'
973
+ property :available_time, as: 'availableTime'
974
+ collection :categories, as: 'categories'
975
+ property :description, as: 'description'
976
+ property :id, as: 'id'
977
+ collection :images, as: 'images', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaImage, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaImage::Representation
978
+
979
+ property :name, as: 'name'
980
+ property :price_info, as: 'priceInfo', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaPriceInfo, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaPriceInfo::Representation
981
+
982
+ property :primary_product_id, as: 'primaryProductId'
983
+ collection :tags, as: 'tags'
984
+ property :title, as: 'title'
985
+ property :type, as: 'type'
986
+ property :uri, as: 'uri'
987
+ end
988
+ end
989
+
990
+ class GoogleCloudRetailV2betaProductDetail
991
+ # @private
992
+ class Representation < Google::Apis::Core::JsonRepresentation
993
+ property :product, as: 'product', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProduct, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProduct::Representation
994
+
995
+ property :quantity, as: 'quantity'
996
+ end
997
+ end
998
+
999
+ class GoogleCloudRetailV2betaProductInlineSource
1000
+ # @private
1001
+ class Representation < Google::Apis::Core::JsonRepresentation
1002
+ collection :products, as: 'products', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProduct, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProduct::Representation
1003
+
1004
+ end
1005
+ end
1006
+
1007
+ class GoogleCloudRetailV2betaProductInputConfig
1008
+ # @private
1009
+ class Representation < Google::Apis::Core::JsonRepresentation
1010
+ property :big_query_source, as: 'bigQuerySource', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaBigQuerySource, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaBigQuerySource::Representation
1011
+
1012
+ property :gcs_source, as: 'gcsSource', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaGcsSource, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaGcsSource::Representation
1013
+
1014
+ property :product_inline_source, as: 'productInlineSource', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProductInlineSource, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProductInlineSource::Representation
1015
+
1016
+ end
1017
+ end
1018
+
1019
+ class GoogleCloudRetailV2betaProductLevelConfig
1020
+ # @private
1021
+ class Representation < Google::Apis::Core::JsonRepresentation
1022
+ property :ingestion_product_type, as: 'ingestionProductType'
1023
+ property :merchant_center_product_id_field, as: 'merchantCenterProductIdField'
1024
+ end
1025
+ end
1026
+
1027
+ class GoogleCloudRetailV2betaPurchaseTransaction
1028
+ # @private
1029
+ class Representation < Google::Apis::Core::JsonRepresentation
1030
+ property :cost, as: 'cost'
1031
+ property :currency_code, as: 'currencyCode'
1032
+ property :id, as: 'id'
1033
+ property :revenue, as: 'revenue'
1034
+ property :tax, as: 'tax'
1035
+ end
1036
+ end
1037
+
1038
+ class GoogleCloudRetailV2betaPurgeMetadata
1039
+ # @private
1040
+ class Representation < Google::Apis::Core::JsonRepresentation
1041
+ end
1042
+ end
1043
+
1044
+ class GoogleCloudRetailV2betaPurgeUserEventsRequest
1045
+ # @private
1046
+ class Representation < Google::Apis::Core::JsonRepresentation
1047
+ property :filter, as: 'filter'
1048
+ property :force, as: 'force'
1049
+ end
1050
+ end
1051
+
1052
+ class GoogleCloudRetailV2betaPurgeUserEventsResponse
1053
+ # @private
1054
+ class Representation < Google::Apis::Core::JsonRepresentation
1055
+ property :purged_events_count, :numeric_string => true, as: 'purgedEventsCount'
1056
+ end
1057
+ end
1058
+
1059
+ class GoogleCloudRetailV2betaRejoinUserEventsMetadata
1060
+ # @private
1061
+ class Representation < Google::Apis::Core::JsonRepresentation
1062
+ end
1063
+ end
1064
+
1065
+ class GoogleCloudRetailV2betaRejoinUserEventsRequest
1066
+ # @private
1067
+ class Representation < Google::Apis::Core::JsonRepresentation
1068
+ property :user_event_rejoin_scope, as: 'userEventRejoinScope'
1069
+ end
1070
+ end
1071
+
1072
+ class GoogleCloudRetailV2betaRejoinUserEventsResponse
1073
+ # @private
1074
+ class Representation < Google::Apis::Core::JsonRepresentation
1075
+ property :rejoined_user_events_count, :numeric_string => true, as: 'rejoinedUserEventsCount'
1076
+ end
1077
+ end
1078
+
1079
+ class GoogleCloudRetailV2betaUserEvent
1080
+ # @private
1081
+ class Representation < Google::Apis::Core::JsonRepresentation
1082
+ hash :attributes, as: 'attributes', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCustomAttribute, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCustomAttribute::Representation
1083
+
1084
+ property :attribution_token, as: 'attributionToken'
1085
+ property :cart_id, as: 'cartId'
1086
+ property :event_time, as: 'eventTime'
1087
+ property :event_type, as: 'eventType'
1088
+ collection :experiment_ids, as: 'experimentIds'
1089
+ collection :page_categories, as: 'pageCategories'
1090
+ property :page_view_id, as: 'pageViewId'
1091
+ collection :product_details, as: 'productDetails', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProductDetail, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaProductDetail::Representation
1092
+
1093
+ property :purchase_transaction, as: 'purchaseTransaction', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaPurchaseTransaction, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaPurchaseTransaction::Representation
1094
+
1095
+ property :referrer_uri, as: 'referrerUri'
1096
+ property :search_query, as: 'searchQuery'
1097
+ property :uri, as: 'uri'
1098
+ property :user_info, as: 'userInfo', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaUserInfo, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaUserInfo::Representation
1099
+
1100
+ property :visitor_id, as: 'visitorId'
1101
+ end
1102
+ end
1103
+
1104
+ class GoogleCloudRetailV2betaUserEventImportSummary
1105
+ # @private
1106
+ class Representation < Google::Apis::Core::JsonRepresentation
1107
+ property :joined_events_count, :numeric_string => true, as: 'joinedEventsCount'
1108
+ property :unjoined_events_count, :numeric_string => true, as: 'unjoinedEventsCount'
1109
+ end
1110
+ end
1111
+
1112
+ class GoogleCloudRetailV2betaUserEventInlineSource
1113
+ # @private
1114
+ class Representation < Google::Apis::Core::JsonRepresentation
1115
+ collection :user_events, as: 'userEvents', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaUserEvent, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaUserEvent::Representation
1116
+
1117
+ end
1118
+ end
1119
+
1120
+ class GoogleCloudRetailV2betaUserEventInputConfig
1121
+ # @private
1122
+ class Representation < Google::Apis::Core::JsonRepresentation
1123
+ property :big_query_source, as: 'bigQuerySource', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaBigQuerySource, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaBigQuerySource::Representation
1124
+
1125
+ property :gcs_source, as: 'gcsSource', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaGcsSource, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaGcsSource::Representation
1126
+
1127
+ property :user_event_inline_source, as: 'userEventInlineSource', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaUserEventInlineSource, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaUserEventInlineSource::Representation
1128
+
1129
+ end
1130
+ end
1131
+
1132
+ class GoogleCloudRetailV2betaUserInfo
1133
+ # @private
1134
+ class Representation < Google::Apis::Core::JsonRepresentation
1135
+ property :direct_user_request, as: 'directUserRequest'
1136
+ property :ip_address, as: 'ipAddress'
1137
+ property :user_agent, as: 'userAgent'
1138
+ property :user_id, as: 'userId'
1139
+ end
1140
+ end
1141
+
1142
+ class GoogleCloudRetailV2mainExportErrorsConfig
1143
+ # @private
1144
+ class Representation < Google::Apis::Core::JsonRepresentation
1145
+ property :gcs_prefix, as: 'gcsPrefix'
1146
+ end
1147
+ end
1148
+
1149
+ class GoogleCloudRetailV2mainExportMetadata
1150
+ # @private
1151
+ class Representation < Google::Apis::Core::JsonRepresentation
1152
+ property :create_time, as: 'createTime'
1153
+ property :update_time, as: 'updateTime'
1154
+ end
1155
+ end
1156
+
1157
+ class GoogleCloudRetailV2mainExportProductsResponse
1158
+ # @private
1159
+ class Representation < Google::Apis::Core::JsonRepresentation
1160
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2beta::GoogleRpcStatus, decorator: Google::Apis::RetailV2beta::GoogleRpcStatus::Representation
1161
+
1162
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2mainExportErrorsConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2mainExportErrorsConfig::Representation
1163
+
1164
+ end
1165
+ end
1166
+
1167
+ class GoogleCloudRetailV2mainExportUserEventsResponse
1168
+ # @private
1169
+ class Representation < Google::Apis::Core::JsonRepresentation
1170
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2beta::GoogleRpcStatus, decorator: Google::Apis::RetailV2beta::GoogleRpcStatus::Representation
1171
+
1172
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2mainExportErrorsConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2mainExportErrorsConfig::Representation
1173
+
1174
+ end
1175
+ end
1176
+
1177
+ class GoogleCloudRetailV2mainImportErrorsConfig
1178
+ # @private
1179
+ class Representation < Google::Apis::Core::JsonRepresentation
1180
+ property :gcs_prefix, as: 'gcsPrefix'
1181
+ end
1182
+ end
1183
+
1184
+ class GoogleCloudRetailV2mainImportMetadata
1185
+ # @private
1186
+ class Representation < Google::Apis::Core::JsonRepresentation
1187
+ property :create_time, as: 'createTime'
1188
+ property :failure_count, :numeric_string => true, as: 'failureCount'
1189
+ property :success_count, :numeric_string => true, as: 'successCount'
1190
+ property :update_time, as: 'updateTime'
1191
+ end
1192
+ end
1193
+
1194
+ class GoogleCloudRetailV2mainImportProductsResponse
1195
+ # @private
1196
+ class Representation < Google::Apis::Core::JsonRepresentation
1197
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2beta::GoogleRpcStatus, decorator: Google::Apis::RetailV2beta::GoogleRpcStatus::Representation
1198
+
1199
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2mainImportErrorsConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2mainImportErrorsConfig::Representation
1200
+
1201
+ end
1202
+ end
1203
+
1204
+ class GoogleCloudRetailV2mainImportUserEventsResponse
1205
+ # @private
1206
+ class Representation < Google::Apis::Core::JsonRepresentation
1207
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2beta::GoogleRpcStatus, decorator: Google::Apis::RetailV2beta::GoogleRpcStatus::Representation
1208
+
1209
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2mainImportErrorsConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2mainImportErrorsConfig::Representation
1210
+
1211
+ property :import_summary, as: 'importSummary', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2mainUserEventImportSummary, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2mainUserEventImportSummary::Representation
1212
+
1213
+ end
1214
+ end
1215
+
1216
+ class GoogleCloudRetailV2mainPurgeMetadata
1217
+ # @private
1218
+ class Representation < Google::Apis::Core::JsonRepresentation
1219
+ end
1220
+ end
1221
+
1222
+ class GoogleCloudRetailV2mainPurgeUserEventsResponse
1223
+ # @private
1224
+ class Representation < Google::Apis::Core::JsonRepresentation
1225
+ property :purged_events_count, :numeric_string => true, as: 'purgedEventsCount'
1226
+ end
1227
+ end
1228
+
1229
+ class GoogleCloudRetailV2mainRejoinUserEventsMetadata
1230
+ # @private
1231
+ class Representation < Google::Apis::Core::JsonRepresentation
1232
+ end
1233
+ end
1234
+
1235
+ class GoogleCloudRetailV2mainRejoinUserEventsResponse
1236
+ # @private
1237
+ class Representation < Google::Apis::Core::JsonRepresentation
1238
+ property :rejoined_user_events_count, :numeric_string => true, as: 'rejoinedUserEventsCount'
1239
+ end
1240
+ end
1241
+
1242
+ class GoogleCloudRetailV2mainUserEventImportSummary
1243
+ # @private
1244
+ class Representation < Google::Apis::Core::JsonRepresentation
1245
+ property :joined_events_count, :numeric_string => true, as: 'joinedEventsCount'
1246
+ property :unjoined_events_count, :numeric_string => true, as: 'unjoinedEventsCount'
1247
+ end
1248
+ end
1249
+
1250
+ class GoogleLongrunningListOperationsResponse
1251
+ # @private
1252
+ class Representation < Google::Apis::Core::JsonRepresentation
1253
+ property :next_page_token, as: 'nextPageToken'
1254
+ collection :operations, as: 'operations', class: Google::Apis::RetailV2beta::GoogleLongrunningOperation, decorator: Google::Apis::RetailV2beta::GoogleLongrunningOperation::Representation
1255
+
1256
+ end
1257
+ end
1258
+
1259
+ class GoogleLongrunningOperation
1260
+ # @private
1261
+ class Representation < Google::Apis::Core::JsonRepresentation
1262
+ property :done, as: 'done'
1263
+ property :error, as: 'error', class: Google::Apis::RetailV2beta::GoogleRpcStatus, decorator: Google::Apis::RetailV2beta::GoogleRpcStatus::Representation
1264
+
1265
+ hash :metadata, as: 'metadata'
1266
+ property :name, as: 'name'
1267
+ hash :response, as: 'response'
1268
+ end
1269
+ end
1270
+
1271
+ class GoogleProtobufEmpty
1272
+ # @private
1273
+ class Representation < Google::Apis::Core::JsonRepresentation
1274
+ end
1275
+ end
1276
+
1277
+ class GoogleRpcStatus
1278
+ # @private
1279
+ class Representation < Google::Apis::Core::JsonRepresentation
1280
+ property :code, as: 'code'
1281
+ collection :details, as: 'details'
1282
+ property :message, as: 'message'
1283
+ end
1284
+ end
1285
+ end
1286
+ end
1287
+ end