google-apis-discoveryengine_v1beta 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 DiscoveryengineV1beta
18
+ # Version of the google-apis-discoveryengine_v1beta gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.11.0"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20221103"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,637 @@
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 DiscoveryengineV1beta
24
+
25
+ class GoogleApiHttpBody
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class GoogleCloudDiscoveryengineV1alphaImportDocumentsResponse
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class GoogleCloudDiscoveryengineV1alphaImportErrorConfig
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class GoogleCloudDiscoveryengineV1alphaImportUserEventsMetadata
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class GoogleCloudDiscoveryengineV1alphaImportUserEventsResponse
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class GoogleCloudDiscoveryengineV1betaBigQuerySource
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class GoogleCloudDiscoveryengineV1betaCompletionInfo
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class GoogleCloudDiscoveryengineV1betaCustomAttribute
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class GoogleCloudDiscoveryengineV1betaDocument
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class GoogleCloudDiscoveryengineV1betaDocumentInfo
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class GoogleCloudDiscoveryengineV1betaGcsSource
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class GoogleCloudDiscoveryengineV1betaImportDocumentsMetadata
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class GoogleCloudDiscoveryengineV1betaImportDocumentsRequest
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class GoogleCloudDiscoveryengineV1betaImportDocumentsRequestInlineSource
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class GoogleCloudDiscoveryengineV1betaImportDocumentsResponse
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class GoogleCloudDiscoveryengineV1betaImportErrorConfig
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class GoogleCloudDiscoveryengineV1betaImportUserEventsMetadata
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class GoogleCloudDiscoveryengineV1betaImportUserEventsRequest
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class GoogleCloudDiscoveryengineV1betaImportUserEventsRequestInlineSource
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class GoogleCloudDiscoveryengineV1betaImportUserEventsResponse
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class GoogleCloudDiscoveryengineV1betaListDocumentsResponse
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class GoogleCloudDiscoveryengineV1betaMediaInfo
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class GoogleCloudDiscoveryengineV1betaPageInfo
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class GoogleCloudDiscoveryengineV1betaPanelInfo
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class GoogleCloudDiscoveryengineV1betaRecommendRequest
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class GoogleCloudDiscoveryengineV1betaRecommendResponse
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class GoogleCloudDiscoveryengineV1betaRecommendResponseRecommendationResult
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class GoogleCloudDiscoveryengineV1betaSearchInfo
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class GoogleCloudDiscoveryengineV1betaTransactionInfo
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class GoogleCloudDiscoveryengineV1betaUserEvent
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class GoogleCloudDiscoveryengineV1betaUserInfo
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class GoogleLongrunningListOperationsResponse
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class GoogleLongrunningOperation
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class GoogleProtobufEmpty
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class GoogleRpcStatus
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class GoogleTypeDate
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class GoogleApiHttpBody
248
+ # @private
249
+ class Representation < Google::Apis::Core::JsonRepresentation
250
+ property :content_type, as: 'contentType'
251
+ property :data, :base64 => true, as: 'data'
252
+ collection :extensions, as: 'extensions'
253
+ end
254
+ end
255
+
256
+ class GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata
257
+ # @private
258
+ class Representation < Google::Apis::Core::JsonRepresentation
259
+ property :create_time, as: 'createTime'
260
+ property :failure_count, :numeric_string => true, as: 'failureCount'
261
+ property :success_count, :numeric_string => true, as: 'successCount'
262
+ property :update_time, as: 'updateTime'
263
+ end
264
+ end
265
+
266
+ class GoogleCloudDiscoveryengineV1alphaImportDocumentsResponse
267
+ # @private
268
+ class Representation < Google::Apis::Core::JsonRepresentation
269
+ property :error_config, as: 'errorConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaImportErrorConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaImportErrorConfig::Representation
270
+
271
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus::Representation
272
+
273
+ end
274
+ end
275
+
276
+ class GoogleCloudDiscoveryengineV1alphaImportErrorConfig
277
+ # @private
278
+ class Representation < Google::Apis::Core::JsonRepresentation
279
+ property :gcs_prefix, as: 'gcsPrefix'
280
+ end
281
+ end
282
+
283
+ class GoogleCloudDiscoveryengineV1alphaImportUserEventsMetadata
284
+ # @private
285
+ class Representation < Google::Apis::Core::JsonRepresentation
286
+ property :create_time, as: 'createTime'
287
+ property :failure_count, :numeric_string => true, as: 'failureCount'
288
+ property :success_count, :numeric_string => true, as: 'successCount'
289
+ property :update_time, as: 'updateTime'
290
+ end
291
+ end
292
+
293
+ class GoogleCloudDiscoveryengineV1alphaImportUserEventsResponse
294
+ # @private
295
+ class Representation < Google::Apis::Core::JsonRepresentation
296
+ property :error_config, as: 'errorConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaImportErrorConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaImportErrorConfig::Representation
297
+
298
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus::Representation
299
+
300
+ property :joined_events_count, :numeric_string => true, as: 'joinedEventsCount'
301
+ property :unjoined_events_count, :numeric_string => true, as: 'unjoinedEventsCount'
302
+ end
303
+ end
304
+
305
+ class GoogleCloudDiscoveryengineV1betaBigQuerySource
306
+ # @private
307
+ class Representation < Google::Apis::Core::JsonRepresentation
308
+ property :data_schema, as: 'dataSchema'
309
+ property :dataset_id, as: 'datasetId'
310
+ property :gcs_staging_dir, as: 'gcsStagingDir'
311
+ property :partition_date, as: 'partitionDate', class: Google::Apis::DiscoveryengineV1beta::GoogleTypeDate, decorator: Google::Apis::DiscoveryengineV1beta::GoogleTypeDate::Representation
312
+
313
+ property :project_id, as: 'projectId'
314
+ property :table_id, as: 'tableId'
315
+ end
316
+ end
317
+
318
+ class GoogleCloudDiscoveryengineV1betaCompletionInfo
319
+ # @private
320
+ class Representation < Google::Apis::Core::JsonRepresentation
321
+ property :selected_position, as: 'selectedPosition'
322
+ property :selected_suggestion, as: 'selectedSuggestion'
323
+ end
324
+ end
325
+
326
+ class GoogleCloudDiscoveryengineV1betaCustomAttribute
327
+ # @private
328
+ class Representation < Google::Apis::Core::JsonRepresentation
329
+ collection :numbers, as: 'numbers'
330
+ collection :text, as: 'text'
331
+ end
332
+ end
333
+
334
+ class GoogleCloudDiscoveryengineV1betaDocument
335
+ # @private
336
+ class Representation < Google::Apis::Core::JsonRepresentation
337
+ property :id, as: 'id'
338
+ property :json_data, as: 'jsonData'
339
+ property :name, as: 'name'
340
+ property :parent_document_id, as: 'parentDocumentId'
341
+ property :schema_id, as: 'schemaId'
342
+ hash :struct_data, as: 'structData'
343
+ end
344
+ end
345
+
346
+ class GoogleCloudDiscoveryengineV1betaDocumentInfo
347
+ # @private
348
+ class Representation < Google::Apis::Core::JsonRepresentation
349
+ property :id, as: 'id'
350
+ property :name, as: 'name'
351
+ collection :promotion_ids, as: 'promotionIds'
352
+ property :quantity, as: 'quantity'
353
+ end
354
+ end
355
+
356
+ class GoogleCloudDiscoveryengineV1betaGcsSource
357
+ # @private
358
+ class Representation < Google::Apis::Core::JsonRepresentation
359
+ property :data_schema, as: 'dataSchema'
360
+ collection :input_uris, as: 'inputUris'
361
+ end
362
+ end
363
+
364
+ class GoogleCloudDiscoveryengineV1betaImportDocumentsMetadata
365
+ # @private
366
+ class Representation < Google::Apis::Core::JsonRepresentation
367
+ property :create_time, as: 'createTime'
368
+ property :failure_count, :numeric_string => true, as: 'failureCount'
369
+ property :success_count, :numeric_string => true, as: 'successCount'
370
+ property :update_time, as: 'updateTime'
371
+ end
372
+ end
373
+
374
+ class GoogleCloudDiscoveryengineV1betaImportDocumentsRequest
375
+ # @private
376
+ class Representation < Google::Apis::Core::JsonRepresentation
377
+ property :bigquery_source, as: 'bigquerySource', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaBigQuerySource, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaBigQuerySource::Representation
378
+
379
+ property :error_config, as: 'errorConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaImportErrorConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaImportErrorConfig::Representation
380
+
381
+ property :gcs_source, as: 'gcsSource', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGcsSource, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGcsSource::Representation
382
+
383
+ property :inline_source, as: 'inlineSource', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaImportDocumentsRequestInlineSource, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaImportDocumentsRequestInlineSource::Representation
384
+
385
+ property :reconciliation_mode, as: 'reconciliationMode'
386
+ end
387
+ end
388
+
389
+ class GoogleCloudDiscoveryengineV1betaImportDocumentsRequestInlineSource
390
+ # @private
391
+ class Representation < Google::Apis::Core::JsonRepresentation
392
+ collection :documents, as: 'documents', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocument, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocument::Representation
393
+
394
+ end
395
+ end
396
+
397
+ class GoogleCloudDiscoveryengineV1betaImportDocumentsResponse
398
+ # @private
399
+ class Representation < Google::Apis::Core::JsonRepresentation
400
+ property :error_config, as: 'errorConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaImportErrorConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaImportErrorConfig::Representation
401
+
402
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus::Representation
403
+
404
+ end
405
+ end
406
+
407
+ class GoogleCloudDiscoveryengineV1betaImportErrorConfig
408
+ # @private
409
+ class Representation < Google::Apis::Core::JsonRepresentation
410
+ property :gcs_prefix, as: 'gcsPrefix'
411
+ end
412
+ end
413
+
414
+ class GoogleCloudDiscoveryengineV1betaImportUserEventsMetadata
415
+ # @private
416
+ class Representation < Google::Apis::Core::JsonRepresentation
417
+ property :create_time, as: 'createTime'
418
+ property :failure_count, :numeric_string => true, as: 'failureCount'
419
+ property :success_count, :numeric_string => true, as: 'successCount'
420
+ property :update_time, as: 'updateTime'
421
+ end
422
+ end
423
+
424
+ class GoogleCloudDiscoveryengineV1betaImportUserEventsRequest
425
+ # @private
426
+ class Representation < Google::Apis::Core::JsonRepresentation
427
+ property :bigquery_source, as: 'bigquerySource', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaBigQuerySource, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaBigQuerySource::Representation
428
+
429
+ property :error_config, as: 'errorConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaImportErrorConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaImportErrorConfig::Representation
430
+
431
+ property :gcs_source, as: 'gcsSource', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGcsSource, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGcsSource::Representation
432
+
433
+ property :inline_source, as: 'inlineSource', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaImportUserEventsRequestInlineSource, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaImportUserEventsRequestInlineSource::Representation
434
+
435
+ end
436
+ end
437
+
438
+ class GoogleCloudDiscoveryengineV1betaImportUserEventsRequestInlineSource
439
+ # @private
440
+ class Representation < Google::Apis::Core::JsonRepresentation
441
+ collection :user_events, as: 'userEvents', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserEvent, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserEvent::Representation
442
+
443
+ end
444
+ end
445
+
446
+ class GoogleCloudDiscoveryengineV1betaImportUserEventsResponse
447
+ # @private
448
+ class Representation < Google::Apis::Core::JsonRepresentation
449
+ property :error_config, as: 'errorConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaImportErrorConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaImportErrorConfig::Representation
450
+
451
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus::Representation
452
+
453
+ property :joined_events_count, :numeric_string => true, as: 'joinedEventsCount'
454
+ property :unjoined_events_count, :numeric_string => true, as: 'unjoinedEventsCount'
455
+ end
456
+ end
457
+
458
+ class GoogleCloudDiscoveryengineV1betaListDocumentsResponse
459
+ # @private
460
+ class Representation < Google::Apis::Core::JsonRepresentation
461
+ collection :documents, as: 'documents', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocument, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocument::Representation
462
+
463
+ property :next_page_token, as: 'nextPageToken'
464
+ end
465
+ end
466
+
467
+ class GoogleCloudDiscoveryengineV1betaMediaInfo
468
+ # @private
469
+ class Representation < Google::Apis::Core::JsonRepresentation
470
+ property :media_progress_duration, as: 'mediaProgressDuration'
471
+ property :media_progress_percentage, as: 'mediaProgressPercentage'
472
+ end
473
+ end
474
+
475
+ class GoogleCloudDiscoveryengineV1betaPageInfo
476
+ # @private
477
+ class Representation < Google::Apis::Core::JsonRepresentation
478
+ property :page_category, as: 'pageCategory'
479
+ property :pageview_id, as: 'pageviewId'
480
+ property :referrer_uri, as: 'referrerUri'
481
+ property :uri, as: 'uri'
482
+ end
483
+ end
484
+
485
+ class GoogleCloudDiscoveryengineV1betaPanelInfo
486
+ # @private
487
+ class Representation < Google::Apis::Core::JsonRepresentation
488
+ property :display_name, as: 'displayName'
489
+ property :panel_id, as: 'panelId'
490
+ property :panel_position, as: 'panelPosition'
491
+ property :total_panels, as: 'totalPanels'
492
+ end
493
+ end
494
+
495
+ class GoogleCloudDiscoveryengineV1betaRecommendRequest
496
+ # @private
497
+ class Representation < Google::Apis::Core::JsonRepresentation
498
+ property :filter, as: 'filter'
499
+ property :page_size, as: 'pageSize'
500
+ hash :params, as: 'params'
501
+ property :user_event, as: 'userEvent', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserEvent, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserEvent::Representation
502
+
503
+ hash :user_labels, as: 'userLabels'
504
+ property :validate_only, as: 'validateOnly'
505
+ end
506
+ end
507
+
508
+ class GoogleCloudDiscoveryengineV1betaRecommendResponse
509
+ # @private
510
+ class Representation < Google::Apis::Core::JsonRepresentation
511
+ property :attribution_token, as: 'attributionToken'
512
+ collection :missing_ids, as: 'missingIds'
513
+ collection :results, as: 'results', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaRecommendResponseRecommendationResult, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaRecommendResponseRecommendationResult::Representation
514
+
515
+ property :validate_only, as: 'validateOnly'
516
+ end
517
+ end
518
+
519
+ class GoogleCloudDiscoveryengineV1betaRecommendResponseRecommendationResult
520
+ # @private
521
+ class Representation < Google::Apis::Core::JsonRepresentation
522
+ property :document, as: 'document', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocument, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocument::Representation
523
+
524
+ property :id, as: 'id'
525
+ hash :metadata, as: 'metadata'
526
+ end
527
+ end
528
+
529
+ class GoogleCloudDiscoveryengineV1betaSearchInfo
530
+ # @private
531
+ class Representation < Google::Apis::Core::JsonRepresentation
532
+ property :offset, as: 'offset'
533
+ property :order_by, as: 'orderBy'
534
+ property :search_query, as: 'searchQuery'
535
+ end
536
+ end
537
+
538
+ class GoogleCloudDiscoveryengineV1betaTransactionInfo
539
+ # @private
540
+ class Representation < Google::Apis::Core::JsonRepresentation
541
+ property :cost, as: 'cost'
542
+ property :currency, as: 'currency'
543
+ property :discount_value, as: 'discountValue'
544
+ property :tax, as: 'tax'
545
+ property :transaction_id, as: 'transactionId'
546
+ property :value, as: 'value'
547
+ end
548
+ end
549
+
550
+ class GoogleCloudDiscoveryengineV1betaUserEvent
551
+ # @private
552
+ class Representation < Google::Apis::Core::JsonRepresentation
553
+ hash :attributes, as: 'attributes', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCustomAttribute, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCustomAttribute::Representation
554
+
555
+ property :attribution_token, as: 'attributionToken'
556
+ property :completion_info, as: 'completionInfo', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCompletionInfo, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCompletionInfo::Representation
557
+
558
+ property :direct_user_request, as: 'directUserRequest'
559
+ collection :documents, as: 'documents', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentInfo, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentInfo::Representation
560
+
561
+ property :event_time, as: 'eventTime'
562
+ property :event_type, as: 'eventType'
563
+ property :filter, as: 'filter'
564
+ property :media_info, as: 'mediaInfo', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaMediaInfo, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaMediaInfo::Representation
565
+
566
+ property :page_info, as: 'pageInfo', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaPageInfo, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaPageInfo::Representation
567
+
568
+ property :panel, as: 'panel', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaPanelInfo, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaPanelInfo::Representation
569
+
570
+ collection :promotion_ids, as: 'promotionIds'
571
+ property :search_info, as: 'searchInfo', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchInfo, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchInfo::Representation
572
+
573
+ property :session_id, as: 'sessionId'
574
+ collection :tag_ids, as: 'tagIds'
575
+ property :transaction_info, as: 'transactionInfo', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaTransactionInfo, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaTransactionInfo::Representation
576
+
577
+ property :user_info, as: 'userInfo', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserInfo, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserInfo::Representation
578
+
579
+ property :user_pseudo_id, as: 'userPseudoId'
580
+ end
581
+ end
582
+
583
+ class GoogleCloudDiscoveryengineV1betaUserInfo
584
+ # @private
585
+ class Representation < Google::Apis::Core::JsonRepresentation
586
+ property :user_agent, as: 'userAgent'
587
+ property :user_id, as: 'userId'
588
+ end
589
+ end
590
+
591
+ class GoogleLongrunningListOperationsResponse
592
+ # @private
593
+ class Representation < Google::Apis::Core::JsonRepresentation
594
+ property :next_page_token, as: 'nextPageToken'
595
+ collection :operations, as: 'operations', class: Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation, decorator: Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation::Representation
596
+
597
+ end
598
+ end
599
+
600
+ class GoogleLongrunningOperation
601
+ # @private
602
+ class Representation < Google::Apis::Core::JsonRepresentation
603
+ property :done, as: 'done'
604
+ property :error, as: 'error', class: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus::Representation
605
+
606
+ hash :metadata, as: 'metadata'
607
+ property :name, as: 'name'
608
+ hash :response, as: 'response'
609
+ end
610
+ end
611
+
612
+ class GoogleProtobufEmpty
613
+ # @private
614
+ class Representation < Google::Apis::Core::JsonRepresentation
615
+ end
616
+ end
617
+
618
+ class GoogleRpcStatus
619
+ # @private
620
+ class Representation < Google::Apis::Core::JsonRepresentation
621
+ property :code, as: 'code'
622
+ collection :details, as: 'details'
623
+ property :message, as: 'message'
624
+ end
625
+ end
626
+
627
+ class GoogleTypeDate
628
+ # @private
629
+ class Representation < Google::Apis::Core::JsonRepresentation
630
+ property :day, as: 'day'
631
+ property :month, as: 'month'
632
+ property :year, as: 'year'
633
+ end
634
+ end
635
+ end
636
+ end
637
+ end