google-apis-discoveryengine_v1alpha 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.
- checksums.yaml +7 -0
- data/.yardopts +13 -0
- data/CHANGELOG.md +7 -0
- data/LICENSE.md +202 -0
- data/OVERVIEW.md +96 -0
- data/lib/google/apis/discoveryengine_v1alpha/classes.rb +1614 -0
- data/lib/google/apis/discoveryengine_v1alpha/gem_version.rb +28 -0
- data/lib/google/apis/discoveryengine_v1alpha/representations.rb +637 -0
- data/lib/google/apis/discoveryengine_v1alpha/service.rb +836 -0
- data/lib/google/apis/discoveryengine_v1alpha.rb +36 -0
- data/lib/google-apis-discoveryengine_v1alpha.rb +15 -0
- metadata +82 -0
@@ -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 DiscoveryengineV1alpha
|
18
|
+
# Version of the google-apis-discoveryengine_v1alpha 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 DiscoveryengineV1alpha
|
24
|
+
|
25
|
+
class GoogleApiHttpBody
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class GoogleCloudDiscoveryengineV1alphaBigQuerySource
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class GoogleCloudDiscoveryengineV1alphaCompletionInfo
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class GoogleCloudDiscoveryengineV1alphaCustomAttribute
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class GoogleCloudDiscoveryengineV1alphaDocument
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class GoogleCloudDiscoveryengineV1alphaDocumentInfo
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class GoogleCloudDiscoveryengineV1alphaGcsSource
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class GoogleCloudDiscoveryengineV1alphaImportDocumentsRequest
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class GoogleCloudDiscoveryengineV1alphaImportDocumentsRequestInlineSource
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class GoogleCloudDiscoveryengineV1alphaImportDocumentsResponse
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class GoogleCloudDiscoveryengineV1alphaImportErrorConfig
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class GoogleCloudDiscoveryengineV1alphaImportUserEventsMetadata
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class GoogleCloudDiscoveryengineV1alphaImportUserEventsRequest
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class GoogleCloudDiscoveryengineV1alphaImportUserEventsRequestInlineSource
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class GoogleCloudDiscoveryengineV1alphaImportUserEventsResponse
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
class GoogleCloudDiscoveryengineV1alphaListDocumentsResponse
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class GoogleCloudDiscoveryengineV1alphaMediaInfo
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class GoogleCloudDiscoveryengineV1alphaPageInfo
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class GoogleCloudDiscoveryengineV1alphaPanelInfo
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class GoogleCloudDiscoveryengineV1alphaRecommendRequest
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class GoogleCloudDiscoveryengineV1alphaRecommendResponse
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class GoogleCloudDiscoveryengineV1alphaRecommendResponseRecommendationResult
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
class GoogleCloudDiscoveryengineV1alphaSearchInfo
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
169
|
+
class GoogleCloudDiscoveryengineV1alphaTransactionInfo
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
175
|
+
class GoogleCloudDiscoveryengineV1alphaUserEvent
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
181
|
+
class GoogleCloudDiscoveryengineV1alphaUserInfo
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
187
|
+
class GoogleCloudDiscoveryengineV1betaImportDocumentsMetadata
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
193
|
+
class GoogleCloudDiscoveryengineV1betaImportDocumentsResponse
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
199
|
+
class GoogleCloudDiscoveryengineV1betaImportErrorConfig
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class GoogleCloudDiscoveryengineV1betaImportUserEventsMetadata
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
211
|
+
class GoogleCloudDiscoveryengineV1betaImportUserEventsResponse
|
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 GoogleCloudDiscoveryengineV1alphaBigQuerySource
|
257
|
+
# @private
|
258
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
259
|
+
property :data_schema, as: 'dataSchema'
|
260
|
+
property :dataset_id, as: 'datasetId'
|
261
|
+
property :gcs_staging_dir, as: 'gcsStagingDir'
|
262
|
+
property :partition_date, as: 'partitionDate', class: Google::Apis::DiscoveryengineV1alpha::GoogleTypeDate, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleTypeDate::Representation
|
263
|
+
|
264
|
+
property :project_id, as: 'projectId'
|
265
|
+
property :table_id, as: 'tableId'
|
266
|
+
end
|
267
|
+
end
|
268
|
+
|
269
|
+
class GoogleCloudDiscoveryengineV1alphaCompletionInfo
|
270
|
+
# @private
|
271
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
272
|
+
property :selected_position, as: 'selectedPosition'
|
273
|
+
property :selected_suggestion, as: 'selectedSuggestion'
|
274
|
+
end
|
275
|
+
end
|
276
|
+
|
277
|
+
class GoogleCloudDiscoveryengineV1alphaCustomAttribute
|
278
|
+
# @private
|
279
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
280
|
+
collection :numbers, as: 'numbers'
|
281
|
+
collection :text, as: 'text'
|
282
|
+
end
|
283
|
+
end
|
284
|
+
|
285
|
+
class GoogleCloudDiscoveryengineV1alphaDocument
|
286
|
+
# @private
|
287
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
288
|
+
property :id, as: 'id'
|
289
|
+
property :json_data, as: 'jsonData'
|
290
|
+
property :name, as: 'name'
|
291
|
+
property :parent_document_id, as: 'parentDocumentId'
|
292
|
+
property :schema_id, as: 'schemaId'
|
293
|
+
hash :struct_data, as: 'structData'
|
294
|
+
end
|
295
|
+
end
|
296
|
+
|
297
|
+
class GoogleCloudDiscoveryengineV1alphaDocumentInfo
|
298
|
+
# @private
|
299
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
300
|
+
property :id, as: 'id'
|
301
|
+
property :name, as: 'name'
|
302
|
+
collection :promotion_ids, as: 'promotionIds'
|
303
|
+
property :quantity, as: 'quantity'
|
304
|
+
end
|
305
|
+
end
|
306
|
+
|
307
|
+
class GoogleCloudDiscoveryengineV1alphaGcsSource
|
308
|
+
# @private
|
309
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
310
|
+
property :data_schema, as: 'dataSchema'
|
311
|
+
collection :input_uris, as: 'inputUris'
|
312
|
+
end
|
313
|
+
end
|
314
|
+
|
315
|
+
class GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata
|
316
|
+
# @private
|
317
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
318
|
+
property :create_time, as: 'createTime'
|
319
|
+
property :failure_count, :numeric_string => true, as: 'failureCount'
|
320
|
+
property :success_count, :numeric_string => true, as: 'successCount'
|
321
|
+
property :update_time, as: 'updateTime'
|
322
|
+
end
|
323
|
+
end
|
324
|
+
|
325
|
+
class GoogleCloudDiscoveryengineV1alphaImportDocumentsRequest
|
326
|
+
# @private
|
327
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
328
|
+
property :bigquery_source, as: 'bigquerySource', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBigQuerySource, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBigQuerySource::Representation
|
329
|
+
|
330
|
+
property :error_config, as: 'errorConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportErrorConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportErrorConfig::Representation
|
331
|
+
|
332
|
+
property :gcs_source, as: 'gcsSource', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGcsSource, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGcsSource::Representation
|
333
|
+
|
334
|
+
property :inline_source, as: 'inlineSource', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportDocumentsRequestInlineSource, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportDocumentsRequestInlineSource::Representation
|
335
|
+
|
336
|
+
property :reconciliation_mode, as: 'reconciliationMode'
|
337
|
+
end
|
338
|
+
end
|
339
|
+
|
340
|
+
class GoogleCloudDiscoveryengineV1alphaImportDocumentsRequestInlineSource
|
341
|
+
# @private
|
342
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
343
|
+
collection :documents, as: 'documents', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocument, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocument::Representation
|
344
|
+
|
345
|
+
end
|
346
|
+
end
|
347
|
+
|
348
|
+
class GoogleCloudDiscoveryengineV1alphaImportDocumentsResponse
|
349
|
+
# @private
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
351
|
+
property :error_config, as: 'errorConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportErrorConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportErrorConfig::Representation
|
352
|
+
|
353
|
+
collection :error_samples, as: 'errorSamples', class: Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus::Representation
|
354
|
+
|
355
|
+
end
|
356
|
+
end
|
357
|
+
|
358
|
+
class GoogleCloudDiscoveryengineV1alphaImportErrorConfig
|
359
|
+
# @private
|
360
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
361
|
+
property :gcs_prefix, as: 'gcsPrefix'
|
362
|
+
end
|
363
|
+
end
|
364
|
+
|
365
|
+
class GoogleCloudDiscoveryengineV1alphaImportUserEventsMetadata
|
366
|
+
# @private
|
367
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
368
|
+
property :create_time, as: 'createTime'
|
369
|
+
property :failure_count, :numeric_string => true, as: 'failureCount'
|
370
|
+
property :success_count, :numeric_string => true, as: 'successCount'
|
371
|
+
property :update_time, as: 'updateTime'
|
372
|
+
end
|
373
|
+
end
|
374
|
+
|
375
|
+
class GoogleCloudDiscoveryengineV1alphaImportUserEventsRequest
|
376
|
+
# @private
|
377
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
378
|
+
property :bigquery_source, as: 'bigquerySource', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBigQuerySource, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBigQuerySource::Representation
|
379
|
+
|
380
|
+
property :error_config, as: 'errorConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportErrorConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportErrorConfig::Representation
|
381
|
+
|
382
|
+
property :gcs_source, as: 'gcsSource', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGcsSource, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGcsSource::Representation
|
383
|
+
|
384
|
+
property :inline_source, as: 'inlineSource', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportUserEventsRequestInlineSource, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportUserEventsRequestInlineSource::Representation
|
385
|
+
|
386
|
+
end
|
387
|
+
end
|
388
|
+
|
389
|
+
class GoogleCloudDiscoveryengineV1alphaImportUserEventsRequestInlineSource
|
390
|
+
# @private
|
391
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
392
|
+
collection :user_events, as: 'userEvents', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUserEvent, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUserEvent::Representation
|
393
|
+
|
394
|
+
end
|
395
|
+
end
|
396
|
+
|
397
|
+
class GoogleCloudDiscoveryengineV1alphaImportUserEventsResponse
|
398
|
+
# @private
|
399
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
400
|
+
property :error_config, as: 'errorConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportErrorConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImportErrorConfig::Representation
|
401
|
+
|
402
|
+
collection :error_samples, as: 'errorSamples', class: Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus::Representation
|
403
|
+
|
404
|
+
property :joined_events_count, :numeric_string => true, as: 'joinedEventsCount'
|
405
|
+
property :unjoined_events_count, :numeric_string => true, as: 'unjoinedEventsCount'
|
406
|
+
end
|
407
|
+
end
|
408
|
+
|
409
|
+
class GoogleCloudDiscoveryengineV1alphaListDocumentsResponse
|
410
|
+
# @private
|
411
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
412
|
+
collection :documents, as: 'documents', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocument, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocument::Representation
|
413
|
+
|
414
|
+
property :next_page_token, as: 'nextPageToken'
|
415
|
+
end
|
416
|
+
end
|
417
|
+
|
418
|
+
class GoogleCloudDiscoveryengineV1alphaMediaInfo
|
419
|
+
# @private
|
420
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
421
|
+
property :media_progress_duration, as: 'mediaProgressDuration'
|
422
|
+
property :media_progress_percentage, as: 'mediaProgressPercentage'
|
423
|
+
end
|
424
|
+
end
|
425
|
+
|
426
|
+
class GoogleCloudDiscoveryengineV1alphaPageInfo
|
427
|
+
# @private
|
428
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
429
|
+
property :page_category, as: 'pageCategory'
|
430
|
+
property :pageview_id, as: 'pageviewId'
|
431
|
+
property :referrer_uri, as: 'referrerUri'
|
432
|
+
property :uri, as: 'uri'
|
433
|
+
end
|
434
|
+
end
|
435
|
+
|
436
|
+
class GoogleCloudDiscoveryengineV1alphaPanelInfo
|
437
|
+
# @private
|
438
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
439
|
+
property :display_name, as: 'displayName'
|
440
|
+
property :panel_id, as: 'panelId'
|
441
|
+
property :panel_position, as: 'panelPosition'
|
442
|
+
property :total_panels, as: 'totalPanels'
|
443
|
+
end
|
444
|
+
end
|
445
|
+
|
446
|
+
class GoogleCloudDiscoveryengineV1alphaRecommendRequest
|
447
|
+
# @private
|
448
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
449
|
+
property :filter, as: 'filter'
|
450
|
+
property :page_size, as: 'pageSize'
|
451
|
+
hash :params, as: 'params'
|
452
|
+
property :user_event, as: 'userEvent', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUserEvent, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUserEvent::Representation
|
453
|
+
|
454
|
+
hash :user_labels, as: 'userLabels'
|
455
|
+
property :validate_only, as: 'validateOnly'
|
456
|
+
end
|
457
|
+
end
|
458
|
+
|
459
|
+
class GoogleCloudDiscoveryengineV1alphaRecommendResponse
|
460
|
+
# @private
|
461
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
462
|
+
property :attribution_token, as: 'attributionToken'
|
463
|
+
collection :missing_ids, as: 'missingIds'
|
464
|
+
collection :results, as: 'results', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRecommendResponseRecommendationResult, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRecommendResponseRecommendationResult::Representation
|
465
|
+
|
466
|
+
property :validate_only, as: 'validateOnly'
|
467
|
+
end
|
468
|
+
end
|
469
|
+
|
470
|
+
class GoogleCloudDiscoveryengineV1alphaRecommendResponseRecommendationResult
|
471
|
+
# @private
|
472
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
473
|
+
property :document, as: 'document', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocument, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocument::Representation
|
474
|
+
|
475
|
+
property :id, as: 'id'
|
476
|
+
hash :metadata, as: 'metadata'
|
477
|
+
end
|
478
|
+
end
|
479
|
+
|
480
|
+
class GoogleCloudDiscoveryengineV1alphaSearchInfo
|
481
|
+
# @private
|
482
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
483
|
+
property :offset, as: 'offset'
|
484
|
+
property :order_by, as: 'orderBy'
|
485
|
+
property :search_query, as: 'searchQuery'
|
486
|
+
end
|
487
|
+
end
|
488
|
+
|
489
|
+
class GoogleCloudDiscoveryengineV1alphaTransactionInfo
|
490
|
+
# @private
|
491
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
492
|
+
property :cost, as: 'cost'
|
493
|
+
property :currency, as: 'currency'
|
494
|
+
property :discount_value, as: 'discountValue'
|
495
|
+
property :tax, as: 'tax'
|
496
|
+
property :transaction_id, as: 'transactionId'
|
497
|
+
property :value, as: 'value'
|
498
|
+
end
|
499
|
+
end
|
500
|
+
|
501
|
+
class GoogleCloudDiscoveryengineV1alphaUserEvent
|
502
|
+
# @private
|
503
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
504
|
+
hash :attributes, as: 'attributes', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCustomAttribute, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCustomAttribute::Representation
|
505
|
+
|
506
|
+
property :attribution_token, as: 'attributionToken'
|
507
|
+
property :completion_info, as: 'completionInfo', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCompletionInfo, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCompletionInfo::Representation
|
508
|
+
|
509
|
+
property :direct_user_request, as: 'directUserRequest'
|
510
|
+
collection :documents, as: 'documents', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentInfo, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentInfo::Representation
|
511
|
+
|
512
|
+
property :event_time, as: 'eventTime'
|
513
|
+
property :event_type, as: 'eventType'
|
514
|
+
property :filter, as: 'filter'
|
515
|
+
property :media_info, as: 'mediaInfo', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaMediaInfo, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaMediaInfo::Representation
|
516
|
+
|
517
|
+
property :page_info, as: 'pageInfo', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaPageInfo, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaPageInfo::Representation
|
518
|
+
|
519
|
+
property :panel, as: 'panel', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaPanelInfo, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaPanelInfo::Representation
|
520
|
+
|
521
|
+
collection :promotion_ids, as: 'promotionIds'
|
522
|
+
property :search_info, as: 'searchInfo', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchInfo, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchInfo::Representation
|
523
|
+
|
524
|
+
property :session_id, as: 'sessionId'
|
525
|
+
collection :tag_ids, as: 'tagIds'
|
526
|
+
property :transaction_info, as: 'transactionInfo', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaTransactionInfo, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaTransactionInfo::Representation
|
527
|
+
|
528
|
+
property :user_info, as: 'userInfo', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUserInfo, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUserInfo::Representation
|
529
|
+
|
530
|
+
property :user_pseudo_id, as: 'userPseudoId'
|
531
|
+
end
|
532
|
+
end
|
533
|
+
|
534
|
+
class GoogleCloudDiscoveryengineV1alphaUserInfo
|
535
|
+
# @private
|
536
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
537
|
+
property :user_agent, as: 'userAgent'
|
538
|
+
property :user_id, as: 'userId'
|
539
|
+
end
|
540
|
+
end
|
541
|
+
|
542
|
+
class GoogleCloudDiscoveryengineV1betaImportDocumentsMetadata
|
543
|
+
# @private
|
544
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
545
|
+
property :create_time, as: 'createTime'
|
546
|
+
property :failure_count, :numeric_string => true, as: 'failureCount'
|
547
|
+
property :success_count, :numeric_string => true, as: 'successCount'
|
548
|
+
property :update_time, as: 'updateTime'
|
549
|
+
end
|
550
|
+
end
|
551
|
+
|
552
|
+
class GoogleCloudDiscoveryengineV1betaImportDocumentsResponse
|
553
|
+
# @private
|
554
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
555
|
+
property :error_config, as: 'errorConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaImportErrorConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaImportErrorConfig::Representation
|
556
|
+
|
557
|
+
collection :error_samples, as: 'errorSamples', class: Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus::Representation
|
558
|
+
|
559
|
+
end
|
560
|
+
end
|
561
|
+
|
562
|
+
class GoogleCloudDiscoveryengineV1betaImportErrorConfig
|
563
|
+
# @private
|
564
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
565
|
+
property :gcs_prefix, as: 'gcsPrefix'
|
566
|
+
end
|
567
|
+
end
|
568
|
+
|
569
|
+
class GoogleCloudDiscoveryengineV1betaImportUserEventsMetadata
|
570
|
+
# @private
|
571
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
572
|
+
property :create_time, as: 'createTime'
|
573
|
+
property :failure_count, :numeric_string => true, as: 'failureCount'
|
574
|
+
property :success_count, :numeric_string => true, as: 'successCount'
|
575
|
+
property :update_time, as: 'updateTime'
|
576
|
+
end
|
577
|
+
end
|
578
|
+
|
579
|
+
class GoogleCloudDiscoveryengineV1betaImportUserEventsResponse
|
580
|
+
# @private
|
581
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
582
|
+
property :error_config, as: 'errorConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaImportErrorConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaImportErrorConfig::Representation
|
583
|
+
|
584
|
+
collection :error_samples, as: 'errorSamples', class: Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus::Representation
|
585
|
+
|
586
|
+
property :joined_events_count, :numeric_string => true, as: 'joinedEventsCount'
|
587
|
+
property :unjoined_events_count, :numeric_string => true, as: 'unjoinedEventsCount'
|
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::DiscoveryengineV1alpha::GoogleLongrunningOperation, decorator: Google::Apis::DiscoveryengineV1alpha::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::DiscoveryengineV1alpha::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1alpha::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
|