google-apis-retail_v2 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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 RetailV2
18
+ # Version of the google-apis-retail_v2 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 RetailV2
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 GoogleCloudRetailV2BigQuerySource
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class GoogleCloudRetailV2Catalog
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class GoogleCloudRetailV2CustomAttribute
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class GoogleCloudRetailV2GcsSource
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class GoogleCloudRetailV2Image
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class GoogleCloudRetailV2ImportErrorsConfig
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class GoogleCloudRetailV2ImportMetadata
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class GoogleCloudRetailV2ImportProductsRequest
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class GoogleCloudRetailV2ImportProductsResponse
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class GoogleCloudRetailV2ImportUserEventsRequest
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class GoogleCloudRetailV2ImportUserEventsResponse
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class GoogleCloudRetailV2ListCatalogsResponse
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class GoogleCloudRetailV2PredictRequest
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class GoogleCloudRetailV2PredictResponse
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class GoogleCloudRetailV2PredictResponsePredictionResult
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class GoogleCloudRetailV2PriceInfo
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class GoogleCloudRetailV2Product
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class GoogleCloudRetailV2ProductDetail
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class GoogleCloudRetailV2ProductInlineSource
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class GoogleCloudRetailV2ProductInputConfig
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class GoogleCloudRetailV2ProductLevelConfig
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class GoogleCloudRetailV2PurchaseTransaction
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class GoogleCloudRetailV2PurgeMetadata
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class GoogleCloudRetailV2PurgeUserEventsRequest
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class GoogleCloudRetailV2PurgeUserEventsResponse
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class GoogleCloudRetailV2RejoinUserEventsMetadata
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class GoogleCloudRetailV2RejoinUserEventsRequest
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class GoogleCloudRetailV2RejoinUserEventsResponse
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class GoogleCloudRetailV2UserEvent
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class GoogleCloudRetailV2UserEventImportSummary
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class GoogleCloudRetailV2UserEventInlineSource
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class GoogleCloudRetailV2UserEventInputConfig
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class GoogleCloudRetailV2UserInfo
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class GoogleCloudRetailV2alphaExportErrorsConfig
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class GoogleCloudRetailV2alphaExportMetadata
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class GoogleCloudRetailV2alphaExportProductsResponse
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class GoogleCloudRetailV2alphaExportUserEventsResponse
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class GoogleCloudRetailV2alphaImportErrorsConfig
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class GoogleCloudRetailV2alphaImportMetadata
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class GoogleCloudRetailV2alphaImportProductsResponse
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class GoogleCloudRetailV2alphaImportUserEventsResponse
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class GoogleCloudRetailV2alphaPurgeMetadata
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class GoogleCloudRetailV2alphaPurgeUserEventsResponse
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class GoogleCloudRetailV2alphaRejoinUserEventsMetadata
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class GoogleCloudRetailV2alphaRejoinUserEventsResponse
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class GoogleCloudRetailV2alphaUserEventImportSummary
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::RetailV2::GoogleCloudRetailLoggingHttpRequestContext, decorator: Google::Apis::RetailV2::GoogleCloudRetailLoggingHttpRequestContext::Representation
536
+
537
+ property :report_location, as: 'reportLocation', class: Google::Apis::RetailV2::GoogleCloudRetailLoggingSourceLocation, decorator: Google::Apis::RetailV2::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::RetailV2::GoogleCloudRetailLoggingErrorContext, decorator: Google::Apis::RetailV2::GoogleCloudRetailLoggingErrorContext::Representation
546
+
547
+ property :import_payload, as: 'importPayload', class: Google::Apis::RetailV2::GoogleCloudRetailLoggingImportErrorContext, decorator: Google::Apis::RetailV2::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::RetailV2::GoogleCloudRetailLoggingServiceContext, decorator: Google::Apis::RetailV2::GoogleCloudRetailLoggingServiceContext::Representation
553
+
554
+ property :status, as: 'status', class: Google::Apis::RetailV2::GoogleRpcStatus, decorator: Google::Apis::RetailV2::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 GoogleCloudRetailV2BigQuerySource
593
+ # @private
594
+ class Representation < Google::Apis::Core::JsonRepresentation
595
+ property :data_schema, as: 'dataSchema'
596
+ property :dataset_id, as: 'datasetId'
597
+ property :gcs_staging_dir, as: 'gcsStagingDir'
598
+ property :project_id, as: 'projectId'
599
+ property :table_id, as: 'tableId'
600
+ end
601
+ end
602
+
603
+ class GoogleCloudRetailV2Catalog
604
+ # @private
605
+ class Representation < Google::Apis::Core::JsonRepresentation
606
+ property :display_name, as: 'displayName'
607
+ property :name, as: 'name'
608
+ property :product_level_config, as: 'productLevelConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2ProductLevelConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2ProductLevelConfig::Representation
609
+
610
+ end
611
+ end
612
+
613
+ class GoogleCloudRetailV2CustomAttribute
614
+ # @private
615
+ class Representation < Google::Apis::Core::JsonRepresentation
616
+ collection :numbers, as: 'numbers'
617
+ collection :text, as: 'text'
618
+ end
619
+ end
620
+
621
+ class GoogleCloudRetailV2GcsSource
622
+ # @private
623
+ class Representation < Google::Apis::Core::JsonRepresentation
624
+ property :data_schema, as: 'dataSchema'
625
+ collection :input_uris, as: 'inputUris'
626
+ end
627
+ end
628
+
629
+ class GoogleCloudRetailV2Image
630
+ # @private
631
+ class Representation < Google::Apis::Core::JsonRepresentation
632
+ property :height, as: 'height'
633
+ property :uri, as: 'uri'
634
+ property :width, as: 'width'
635
+ end
636
+ end
637
+
638
+ class GoogleCloudRetailV2ImportErrorsConfig
639
+ # @private
640
+ class Representation < Google::Apis::Core::JsonRepresentation
641
+ property :gcs_prefix, as: 'gcsPrefix'
642
+ end
643
+ end
644
+
645
+ class GoogleCloudRetailV2ImportMetadata
646
+ # @private
647
+ class Representation < Google::Apis::Core::JsonRepresentation
648
+ property :create_time, as: 'createTime'
649
+ property :failure_count, :numeric_string => true, as: 'failureCount'
650
+ property :success_count, :numeric_string => true, as: 'successCount'
651
+ property :update_time, as: 'updateTime'
652
+ end
653
+ end
654
+
655
+ class GoogleCloudRetailV2ImportProductsRequest
656
+ # @private
657
+ class Representation < Google::Apis::Core::JsonRepresentation
658
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2ImportErrorsConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2ImportErrorsConfig::Representation
659
+
660
+ property :input_config, as: 'inputConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2ProductInputConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2ProductInputConfig::Representation
661
+
662
+ property :update_mask, as: 'updateMask'
663
+ end
664
+ end
665
+
666
+ class GoogleCloudRetailV2ImportProductsResponse
667
+ # @private
668
+ class Representation < Google::Apis::Core::JsonRepresentation
669
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2::GoogleRpcStatus, decorator: Google::Apis::RetailV2::GoogleRpcStatus::Representation
670
+
671
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2ImportErrorsConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2ImportErrorsConfig::Representation
672
+
673
+ end
674
+ end
675
+
676
+ class GoogleCloudRetailV2ImportUserEventsRequest
677
+ # @private
678
+ class Representation < Google::Apis::Core::JsonRepresentation
679
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2ImportErrorsConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2ImportErrorsConfig::Representation
680
+
681
+ property :input_config, as: 'inputConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2UserEventInputConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2UserEventInputConfig::Representation
682
+
683
+ end
684
+ end
685
+
686
+ class GoogleCloudRetailV2ImportUserEventsResponse
687
+ # @private
688
+ class Representation < Google::Apis::Core::JsonRepresentation
689
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2::GoogleRpcStatus, decorator: Google::Apis::RetailV2::GoogleRpcStatus::Representation
690
+
691
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2ImportErrorsConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2ImportErrorsConfig::Representation
692
+
693
+ property :import_summary, as: 'importSummary', class: Google::Apis::RetailV2::GoogleCloudRetailV2UserEventImportSummary, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2UserEventImportSummary::Representation
694
+
695
+ end
696
+ end
697
+
698
+ class GoogleCloudRetailV2ListCatalogsResponse
699
+ # @private
700
+ class Representation < Google::Apis::Core::JsonRepresentation
701
+ collection :catalogs, as: 'catalogs', class: Google::Apis::RetailV2::GoogleCloudRetailV2Catalog, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2Catalog::Representation
702
+
703
+ property :next_page_token, as: 'nextPageToken'
704
+ end
705
+ end
706
+
707
+ class GoogleCloudRetailV2PredictRequest
708
+ # @private
709
+ class Representation < Google::Apis::Core::JsonRepresentation
710
+ property :filter, as: 'filter'
711
+ hash :labels, as: 'labels'
712
+ property :page_size, as: 'pageSize'
713
+ property :page_token, as: 'pageToken'
714
+ hash :params, as: 'params'
715
+ property :user_event, as: 'userEvent', class: Google::Apis::RetailV2::GoogleCloudRetailV2UserEvent, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2UserEvent::Representation
716
+
717
+ property :validate_only, as: 'validateOnly'
718
+ end
719
+ end
720
+
721
+ class GoogleCloudRetailV2PredictResponse
722
+ # @private
723
+ class Representation < Google::Apis::Core::JsonRepresentation
724
+ property :attribution_token, as: 'attributionToken'
725
+ collection :missing_ids, as: 'missingIds'
726
+ collection :results, as: 'results', class: Google::Apis::RetailV2::GoogleCloudRetailV2PredictResponsePredictionResult, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2PredictResponsePredictionResult::Representation
727
+
728
+ property :validate_only, as: 'validateOnly'
729
+ end
730
+ end
731
+
732
+ class GoogleCloudRetailV2PredictResponsePredictionResult
733
+ # @private
734
+ class Representation < Google::Apis::Core::JsonRepresentation
735
+ property :id, as: 'id'
736
+ hash :metadata, as: 'metadata'
737
+ end
738
+ end
739
+
740
+ class GoogleCloudRetailV2PriceInfo
741
+ # @private
742
+ class Representation < Google::Apis::Core::JsonRepresentation
743
+ property :cost, as: 'cost'
744
+ property :currency_code, as: 'currencyCode'
745
+ property :original_price, as: 'originalPrice'
746
+ property :price, as: 'price'
747
+ end
748
+ end
749
+
750
+ class GoogleCloudRetailV2Product
751
+ # @private
752
+ class Representation < Google::Apis::Core::JsonRepresentation
753
+ hash :attributes, as: 'attributes', class: Google::Apis::RetailV2::GoogleCloudRetailV2CustomAttribute, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2CustomAttribute::Representation
754
+
755
+ property :availability, as: 'availability'
756
+ property :available_quantity, as: 'availableQuantity'
757
+ property :available_time, as: 'availableTime'
758
+ collection :categories, as: 'categories'
759
+ property :description, as: 'description'
760
+ property :id, as: 'id'
761
+ collection :images, as: 'images', class: Google::Apis::RetailV2::GoogleCloudRetailV2Image, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2Image::Representation
762
+
763
+ property :name, as: 'name'
764
+ property :price_info, as: 'priceInfo', class: Google::Apis::RetailV2::GoogleCloudRetailV2PriceInfo, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2PriceInfo::Representation
765
+
766
+ property :primary_product_id, as: 'primaryProductId'
767
+ collection :tags, as: 'tags'
768
+ property :title, as: 'title'
769
+ property :type, as: 'type'
770
+ property :uri, as: 'uri'
771
+ end
772
+ end
773
+
774
+ class GoogleCloudRetailV2ProductDetail
775
+ # @private
776
+ class Representation < Google::Apis::Core::JsonRepresentation
777
+ property :product, as: 'product', class: Google::Apis::RetailV2::GoogleCloudRetailV2Product, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2Product::Representation
778
+
779
+ property :quantity, as: 'quantity'
780
+ end
781
+ end
782
+
783
+ class GoogleCloudRetailV2ProductInlineSource
784
+ # @private
785
+ class Representation < Google::Apis::Core::JsonRepresentation
786
+ collection :products, as: 'products', class: Google::Apis::RetailV2::GoogleCloudRetailV2Product, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2Product::Representation
787
+
788
+ end
789
+ end
790
+
791
+ class GoogleCloudRetailV2ProductInputConfig
792
+ # @private
793
+ class Representation < Google::Apis::Core::JsonRepresentation
794
+ property :big_query_source, as: 'bigQuerySource', class: Google::Apis::RetailV2::GoogleCloudRetailV2BigQuerySource, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2BigQuerySource::Representation
795
+
796
+ property :gcs_source, as: 'gcsSource', class: Google::Apis::RetailV2::GoogleCloudRetailV2GcsSource, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2GcsSource::Representation
797
+
798
+ property :product_inline_source, as: 'productInlineSource', class: Google::Apis::RetailV2::GoogleCloudRetailV2ProductInlineSource, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2ProductInlineSource::Representation
799
+
800
+ end
801
+ end
802
+
803
+ class GoogleCloudRetailV2ProductLevelConfig
804
+ # @private
805
+ class Representation < Google::Apis::Core::JsonRepresentation
806
+ property :ingestion_product_type, as: 'ingestionProductType'
807
+ property :merchant_center_product_id_field, as: 'merchantCenterProductIdField'
808
+ end
809
+ end
810
+
811
+ class GoogleCloudRetailV2PurchaseTransaction
812
+ # @private
813
+ class Representation < Google::Apis::Core::JsonRepresentation
814
+ property :cost, as: 'cost'
815
+ property :currency_code, as: 'currencyCode'
816
+ property :id, as: 'id'
817
+ property :revenue, as: 'revenue'
818
+ property :tax, as: 'tax'
819
+ end
820
+ end
821
+
822
+ class GoogleCloudRetailV2PurgeMetadata
823
+ # @private
824
+ class Representation < Google::Apis::Core::JsonRepresentation
825
+ end
826
+ end
827
+
828
+ class GoogleCloudRetailV2PurgeUserEventsRequest
829
+ # @private
830
+ class Representation < Google::Apis::Core::JsonRepresentation
831
+ property :filter, as: 'filter'
832
+ property :force, as: 'force'
833
+ end
834
+ end
835
+
836
+ class GoogleCloudRetailV2PurgeUserEventsResponse
837
+ # @private
838
+ class Representation < Google::Apis::Core::JsonRepresentation
839
+ property :purged_events_count, :numeric_string => true, as: 'purgedEventsCount'
840
+ end
841
+ end
842
+
843
+ class GoogleCloudRetailV2RejoinUserEventsMetadata
844
+ # @private
845
+ class Representation < Google::Apis::Core::JsonRepresentation
846
+ end
847
+ end
848
+
849
+ class GoogleCloudRetailV2RejoinUserEventsRequest
850
+ # @private
851
+ class Representation < Google::Apis::Core::JsonRepresentation
852
+ property :user_event_rejoin_scope, as: 'userEventRejoinScope'
853
+ end
854
+ end
855
+
856
+ class GoogleCloudRetailV2RejoinUserEventsResponse
857
+ # @private
858
+ class Representation < Google::Apis::Core::JsonRepresentation
859
+ property :rejoined_user_events_count, :numeric_string => true, as: 'rejoinedUserEventsCount'
860
+ end
861
+ end
862
+
863
+ class GoogleCloudRetailV2UserEvent
864
+ # @private
865
+ class Representation < Google::Apis::Core::JsonRepresentation
866
+ hash :attributes, as: 'attributes', class: Google::Apis::RetailV2::GoogleCloudRetailV2CustomAttribute, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2CustomAttribute::Representation
867
+
868
+ property :attribution_token, as: 'attributionToken'
869
+ property :cart_id, as: 'cartId'
870
+ property :event_time, as: 'eventTime'
871
+ property :event_type, as: 'eventType'
872
+ collection :experiment_ids, as: 'experimentIds'
873
+ collection :page_categories, as: 'pageCategories'
874
+ property :page_view_id, as: 'pageViewId'
875
+ collection :product_details, as: 'productDetails', class: Google::Apis::RetailV2::GoogleCloudRetailV2ProductDetail, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2ProductDetail::Representation
876
+
877
+ property :purchase_transaction, as: 'purchaseTransaction', class: Google::Apis::RetailV2::GoogleCloudRetailV2PurchaseTransaction, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2PurchaseTransaction::Representation
878
+
879
+ property :referrer_uri, as: 'referrerUri'
880
+ property :search_query, as: 'searchQuery'
881
+ property :uri, as: 'uri'
882
+ property :user_info, as: 'userInfo', class: Google::Apis::RetailV2::GoogleCloudRetailV2UserInfo, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2UserInfo::Representation
883
+
884
+ property :visitor_id, as: 'visitorId'
885
+ end
886
+ end
887
+
888
+ class GoogleCloudRetailV2UserEventImportSummary
889
+ # @private
890
+ class Representation < Google::Apis::Core::JsonRepresentation
891
+ property :joined_events_count, :numeric_string => true, as: 'joinedEventsCount'
892
+ property :unjoined_events_count, :numeric_string => true, as: 'unjoinedEventsCount'
893
+ end
894
+ end
895
+
896
+ class GoogleCloudRetailV2UserEventInlineSource
897
+ # @private
898
+ class Representation < Google::Apis::Core::JsonRepresentation
899
+ collection :user_events, as: 'userEvents', class: Google::Apis::RetailV2::GoogleCloudRetailV2UserEvent, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2UserEvent::Representation
900
+
901
+ end
902
+ end
903
+
904
+ class GoogleCloudRetailV2UserEventInputConfig
905
+ # @private
906
+ class Representation < Google::Apis::Core::JsonRepresentation
907
+ property :big_query_source, as: 'bigQuerySource', class: Google::Apis::RetailV2::GoogleCloudRetailV2BigQuerySource, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2BigQuerySource::Representation
908
+
909
+ property :gcs_source, as: 'gcsSource', class: Google::Apis::RetailV2::GoogleCloudRetailV2GcsSource, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2GcsSource::Representation
910
+
911
+ property :user_event_inline_source, as: 'userEventInlineSource', class: Google::Apis::RetailV2::GoogleCloudRetailV2UserEventInlineSource, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2UserEventInlineSource::Representation
912
+
913
+ end
914
+ end
915
+
916
+ class GoogleCloudRetailV2UserInfo
917
+ # @private
918
+ class Representation < Google::Apis::Core::JsonRepresentation
919
+ property :direct_user_request, as: 'directUserRequest'
920
+ property :ip_address, as: 'ipAddress'
921
+ property :user_agent, as: 'userAgent'
922
+ property :user_id, as: 'userId'
923
+ end
924
+ end
925
+
926
+ class GoogleCloudRetailV2alphaExportErrorsConfig
927
+ # @private
928
+ class Representation < Google::Apis::Core::JsonRepresentation
929
+ property :gcs_prefix, as: 'gcsPrefix'
930
+ end
931
+ end
932
+
933
+ class GoogleCloudRetailV2alphaExportMetadata
934
+ # @private
935
+ class Representation < Google::Apis::Core::JsonRepresentation
936
+ property :create_time, as: 'createTime'
937
+ property :update_time, as: 'updateTime'
938
+ end
939
+ end
940
+
941
+ class GoogleCloudRetailV2alphaExportProductsResponse
942
+ # @private
943
+ class Representation < Google::Apis::Core::JsonRepresentation
944
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2::GoogleRpcStatus, decorator: Google::Apis::RetailV2::GoogleRpcStatus::Representation
945
+
946
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2alphaExportErrorsConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2alphaExportErrorsConfig::Representation
947
+
948
+ end
949
+ end
950
+
951
+ class GoogleCloudRetailV2alphaExportUserEventsResponse
952
+ # @private
953
+ class Representation < Google::Apis::Core::JsonRepresentation
954
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2::GoogleRpcStatus, decorator: Google::Apis::RetailV2::GoogleRpcStatus::Representation
955
+
956
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2alphaExportErrorsConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2alphaExportErrorsConfig::Representation
957
+
958
+ end
959
+ end
960
+
961
+ class GoogleCloudRetailV2alphaImportErrorsConfig
962
+ # @private
963
+ class Representation < Google::Apis::Core::JsonRepresentation
964
+ property :gcs_prefix, as: 'gcsPrefix'
965
+ end
966
+ end
967
+
968
+ class GoogleCloudRetailV2alphaImportMetadata
969
+ # @private
970
+ class Representation < Google::Apis::Core::JsonRepresentation
971
+ property :create_time, as: 'createTime'
972
+ property :failure_count, :numeric_string => true, as: 'failureCount'
973
+ property :success_count, :numeric_string => true, as: 'successCount'
974
+ property :update_time, as: 'updateTime'
975
+ end
976
+ end
977
+
978
+ class GoogleCloudRetailV2alphaImportProductsResponse
979
+ # @private
980
+ class Representation < Google::Apis::Core::JsonRepresentation
981
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2::GoogleRpcStatus, decorator: Google::Apis::RetailV2::GoogleRpcStatus::Representation
982
+
983
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2alphaImportErrorsConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2alphaImportErrorsConfig::Representation
984
+
985
+ end
986
+ end
987
+
988
+ class GoogleCloudRetailV2alphaImportUserEventsResponse
989
+ # @private
990
+ class Representation < Google::Apis::Core::JsonRepresentation
991
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2::GoogleRpcStatus, decorator: Google::Apis::RetailV2::GoogleRpcStatus::Representation
992
+
993
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2alphaImportErrorsConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2alphaImportErrorsConfig::Representation
994
+
995
+ property :import_summary, as: 'importSummary', class: Google::Apis::RetailV2::GoogleCloudRetailV2alphaUserEventImportSummary, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2alphaUserEventImportSummary::Representation
996
+
997
+ end
998
+ end
999
+
1000
+ class GoogleCloudRetailV2alphaPurgeMetadata
1001
+ # @private
1002
+ class Representation < Google::Apis::Core::JsonRepresentation
1003
+ end
1004
+ end
1005
+
1006
+ class GoogleCloudRetailV2alphaPurgeUserEventsResponse
1007
+ # @private
1008
+ class Representation < Google::Apis::Core::JsonRepresentation
1009
+ property :purged_events_count, :numeric_string => true, as: 'purgedEventsCount'
1010
+ end
1011
+ end
1012
+
1013
+ class GoogleCloudRetailV2alphaRejoinUserEventsMetadata
1014
+ # @private
1015
+ class Representation < Google::Apis::Core::JsonRepresentation
1016
+ end
1017
+ end
1018
+
1019
+ class GoogleCloudRetailV2alphaRejoinUserEventsResponse
1020
+ # @private
1021
+ class Representation < Google::Apis::Core::JsonRepresentation
1022
+ property :rejoined_user_events_count, :numeric_string => true, as: 'rejoinedUserEventsCount'
1023
+ end
1024
+ end
1025
+
1026
+ class GoogleCloudRetailV2alphaUserEventImportSummary
1027
+ # @private
1028
+ class Representation < Google::Apis::Core::JsonRepresentation
1029
+ property :joined_events_count, :numeric_string => true, as: 'joinedEventsCount'
1030
+ property :unjoined_events_count, :numeric_string => true, as: 'unjoinedEventsCount'
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::RetailV2::GoogleRpcStatus, decorator: Google::Apis::RetailV2::GoogleRpcStatus::Representation
1053
+
1054
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2betaExportErrorsConfig, decorator: Google::Apis::RetailV2::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::RetailV2::GoogleRpcStatus, decorator: Google::Apis::RetailV2::GoogleRpcStatus::Representation
1063
+
1064
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2betaExportErrorsConfig, decorator: Google::Apis::RetailV2::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::RetailV2::GoogleRpcStatus, decorator: Google::Apis::RetailV2::GoogleRpcStatus::Representation
1090
+
1091
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2betaImportErrorsConfig, decorator: Google::Apis::RetailV2::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::RetailV2::GoogleRpcStatus, decorator: Google::Apis::RetailV2::GoogleRpcStatus::Representation
1100
+
1101
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2betaImportErrorsConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2betaImportErrorsConfig::Representation
1102
+
1103
+ property :import_summary, as: 'importSummary', class: Google::Apis::RetailV2::GoogleCloudRetailV2betaUserEventImportSummary, decorator: Google::Apis::RetailV2::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::RetailV2::GoogleRpcStatus, decorator: Google::Apis::RetailV2::GoogleRpcStatus::Representation
1161
+
1162
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2mainExportErrorsConfig, decorator: Google::Apis::RetailV2::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::RetailV2::GoogleRpcStatus, decorator: Google::Apis::RetailV2::GoogleRpcStatus::Representation
1171
+
1172
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2mainExportErrorsConfig, decorator: Google::Apis::RetailV2::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::RetailV2::GoogleRpcStatus, decorator: Google::Apis::RetailV2::GoogleRpcStatus::Representation
1198
+
1199
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2mainImportErrorsConfig, decorator: Google::Apis::RetailV2::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::RetailV2::GoogleRpcStatus, decorator: Google::Apis::RetailV2::GoogleRpcStatus::Representation
1208
+
1209
+ property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2::GoogleCloudRetailV2mainImportErrorsConfig, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2mainImportErrorsConfig::Representation
1210
+
1211
+ property :import_summary, as: 'importSummary', class: Google::Apis::RetailV2::GoogleCloudRetailV2mainUserEventImportSummary, decorator: Google::Apis::RetailV2::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::RetailV2::GoogleLongrunningOperation, decorator: Google::Apis::RetailV2::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::RetailV2::GoogleRpcStatus, decorator: Google::Apis::RetailV2::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