google-apis-retail_v2alpha 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 RetailV2alpha
18
+ # Version of the google-apis-retail_v2alpha 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 RetailV2alpha
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 GoogleCloudRetailV2alphaBigQuerySource
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class GoogleCloudRetailV2alphaCatalog
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class GoogleCloudRetailV2alphaCustomAttribute
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class GoogleCloudRetailV2alphaExportErrorsConfig
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class GoogleCloudRetailV2alphaExportMetadata
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class GoogleCloudRetailV2alphaExportProductsResponse
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class GoogleCloudRetailV2alphaExportUserEventsResponse
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class GoogleCloudRetailV2alphaGcsSource
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class GoogleCloudRetailV2alphaImage
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class GoogleCloudRetailV2alphaImportErrorsConfig
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class GoogleCloudRetailV2alphaImportMetadata
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class GoogleCloudRetailV2alphaImportProductsRequest
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class GoogleCloudRetailV2alphaImportProductsResponse
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class GoogleCloudRetailV2alphaImportUserEventsRequest
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class GoogleCloudRetailV2alphaImportUserEventsResponse
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class GoogleCloudRetailV2alphaListCatalogsResponse
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class GoogleCloudRetailV2alphaPredictRequest
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class GoogleCloudRetailV2alphaPredictResponse
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class GoogleCloudRetailV2alphaPredictResponsePredictionResult
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class GoogleCloudRetailV2alphaPriceInfo
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class GoogleCloudRetailV2alphaProduct
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class GoogleCloudRetailV2alphaProductDetail
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class GoogleCloudRetailV2alphaProductInlineSource
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class GoogleCloudRetailV2alphaProductInputConfig
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class GoogleCloudRetailV2alphaProductLevelConfig
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class GoogleCloudRetailV2alphaPurchaseTransaction
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class GoogleCloudRetailV2alphaPurgeMetadata
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class GoogleCloudRetailV2alphaPurgeUserEventsRequest
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class GoogleCloudRetailV2alphaPurgeUserEventsResponse
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class GoogleCloudRetailV2alphaRejoinUserEventsMetadata
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class GoogleCloudRetailV2alphaRejoinUserEventsRequest
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class GoogleCloudRetailV2alphaRejoinUserEventsResponse
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class GoogleCloudRetailV2alphaUserEvent
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class GoogleCloudRetailV2alphaUserEventImportSummary
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class GoogleCloudRetailV2alphaUserEventInlineSource
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class GoogleCloudRetailV2alphaUserEventInputConfig
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class GoogleCloudRetailV2alphaUserInfo
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class GoogleCloudRetailV2betaExportErrorsConfig
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class GoogleCloudRetailV2betaExportMetadata
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
355
+ class GoogleCloudRetailV2betaExportProductsResponse
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class GoogleCloudRetailV2betaExportUserEventsResponse
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
367
+ class GoogleCloudRetailV2betaImportErrorsConfig
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class GoogleCloudRetailV2betaImportMetadata
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
379
+ class GoogleCloudRetailV2betaImportProductsResponse
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
385
+ class GoogleCloudRetailV2betaImportUserEventsResponse
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
391
+ class GoogleCloudRetailV2betaPurgeMetadata
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
397
+ class GoogleCloudRetailV2betaPurgeUserEventsResponse
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
403
+ class GoogleCloudRetailV2betaRejoinUserEventsMetadata
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
409
+ class GoogleCloudRetailV2betaRejoinUserEventsResponse
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
415
+ class GoogleCloudRetailV2betaUserEventImportSummary
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::RetailV2alpha::GoogleCloudRetailLoggingHttpRequestContext, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailLoggingHttpRequestContext::Representation
536
+
537
+ property :report_location, as: 'reportLocation', class: Google::Apis::RetailV2alpha::GoogleCloudRetailLoggingSourceLocation, decorator: Google::Apis::RetailV2alpha::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::RetailV2alpha::GoogleCloudRetailLoggingErrorContext, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailLoggingErrorContext::Representation
546
+
547
+ property :import_payload, as: 'importPayload', class: Google::Apis::RetailV2alpha::GoogleCloudRetailLoggingImportErrorContext, decorator: Google::Apis::RetailV2alpha::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::RetailV2alpha::GoogleCloudRetailLoggingServiceContext, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailLoggingServiceContext::Representation
553
+
554
+ property :status, as: 'status', class: Google::Apis::RetailV2alpha::GoogleRpcStatus, decorator: Google::Apis::RetailV2alpha::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::RetailV2alpha::GoogleRpcStatus, decorator: Google::Apis::RetailV2alpha::GoogleRpcStatus::Representation
613
+
614
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2ImportErrorsConfig, decorator: Google::Apis::RetailV2alpha::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::RetailV2alpha::GoogleRpcStatus, decorator: Google::Apis::RetailV2alpha::GoogleRpcStatus::Representation
623
+
624
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2ImportErrorsConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2ImportErrorsConfig::Representation
625
+
626
+ property :import_summary, as: 'importSummary', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2UserEventImportSummary, decorator: Google::Apis::RetailV2alpha::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 GoogleCloudRetailV2alphaBigQuerySource
666
+ # @private
667
+ class Representation < Google::Apis::Core::JsonRepresentation
668
+ property :data_schema, as: 'dataSchema'
669
+ property :dataset_id, as: 'datasetId'
670
+ property :gcs_staging_dir, as: 'gcsStagingDir'
671
+ property :project_id, as: 'projectId'
672
+ property :table_id, as: 'tableId'
673
+ end
674
+ end
675
+
676
+ class GoogleCloudRetailV2alphaCatalog
677
+ # @private
678
+ class Representation < Google::Apis::Core::JsonRepresentation
679
+ property :display_name, as: 'displayName'
680
+ property :name, as: 'name'
681
+ property :product_level_config, as: 'productLevelConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProductLevelConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProductLevelConfig::Representation
682
+
683
+ end
684
+ end
685
+
686
+ class GoogleCloudRetailV2alphaCustomAttribute
687
+ # @private
688
+ class Representation < Google::Apis::Core::JsonRepresentation
689
+ collection :numbers, as: 'numbers'
690
+ collection :text, as: 'text'
691
+ end
692
+ end
693
+
694
+ class GoogleCloudRetailV2alphaExportErrorsConfig
695
+ # @private
696
+ class Representation < Google::Apis::Core::JsonRepresentation
697
+ property :gcs_prefix, as: 'gcsPrefix'
698
+ end
699
+ end
700
+
701
+ class GoogleCloudRetailV2alphaExportMetadata
702
+ # @private
703
+ class Representation < Google::Apis::Core::JsonRepresentation
704
+ property :create_time, as: 'createTime'
705
+ property :update_time, as: 'updateTime'
706
+ end
707
+ end
708
+
709
+ class GoogleCloudRetailV2alphaExportProductsResponse
710
+ # @private
711
+ class Representation < Google::Apis::Core::JsonRepresentation
712
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2alpha::GoogleRpcStatus, decorator: Google::Apis::RetailV2alpha::GoogleRpcStatus::Representation
713
+
714
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaExportErrorsConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaExportErrorsConfig::Representation
715
+
716
+ end
717
+ end
718
+
719
+ class GoogleCloudRetailV2alphaExportUserEventsResponse
720
+ # @private
721
+ class Representation < Google::Apis::Core::JsonRepresentation
722
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2alpha::GoogleRpcStatus, decorator: Google::Apis::RetailV2alpha::GoogleRpcStatus::Representation
723
+
724
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaExportErrorsConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaExportErrorsConfig::Representation
725
+
726
+ end
727
+ end
728
+
729
+ class GoogleCloudRetailV2alphaGcsSource
730
+ # @private
731
+ class Representation < Google::Apis::Core::JsonRepresentation
732
+ property :data_schema, as: 'dataSchema'
733
+ collection :input_uris, as: 'inputUris'
734
+ end
735
+ end
736
+
737
+ class GoogleCloudRetailV2alphaImage
738
+ # @private
739
+ class Representation < Google::Apis::Core::JsonRepresentation
740
+ property :height, as: 'height'
741
+ property :uri, as: 'uri'
742
+ property :width, as: 'width'
743
+ end
744
+ end
745
+
746
+ class GoogleCloudRetailV2alphaImportErrorsConfig
747
+ # @private
748
+ class Representation < Google::Apis::Core::JsonRepresentation
749
+ property :gcs_prefix, as: 'gcsPrefix'
750
+ end
751
+ end
752
+
753
+ class GoogleCloudRetailV2alphaImportMetadata
754
+ # @private
755
+ class Representation < Google::Apis::Core::JsonRepresentation
756
+ property :create_time, as: 'createTime'
757
+ property :failure_count, :numeric_string => true, as: 'failureCount'
758
+ property :success_count, :numeric_string => true, as: 'successCount'
759
+ property :update_time, as: 'updateTime'
760
+ end
761
+ end
762
+
763
+ class GoogleCloudRetailV2alphaImportProductsRequest
764
+ # @private
765
+ class Representation < Google::Apis::Core::JsonRepresentation
766
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaImportErrorsConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaImportErrorsConfig::Representation
767
+
768
+ property :input_config, as: 'inputConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProductInputConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProductInputConfig::Representation
769
+
770
+ property :update_mask, as: 'updateMask'
771
+ end
772
+ end
773
+
774
+ class GoogleCloudRetailV2alphaImportProductsResponse
775
+ # @private
776
+ class Representation < Google::Apis::Core::JsonRepresentation
777
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2alpha::GoogleRpcStatus, decorator: Google::Apis::RetailV2alpha::GoogleRpcStatus::Representation
778
+
779
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaImportErrorsConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaImportErrorsConfig::Representation
780
+
781
+ end
782
+ end
783
+
784
+ class GoogleCloudRetailV2alphaImportUserEventsRequest
785
+ # @private
786
+ class Representation < Google::Apis::Core::JsonRepresentation
787
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaImportErrorsConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaImportErrorsConfig::Representation
788
+
789
+ property :input_config, as: 'inputConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserEventInputConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserEventInputConfig::Representation
790
+
791
+ end
792
+ end
793
+
794
+ class GoogleCloudRetailV2alphaImportUserEventsResponse
795
+ # @private
796
+ class Representation < Google::Apis::Core::JsonRepresentation
797
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2alpha::GoogleRpcStatus, decorator: Google::Apis::RetailV2alpha::GoogleRpcStatus::Representation
798
+
799
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaImportErrorsConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaImportErrorsConfig::Representation
800
+
801
+ property :import_summary, as: 'importSummary', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserEventImportSummary, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserEventImportSummary::Representation
802
+
803
+ end
804
+ end
805
+
806
+ class GoogleCloudRetailV2alphaListCatalogsResponse
807
+ # @private
808
+ class Representation < Google::Apis::Core::JsonRepresentation
809
+ collection :catalogs, as: 'catalogs', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalog, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCatalog::Representation
810
+
811
+ property :next_page_token, as: 'nextPageToken'
812
+ end
813
+ end
814
+
815
+ class GoogleCloudRetailV2alphaPredictRequest
816
+ # @private
817
+ class Representation < Google::Apis::Core::JsonRepresentation
818
+ property :filter, as: 'filter'
819
+ hash :labels, as: 'labels'
820
+ property :page_size, as: 'pageSize'
821
+ property :page_token, as: 'pageToken'
822
+ hash :params, as: 'params'
823
+ property :user_event, as: 'userEvent', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserEvent, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserEvent::Representation
824
+
825
+ property :validate_only, as: 'validateOnly'
826
+ end
827
+ end
828
+
829
+ class GoogleCloudRetailV2alphaPredictResponse
830
+ # @private
831
+ class Representation < Google::Apis::Core::JsonRepresentation
832
+ property :attribution_token, as: 'attributionToken'
833
+ collection :missing_ids, as: 'missingIds'
834
+ collection :results, as: 'results', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaPredictResponsePredictionResult, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaPredictResponsePredictionResult::Representation
835
+
836
+ property :validate_only, as: 'validateOnly'
837
+ end
838
+ end
839
+
840
+ class GoogleCloudRetailV2alphaPredictResponsePredictionResult
841
+ # @private
842
+ class Representation < Google::Apis::Core::JsonRepresentation
843
+ property :id, as: 'id'
844
+ hash :metadata, as: 'metadata'
845
+ end
846
+ end
847
+
848
+ class GoogleCloudRetailV2alphaPriceInfo
849
+ # @private
850
+ class Representation < Google::Apis::Core::JsonRepresentation
851
+ property :cost, as: 'cost'
852
+ property :currency_code, as: 'currencyCode'
853
+ property :original_price, as: 'originalPrice'
854
+ property :price, as: 'price'
855
+ end
856
+ end
857
+
858
+ class GoogleCloudRetailV2alphaProduct
859
+ # @private
860
+ class Representation < Google::Apis::Core::JsonRepresentation
861
+ hash :attributes, as: 'attributes', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCustomAttribute, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCustomAttribute::Representation
862
+
863
+ property :availability, as: 'availability'
864
+ property :available_quantity, as: 'availableQuantity'
865
+ property :available_time, as: 'availableTime'
866
+ collection :categories, as: 'categories'
867
+ property :description, as: 'description'
868
+ property :id, as: 'id'
869
+ collection :images, as: 'images', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaImage, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaImage::Representation
870
+
871
+ property :name, as: 'name'
872
+ property :price_info, as: 'priceInfo', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaPriceInfo, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaPriceInfo::Representation
873
+
874
+ property :primary_product_id, as: 'primaryProductId'
875
+ collection :tags, as: 'tags'
876
+ property :title, as: 'title'
877
+ property :type, as: 'type'
878
+ property :uri, as: 'uri'
879
+ end
880
+ end
881
+
882
+ class GoogleCloudRetailV2alphaProductDetail
883
+ # @private
884
+ class Representation < Google::Apis::Core::JsonRepresentation
885
+ property :product, as: 'product', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProduct, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProduct::Representation
886
+
887
+ property :quantity, as: 'quantity'
888
+ end
889
+ end
890
+
891
+ class GoogleCloudRetailV2alphaProductInlineSource
892
+ # @private
893
+ class Representation < Google::Apis::Core::JsonRepresentation
894
+ collection :products, as: 'products', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProduct, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProduct::Representation
895
+
896
+ end
897
+ end
898
+
899
+ class GoogleCloudRetailV2alphaProductInputConfig
900
+ # @private
901
+ class Representation < Google::Apis::Core::JsonRepresentation
902
+ property :big_query_source, as: 'bigQuerySource', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBigQuerySource, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBigQuerySource::Representation
903
+
904
+ property :gcs_source, as: 'gcsSource', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaGcsSource, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaGcsSource::Representation
905
+
906
+ property :product_inline_source, as: 'productInlineSource', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProductInlineSource, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProductInlineSource::Representation
907
+
908
+ end
909
+ end
910
+
911
+ class GoogleCloudRetailV2alphaProductLevelConfig
912
+ # @private
913
+ class Representation < Google::Apis::Core::JsonRepresentation
914
+ property :ingestion_product_type, as: 'ingestionProductType'
915
+ property :merchant_center_product_id_field, as: 'merchantCenterProductIdField'
916
+ end
917
+ end
918
+
919
+ class GoogleCloudRetailV2alphaPurchaseTransaction
920
+ # @private
921
+ class Representation < Google::Apis::Core::JsonRepresentation
922
+ property :cost, as: 'cost'
923
+ property :currency_code, as: 'currencyCode'
924
+ property :id, as: 'id'
925
+ property :revenue, as: 'revenue'
926
+ property :tax, as: 'tax'
927
+ end
928
+ end
929
+
930
+ class GoogleCloudRetailV2alphaPurgeMetadata
931
+ # @private
932
+ class Representation < Google::Apis::Core::JsonRepresentation
933
+ end
934
+ end
935
+
936
+ class GoogleCloudRetailV2alphaPurgeUserEventsRequest
937
+ # @private
938
+ class Representation < Google::Apis::Core::JsonRepresentation
939
+ property :filter, as: 'filter'
940
+ property :force, as: 'force'
941
+ end
942
+ end
943
+
944
+ class GoogleCloudRetailV2alphaPurgeUserEventsResponse
945
+ # @private
946
+ class Representation < Google::Apis::Core::JsonRepresentation
947
+ property :purged_events_count, :numeric_string => true, as: 'purgedEventsCount'
948
+ end
949
+ end
950
+
951
+ class GoogleCloudRetailV2alphaRejoinUserEventsMetadata
952
+ # @private
953
+ class Representation < Google::Apis::Core::JsonRepresentation
954
+ end
955
+ end
956
+
957
+ class GoogleCloudRetailV2alphaRejoinUserEventsRequest
958
+ # @private
959
+ class Representation < Google::Apis::Core::JsonRepresentation
960
+ property :user_event_rejoin_scope, as: 'userEventRejoinScope'
961
+ end
962
+ end
963
+
964
+ class GoogleCloudRetailV2alphaRejoinUserEventsResponse
965
+ # @private
966
+ class Representation < Google::Apis::Core::JsonRepresentation
967
+ property :rejoined_user_events_count, :numeric_string => true, as: 'rejoinedUserEventsCount'
968
+ end
969
+ end
970
+
971
+ class GoogleCloudRetailV2alphaUserEvent
972
+ # @private
973
+ class Representation < Google::Apis::Core::JsonRepresentation
974
+ hash :attributes, as: 'attributes', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCustomAttribute, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCustomAttribute::Representation
975
+
976
+ property :attribution_token, as: 'attributionToken'
977
+ property :cart_id, as: 'cartId'
978
+ property :event_time, as: 'eventTime'
979
+ property :event_type, as: 'eventType'
980
+ collection :experiment_ids, as: 'experimentIds'
981
+ collection :page_categories, as: 'pageCategories'
982
+ property :page_view_id, as: 'pageViewId'
983
+ collection :product_details, as: 'productDetails', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProductDetail, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaProductDetail::Representation
984
+
985
+ property :purchase_transaction, as: 'purchaseTransaction', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaPurchaseTransaction, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaPurchaseTransaction::Representation
986
+
987
+ property :referrer_uri, as: 'referrerUri'
988
+ property :search_query, as: 'searchQuery'
989
+ property :uri, as: 'uri'
990
+ property :user_info, as: 'userInfo', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserInfo, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserInfo::Representation
991
+
992
+ property :visitor_id, as: 'visitorId'
993
+ end
994
+ end
995
+
996
+ class GoogleCloudRetailV2alphaUserEventImportSummary
997
+ # @private
998
+ class Representation < Google::Apis::Core::JsonRepresentation
999
+ property :joined_events_count, :numeric_string => true, as: 'joinedEventsCount'
1000
+ property :unjoined_events_count, :numeric_string => true, as: 'unjoinedEventsCount'
1001
+ end
1002
+ end
1003
+
1004
+ class GoogleCloudRetailV2alphaUserEventInlineSource
1005
+ # @private
1006
+ class Representation < Google::Apis::Core::JsonRepresentation
1007
+ collection :user_events, as: 'userEvents', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserEvent, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserEvent::Representation
1008
+
1009
+ end
1010
+ end
1011
+
1012
+ class GoogleCloudRetailV2alphaUserEventInputConfig
1013
+ # @private
1014
+ class Representation < Google::Apis::Core::JsonRepresentation
1015
+ property :big_query_source, as: 'bigQuerySource', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBigQuerySource, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaBigQuerySource::Representation
1016
+
1017
+ property :gcs_source, as: 'gcsSource', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaGcsSource, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaGcsSource::Representation
1018
+
1019
+ property :user_event_inline_source, as: 'userEventInlineSource', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserEventInlineSource, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserEventInlineSource::Representation
1020
+
1021
+ end
1022
+ end
1023
+
1024
+ class GoogleCloudRetailV2alphaUserInfo
1025
+ # @private
1026
+ class Representation < Google::Apis::Core::JsonRepresentation
1027
+ property :direct_user_request, as: 'directUserRequest'
1028
+ property :ip_address, as: 'ipAddress'
1029
+ property :user_agent, as: 'userAgent'
1030
+ property :user_id, as: 'userId'
1031
+ end
1032
+ end
1033
+
1034
+ class GoogleCloudRetailV2betaExportErrorsConfig
1035
+ # @private
1036
+ class Representation < Google::Apis::Core::JsonRepresentation
1037
+ property :gcs_prefix, as: 'gcsPrefix'
1038
+ end
1039
+ end
1040
+
1041
+ class GoogleCloudRetailV2betaExportMetadata
1042
+ # @private
1043
+ class Representation < Google::Apis::Core::JsonRepresentation
1044
+ property :create_time, as: 'createTime'
1045
+ property :update_time, as: 'updateTime'
1046
+ end
1047
+ end
1048
+
1049
+ class GoogleCloudRetailV2betaExportProductsResponse
1050
+ # @private
1051
+ class Representation < Google::Apis::Core::JsonRepresentation
1052
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2alpha::GoogleRpcStatus, decorator: Google::Apis::RetailV2alpha::GoogleRpcStatus::Representation
1053
+
1054
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaExportErrorsConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaExportErrorsConfig::Representation
1055
+
1056
+ end
1057
+ end
1058
+
1059
+ class GoogleCloudRetailV2betaExportUserEventsResponse
1060
+ # @private
1061
+ class Representation < Google::Apis::Core::JsonRepresentation
1062
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2alpha::GoogleRpcStatus, decorator: Google::Apis::RetailV2alpha::GoogleRpcStatus::Representation
1063
+
1064
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaExportErrorsConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaExportErrorsConfig::Representation
1065
+
1066
+ end
1067
+ end
1068
+
1069
+ class GoogleCloudRetailV2betaImportErrorsConfig
1070
+ # @private
1071
+ class Representation < Google::Apis::Core::JsonRepresentation
1072
+ property :gcs_prefix, as: 'gcsPrefix'
1073
+ end
1074
+ end
1075
+
1076
+ class GoogleCloudRetailV2betaImportMetadata
1077
+ # @private
1078
+ class Representation < Google::Apis::Core::JsonRepresentation
1079
+ property :create_time, as: 'createTime'
1080
+ property :failure_count, :numeric_string => true, as: 'failureCount'
1081
+ property :success_count, :numeric_string => true, as: 'successCount'
1082
+ property :update_time, as: 'updateTime'
1083
+ end
1084
+ end
1085
+
1086
+ class GoogleCloudRetailV2betaImportProductsResponse
1087
+ # @private
1088
+ class Representation < Google::Apis::Core::JsonRepresentation
1089
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2alpha::GoogleRpcStatus, decorator: Google::Apis::RetailV2alpha::GoogleRpcStatus::Representation
1090
+
1091
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaImportErrorsConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaImportErrorsConfig::Representation
1092
+
1093
+ end
1094
+ end
1095
+
1096
+ class GoogleCloudRetailV2betaImportUserEventsResponse
1097
+ # @private
1098
+ class Representation < Google::Apis::Core::JsonRepresentation
1099
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2alpha::GoogleRpcStatus, decorator: Google::Apis::RetailV2alpha::GoogleRpcStatus::Representation
1100
+
1101
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaImportErrorsConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaImportErrorsConfig::Representation
1102
+
1103
+ property :import_summary, as: 'importSummary', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaUserEventImportSummary, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2betaUserEventImportSummary::Representation
1104
+
1105
+ end
1106
+ end
1107
+
1108
+ class GoogleCloudRetailV2betaPurgeMetadata
1109
+ # @private
1110
+ class Representation < Google::Apis::Core::JsonRepresentation
1111
+ end
1112
+ end
1113
+
1114
+ class GoogleCloudRetailV2betaPurgeUserEventsResponse
1115
+ # @private
1116
+ class Representation < Google::Apis::Core::JsonRepresentation
1117
+ property :purged_events_count, :numeric_string => true, as: 'purgedEventsCount'
1118
+ end
1119
+ end
1120
+
1121
+ class GoogleCloudRetailV2betaRejoinUserEventsMetadata
1122
+ # @private
1123
+ class Representation < Google::Apis::Core::JsonRepresentation
1124
+ end
1125
+ end
1126
+
1127
+ class GoogleCloudRetailV2betaRejoinUserEventsResponse
1128
+ # @private
1129
+ class Representation < Google::Apis::Core::JsonRepresentation
1130
+ property :rejoined_user_events_count, :numeric_string => true, as: 'rejoinedUserEventsCount'
1131
+ end
1132
+ end
1133
+
1134
+ class GoogleCloudRetailV2betaUserEventImportSummary
1135
+ # @private
1136
+ class Representation < Google::Apis::Core::JsonRepresentation
1137
+ property :joined_events_count, :numeric_string => true, as: 'joinedEventsCount'
1138
+ property :unjoined_events_count, :numeric_string => true, as: 'unjoinedEventsCount'
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::RetailV2alpha::GoogleRpcStatus, decorator: Google::Apis::RetailV2alpha::GoogleRpcStatus::Representation
1161
+
1162
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2mainExportErrorsConfig, decorator: Google::Apis::RetailV2alpha::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::RetailV2alpha::GoogleRpcStatus, decorator: Google::Apis::RetailV2alpha::GoogleRpcStatus::Representation
1171
+
1172
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2mainExportErrorsConfig, decorator: Google::Apis::RetailV2alpha::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::RetailV2alpha::GoogleRpcStatus, decorator: Google::Apis::RetailV2alpha::GoogleRpcStatus::Representation
1198
+
1199
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2mainImportErrorsConfig, decorator: Google::Apis::RetailV2alpha::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::RetailV2alpha::GoogleRpcStatus, decorator: Google::Apis::RetailV2alpha::GoogleRpcStatus::Representation
1208
+
1209
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2mainImportErrorsConfig, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2mainImportErrorsConfig::Representation
1210
+
1211
+ property :import_summary, as: 'importSummary', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2mainUserEventImportSummary, decorator: Google::Apis::RetailV2alpha::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::RetailV2alpha::GoogleLongrunningOperation, decorator: Google::Apis::RetailV2alpha::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::RetailV2alpha::GoogleRpcStatus, decorator: Google::Apis::RetailV2alpha::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